]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
60f81c0e68ae5657e8413bce2e3d66cbfbb7eb95
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1857
1858 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1860 /*@@*/
1861
1862
1863
1864 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1865 wxRect r;
1866 self->GetFieldRect(i, r);
1867 return r;
1868 }
1869 static const wxString wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1872
1873 #include <wx/popupwin.h>
1874
1875
1876 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1877 {
1878 public:
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1881 : wxPopupTransientWindow(parent, style) {}
1882
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1884 DEC_PYCALLBACK__(OnDismiss);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss);
1886 PYPRIVATE;
1887 };
1888
1889
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1893
1894
1895 #include <wx/tipwin.h>
1896
1897 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1898 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1899 }
1900
1901 #include <wx/tipwin.h>
1902
1903
1904 #include <wx/vscroll.h>
1905
1906
1907 class wxPyVScrolledWindow : public wxVScrolledWindow
1908 {
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
1910 public:
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1912
1913 wxPyVScrolledWindow(wxWindow *parent,
1914 wxWindowID id = wxID_ANY,
1915 const wxPoint& pos = wxDefaultPosition,
1916 const wxSize& size = wxDefaultSize,
1917 long style = 0,
1918 const wxString& name = wxPyPanelNameStr)
1919 : wxVScrolledWindow(parent, id, pos, size, style, name)
1920 {}
1921
1922 // Overridable virtuals
1923
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1927
1928
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1932 // once
1933 //
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1939 //
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1941 // usual
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1943
1944
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1949 // its own logic
1950 //
1951 // this function should return the best guess for the total height it may
1952 // make
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1954
1955
1956 // Also expose some other interesting protected methods
1957
1958
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1963
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1968
1969
1970 PYPRIVATE;
1971 };
1972
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1974
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1978
1979
1980 SWIGINTERN int
1981 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1982 {
1983 long v = 0;
1984 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1985 SWIG_type_error("unsigned number", obj);
1986 }
1987 else if (val)
1988 *val = (unsigned long)v;
1989 return 1;
1990 }
1991
1992
1993 SWIGINTERNINLINE unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject* obj)
1995 {
1996 unsigned long v;
1997 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1998 /*
1999 this is needed to make valgrind/purify happier.
2000 */
2001 memset((void*)&v, 0, sizeof(unsigned long));
2002 }
2003 return v;
2004 }
2005
2006
2007 SWIGINTERNINLINE int
2008 SWIG_Check_unsigned_SS_long(PyObject* obj)
2009 {
2010 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2011 }
2012
2013
2014 SWIGINTERNINLINE PyObject*
2015 SWIG_From_unsigned_SS_long(unsigned long value)
2016 {
2017 return (value > LONG_MAX) ?
2018 PyLong_FromUnsignedLong(value)
2019 : PyInt_FromLong(static_cast<long >(value));
2020 }
2021
2022
2023 #include <wx/vlbox.h>
2024
2025 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2026
2027 class wxPyVListBox : public wxVListBox
2028 {
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2030 public:
2031 wxPyVListBox() : wxVListBox() {}
2032
2033 wxPyVListBox(wxWindow *parent,
2034 wxWindowID id = wxID_ANY,
2035 const wxPoint& pos = wxDefaultPosition,
2036 const wxSize& size = wxDefaultSize,
2037 long style = 0,
2038 const wxString& name = wxPyVListBoxNameStr)
2039 : wxVListBox(parent, id, pos, size, style, name)
2040 {}
2041
2042 // Overridable virtuals
2043
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
2048
2049
2050 // the derived class must implement this method to return the height of the
2051 // specified item
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
2054
2055
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2059 //
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
2063
2064
2065 // this method is used to draw the items background and, maybe, a border
2066 // around it
2067 //
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2071 // current
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
2074
2075
2076 PYPRIVATE;
2077 };
2078
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
2080
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
2085
2086
2087 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
2088 unsigned long cookie = 0;
2089 int selected = self->GetFirstSelected(cookie);
2090 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2091 PyObject* tup = PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2093 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2094 wxPyEndBlockThreads(blocked);
2095 return tup;
2096 }
2097 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
2098 int selected = self->GetNextSelected(cookie);
2099 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2100 PyObject* tup = PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
2102 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
2103 wxPyEndBlockThreads(blocked);
2104 return tup;
2105 }
2106
2107 #include <wx/htmllbox.h>
2108
2109
2110 class wxPyHtmlListBox : public wxHtmlListBox
2111 {
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
2113 public:
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2115
2116 wxPyHtmlListBox(wxWindow *parent,
2117 wxWindowID id = wxID_ANY,
2118 const wxPoint& pos = wxDefaultPosition,
2119 const wxSize& size = wxDefaultSize,
2120 long style = 0,
2121 const wxString& name = wxPyVListBoxNameStr)
2122 : wxHtmlListBox(parent, id, pos, size, style, name)
2123 {}
2124
2125 // Overridable virtuals
2126
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
2130
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
2133
2134 // TODO:
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2138 // //
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2142
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2147
2148
2149 PYPRIVATE;
2150 };
2151
2152
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
2154
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
2157
2158
2159
2160
2161
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2164
2165 class wxTaskBarIcon : public wxEvtHandler
2166 {
2167 public:
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2169 };
2170
2171
2172 class wxTaskBarIconEvent : public wxEvent
2173 {
2174 public:
2175 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent* Clone() const { return NULL; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu *menu) { return false; }
2183 };
2184
2185 enum {
2186 wxEVT_TASKBAR_MOVE = 0,
2187 wxEVT_TASKBAR_LEFT_DOWN = 0,
2188 wxEVT_TASKBAR_LEFT_UP = 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2190 wxEVT_TASKBAR_RIGHT_UP = 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2193 };
2194
2195
2196 #else
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon : public wxTaskBarIcon
2199 {
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
2201 public:
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2203 {}
2204
2205 wxMenu* CreatePopupMenu() {
2206 wxMenu *rval = NULL;
2207 bool found;
2208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2209 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2210 PyObject* ro;
2211 wxMenu* ptr;
2212 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2213 if (ro) {
2214 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2215 rval = ptr;
2216 Py_DECREF(ro);
2217 }
2218 }
2219 wxPyEndBlockThreads(blocked);
2220 if (! found)
2221 rval = wxTaskBarIcon::CreatePopupMenu();
2222 return rval;
2223 }
2224
2225 PYPRIVATE;
2226 };
2227
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2229
2230 #endif
2231
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2233 self->RemoveIcon();
2234 delete self;
2235 }
2236 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2237 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2238 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2239 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2240 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2241 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2242 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2243 wxArrayString arr;
2244 self->GetFilenames(arr);
2245 return wxArrayString2PyList_helper(arr);
2246 }
2247 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2248 wxArrayString arr;
2249 self->GetPaths(arr);
2250 return wxArrayString2PyList_helper(arr);
2251 }
2252 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2253 return wxArrayInt2PyList_helper(self->GetSelections());
2254 }
2255 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2256 return new wxSingleChoiceDialog(parent, message, caption,
2257 choices, choices_array, NULL, style, pos);
2258 }
2259 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2260
2261 #include <wx/mdi.h>
2262
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow : public wxWindow
2265 {
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2267 public:
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow* parent, const wxWindowID id,
2270 const wxPoint& pos = wxDefaultPosition,
2271 const wxSize& size = wxDefaultSize,
2272 long style = 0,
2273 const wxString& name = wxPyPanelNameStr)
2274 : wxWindow(parent, id, pos, size, style, name) {}
2275
2276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2277
2278 bool DoEraseBackground(wxDC* dc) {
2279 #ifdef __WXMSW__
2280 return wxWindow::DoEraseBackground(dc->GetHDC());
2281 #else
2282 dc->SetBackground(wxBrush(GetBackgroundColour()));
2283 dc->Clear();
2284 return true;
2285 #endif
2286 }
2287
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2292
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2296
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2299
2300 DEC_PYCALLBACK__(InitDialog);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2303 DEC_PYCALLBACK_BOOL_(Validate);
2304
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2308
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2311
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2314
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2316
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2318
2319 PYPRIVATE;
2320 };
2321
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2323
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2328
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2332
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2335
2336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2340
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2344
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2347
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2350
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2352
2353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2354
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel : public wxPanel
2357 {
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2359 public:
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow* parent, const wxWindowID id,
2362 const wxPoint& pos = wxDefaultPosition,
2363 const wxSize& size = wxDefaultSize,
2364 long style = 0,
2365 const wxString& name = wxPyPanelNameStr)
2366 : wxPanel(parent, id, pos, size, style, name) {}
2367
2368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2369 bool DoEraseBackground(wxDC* dc) {
2370 #ifdef __WXMSW__
2371 return wxWindow::DoEraseBackground(dc->GetHDC());
2372 #else
2373 dc->SetBackground(wxBrush(GetBackgroundColour()));
2374 dc->Clear();
2375 return true;
2376 #endif
2377 }
2378
2379
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2384
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2388
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2391
2392 DEC_PYCALLBACK__(InitDialog);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2395 DEC_PYCALLBACK_BOOL_(Validate);
2396
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2400
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2403
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2406
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2408
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2410
2411 PYPRIVATE;
2412 };
2413
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2415
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2420
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2424
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2427
2428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2432
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2436
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2439
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2442
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2444
2445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2446
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow : public wxScrolledWindow
2449 {
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2451 public:
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2454 const wxPoint& pos = wxDefaultPosition,
2455 const wxSize& size = wxDefaultSize,
2456 long style = 0,
2457 const wxString& name = wxPyPanelNameStr)
2458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2459
2460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2461 bool DoEraseBackground(wxDC* dc) {
2462 #ifdef __WXMSW__
2463 return wxWindow::DoEraseBackground(dc->GetHDC());
2464 #else
2465 dc->SetBackground(wxBrush(GetBackgroundColour()));
2466 dc->Clear();
2467 return true;
2468 #endif
2469 }
2470
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2475
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2479
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2482
2483 DEC_PYCALLBACK__(InitDialog);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2486 DEC_PYCALLBACK_BOOL_(Validate);
2487
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2491
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2494
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2497
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2499
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2501
2502 PYPRIVATE;
2503 };
2504
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2506
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2511
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2515
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2518
2519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2523
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2527
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2530
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2533
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2535
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2537
2538
2539 #include "wx/wxPython/printfw.h"
2540
2541
2542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2545 PyObject* data;
2546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2547 data = PyString_FromStringAndSize(self->GetPrivData(),
2548 self->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked);
2550 return data;
2551 }
2552 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2553 if (! PyString_Check(data)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2555 "Expected string object"));
2556 return /* NULL */ ;
2557 }
2558
2559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2561 wxPyEndBlockThreads(blocked);
2562 }
2563
2564
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2566
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2569 bool hadErr = false;
2570 bool found;
2571
2572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2576 PyObject* val;
2577
2578 val = PyTuple_GetItem(result, 0);
2579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2580 else hadErr = true;
2581
2582 val = PyTuple_GetItem(result, 1);
2583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2584 else hadErr = true;
2585
2586 val = PyTuple_GetItem(result, 2);
2587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2588 else hadErr = true;
2589
2590 val = PyTuple_GetItem(result, 3);
2591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2592 else hadErr = true;
2593 }
2594 else
2595 hadErr = true;
2596
2597 if (hadErr) {
2598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2599 PyErr_Print();
2600 }
2601 Py_DECREF(result);
2602 }
2603 wxPyEndBlockThreads(blocked);
2604 if (! found)
2605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2606 }
2607
2608 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2609 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2610 }
2611
2612
2613 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2616 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2617 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2618 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2619 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2620
2621
2622
2623
2624
2625 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2626 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2627 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2628
2629
2630 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2631 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2632 bool rval=false; \
2633 bool found; \
2634 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2635 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2636 PyObject* win = wxPyMake_wxObject(a,false); \
2637 PyObject* dc = wxPyMake_wxObject(&b,false); \
2638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2639 Py_DECREF(win); \
2640 Py_DECREF(dc); \
2641 } \
2642 wxPyEndBlockThreads(blocked); \
2643 if (! found) \
2644 rval = PCLASS::CBNAME(a, b); \
2645 return rval; \
2646 } \
2647 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2648 return PCLASS::CBNAME(a, b); \
2649 }
2650
2651
2652
2653
2654 class wxPyPrintPreview : public wxPrintPreview
2655 {
2656 DECLARE_CLASS(wxPyPrintPreview)
2657 public:
2658 wxPyPrintPreview(wxPyPrintout* printout,
2659 wxPyPrintout* printoutForPrinting,
2660 wxPrintDialogData* data=NULL)
2661 : wxPrintPreview(printout, printoutForPrinting, data)
2662 {}
2663 wxPyPrintPreview(wxPyPrintout* printout,
2664 wxPyPrintout* printoutForPrinting,
2665 wxPrintData* data)
2666 : wxPrintPreview(printout, printoutForPrinting, data)
2667 {}
2668
2669 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2670 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2671 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2672 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2673 DEC_PYCALLBACK_VOID_INT(SetZoom);
2674 DEC_PYCALLBACK_BOOL_BOOL(Print);
2675 DEC_PYCALLBACK_VOID_(DetermineScaling);
2676
2677 PYPRIVATE;
2678 };
2679
2680 // Stupid renamed classes... Fix this in 2.5...
2681 #if defined(__WXMSW__)
2682 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2683 #elif defined(__WXMAC__)
2684 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2685 #else
2686 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2687 #endif
2688
2689 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2690 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2693 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2694 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2695 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2696
2697
2698 class wxPyPreviewFrame : public wxPreviewFrame
2699 {
2700 DECLARE_CLASS(wxPyPreviewFrame)
2701 public:
2702 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2703 const wxString& title,
2704 const wxPoint& pos = wxDefaultPosition,
2705 const wxSize& size = wxDefaultSize,
2706 long style = wxDEFAULT_FRAME_STYLE,
2707 const wxString& name = wxPyFrameNameStr)
2708 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2709 {}
2710
2711 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2712 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2713
2714 DEC_PYCALLBACK_VOID_(Initialize);
2715 DEC_PYCALLBACK_VOID_(CreateCanvas);
2716 DEC_PYCALLBACK_VOID_(CreateControlBar);
2717
2718 PYPRIVATE;
2719 };
2720
2721 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2722
2723 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2726
2727
2728 class wxPyPreviewControlBar : public wxPreviewControlBar
2729 {
2730 DECLARE_CLASS(wxPyPreviewControlBar)
2731 public:
2732 wxPyPreviewControlBar(wxPrintPreview *preview,
2733 long buttons,
2734 wxWindow *parent,
2735 const wxPoint& pos = wxDefaultPosition,
2736 const wxSize& size = wxDefaultSize,
2737 long style = 0,
2738 const wxString& name = wxPyPanelNameStr)
2739 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2740 {}
2741
2742 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2743
2744 DEC_PYCALLBACK_VOID_(CreateButtons);
2745 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2746
2747 PYPRIVATE;
2748 };
2749
2750 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2751 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2752 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2753
2754 #ifdef __cplusplus
2755 extern "C" {
2756 #endif
2757 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj = NULL;
2759 wxWindow *arg1 = (wxWindow *) 0 ;
2760 int arg2 = (int) (int)-1 ;
2761 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2762 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2763 wxSize const &arg4_defvalue = wxDefaultSize ;
2764 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2765 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2766 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2767 wxString *arg6 = (wxString *) &arg6_defvalue ;
2768 wxPanel *result;
2769 wxPoint temp3 ;
2770 wxSize temp4 ;
2771 bool temp6 = false ;
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 PyObject * obj2 = 0 ;
2775 PyObject * obj3 = 0 ;
2776 PyObject * obj4 = 0 ;
2777 PyObject * obj5 = 0 ;
2778 char *kwnames[] = {
2779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2780 };
2781
2782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail;
2785 if (obj1) {
2786 {
2787 arg2 = static_cast<int const >(SWIG_As_int(obj1));
2788 if (SWIG_arg_fail(2)) SWIG_fail;
2789 }
2790 }
2791 if (obj2) {
2792 {
2793 arg3 = &temp3;
2794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2795 }
2796 }
2797 if (obj3) {
2798 {
2799 arg4 = &temp4;
2800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2801 }
2802 }
2803 if (obj4) {
2804 {
2805 arg5 = static_cast<long >(SWIG_As_long(obj4));
2806 if (SWIG_arg_fail(5)) SWIG_fail;
2807 }
2808 }
2809 if (obj5) {
2810 {
2811 arg6 = wxString_in_helper(obj5);
2812 if (arg6 == NULL) SWIG_fail;
2813 temp6 = true;
2814 }
2815 }
2816 {
2817 if (!wxPyCheckForApp()) SWIG_fail;
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2825 {
2826 if (temp6)
2827 delete arg6;
2828 }
2829 return resultobj;
2830 fail:
2831 {
2832 if (temp6)
2833 delete arg6;
2834 }
2835 return NULL;
2836 }
2837
2838
2839 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj = NULL;
2841 wxPanel *result;
2842 char *kwnames[] = {
2843 NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2847 {
2848 if (!wxPyCheckForApp()) SWIG_fail;
2849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2850 result = (wxPanel *)new wxPanel();
2851
2852 wxPyEndAllowThreads(__tstate);
2853 if (PyErr_Occurred()) SWIG_fail;
2854 }
2855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2856 return resultobj;
2857 fail:
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj = NULL;
2864 wxPanel *arg1 = (wxPanel *) 0 ;
2865 wxWindow *arg2 = (wxWindow *) 0 ;
2866 int arg3 = (int) (int)-1 ;
2867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2869 wxSize const &arg5_defvalue = wxDefaultSize ;
2870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2873 wxString *arg7 = (wxString *) &arg7_defvalue ;
2874 bool result;
2875 wxPoint temp4 ;
2876 wxSize temp5 ;
2877 bool temp7 = false ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 PyObject * obj3 = 0 ;
2882 PyObject * obj4 = 0 ;
2883 PyObject * obj5 = 0 ;
2884 PyObject * obj6 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail;
2892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2893 if (SWIG_arg_fail(2)) SWIG_fail;
2894 if (obj2) {
2895 {
2896 arg3 = static_cast<int const >(SWIG_As_int(obj2));
2897 if (SWIG_arg_fail(3)) SWIG_fail;
2898 }
2899 }
2900 if (obj3) {
2901 {
2902 arg4 = &temp4;
2903 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2904 }
2905 }
2906 if (obj4) {
2907 {
2908 arg5 = &temp5;
2909 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2910 }
2911 }
2912 if (obj5) {
2913 {
2914 arg6 = static_cast<long >(SWIG_As_long(obj5));
2915 if (SWIG_arg_fail(6)) SWIG_fail;
2916 }
2917 }
2918 if (obj6) {
2919 {
2920 arg7 = wxString_in_helper(obj6);
2921 if (arg7 == NULL) SWIG_fail;
2922 temp7 = true;
2923 }
2924 }
2925 {
2926 PyThreadState* __tstate = wxPyBeginAllowThreads();
2927 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2928
2929 wxPyEndAllowThreads(__tstate);
2930 if (PyErr_Occurred()) SWIG_fail;
2931 }
2932 {
2933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2934 }
2935 {
2936 if (temp7)
2937 delete arg7;
2938 }
2939 return resultobj;
2940 fail:
2941 {
2942 if (temp7)
2943 delete arg7;
2944 }
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj = NULL;
2951 wxPanel *arg1 = (wxPanel *) 0 ;
2952 PyObject * obj0 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2959 if (SWIG_arg_fail(1)) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 (arg1)->InitDialog();
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 Py_INCREF(Py_None); resultobj = Py_None;
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj = NULL;
2976 wxPanel *arg1 = (wxPanel *) 0 ;
2977 PyObject * obj0 = 0 ;
2978 char *kwnames[] = {
2979 (char *) "self", NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 (arg1)->SetFocus();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 Py_INCREF(Py_None); resultobj = Py_None;
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj = NULL;
3001 wxPanel *arg1 = (wxPanel *) 0 ;
3002 PyObject * obj0 = 0 ;
3003 char *kwnames[] = {
3004 (char *) "self", NULL
3005 };
3006
3007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
3008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 (arg1)->SetFocusIgnoringChildren();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 Py_INCREF(Py_None); resultobj = Py_None;
3018 return resultobj;
3019 fail:
3020 return NULL;
3021 }
3022
3023
3024 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3025 PyObject *resultobj = NULL;
3026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3027 wxVisualAttributes result;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "variant", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3034 if (obj0) {
3035 {
3036 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
3037 if (SWIG_arg_fail(1)) SWIG_fail;
3038 }
3039 }
3040 {
3041 if (!wxPyCheckForApp()) SWIG_fail;
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = wxPanel::GetClassDefaultAttributes(arg1);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 {
3049 wxVisualAttributes * resultptr;
3050 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
3051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3052 }
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
3060 PyObject *obj;
3061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3062 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
3063 Py_INCREF(obj);
3064 return Py_BuildValue((char *)"");
3065 }
3066 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj = NULL;
3068 wxWindow *arg1 = (wxWindow *) 0 ;
3069 int arg2 = (int) (int)-1 ;
3070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3072 wxSize const &arg4_defvalue = wxDefaultSize ;
3073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3074 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
3075 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3076 wxString *arg6 = (wxString *) &arg6_defvalue ;
3077 wxScrolledWindow *result;
3078 wxPoint temp3 ;
3079 wxSize temp4 ;
3080 bool temp6 = false ;
3081 PyObject * obj0 = 0 ;
3082 PyObject * obj1 = 0 ;
3083 PyObject * obj2 = 0 ;
3084 PyObject * obj3 = 0 ;
3085 PyObject * obj4 = 0 ;
3086 PyObject * obj5 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3093 if (SWIG_arg_fail(1)) SWIG_fail;
3094 if (obj1) {
3095 {
3096 arg2 = static_cast<int const >(SWIG_As_int(obj1));
3097 if (SWIG_arg_fail(2)) SWIG_fail;
3098 }
3099 }
3100 if (obj2) {
3101 {
3102 arg3 = &temp3;
3103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3104 }
3105 }
3106 if (obj3) {
3107 {
3108 arg4 = &temp4;
3109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3110 }
3111 }
3112 if (obj4) {
3113 {
3114 arg5 = static_cast<long >(SWIG_As_long(obj4));
3115 if (SWIG_arg_fail(5)) SWIG_fail;
3116 }
3117 }
3118 if (obj5) {
3119 {
3120 arg6 = wxString_in_helper(obj5);
3121 if (arg6 == NULL) SWIG_fail;
3122 temp6 = true;
3123 }
3124 }
3125 {
3126 if (!wxPyCheckForApp()) SWIG_fail;
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3134 {
3135 if (temp6)
3136 delete arg6;
3137 }
3138 return resultobj;
3139 fail:
3140 {
3141 if (temp6)
3142 delete arg6;
3143 }
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj = NULL;
3150 wxScrolledWindow *result;
3151 char *kwnames[] = {
3152 NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
3156 {
3157 if (!wxPyCheckForApp()) SWIG_fail;
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (wxScrolledWindow *)new wxScrolledWindow();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj = NULL;
3173 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3174 wxWindow *arg2 = (wxWindow *) 0 ;
3175 int arg3 = (int) (int)-1 ;
3176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3178 wxSize const &arg5_defvalue = wxDefaultSize ;
3179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3180 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3181 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3182 wxString *arg7 = (wxString *) &arg7_defvalue ;
3183 bool result;
3184 wxPoint temp4 ;
3185 wxSize temp5 ;
3186 bool temp7 = false ;
3187 PyObject * obj0 = 0 ;
3188 PyObject * obj1 = 0 ;
3189 PyObject * obj2 = 0 ;
3190 PyObject * obj3 = 0 ;
3191 PyObject * obj4 = 0 ;
3192 PyObject * obj5 = 0 ;
3193 PyObject * obj6 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail;
3201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3202 if (SWIG_arg_fail(2)) SWIG_fail;
3203 if (obj2) {
3204 {
3205 arg3 = static_cast<int const >(SWIG_As_int(obj2));
3206 if (SWIG_arg_fail(3)) SWIG_fail;
3207 }
3208 }
3209 if (obj3) {
3210 {
3211 arg4 = &temp4;
3212 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3213 }
3214 }
3215 if (obj4) {
3216 {
3217 arg5 = &temp5;
3218 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3219 }
3220 }
3221 if (obj5) {
3222 {
3223 arg6 = static_cast<long >(SWIG_As_long(obj5));
3224 if (SWIG_arg_fail(6)) SWIG_fail;
3225 }
3226 }
3227 if (obj6) {
3228 {
3229 arg7 = wxString_in_helper(obj6);
3230 if (arg7 == NULL) SWIG_fail;
3231 temp7 = true;
3232 }
3233 }
3234 {
3235 PyThreadState* __tstate = wxPyBeginAllowThreads();
3236 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3237
3238 wxPyEndAllowThreads(__tstate);
3239 if (PyErr_Occurred()) SWIG_fail;
3240 }
3241 {
3242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3243 }
3244 {
3245 if (temp7)
3246 delete arg7;
3247 }
3248 return resultobj;
3249 fail:
3250 {
3251 if (temp7)
3252 delete arg7;
3253 }
3254 return NULL;
3255 }
3256
3257
3258 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3259 PyObject *resultobj = NULL;
3260 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3261 int arg2 ;
3262 int arg3 ;
3263 int arg4 ;
3264 int arg5 ;
3265 int arg6 = (int) 0 ;
3266 int arg7 = (int) 0 ;
3267 bool arg8 = (bool) false ;
3268 PyObject * obj0 = 0 ;
3269 PyObject * obj1 = 0 ;
3270 PyObject * obj2 = 0 ;
3271 PyObject * obj3 = 0 ;
3272 PyObject * obj4 = 0 ;
3273 PyObject * obj5 = 0 ;
3274 PyObject * obj6 = 0 ;
3275 PyObject * obj7 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail;
3283 {
3284 arg2 = static_cast<int >(SWIG_As_int(obj1));
3285 if (SWIG_arg_fail(2)) SWIG_fail;
3286 }
3287 {
3288 arg3 = static_cast<int >(SWIG_As_int(obj2));
3289 if (SWIG_arg_fail(3)) SWIG_fail;
3290 }
3291 {
3292 arg4 = static_cast<int >(SWIG_As_int(obj3));
3293 if (SWIG_arg_fail(4)) SWIG_fail;
3294 }
3295 {
3296 arg5 = static_cast<int >(SWIG_As_int(obj4));
3297 if (SWIG_arg_fail(5)) SWIG_fail;
3298 }
3299 if (obj5) {
3300 {
3301 arg6 = static_cast<int >(SWIG_As_int(obj5));
3302 if (SWIG_arg_fail(6)) SWIG_fail;
3303 }
3304 }
3305 if (obj6) {
3306 {
3307 arg7 = static_cast<int >(SWIG_As_int(obj6));
3308 if (SWIG_arg_fail(7)) SWIG_fail;
3309 }
3310 }
3311 if (obj7) {
3312 {
3313 arg8 = static_cast<bool >(SWIG_As_bool(obj7));
3314 if (SWIG_arg_fail(8)) SWIG_fail;
3315 }
3316 }
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 Py_INCREF(Py_None); resultobj = Py_None;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj = NULL;
3333 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3334 int arg2 ;
3335 int arg3 ;
3336 PyObject * obj0 = 0 ;
3337 PyObject * obj1 = 0 ;
3338 PyObject * obj2 = 0 ;
3339 char *kwnames[] = {
3340 (char *) "self",(char *) "x",(char *) "y", NULL
3341 };
3342
3343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail;
3346 {
3347 arg2 = static_cast<int >(SWIG_As_int(obj1));
3348 if (SWIG_arg_fail(2)) SWIG_fail;
3349 }
3350 {
3351 arg3 = static_cast<int >(SWIG_As_int(obj2));
3352 if (SWIG_arg_fail(3)) SWIG_fail;
3353 }
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->Scroll(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj = NULL;
3370 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3371 int arg2 ;
3372 int result;
3373 PyObject * obj0 = 0 ;
3374 PyObject * obj1 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "orient", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail;
3382 {
3383 arg2 = static_cast<int >(SWIG_As_int(obj1));
3384 if (SWIG_arg_fail(2)) SWIG_fail;
3385 }
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 resultobj = SWIG_From_int(static_cast<int >(result));
3395 }
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj = NULL;
3404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3405 int arg2 ;
3406 int arg3 ;
3407 PyObject * obj0 = 0 ;
3408 PyObject * obj1 = 0 ;
3409 PyObject * obj2 = 0 ;
3410 char *kwnames[] = {
3411 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3412 };
3413
3414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail;
3417 {
3418 arg2 = static_cast<int >(SWIG_As_int(obj1));
3419 if (SWIG_arg_fail(2)) SWIG_fail;
3420 }
3421 {
3422 arg3 = static_cast<int >(SWIG_As_int(obj2));
3423 if (SWIG_arg_fail(3)) SWIG_fail;
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 (arg1)->SetScrollPageSize(arg2,arg3);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 Py_INCREF(Py_None); resultobj = Py_None;
3433 return resultobj;
3434 fail:
3435 return NULL;
3436 }
3437
3438
3439 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3440 PyObject *resultobj = NULL;
3441 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3442 int arg2 ;
3443 int arg3 ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 PyObject * obj2 = 0 ;
3447 char *kwnames[] = {
3448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3449 };
3450
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3453 if (SWIG_arg_fail(1)) SWIG_fail;
3454 {
3455 arg2 = static_cast<int >(SWIG_As_int(obj1));
3456 if (SWIG_arg_fail(2)) SWIG_fail;
3457 }
3458 {
3459 arg3 = static_cast<int >(SWIG_As_int(obj2));
3460 if (SWIG_arg_fail(3)) SWIG_fail;
3461 }
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetScrollRate(arg2,arg3);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj = NULL;
3478 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3479 int *arg2 = (int *) 0 ;
3480 int *arg3 = (int *) 0 ;
3481 int temp2 ;
3482 int res2 = 0 ;
3483 int temp3 ;
3484 int res3 = 0 ;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3491 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail;
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3498
3499 wxPyEndAllowThreads(__tstate);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 Py_INCREF(Py_None); resultobj = Py_None;
3503 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3504 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3505 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3506 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3507 return resultobj;
3508 fail:
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj = NULL;
3515 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3516 bool arg2 ;
3517 bool arg3 ;
3518 PyObject * obj0 = 0 ;
3519 PyObject * obj1 = 0 ;
3520 PyObject * obj2 = 0 ;
3521 char *kwnames[] = {
3522 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3523 };
3524
3525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail;
3528 {
3529 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
3530 if (SWIG_arg_fail(2)) SWIG_fail;
3531 }
3532 {
3533 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
3534 if (SWIG_arg_fail(3)) SWIG_fail;
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 (arg1)->EnableScrolling(arg2,arg3);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 Py_INCREF(Py_None); resultobj = Py_None;
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj = NULL;
3552 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3553 int *arg2 = (int *) 0 ;
3554 int *arg3 = (int *) 0 ;
3555 int temp2 ;
3556 int res2 = 0 ;
3557 int temp3 ;
3558 int res3 = 0 ;
3559 PyObject * obj0 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "self", NULL
3562 };
3563
3564 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3565 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
3577 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3578 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3579 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3580 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3581 return resultobj;
3582 fail:
3583 return NULL;
3584 }
3585
3586
3587 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj = NULL;
3589 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3590 double arg2 ;
3591 double arg3 ;
3592 PyObject * obj0 = 0 ;
3593 PyObject * obj1 = 0 ;
3594 PyObject * obj2 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "xs",(char *) "ys", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail;
3602 {
3603 arg2 = static_cast<double >(SWIG_As_double(obj1));
3604 if (SWIG_arg_fail(2)) SWIG_fail;
3605 }
3606 {
3607 arg3 = static_cast<double >(SWIG_As_double(obj2));
3608 if (SWIG_arg_fail(3)) SWIG_fail;
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 (arg1)->SetScale(arg2,arg3);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 Py_INCREF(Py_None); resultobj = Py_None;
3618 return resultobj;
3619 fail:
3620 return NULL;
3621 }
3622
3623
3624 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3625 PyObject *resultobj = NULL;
3626 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3627 double result;
3628 PyObject * obj0 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail;
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 {
3644 resultobj = SWIG_From_double(static_cast<double >(result));
3645 }
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj = NULL;
3654 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3655 double result;
3656 PyObject * obj0 = 0 ;
3657 char *kwnames[] = {
3658 (char *) "self", NULL
3659 };
3660
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 {
3672 resultobj = SWIG_From_double(static_cast<double >(result));
3673 }
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3681 PyObject *resultobj = NULL;
3682 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3683 wxPoint *arg2 = 0 ;
3684 wxPoint result;
3685 wxPoint temp2 ;
3686 PyObject * obj0 = 0 ;
3687 PyObject * obj1 = 0 ;
3688
3689 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail;
3692 {
3693 arg2 = &temp2;
3694 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3695 }
3696 {
3697 PyThreadState* __tstate = wxPyBeginAllowThreads();
3698 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3699
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 {
3704 wxPoint * resultptr;
3705 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3707 }
3708 return resultobj;
3709 fail:
3710 return NULL;
3711 }
3712
3713
3714 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3715 PyObject *resultobj = NULL;
3716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3717 int arg2 ;
3718 int arg3 ;
3719 int *arg4 = (int *) 0 ;
3720 int *arg5 = (int *) 0 ;
3721 int temp4 ;
3722 int res4 = 0 ;
3723 int temp5 ;
3724 int res5 = 0 ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj2 = 0 ;
3728
3729 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3730 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3731 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail;
3734 {
3735 arg2 = static_cast<int >(SWIG_As_int(obj1));
3736 if (SWIG_arg_fail(2)) SWIG_fail;
3737 }
3738 {
3739 arg3 = static_cast<int >(SWIG_As_int(obj2));
3740 if (SWIG_arg_fail(3)) SWIG_fail;
3741 }
3742 {
3743 PyThreadState* __tstate = wxPyBeginAllowThreads();
3744 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3745
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 Py_INCREF(Py_None); resultobj = Py_None;
3750 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3751 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3752 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3753 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3754 return resultobj;
3755 fail:
3756 return NULL;
3757 }
3758
3759
3760 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3761 int argc;
3762 PyObject *argv[4];
3763 int ii;
3764
3765 argc = PyObject_Length(args);
3766 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3767 argv[ii] = PyTuple_GetItem(args,ii);
3768 }
3769 if (argc == 2) {
3770 int _v;
3771 {
3772 void *ptr;
3773 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3774 _v = 0;
3775 PyErr_Clear();
3776 } else {
3777 _v = 1;
3778 }
3779 }
3780 if (_v) {
3781 {
3782 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3783 }
3784 if (_v) {
3785 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3786 }
3787 }
3788 }
3789 if (argc == 3) {
3790 int _v;
3791 {
3792 void *ptr;
3793 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3794 _v = 0;
3795 PyErr_Clear();
3796 } else {
3797 _v = 1;
3798 }
3799 }
3800 if (_v) {
3801 _v = SWIG_Check_int(argv[1]);
3802 if (_v) {
3803 _v = SWIG_Check_int(argv[2]);
3804 if (_v) {
3805 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3806 }
3807 }
3808 }
3809 }
3810
3811 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3817 PyObject *resultobj = NULL;
3818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3819 wxPoint *arg2 = 0 ;
3820 wxPoint result;
3821 wxPoint temp2 ;
3822 PyObject * obj0 = 0 ;
3823 PyObject * obj1 = 0 ;
3824
3825 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail;
3828 {
3829 arg2 = &temp2;
3830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 {
3840 wxPoint * resultptr;
3841 resultptr = new wxPoint(static_cast<wxPoint & >(result));
3842 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3843 }
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3851 PyObject *resultobj = NULL;
3852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3853 int arg2 ;
3854 int arg3 ;
3855 int *arg4 = (int *) 0 ;
3856 int *arg5 = (int *) 0 ;
3857 int temp4 ;
3858 int res4 = 0 ;
3859 int temp5 ;
3860 int res5 = 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 PyObject * obj2 = 0 ;
3864
3865 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3866 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3867 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
3871 arg2 = static_cast<int >(SWIG_As_int(obj1));
3872 if (SWIG_arg_fail(2)) SWIG_fail;
3873 }
3874 {
3875 arg3 = static_cast<int >(SWIG_As_int(obj2));
3876 if (SWIG_arg_fail(3)) SWIG_fail;
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3887 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3888 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3889 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3890 return resultobj;
3891 fail:
3892 return NULL;
3893 }
3894
3895
3896 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3897 int argc;
3898 PyObject *argv[4];
3899 int ii;
3900
3901 argc = PyObject_Length(args);
3902 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3903 argv[ii] = PyTuple_GetItem(args,ii);
3904 }
3905 if (argc == 2) {
3906 int _v;
3907 {
3908 void *ptr;
3909 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3910 _v = 0;
3911 PyErr_Clear();
3912 } else {
3913 _v = 1;
3914 }
3915 }
3916 if (_v) {
3917 {
3918 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3919 }
3920 if (_v) {
3921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3922 }
3923 }
3924 }
3925 if (argc == 3) {
3926 int _v;
3927 {
3928 void *ptr;
3929 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3930 _v = 0;
3931 PyErr_Clear();
3932 } else {
3933 _v = 1;
3934 }
3935 }
3936 if (_v) {
3937 _v = SWIG_Check_int(argv[1]);
3938 if (_v) {
3939 _v = SWIG_Check_int(argv[2]);
3940 if (_v) {
3941 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3942 }
3943 }
3944 }
3945 }
3946
3947 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3948 return NULL;
3949 }
3950
3951
3952 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3953 PyObject *resultobj = NULL;
3954 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3955 PyObject * obj0 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "self", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->AdjustScrollbars();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3978 PyObject *resultobj = NULL;
3979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3980 wxScrollWinEvent *arg2 = 0 ;
3981 int result;
3982 PyObject * obj0 = 0 ;
3983 PyObject * obj1 = 0 ;
3984 char *kwnames[] = {
3985 (char *) "self",(char *) "event", NULL
3986 };
3987
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail;
3991 {
3992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3993 if (SWIG_arg_fail(2)) SWIG_fail;
3994 if (arg2 == NULL) {
3995 SWIG_null_ref("wxScrollWinEvent");
3996 }
3997 if (SWIG_arg_fail(2)) SWIG_fail;
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (int)(arg1)->CalcScrollInc(*arg2);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 {
4007 resultobj = SWIG_From_int(static_cast<int >(result));
4008 }
4009 return resultobj;
4010 fail:
4011 return NULL;
4012 }
4013
4014
4015 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj = NULL;
4017 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4018 wxWindow *arg2 = (wxWindow *) 0 ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj1 = 0 ;
4021 char *kwnames[] = {
4022 (char *) "self",(char *) "target", NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
4026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail;
4028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4029 if (SWIG_arg_fail(2)) SWIG_fail;
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->SetTargetWindow(arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041 }
4042
4043
4044 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj = NULL;
4046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4047 wxWindow *result;
4048 PyObject * obj0 = 0 ;
4049 char *kwnames[] = {
4050 (char *) "self", NULL
4051 };
4052
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
4054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail;
4056 {
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 {
4064 resultobj = wxPyMake_wxObject(result, 0);
4065 }
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj = NULL;
4074 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4075 wxDC *arg2 = 0 ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self",(char *) "dc", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
4085 {
4086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
4087 if (SWIG_arg_fail(2)) SWIG_fail;
4088 if (arg2 == NULL) {
4089 SWIG_null_ref("wxDC");
4090 }
4091 if (SWIG_arg_fail(2)) SWIG_fail;
4092 }
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->DoPrepareDC(*arg2);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 Py_INCREF(Py_None); resultobj = Py_None;
4101 return resultobj;
4102 fail:
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj = NULL;
4109 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4110 wxVisualAttributes result;
4111 PyObject * obj0 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "variant", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4117 if (obj0) {
4118 {
4119 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
4120 if (SWIG_arg_fail(1)) SWIG_fail;
4121 }
4122 }
4123 {
4124 if (!wxPyCheckForApp()) SWIG_fail;
4125 PyThreadState* __tstate = wxPyBeginAllowThreads();
4126 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
4131 {
4132 wxVisualAttributes * resultptr;
4133 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
4134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4135 }
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4143 PyObject *obj;
4144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4145 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4146 Py_INCREF(obj);
4147 return Py_BuildValue((char *)"");
4148 }
4149 static int _wrap_FrameNameStr_set(PyObject *) {
4150 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4151 return 1;
4152 }
4153
4154
4155 static PyObject *_wrap_FrameNameStr_get(void) {
4156 PyObject *pyobj = NULL;
4157
4158 {
4159 #if wxUSE_UNICODE
4160 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4161 #else
4162 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4163 #endif
4164 }
4165 return pyobj;
4166 }
4167
4168
4169 static int _wrap_DialogNameStr_set(PyObject *) {
4170 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4171 return 1;
4172 }
4173
4174
4175 static PyObject *_wrap_DialogNameStr_get(void) {
4176 PyObject *pyobj = NULL;
4177
4178 {
4179 #if wxUSE_UNICODE
4180 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4181 #else
4182 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4183 #endif
4184 }
4185 return pyobj;
4186 }
4187
4188
4189 static int _wrap_StatusLineNameStr_set(PyObject *) {
4190 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4191 return 1;
4192 }
4193
4194
4195 static PyObject *_wrap_StatusLineNameStr_get(void) {
4196 PyObject *pyobj = NULL;
4197
4198 {
4199 #if wxUSE_UNICODE
4200 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4201 #else
4202 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4203 #endif
4204 }
4205 return pyobj;
4206 }
4207
4208
4209 static int _wrap_ToolBarNameStr_set(PyObject *) {
4210 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4211 return 1;
4212 }
4213
4214
4215 static PyObject *_wrap_ToolBarNameStr_get(void) {
4216 PyObject *pyobj = NULL;
4217
4218 {
4219 #if wxUSE_UNICODE
4220 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4221 #else
4222 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4223 #endif
4224 }
4225 return pyobj;
4226 }
4227
4228
4229 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4230 PyObject *resultobj = NULL;
4231 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4232 bool arg2 = (bool) true ;
4233 PyObject * obj0 = 0 ;
4234 PyObject * obj1 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self",(char *) "maximize", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4241 if (SWIG_arg_fail(1)) SWIG_fail;
4242 if (obj1) {
4243 {
4244 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4245 if (SWIG_arg_fail(2)) SWIG_fail;
4246 }
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 (arg1)->Maximize(arg2);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 Py_INCREF(Py_None); resultobj = Py_None;
4256 return resultobj;
4257 fail:
4258 return NULL;
4259 }
4260
4261
4262 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj = NULL;
4264 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4265 PyObject * obj0 = 0 ;
4266 char *kwnames[] = {
4267 (char *) "self", NULL
4268 };
4269
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail;
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 (arg1)->Restore();
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 Py_INCREF(Py_None); resultobj = Py_None;
4281 return resultobj;
4282 fail:
4283 return NULL;
4284 }
4285
4286
4287 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj = NULL;
4289 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4290 bool arg2 = (bool) true ;
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self",(char *) "iconize", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4299 if (SWIG_arg_fail(1)) SWIG_fail;
4300 if (obj1) {
4301 {
4302 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4303 if (SWIG_arg_fail(2)) SWIG_fail;
4304 }
4305 }
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 (arg1)->Iconize(arg2);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 Py_INCREF(Py_None); resultobj = Py_None;
4314 return resultobj;
4315 fail:
4316 return NULL;
4317 }
4318
4319
4320 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj = NULL;
4322 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4323 bool result;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail;
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 {
4340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4341 }
4342 return resultobj;
4343 fail:
4344 return NULL;
4345 }
4346
4347
4348 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj = NULL;
4350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4351 bool result;
4352 PyObject * obj0 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail;
4360 {
4361 PyThreadState* __tstate = wxPyBeginAllowThreads();
4362 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4363
4364 wxPyEndAllowThreads(__tstate);
4365 if (PyErr_Occurred()) SWIG_fail;
4366 }
4367 {
4368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4369 }
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj = NULL;
4378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4379 wxIcon result;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4387 if (SWIG_arg_fail(1)) SWIG_fail;
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 {
4396 wxIcon * resultptr;
4397 resultptr = new wxIcon(static_cast<wxIcon & >(result));
4398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4399 }
4400 return resultobj;
4401 fail:
4402 return NULL;
4403 }
4404
4405
4406 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj = NULL;
4408 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4409 wxIcon *arg2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "icon", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail;
4419 {
4420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4421 if (SWIG_arg_fail(2)) SWIG_fail;
4422 if (arg2 == NULL) {
4423 SWIG_null_ref("wxIcon");
4424 }
4425 if (SWIG_arg_fail(2)) SWIG_fail;
4426 }
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 (arg1)->SetIcon((wxIcon const &)*arg2);
4430
4431 wxPyEndAllowThreads(__tstate);
4432 if (PyErr_Occurred()) SWIG_fail;
4433 }
4434 Py_INCREF(Py_None); resultobj = Py_None;
4435 return resultobj;
4436 fail:
4437 return NULL;
4438 }
4439
4440
4441 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4442 PyObject *resultobj = NULL;
4443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4444 wxIconBundle *arg2 = 0 ;
4445 PyObject * obj0 = 0 ;
4446 PyObject * obj1 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self",(char *) "icons", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail;
4454 {
4455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4456 if (SWIG_arg_fail(2)) SWIG_fail;
4457 if (arg2 == NULL) {
4458 SWIG_null_ref("wxIconBundle");
4459 }
4460 if (SWIG_arg_fail(2)) SWIG_fail;
4461 }
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 Py_INCREF(Py_None); resultobj = Py_None;
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj = NULL;
4478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4479 bool arg2 ;
4480 long arg3 = (long) wxFULLSCREEN_ALL ;
4481 bool result;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
4484 PyObject * obj2 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "show",(char *) "style", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail;
4492 {
4493 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4494 if (SWIG_arg_fail(2)) SWIG_fail;
4495 }
4496 if (obj2) {
4497 {
4498 arg3 = static_cast<long >(SWIG_As_long(obj2));
4499 if (SWIG_arg_fail(3)) SWIG_fail;
4500 }
4501 }
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4505
4506 wxPyEndAllowThreads(__tstate);
4507 if (PyErr_Occurred()) SWIG_fail;
4508 }
4509 {
4510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4511 }
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj = NULL;
4520 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4521 bool result;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 {
4538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4539 }
4540 return resultobj;
4541 fail:
4542 return NULL;
4543 }
4544
4545
4546 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4547 PyObject *resultobj = NULL;
4548 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4549 wxString *arg2 = 0 ;
4550 bool temp2 = false ;
4551 PyObject * obj0 = 0 ;
4552 PyObject * obj1 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self",(char *) "title", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail;
4560 {
4561 arg2 = wxString_in_helper(obj1);
4562 if (arg2 == NULL) SWIG_fail;
4563 temp2 = true;
4564 }
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->SetTitle((wxString const &)*arg2);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 {
4574 if (temp2)
4575 delete arg2;
4576 }
4577 return resultobj;
4578 fail:
4579 {
4580 if (temp2)
4581 delete arg2;
4582 }
4583 return NULL;
4584 }
4585
4586
4587 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj = NULL;
4589 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4590 wxString result;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607 #if wxUSE_UNICODE
4608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4609 #else
4610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4611 #endif
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj = NULL;
4621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4622 wxRegion *arg2 = 0 ;
4623 bool result;
4624 PyObject * obj0 = 0 ;
4625 PyObject * obj1 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "region", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail;
4633 {
4634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4635 if (SWIG_arg_fail(2)) SWIG_fail;
4636 if (arg2 == NULL) {
4637 SWIG_null_ref("wxRegion");
4638 }
4639 if (SWIG_arg_fail(2)) SWIG_fail;
4640 }
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4644
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
4649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4650 }
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj = NULL;
4659 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4660 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "flags", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail;
4670 if (obj1) {
4671 {
4672 arg2 = static_cast<int >(SWIG_As_int(obj1));
4673 if (SWIG_arg_fail(2)) SWIG_fail;
4674 }
4675 }
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->RequestUserAttention(arg2);
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj = NULL;
4692 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4693 bool result;
4694 PyObject * obj0 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "self", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail;
4702 {
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (bool)(arg1)->IsActive();
4705
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 {
4710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4711 }
4712 return resultobj;
4713 fail:
4714 return NULL;
4715 }
4716
4717
4718 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4719 PyObject *resultobj = NULL;
4720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4721 bool arg2 ;
4722 PyObject * obj0 = 0 ;
4723 PyObject * obj1 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "on", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail;
4731 {
4732 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
4733 if (SWIG_arg_fail(2)) SWIG_fail;
4734 }
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 Py_INCREF(Py_None); resultobj = Py_None;
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj = NULL;
4751 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4752 bool result;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail;
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 {
4769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4770 }
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4778 PyObject *obj;
4779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4781 Py_INCREF(obj);
4782 return Py_BuildValue((char *)"");
4783 }
4784 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj = NULL;
4786 wxWindow *arg1 = (wxWindow *) 0 ;
4787 int arg2 = (int) (int)-1 ;
4788 wxString const &arg3_defvalue = wxPyEmptyString ;
4789 wxString *arg3 = (wxString *) &arg3_defvalue ;
4790 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4791 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4792 wxSize const &arg5_defvalue = wxDefaultSize ;
4793 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4794 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4795 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4796 wxString *arg7 = (wxString *) &arg7_defvalue ;
4797 wxFrame *result;
4798 bool temp3 = false ;
4799 wxPoint temp4 ;
4800 wxSize temp5 ;
4801 bool temp7 = false ;
4802 PyObject * obj0 = 0 ;
4803 PyObject * obj1 = 0 ;
4804 PyObject * obj2 = 0 ;
4805 PyObject * obj3 = 0 ;
4806 PyObject * obj4 = 0 ;
4807 PyObject * obj5 = 0 ;
4808 PyObject * obj6 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail;
4816 if (obj1) {
4817 {
4818 arg2 = static_cast<int const >(SWIG_As_int(obj1));
4819 if (SWIG_arg_fail(2)) SWIG_fail;
4820 }
4821 }
4822 if (obj2) {
4823 {
4824 arg3 = wxString_in_helper(obj2);
4825 if (arg3 == NULL) SWIG_fail;
4826 temp3 = true;
4827 }
4828 }
4829 if (obj3) {
4830 {
4831 arg4 = &temp4;
4832 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4833 }
4834 }
4835 if (obj4) {
4836 {
4837 arg5 = &temp5;
4838 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4839 }
4840 }
4841 if (obj5) {
4842 {
4843 arg6 = static_cast<long >(SWIG_As_long(obj5));
4844 if (SWIG_arg_fail(6)) SWIG_fail;
4845 }
4846 }
4847 if (obj6) {
4848 {
4849 arg7 = wxString_in_helper(obj6);
4850 if (arg7 == NULL) SWIG_fail;
4851 temp7 = true;
4852 }
4853 }
4854 {
4855 if (!wxPyCheckForApp()) SWIG_fail;
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4863 {
4864 if (temp3)
4865 delete arg3;
4866 }
4867 {
4868 if (temp7)
4869 delete arg7;
4870 }
4871 return resultobj;
4872 fail:
4873 {
4874 if (temp3)
4875 delete arg3;
4876 }
4877 {
4878 if (temp7)
4879 delete arg7;
4880 }
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj = NULL;
4887 wxFrame *result;
4888 char *kwnames[] = {
4889 NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4893 {
4894 if (!wxPyCheckForApp()) SWIG_fail;
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (wxFrame *)new wxFrame();
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj = NULL;
4910 wxFrame *arg1 = (wxFrame *) 0 ;
4911 wxWindow *arg2 = (wxWindow *) 0 ;
4912 int arg3 = (int) (int)-1 ;
4913 wxString const &arg4_defvalue = wxPyEmptyString ;
4914 wxString *arg4 = (wxString *) &arg4_defvalue ;
4915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4917 wxSize const &arg6_defvalue = wxDefaultSize ;
4918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4919 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4920 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4921 wxString *arg8 = (wxString *) &arg8_defvalue ;
4922 bool result;
4923 bool temp4 = false ;
4924 wxPoint temp5 ;
4925 wxSize temp6 ;
4926 bool temp8 = false ;
4927 PyObject * obj0 = 0 ;
4928 PyObject * obj1 = 0 ;
4929 PyObject * obj2 = 0 ;
4930 PyObject * obj3 = 0 ;
4931 PyObject * obj4 = 0 ;
4932 PyObject * obj5 = 0 ;
4933 PyObject * obj6 = 0 ;
4934 PyObject * obj7 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail;
4942 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(2)) SWIG_fail;
4944 if (obj2) {
4945 {
4946 arg3 = static_cast<int const >(SWIG_As_int(obj2));
4947 if (SWIG_arg_fail(3)) SWIG_fail;
4948 }
4949 }
4950 if (obj3) {
4951 {
4952 arg4 = wxString_in_helper(obj3);
4953 if (arg4 == NULL) SWIG_fail;
4954 temp4 = true;
4955 }
4956 }
4957 if (obj4) {
4958 {
4959 arg5 = &temp5;
4960 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4961 }
4962 }
4963 if (obj5) {
4964 {
4965 arg6 = &temp6;
4966 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4967 }
4968 }
4969 if (obj6) {
4970 {
4971 arg7 = static_cast<long >(SWIG_As_long(obj6));
4972 if (SWIG_arg_fail(7)) SWIG_fail;
4973 }
4974 }
4975 if (obj7) {
4976 {
4977 arg8 = wxString_in_helper(obj7);
4978 if (arg8 == NULL) SWIG_fail;
4979 temp8 = true;
4980 }
4981 }
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 {
4990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4991 }
4992 {
4993 if (temp4)
4994 delete arg4;
4995 }
4996 {
4997 if (temp8)
4998 delete arg8;
4999 }
5000 return resultobj;
5001 fail:
5002 {
5003 if (temp4)
5004 delete arg4;
5005 }
5006 {
5007 if (temp8)
5008 delete arg8;
5009 }
5010 return NULL;
5011 }
5012
5013
5014 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj = NULL;
5016 wxFrame *arg1 = (wxFrame *) 0 ;
5017 wxPoint result;
5018 PyObject * obj0 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
5024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail;
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
5029
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 {
5034 wxPoint * resultptr;
5035 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj = NULL;
5046 wxFrame *arg1 = (wxFrame *) 0 ;
5047 PyObject * obj0 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "self", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
5053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail;
5055 {
5056 PyThreadState* __tstate = wxPyBeginAllowThreads();
5057 (arg1)->SendSizeEvent();
5058
5059 wxPyEndAllowThreads(__tstate);
5060 if (PyErr_Occurred()) SWIG_fail;
5061 }
5062 Py_INCREF(Py_None); resultobj = Py_None;
5063 return resultobj;
5064 fail:
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj = NULL;
5071 wxFrame *arg1 = (wxFrame *) 0 ;
5072 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
5073 PyObject * obj0 = 0 ;
5074 PyObject * obj1 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self",(char *) "menubar", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
5080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5081 if (SWIG_arg_fail(1)) SWIG_fail;
5082 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
5083 if (SWIG_arg_fail(2)) SWIG_fail;
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 (arg1)->SetMenuBar(arg2);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 Py_INCREF(Py_None); resultobj = Py_None;
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj = NULL;
5100 wxFrame *arg1 = (wxFrame *) 0 ;
5101 wxMenuBar *result;
5102 PyObject * obj0 = 0 ;
5103 char *kwnames[] = {
5104 (char *) "self", NULL
5105 };
5106
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",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 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 {
5118 resultobj = wxPyMake_wxObject(result, 0);
5119 }
5120 return resultobj;
5121 fail:
5122 return NULL;
5123 }
5124
5125
5126 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = NULL;
5128 wxFrame *arg1 = (wxFrame *) 0 ;
5129 int arg2 ;
5130 bool result;
5131 PyObject * obj0 = 0 ;
5132 PyObject * obj1 = 0 ;
5133 char *kwnames[] = {
5134 (char *) "self",(char *) "winid", NULL
5135 };
5136
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
5138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail;
5140 {
5141 arg2 = static_cast<int >(SWIG_As_int(obj1));
5142 if (SWIG_arg_fail(2)) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (bool)(arg1)->ProcessCommand(arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj = NULL;
5162 wxFrame *arg1 = (wxFrame *) 0 ;
5163 int arg2 = (int) 1 ;
5164 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5165 int arg4 = (int) 0 ;
5166 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5167 wxString *arg5 = (wxString *) &arg5_defvalue ;
5168 wxStatusBar *result;
5169 bool temp5 = false ;
5170 PyObject * obj0 = 0 ;
5171 PyObject * obj1 = 0 ;
5172 PyObject * obj2 = 0 ;
5173 PyObject * obj3 = 0 ;
5174 PyObject * obj4 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
5182 if (obj1) {
5183 {
5184 arg2 = static_cast<int >(SWIG_As_int(obj1));
5185 if (SWIG_arg_fail(2)) SWIG_fail;
5186 }
5187 }
5188 if (obj2) {
5189 {
5190 arg3 = static_cast<long >(SWIG_As_long(obj2));
5191 if (SWIG_arg_fail(3)) SWIG_fail;
5192 }
5193 }
5194 if (obj3) {
5195 {
5196 arg4 = static_cast<int >(SWIG_As_int(obj3));
5197 if (SWIG_arg_fail(4)) SWIG_fail;
5198 }
5199 }
5200 if (obj4) {
5201 {
5202 arg5 = wxString_in_helper(obj4);
5203 if (arg5 == NULL) SWIG_fail;
5204 temp5 = true;
5205 }
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5210
5211 wxPyEndAllowThreads(__tstate);
5212 if (PyErr_Occurred()) SWIG_fail;
5213 }
5214 {
5215 resultobj = wxPyMake_wxObject(result, 0);
5216 }
5217 {
5218 if (temp5)
5219 delete arg5;
5220 }
5221 return resultobj;
5222 fail:
5223 {
5224 if (temp5)
5225 delete arg5;
5226 }
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj = NULL;
5233 wxFrame *arg1 = (wxFrame *) 0 ;
5234 wxStatusBar *result;
5235 PyObject * obj0 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5242 if (SWIG_arg_fail(1)) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 resultobj = wxPyMake_wxObject(result, 0);
5252 }
5253 return resultobj;
5254 fail:
5255 return NULL;
5256 }
5257
5258
5259 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5260 PyObject *resultobj = NULL;
5261 wxFrame *arg1 = (wxFrame *) 0 ;
5262 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "statBar", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail;
5272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5273 if (SWIG_arg_fail(2)) SWIG_fail;
5274 {
5275 PyThreadState* __tstate = wxPyBeginAllowThreads();
5276 (arg1)->SetStatusBar(arg2);
5277
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 Py_INCREF(Py_None); resultobj = Py_None;
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5289 PyObject *resultobj = NULL;
5290 wxFrame *arg1 = (wxFrame *) 0 ;
5291 wxString *arg2 = 0 ;
5292 int arg3 = (int) 0 ;
5293 bool temp2 = false ;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 PyObject * obj2 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self",(char *) "text",(char *) "number", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail;
5304 {
5305 arg2 = wxString_in_helper(obj1);
5306 if (arg2 == NULL) SWIG_fail;
5307 temp2 = true;
5308 }
5309 if (obj2) {
5310 {
5311 arg3 = static_cast<int >(SWIG_As_int(obj2));
5312 if (SWIG_arg_fail(3)) SWIG_fail;
5313 }
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 {
5324 if (temp2)
5325 delete arg2;
5326 }
5327 return resultobj;
5328 fail:
5329 {
5330 if (temp2)
5331 delete arg2;
5332 }
5333 return NULL;
5334 }
5335
5336
5337 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5338 PyObject *resultobj = NULL;
5339 wxFrame *arg1 = (wxFrame *) 0 ;
5340 int arg2 ;
5341 int *arg3 = (int *) 0 ;
5342 PyObject * obj0 = 0 ;
5343 PyObject * obj1 = 0 ;
5344 char *kwnames[] = {
5345 (char *) "self",(char *) "widths", NULL
5346 };
5347
5348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5350 if (SWIG_arg_fail(1)) SWIG_fail;
5351 {
5352 arg2 = PyList_Size(obj1);
5353 arg3 = int_LIST_helper(obj1);
5354 if (arg3 == NULL) SWIG_fail;
5355 }
5356 {
5357 PyThreadState* __tstate = wxPyBeginAllowThreads();
5358 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5359
5360 wxPyEndAllowThreads(__tstate);
5361 if (PyErr_Occurred()) SWIG_fail;
5362 }
5363 Py_INCREF(Py_None); resultobj = Py_None;
5364 {
5365 if (arg3) delete [] arg3;
5366 }
5367 return resultobj;
5368 fail:
5369 {
5370 if (arg3) delete [] arg3;
5371 }
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj = NULL;
5378 wxFrame *arg1 = (wxFrame *) 0 ;
5379 wxString *arg2 = 0 ;
5380 int arg3 = (int) 0 ;
5381 bool temp2 = false ;
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
5384 PyObject * obj2 = 0 ;
5385 char *kwnames[] = {
5386 (char *) "self",(char *) "text",(char *) "number", NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail;
5392 {
5393 arg2 = wxString_in_helper(obj1);
5394 if (arg2 == NULL) SWIG_fail;
5395 temp2 = true;
5396 }
5397 if (obj2) {
5398 {
5399 arg3 = static_cast<int >(SWIG_As_int(obj2));
5400 if (SWIG_arg_fail(3)) SWIG_fail;
5401 }
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 Py_INCREF(Py_None); resultobj = Py_None;
5411 {
5412 if (temp2)
5413 delete arg2;
5414 }
5415 return resultobj;
5416 fail:
5417 {
5418 if (temp2)
5419 delete arg2;
5420 }
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = NULL;
5427 wxFrame *arg1 = (wxFrame *) 0 ;
5428 int arg2 = (int) 0 ;
5429 PyObject * obj0 = 0 ;
5430 PyObject * obj1 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "number", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
5438 if (obj1) {
5439 {
5440 arg2 = static_cast<int >(SWIG_As_int(obj1));
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 }
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->PopStatusText(arg2);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj = NULL;
5460 wxFrame *arg1 = (wxFrame *) 0 ;
5461 int arg2 ;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "n", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
5471 {
5472 arg2 = static_cast<int >(SWIG_As_int(obj1));
5473 if (SWIG_arg_fail(2)) SWIG_fail;
5474 }
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->SetStatusBarPane(arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 Py_INCREF(Py_None); resultobj = Py_None;
5483 return resultobj;
5484 fail:
5485 return NULL;
5486 }
5487
5488
5489 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj = NULL;
5491 wxFrame *arg1 = (wxFrame *) 0 ;
5492 int result;
5493 PyObject * obj0 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail;
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 {
5509 resultobj = SWIG_From_int(static_cast<int >(result));
5510 }
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj = NULL;
5519 wxFrame *arg1 = (wxFrame *) 0 ;
5520 long arg2 = (long) -1 ;
5521 int arg3 = (int) -1 ;
5522 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5523 wxString *arg4 = (wxString *) &arg4_defvalue ;
5524 wxToolBar *result;
5525 bool temp4 = false ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 PyObject * obj2 = 0 ;
5529 PyObject * obj3 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5536 if (SWIG_arg_fail(1)) SWIG_fail;
5537 if (obj1) {
5538 {
5539 arg2 = static_cast<long >(SWIG_As_long(obj1));
5540 if (SWIG_arg_fail(2)) SWIG_fail;
5541 }
5542 }
5543 if (obj2) {
5544 {
5545 arg3 = static_cast<int >(SWIG_As_int(obj2));
5546 if (SWIG_arg_fail(3)) SWIG_fail;
5547 }
5548 }
5549 if (obj3) {
5550 {
5551 arg4 = wxString_in_helper(obj3);
5552 if (arg4 == NULL) SWIG_fail;
5553 temp4 = true;
5554 }
5555 }
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 {
5564 resultobj = wxPyMake_wxObject(result, 0);
5565 }
5566 {
5567 if (temp4)
5568 delete arg4;
5569 }
5570 return resultobj;
5571 fail:
5572 {
5573 if (temp4)
5574 delete arg4;
5575 }
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj = NULL;
5582 wxFrame *arg1 = (wxFrame *) 0 ;
5583 wxToolBar *result;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) 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 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 {
5600 resultobj = wxPyMake_wxObject(result, 0);
5601 }
5602 return resultobj;
5603 fail:
5604 return NULL;
5605 }
5606
5607
5608 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5609 PyObject *resultobj = NULL;
5610 wxFrame *arg1 = (wxFrame *) 0 ;
5611 wxToolBar *arg2 = (wxToolBar *) 0 ;
5612 PyObject * obj0 = 0 ;
5613 PyObject * obj1 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self",(char *) "toolbar", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail;
5621 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5622 if (SWIG_arg_fail(2)) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetToolBar(arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj = NULL;
5639 wxFrame *arg1 = (wxFrame *) 0 ;
5640 wxString *arg2 = 0 ;
5641 bool arg3 ;
5642 bool temp2 = false ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "text",(char *) "show", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail;
5653 {
5654 arg2 = wxString_in_helper(obj1);
5655 if (arg2 == NULL) SWIG_fail;
5656 temp2 = true;
5657 }
5658 {
5659 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
5660 if (SWIG_arg_fail(3)) SWIG_fail;
5661 }
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 {
5671 if (temp2)
5672 delete arg2;
5673 }
5674 return resultobj;
5675 fail:
5676 {
5677 if (temp2)
5678 delete arg2;
5679 }
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj = NULL;
5686 wxFrame *arg1 = (wxFrame *) 0 ;
5687 wxMenu *arg2 = (wxMenu *) NULL ;
5688 PyObject * obj0 = 0 ;
5689 PyObject * obj1 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "menu", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail;
5697 if (obj1) {
5698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5699 if (SWIG_arg_fail(2)) SWIG_fail;
5700 }
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 (arg1)->DoMenuUpdates(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 Py_INCREF(Py_None); resultobj = Py_None;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712 }
5713
5714
5715 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj = NULL;
5717 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5718 wxVisualAttributes result;
5719 PyObject * obj0 = 0 ;
5720 char *kwnames[] = {
5721 (char *) "variant", NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5725 if (obj0) {
5726 {
5727 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
5728 if (SWIG_arg_fail(1)) SWIG_fail;
5729 }
5730 }
5731 {
5732 if (!wxPyCheckForApp()) SWIG_fail;
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = wxFrame::GetClassDefaultAttributes(arg1);
5735
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 wxVisualAttributes * resultptr;
5741 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
5742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5743 }
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5751 PyObject *obj;
5752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5753 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5754 Py_INCREF(obj);
5755 return Py_BuildValue((char *)"");
5756 }
5757 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = NULL;
5759 wxWindow *arg1 = (wxWindow *) 0 ;
5760 int arg2 = (int) (int)-1 ;
5761 wxString const &arg3_defvalue = wxPyEmptyString ;
5762 wxString *arg3 = (wxString *) &arg3_defvalue ;
5763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5765 wxSize const &arg5_defvalue = wxDefaultSize ;
5766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5767 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5768 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5769 wxString *arg7 = (wxString *) &arg7_defvalue ;
5770 wxDialog *result;
5771 bool temp3 = false ;
5772 wxPoint temp4 ;
5773 wxSize temp5 ;
5774 bool temp7 = false ;
5775 PyObject * obj0 = 0 ;
5776 PyObject * obj1 = 0 ;
5777 PyObject * obj2 = 0 ;
5778 PyObject * obj3 = 0 ;
5779 PyObject * obj4 = 0 ;
5780 PyObject * obj5 = 0 ;
5781 PyObject * obj6 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail;
5789 if (obj1) {
5790 {
5791 arg2 = static_cast<int const >(SWIG_As_int(obj1));
5792 if (SWIG_arg_fail(2)) SWIG_fail;
5793 }
5794 }
5795 if (obj2) {
5796 {
5797 arg3 = wxString_in_helper(obj2);
5798 if (arg3 == NULL) SWIG_fail;
5799 temp3 = true;
5800 }
5801 }
5802 if (obj3) {
5803 {
5804 arg4 = &temp4;
5805 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5806 }
5807 }
5808 if (obj4) {
5809 {
5810 arg5 = &temp5;
5811 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5812 }
5813 }
5814 if (obj5) {
5815 {
5816 arg6 = static_cast<long >(SWIG_As_long(obj5));
5817 if (SWIG_arg_fail(6)) SWIG_fail;
5818 }
5819 }
5820 if (obj6) {
5821 {
5822 arg7 = wxString_in_helper(obj6);
5823 if (arg7 == NULL) SWIG_fail;
5824 temp7 = true;
5825 }
5826 }
5827 {
5828 if (!wxPyCheckForApp()) SWIG_fail;
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5836 {
5837 if (temp3)
5838 delete arg3;
5839 }
5840 {
5841 if (temp7)
5842 delete arg7;
5843 }
5844 return resultobj;
5845 fail:
5846 {
5847 if (temp3)
5848 delete arg3;
5849 }
5850 {
5851 if (temp7)
5852 delete arg7;
5853 }
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj = NULL;
5860 wxDialog *result;
5861 char *kwnames[] = {
5862 NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5866 {
5867 if (!wxPyCheckForApp()) SWIG_fail;
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (wxDialog *)new wxDialog();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5875 return resultobj;
5876 fail:
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj = NULL;
5883 wxDialog *arg1 = (wxDialog *) 0 ;
5884 wxWindow *arg2 = (wxWindow *) 0 ;
5885 int arg3 = (int) (int)-1 ;
5886 wxString const &arg4_defvalue = wxPyEmptyString ;
5887 wxString *arg4 = (wxString *) &arg4_defvalue ;
5888 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5889 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5890 wxSize const &arg6_defvalue = wxDefaultSize ;
5891 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5892 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5893 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5894 wxString *arg8 = (wxString *) &arg8_defvalue ;
5895 bool result;
5896 bool temp4 = false ;
5897 wxPoint temp5 ;
5898 wxSize temp6 ;
5899 bool temp8 = false ;
5900 PyObject * obj0 = 0 ;
5901 PyObject * obj1 = 0 ;
5902 PyObject * obj2 = 0 ;
5903 PyObject * obj3 = 0 ;
5904 PyObject * obj4 = 0 ;
5905 PyObject * obj5 = 0 ;
5906 PyObject * obj6 = 0 ;
5907 PyObject * obj7 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail;
5915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5916 if (SWIG_arg_fail(2)) SWIG_fail;
5917 if (obj2) {
5918 {
5919 arg3 = static_cast<int const >(SWIG_As_int(obj2));
5920 if (SWIG_arg_fail(3)) SWIG_fail;
5921 }
5922 }
5923 if (obj3) {
5924 {
5925 arg4 = wxString_in_helper(obj3);
5926 if (arg4 == NULL) SWIG_fail;
5927 temp4 = true;
5928 }
5929 }
5930 if (obj4) {
5931 {
5932 arg5 = &temp5;
5933 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5934 }
5935 }
5936 if (obj5) {
5937 {
5938 arg6 = &temp6;
5939 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5940 }
5941 }
5942 if (obj6) {
5943 {
5944 arg7 = static_cast<long >(SWIG_As_long(obj6));
5945 if (SWIG_arg_fail(7)) SWIG_fail;
5946 }
5947 }
5948 if (obj7) {
5949 {
5950 arg8 = wxString_in_helper(obj7);
5951 if (arg8 == NULL) SWIG_fail;
5952 temp8 = true;
5953 }
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
5963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5964 }
5965 {
5966 if (temp4)
5967 delete arg4;
5968 }
5969 {
5970 if (temp8)
5971 delete arg8;
5972 }
5973 return resultobj;
5974 fail:
5975 {
5976 if (temp4)
5977 delete arg4;
5978 }
5979 {
5980 if (temp8)
5981 delete arg8;
5982 }
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj = NULL;
5989 wxDialog *arg1 = (wxDialog *) 0 ;
5990 int arg2 ;
5991 PyObject * obj0 = 0 ;
5992 PyObject * obj1 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "returnCode", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5999 if (SWIG_arg_fail(1)) SWIG_fail;
6000 {
6001 arg2 = static_cast<int >(SWIG_As_int(obj1));
6002 if (SWIG_arg_fail(2)) SWIG_fail;
6003 }
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 (arg1)->SetReturnCode(arg2);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 Py_INCREF(Py_None); resultobj = Py_None;
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj = NULL;
6020 wxDialog *arg1 = (wxDialog *) 0 ;
6021 int result;
6022 PyObject * obj0 = 0 ;
6023 char *kwnames[] = {
6024 (char *) "self", NULL
6025 };
6026
6027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
6028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6029 if (SWIG_arg_fail(1)) SWIG_fail;
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = (int)((wxDialog const *)arg1)->GetReturnCode();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 {
6038 resultobj = SWIG_From_int(static_cast<int >(result));
6039 }
6040 return resultobj;
6041 fail:
6042 return NULL;
6043 }
6044
6045
6046 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj = NULL;
6048 wxDialog *arg1 = (wxDialog *) 0 ;
6049 wxString *arg2 = 0 ;
6050 wxSizer *result;
6051 bool temp2 = false ;
6052 PyObject * obj0 = 0 ;
6053 PyObject * obj1 = 0 ;
6054 char *kwnames[] = {
6055 (char *) "self",(char *) "message", NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
6059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6060 if (SWIG_arg_fail(1)) SWIG_fail;
6061 {
6062 arg2 = wxString_in_helper(obj1);
6063 if (arg2 == NULL) SWIG_fail;
6064 temp2 = true;
6065 }
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
6069
6070 wxPyEndAllowThreads(__tstate);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 {
6074 resultobj = wxPyMake_wxObject(result, 0);
6075 }
6076 {
6077 if (temp2)
6078 delete arg2;
6079 }
6080 return resultobj;
6081 fail:
6082 {
6083 if (temp2)
6084 delete arg2;
6085 }
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj = NULL;
6092 wxDialog *arg1 = (wxDialog *) 0 ;
6093 long arg2 ;
6094 bool arg3 = (bool) false ;
6095 int arg4 = (int) 0 ;
6096 wxSizer *result;
6097 PyObject * obj0 = 0 ;
6098 PyObject * obj1 = 0 ;
6099 PyObject * obj2 = 0 ;
6100 PyObject * obj3 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail;
6108 {
6109 arg2 = static_cast<long >(SWIG_As_long(obj1));
6110 if (SWIG_arg_fail(2)) SWIG_fail;
6111 }
6112 if (obj2) {
6113 {
6114 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
6115 if (SWIG_arg_fail(3)) SWIG_fail;
6116 }
6117 }
6118 if (obj3) {
6119 {
6120 arg4 = static_cast<int >(SWIG_As_int(obj3));
6121 if (SWIG_arg_fail(4)) SWIG_fail;
6122 }
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 {
6132 resultobj = wxPyMake_wxObject(result, 0);
6133 }
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj = NULL;
6142 wxDialog *arg1 = (wxDialog *) 0 ;
6143 long arg2 ;
6144 wxStdDialogButtonSizer *result;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "flags", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail;
6154 {
6155 arg2 = static_cast<long >(SWIG_As_long(obj1));
6156 if (SWIG_arg_fail(2)) SWIG_fail;
6157 }
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj = NULL;
6174 wxDialog *arg1 = (wxDialog *) 0 ;
6175 bool result;
6176 PyObject * obj0 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (bool)((wxDialog const *)arg1)->IsModal();
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 {
6192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6193 }
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj = NULL;
6202 wxDialog *arg1 = (wxDialog *) 0 ;
6203 int result;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail;
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 result = (int)(arg1)->ShowModal();
6215
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 {
6220 resultobj = SWIG_From_int(static_cast<int >(result));
6221 }
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6229 PyObject *resultobj = NULL;
6230 wxDialog *arg1 = (wxDialog *) 0 ;
6231 int arg2 ;
6232 PyObject * obj0 = 0 ;
6233 PyObject * obj1 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "self",(char *) "retCode", NULL
6236 };
6237
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail;
6241 {
6242 arg2 = static_cast<int >(SWIG_As_int(obj1));
6243 if (SWIG_arg_fail(2)) SWIG_fail;
6244 }
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 (arg1)->EndModal(arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 Py_INCREF(Py_None); resultobj = Py_None;
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj = NULL;
6261 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6262 wxVisualAttributes result;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "variant", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6269 if (obj0) {
6270 {
6271 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
6272 if (SWIG_arg_fail(1)) SWIG_fail;
6273 }
6274 }
6275 {
6276 if (!wxPyCheckForApp()) SWIG_fail;
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = wxDialog::GetClassDefaultAttributes(arg1);
6279
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 {
6284 wxVisualAttributes * resultptr;
6285 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
6286 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6287 }
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6295 PyObject *obj;
6296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6297 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6298 Py_INCREF(obj);
6299 return Py_BuildValue((char *)"");
6300 }
6301 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj = NULL;
6303 wxWindow *arg1 = (wxWindow *) 0 ;
6304 int arg2 = (int) (int)-1 ;
6305 wxString const &arg3_defvalue = wxPyEmptyString ;
6306 wxString *arg3 = (wxString *) &arg3_defvalue ;
6307 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6308 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6309 wxSize const &arg5_defvalue = wxDefaultSize ;
6310 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6311 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6312 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6313 wxString *arg7 = (wxString *) &arg7_defvalue ;
6314 wxMiniFrame *result;
6315 bool temp3 = false ;
6316 wxPoint temp4 ;
6317 wxSize temp5 ;
6318 bool temp7 = false ;
6319 PyObject * obj0 = 0 ;
6320 PyObject * obj1 = 0 ;
6321 PyObject * obj2 = 0 ;
6322 PyObject * obj3 = 0 ;
6323 PyObject * obj4 = 0 ;
6324 PyObject * obj5 = 0 ;
6325 PyObject * obj6 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail;
6333 if (obj1) {
6334 {
6335 arg2 = static_cast<int const >(SWIG_As_int(obj1));
6336 if (SWIG_arg_fail(2)) SWIG_fail;
6337 }
6338 }
6339 if (obj2) {
6340 {
6341 arg3 = wxString_in_helper(obj2);
6342 if (arg3 == NULL) SWIG_fail;
6343 temp3 = true;
6344 }
6345 }
6346 if (obj3) {
6347 {
6348 arg4 = &temp4;
6349 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6350 }
6351 }
6352 if (obj4) {
6353 {
6354 arg5 = &temp5;
6355 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6356 }
6357 }
6358 if (obj5) {
6359 {
6360 arg6 = static_cast<long >(SWIG_As_long(obj5));
6361 if (SWIG_arg_fail(6)) SWIG_fail;
6362 }
6363 }
6364 if (obj6) {
6365 {
6366 arg7 = wxString_in_helper(obj6);
6367 if (arg7 == NULL) SWIG_fail;
6368 temp7 = true;
6369 }
6370 }
6371 {
6372 if (!wxPyCheckForApp()) SWIG_fail;
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6375
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6380 {
6381 if (temp3)
6382 delete arg3;
6383 }
6384 {
6385 if (temp7)
6386 delete arg7;
6387 }
6388 return resultobj;
6389 fail:
6390 {
6391 if (temp3)
6392 delete arg3;
6393 }
6394 {
6395 if (temp7)
6396 delete arg7;
6397 }
6398 return NULL;
6399 }
6400
6401
6402 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj = NULL;
6404 wxMiniFrame *result;
6405 char *kwnames[] = {
6406 NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6410 {
6411 if (!wxPyCheckForApp()) SWIG_fail;
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 result = (wxMiniFrame *)new wxMiniFrame();
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6419 return resultobj;
6420 fail:
6421 return NULL;
6422 }
6423
6424
6425 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj = NULL;
6427 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6428 wxWindow *arg2 = (wxWindow *) 0 ;
6429 int arg3 = (int) (int)-1 ;
6430 wxString const &arg4_defvalue = wxPyEmptyString ;
6431 wxString *arg4 = (wxString *) &arg4_defvalue ;
6432 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6433 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6434 wxSize const &arg6_defvalue = wxDefaultSize ;
6435 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6436 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6437 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6438 wxString *arg8 = (wxString *) &arg8_defvalue ;
6439 bool result;
6440 bool temp4 = false ;
6441 wxPoint temp5 ;
6442 wxSize temp6 ;
6443 bool temp8 = false ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 PyObject * obj2 = 0 ;
6447 PyObject * obj3 = 0 ;
6448 PyObject * obj4 = 0 ;
6449 PyObject * obj5 = 0 ;
6450 PyObject * obj6 = 0 ;
6451 PyObject * obj7 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
6459 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6460 if (SWIG_arg_fail(2)) SWIG_fail;
6461 if (obj2) {
6462 {
6463 arg3 = static_cast<int const >(SWIG_As_int(obj2));
6464 if (SWIG_arg_fail(3)) SWIG_fail;
6465 }
6466 }
6467 if (obj3) {
6468 {
6469 arg4 = wxString_in_helper(obj3);
6470 if (arg4 == NULL) SWIG_fail;
6471 temp4 = true;
6472 }
6473 }
6474 if (obj4) {
6475 {
6476 arg5 = &temp5;
6477 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6478 }
6479 }
6480 if (obj5) {
6481 {
6482 arg6 = &temp6;
6483 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6484 }
6485 }
6486 if (obj6) {
6487 {
6488 arg7 = static_cast<long >(SWIG_As_long(obj6));
6489 if (SWIG_arg_fail(7)) SWIG_fail;
6490 }
6491 }
6492 if (obj7) {
6493 {
6494 arg8 = wxString_in_helper(obj7);
6495 if (arg8 == NULL) SWIG_fail;
6496 temp8 = true;
6497 }
6498 }
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 {
6507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6508 }
6509 {
6510 if (temp4)
6511 delete arg4;
6512 }
6513 {
6514 if (temp8)
6515 delete arg8;
6516 }
6517 return resultobj;
6518 fail:
6519 {
6520 if (temp4)
6521 delete arg4;
6522 }
6523 {
6524 if (temp8)
6525 delete arg8;
6526 }
6527 return NULL;
6528 }
6529
6530
6531 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6532 PyObject *obj;
6533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6535 Py_INCREF(obj);
6536 return Py_BuildValue((char *)"");
6537 }
6538 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj = NULL;
6540 wxBitmap *arg1 = 0 ;
6541 wxWindow *arg2 = (wxWindow *) 0 ;
6542 int arg3 ;
6543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6545 wxSize const &arg5_defvalue = wxDefaultSize ;
6546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6547 long arg6 = (long) wxNO_BORDER ;
6548 wxSplashScreenWindow *result;
6549 wxPoint temp4 ;
6550 wxSize temp5 ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj1 = 0 ;
6553 PyObject * obj2 = 0 ;
6554 PyObject * obj3 = 0 ;
6555 PyObject * obj4 = 0 ;
6556 PyObject * obj5 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6562 {
6563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail;
6565 if (arg1 == NULL) {
6566 SWIG_null_ref("wxBitmap");
6567 }
6568 if (SWIG_arg_fail(1)) SWIG_fail;
6569 }
6570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(2)) SWIG_fail;
6572 {
6573 arg3 = static_cast<int >(SWIG_As_int(obj2));
6574 if (SWIG_arg_fail(3)) SWIG_fail;
6575 }
6576 if (obj3) {
6577 {
6578 arg4 = &temp4;
6579 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6580 }
6581 }
6582 if (obj4) {
6583 {
6584 arg5 = &temp5;
6585 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6586 }
6587 }
6588 if (obj5) {
6589 {
6590 arg6 = static_cast<long >(SWIG_As_long(obj5));
6591 if (SWIG_arg_fail(6)) SWIG_fail;
6592 }
6593 }
6594 {
6595 if (!wxPyCheckForApp()) SWIG_fail;
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6603 return resultobj;
6604 fail:
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj = NULL;
6611 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6612 wxBitmap *arg2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "bitmap", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail;
6622 {
6623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6624 if (SWIG_arg_fail(2)) SWIG_fail;
6625 if (arg2 == NULL) {
6626 SWIG_null_ref("wxBitmap");
6627 }
6628 if (SWIG_arg_fail(2)) SWIG_fail;
6629 }
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 Py_INCREF(Py_None); resultobj = Py_None;
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj = NULL;
6646 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6647 wxBitmap *result;
6648 PyObject * obj0 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 {
6659 wxBitmap &_result_ref = (arg1)->GetBitmap();
6660 result = (wxBitmap *) &_result_ref;
6661 }
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 {
6667 wxBitmap* resultptr = new wxBitmap(*result);
6668 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6669 }
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6677 PyObject *obj;
6678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6680 Py_INCREF(obj);
6681 return Py_BuildValue((char *)"");
6682 }
6683 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj = NULL;
6685 wxBitmap *arg1 = 0 ;
6686 long arg2 ;
6687 int arg3 ;
6688 wxWindow *arg4 = (wxWindow *) 0 ;
6689 int arg5 = (int) -1 ;
6690 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6691 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6692 wxSize const &arg7_defvalue = wxDefaultSize ;
6693 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6694 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6695 wxSplashScreen *result;
6696 wxPoint temp6 ;
6697 wxSize temp7 ;
6698 PyObject * obj0 = 0 ;
6699 PyObject * obj1 = 0 ;
6700 PyObject * obj2 = 0 ;
6701 PyObject * obj3 = 0 ;
6702 PyObject * obj4 = 0 ;
6703 PyObject * obj5 = 0 ;
6704 PyObject * obj6 = 0 ;
6705 PyObject * obj7 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6711 {
6712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail;
6714 if (arg1 == NULL) {
6715 SWIG_null_ref("wxBitmap");
6716 }
6717 if (SWIG_arg_fail(1)) SWIG_fail;
6718 }
6719 {
6720 arg2 = static_cast<long >(SWIG_As_long(obj1));
6721 if (SWIG_arg_fail(2)) SWIG_fail;
6722 }
6723 {
6724 arg3 = static_cast<int >(SWIG_As_int(obj2));
6725 if (SWIG_arg_fail(3)) SWIG_fail;
6726 }
6727 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6728 if (SWIG_arg_fail(4)) SWIG_fail;
6729 if (obj4) {
6730 {
6731 arg5 = static_cast<int >(SWIG_As_int(obj4));
6732 if (SWIG_arg_fail(5)) SWIG_fail;
6733 }
6734 }
6735 if (obj5) {
6736 {
6737 arg6 = &temp6;
6738 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6739 }
6740 }
6741 if (obj6) {
6742 {
6743 arg7 = &temp7;
6744 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6745 }
6746 }
6747 if (obj7) {
6748 {
6749 arg8 = static_cast<long >(SWIG_As_long(obj7));
6750 if (SWIG_arg_fail(8)) SWIG_fail;
6751 }
6752 }
6753 {
6754 if (!wxPyCheckForApp()) SWIG_fail;
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj = NULL;
6770 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6771 long result;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail;
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 {
6788 resultobj = SWIG_From_long(static_cast<long >(result));
6789 }
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj = NULL;
6798 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6799 wxSplashScreenWindow *result;
6800 PyObject * obj0 = 0 ;
6801 char *kwnames[] = {
6802 (char *) "self", NULL
6803 };
6804
6805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail;
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6816 return resultobj;
6817 fail:
6818 return NULL;
6819 }
6820
6821
6822 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6823 PyObject *resultobj = NULL;
6824 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6825 int result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail;
6834 {
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6837
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 {
6842 resultobj = SWIG_From_int(static_cast<int >(result));
6843 }
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6851 PyObject *obj;
6852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6853 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6854 Py_INCREF(obj);
6855 return Py_BuildValue((char *)"");
6856 }
6857 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj = NULL;
6859 wxWindow *arg1 = (wxWindow *) 0 ;
6860 int arg2 = (int) -1 ;
6861 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6862 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6863 wxString *arg4 = (wxString *) &arg4_defvalue ;
6864 wxStatusBar *result;
6865 bool temp4 = false ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 PyObject * obj2 = 0 ;
6869 PyObject * obj3 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
6877 if (obj1) {
6878 {
6879 arg2 = static_cast<int >(SWIG_As_int(obj1));
6880 if (SWIG_arg_fail(2)) SWIG_fail;
6881 }
6882 }
6883 if (obj2) {
6884 {
6885 arg3 = static_cast<long >(SWIG_As_long(obj2));
6886 if (SWIG_arg_fail(3)) SWIG_fail;
6887 }
6888 }
6889 if (obj3) {
6890 {
6891 arg4 = wxString_in_helper(obj3);
6892 if (arg4 == NULL) SWIG_fail;
6893 temp4 = true;
6894 }
6895 }
6896 {
6897 if (!wxPyCheckForApp()) SWIG_fail;
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6905 {
6906 if (temp4)
6907 delete arg4;
6908 }
6909 return resultobj;
6910 fail:
6911 {
6912 if (temp4)
6913 delete arg4;
6914 }
6915 return NULL;
6916 }
6917
6918
6919 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj = NULL;
6921 wxStatusBar *result;
6922 char *kwnames[] = {
6923 NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6927 {
6928 if (!wxPyCheckForApp()) SWIG_fail;
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 result = (wxStatusBar *)new wxStatusBar();
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj = NULL;
6944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6945 wxWindow *arg2 = (wxWindow *) 0 ;
6946 int arg3 = (int) -1 ;
6947 long arg4 = (long) wxST_SIZEGRIP ;
6948 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6949 wxString *arg5 = (wxString *) &arg5_defvalue ;
6950 bool result;
6951 bool temp5 = false ;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 PyObject * obj2 = 0 ;
6955 PyObject * obj3 = 0 ;
6956 PyObject * obj4 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail;
6964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(2)) SWIG_fail;
6966 if (obj2) {
6967 {
6968 arg3 = static_cast<int >(SWIG_As_int(obj2));
6969 if (SWIG_arg_fail(3)) SWIG_fail;
6970 }
6971 }
6972 if (obj3) {
6973 {
6974 arg4 = static_cast<long >(SWIG_As_long(obj3));
6975 if (SWIG_arg_fail(4)) SWIG_fail;
6976 }
6977 }
6978 if (obj4) {
6979 {
6980 arg5 = wxString_in_helper(obj4);
6981 if (arg5 == NULL) SWIG_fail;
6982 temp5 = true;
6983 }
6984 }
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 {
6993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6994 }
6995 {
6996 if (temp5)
6997 delete arg5;
6998 }
6999 return resultobj;
7000 fail:
7001 {
7002 if (temp5)
7003 delete arg5;
7004 }
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj = NULL;
7011 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7012 int arg2 = (int) 1 ;
7013 PyObject * obj0 = 0 ;
7014 PyObject * obj1 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self",(char *) "number", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
7022 if (obj1) {
7023 {
7024 arg2 = static_cast<int >(SWIG_As_int(obj1));
7025 if (SWIG_arg_fail(2)) SWIG_fail;
7026 }
7027 }
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 (arg1)->SetFieldsCount(arg2);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 Py_INCREF(Py_None); resultobj = Py_None;
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj = NULL;
7044 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7045 int result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
7052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail;
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 {
7062 resultobj = SWIG_From_int(static_cast<int >(result));
7063 }
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj = NULL;
7072 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7073 wxString *arg2 = 0 ;
7074 int arg3 = (int) 0 ;
7075 bool temp2 = false ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 PyObject * obj2 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "text",(char *) "number", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail;
7086 {
7087 arg2 = wxString_in_helper(obj1);
7088 if (arg2 == NULL) SWIG_fail;
7089 temp2 = true;
7090 }
7091 if (obj2) {
7092 {
7093 arg3 = static_cast<int >(SWIG_As_int(obj2));
7094 if (SWIG_arg_fail(3)) SWIG_fail;
7095 }
7096 }
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj = NULL;
7121 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7122 int arg2 = (int) 0 ;
7123 wxString result;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "number", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
7131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail;
7133 if (obj1) {
7134 {
7135 arg2 = static_cast<int >(SWIG_As_int(obj1));
7136 if (SWIG_arg_fail(2)) SWIG_fail;
7137 }
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 {
7147 #if wxUSE_UNICODE
7148 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7149 #else
7150 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7151 #endif
7152 }
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj = NULL;
7161 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7162 wxString *arg2 = 0 ;
7163 int arg3 = (int) 0 ;
7164 bool temp2 = false ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 PyObject * obj2 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "text",(char *) "number", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail;
7175 {
7176 arg2 = wxString_in_helper(obj1);
7177 if (arg2 == NULL) SWIG_fail;
7178 temp2 = true;
7179 }
7180 if (obj2) {
7181 {
7182 arg3 = static_cast<int >(SWIG_As_int(obj2));
7183 if (SWIG_arg_fail(3)) SWIG_fail;
7184 }
7185 }
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 Py_INCREF(Py_None); resultobj = Py_None;
7194 {
7195 if (temp2)
7196 delete arg2;
7197 }
7198 return resultobj;
7199 fail:
7200 {
7201 if (temp2)
7202 delete arg2;
7203 }
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj = NULL;
7210 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7211 int arg2 = (int) 0 ;
7212 PyObject * obj0 = 0 ;
7213 PyObject * obj1 = 0 ;
7214 char *kwnames[] = {
7215 (char *) "self",(char *) "number", NULL
7216 };
7217
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail;
7221 if (obj1) {
7222 {
7223 arg2 = static_cast<int >(SWIG_As_int(obj1));
7224 if (SWIG_arg_fail(2)) SWIG_fail;
7225 }
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->PopStatusText(arg2);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = NULL;
7243 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7244 int arg2 ;
7245 int *arg3 = (int *) 0 ;
7246 PyObject * obj0 = 0 ;
7247 PyObject * obj1 = 0 ;
7248 char *kwnames[] = {
7249 (char *) "self",(char *) "widths", NULL
7250 };
7251
7252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail;
7255 {
7256 arg2 = PyList_Size(obj1);
7257 arg3 = int_LIST_helper(obj1);
7258 if (arg3 == NULL) SWIG_fail;
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 Py_INCREF(Py_None); resultobj = Py_None;
7268 {
7269 if (arg3) delete [] arg3;
7270 }
7271 return resultobj;
7272 fail:
7273 {
7274 if (arg3) delete [] arg3;
7275 }
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj = NULL;
7282 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7283 int arg2 ;
7284 int *arg3 = (int *) 0 ;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self",(char *) "styles", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail;
7294 {
7295 arg2 = PyList_Size(obj1);
7296 arg3 = int_LIST_helper(obj1);
7297 if (arg3 == NULL) SWIG_fail;
7298 }
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 Py_INCREF(Py_None); resultobj = Py_None;
7307 {
7308 if (arg3) delete [] arg3;
7309 }
7310 return resultobj;
7311 fail:
7312 {
7313 if (arg3) delete [] arg3;
7314 }
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj = NULL;
7321 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7322 int arg2 ;
7323 wxRect result;
7324 PyObject * obj0 = 0 ;
7325 PyObject * obj1 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self",(char *) "i", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail;
7333 {
7334 arg2 = static_cast<int >(SWIG_As_int(obj1));
7335 if (SWIG_arg_fail(2)) SWIG_fail;
7336 }
7337 {
7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
7339 result = wxStatusBar_GetFieldRect(arg1,arg2);
7340
7341 wxPyEndAllowThreads(__tstate);
7342 if (PyErr_Occurred()) SWIG_fail;
7343 }
7344 {
7345 wxRect * resultptr;
7346 resultptr = new wxRect(static_cast<wxRect & >(result));
7347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7348 }
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj = NULL;
7357 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7358 int arg2 ;
7359 PyObject * obj0 = 0 ;
7360 PyObject * obj1 = 0 ;
7361 char *kwnames[] = {
7362 (char *) "self",(char *) "height", NULL
7363 };
7364
7365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail;
7368 {
7369 arg2 = static_cast<int >(SWIG_As_int(obj1));
7370 if (SWIG_arg_fail(2)) SWIG_fail;
7371 }
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->SetMinHeight(arg2);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj = NULL;
7388 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7389 int result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 {
7406 resultobj = SWIG_From_int(static_cast<int >(result));
7407 }
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj = NULL;
7416 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7417 int result;
7418 PyObject * obj0 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 {
7434 resultobj = SWIG_From_int(static_cast<int >(result));
7435 }
7436 return resultobj;
7437 fail:
7438 return NULL;
7439 }
7440
7441
7442 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj = NULL;
7444 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7445 wxVisualAttributes result;
7446 PyObject * obj0 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "variant", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7452 if (obj0) {
7453 {
7454 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
7455 if (SWIG_arg_fail(1)) SWIG_fail;
7456 }
7457 }
7458 {
7459 if (!wxPyCheckForApp()) SWIG_fail;
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 result = wxStatusBar::GetClassDefaultAttributes(arg1);
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 wxVisualAttributes * resultptr;
7468 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
7469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7470 }
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7478 PyObject *obj;
7479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7480 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7481 Py_INCREF(obj);
7482 return Py_BuildValue((char *)"");
7483 }
7484 static int _wrap_SplitterNameStr_set(PyObject *) {
7485 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7486 return 1;
7487 }
7488
7489
7490 static PyObject *_wrap_SplitterNameStr_get(void) {
7491 PyObject *pyobj = NULL;
7492
7493 {
7494 #if wxUSE_UNICODE
7495 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7496 #else
7497 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7498 #endif
7499 }
7500 return pyobj;
7501 }
7502
7503
7504 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj = NULL;
7506 wxWindow *arg1 = (wxWindow *) 0 ;
7507 int arg2 = (int) -1 ;
7508 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7509 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7510 wxSize const &arg4_defvalue = wxDefaultSize ;
7511 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7512 long arg5 = (long) wxSP_3D ;
7513 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7514 wxString *arg6 = (wxString *) &arg6_defvalue ;
7515 wxSplitterWindow *result;
7516 wxPoint temp3 ;
7517 wxSize temp4 ;
7518 bool temp6 = false ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 PyObject * obj2 = 0 ;
7522 PyObject * obj3 = 0 ;
7523 PyObject * obj4 = 0 ;
7524 PyObject * obj5 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail;
7532 if (obj1) {
7533 {
7534 arg2 = static_cast<int >(SWIG_As_int(obj1));
7535 if (SWIG_arg_fail(2)) SWIG_fail;
7536 }
7537 }
7538 if (obj2) {
7539 {
7540 arg3 = &temp3;
7541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
7550 if (obj4) {
7551 {
7552 arg5 = static_cast<long >(SWIG_As_long(obj4));
7553 if (SWIG_arg_fail(5)) SWIG_fail;
7554 }
7555 }
7556 if (obj5) {
7557 {
7558 arg6 = wxString_in_helper(obj5);
7559 if (arg6 == NULL) SWIG_fail;
7560 temp6 = true;
7561 }
7562 }
7563 {
7564 if (!wxPyCheckForApp()) SWIG_fail;
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7572 {
7573 if (temp6)
7574 delete arg6;
7575 }
7576 return resultobj;
7577 fail:
7578 {
7579 if (temp6)
7580 delete arg6;
7581 }
7582 return NULL;
7583 }
7584
7585
7586 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj = NULL;
7588 wxSplitterWindow *result;
7589 char *kwnames[] = {
7590 NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7594 {
7595 if (!wxPyCheckForApp()) SWIG_fail;
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 result = (wxSplitterWindow *)new wxSplitterWindow();
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj = NULL;
7611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7612 wxWindow *arg2 = (wxWindow *) 0 ;
7613 int arg3 = (int) -1 ;
7614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7616 wxSize const &arg5_defvalue = wxDefaultSize ;
7617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7618 long arg6 = (long) wxSP_3D ;
7619 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7620 wxString *arg7 = (wxString *) &arg7_defvalue ;
7621 bool result;
7622 wxPoint temp4 ;
7623 wxSize temp5 ;
7624 bool temp7 = false ;
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
7627 PyObject * obj2 = 0 ;
7628 PyObject * obj3 = 0 ;
7629 PyObject * obj4 = 0 ;
7630 PyObject * obj5 = 0 ;
7631 PyObject * obj6 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail;
7639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7640 if (SWIG_arg_fail(2)) SWIG_fail;
7641 if (obj2) {
7642 {
7643 arg3 = static_cast<int >(SWIG_As_int(obj2));
7644 if (SWIG_arg_fail(3)) SWIG_fail;
7645 }
7646 }
7647 if (obj3) {
7648 {
7649 arg4 = &temp4;
7650 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7651 }
7652 }
7653 if (obj4) {
7654 {
7655 arg5 = &temp5;
7656 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7657 }
7658 }
7659 if (obj5) {
7660 {
7661 arg6 = static_cast<long >(SWIG_As_long(obj5));
7662 if (SWIG_arg_fail(6)) SWIG_fail;
7663 }
7664 }
7665 if (obj6) {
7666 {
7667 arg7 = wxString_in_helper(obj6);
7668 if (arg7 == NULL) SWIG_fail;
7669 temp7 = true;
7670 }
7671 }
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 {
7680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7681 }
7682 {
7683 if (temp7)
7684 delete arg7;
7685 }
7686 return resultobj;
7687 fail:
7688 {
7689 if (temp7)
7690 delete arg7;
7691 }
7692 return NULL;
7693 }
7694
7695
7696 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj = NULL;
7698 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7699 wxWindow *result;
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 {
7716 resultobj = wxPyMake_wxObject(result, 0);
7717 }
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj = NULL;
7726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7727 wxWindow *result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail;
7736 {
7737 PyThreadState* __tstate = wxPyBeginAllowThreads();
7738 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7739
7740 wxPyEndAllowThreads(__tstate);
7741 if (PyErr_Occurred()) SWIG_fail;
7742 }
7743 {
7744 resultobj = wxPyMake_wxObject(result, 0);
7745 }
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj = NULL;
7754 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7755 int arg2 ;
7756 PyObject * obj0 = 0 ;
7757 PyObject * obj1 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self",(char *) "mode", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail;
7765 {
7766 arg2 = static_cast<int >(SWIG_As_int(obj1));
7767 if (SWIG_arg_fail(2)) SWIG_fail;
7768 }
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 (arg1)->SetSplitMode(arg2);
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 Py_INCREF(Py_None); resultobj = Py_None;
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj = NULL;
7785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7786 wxSplitMode result;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = SWIG_From_int((result));
7803 return resultobj;
7804 fail:
7805 return NULL;
7806 }
7807
7808
7809 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj = NULL;
7811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7812 wxWindow *arg2 = (wxWindow *) 0 ;
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "window", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
7822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7823 if (SWIG_arg_fail(2)) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->Initialize(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_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = NULL;
7840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7841 wxWindow *arg2 = (wxWindow *) 0 ;
7842 wxWindow *arg3 = (wxWindow *) 0 ;
7843 int arg4 = (int) 0 ;
7844 bool result;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 PyObject * obj2 = 0 ;
7848 PyObject * obj3 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail;
7856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail;
7858 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7859 if (SWIG_arg_fail(3)) SWIG_fail;
7860 if (obj3) {
7861 {
7862 arg4 = static_cast<int >(SWIG_As_int(obj3));
7863 if (SWIG_arg_fail(4)) SWIG_fail;
7864 }
7865 }
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 {
7874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7875 }
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj = NULL;
7884 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7885 wxWindow *arg2 = (wxWindow *) 0 ;
7886 wxWindow *arg3 = (wxWindow *) 0 ;
7887 int arg4 = (int) 0 ;
7888 bool result;
7889 PyObject * obj0 = 0 ;
7890 PyObject * obj1 = 0 ;
7891 PyObject * obj2 = 0 ;
7892 PyObject * obj3 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail;
7900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7901 if (SWIG_arg_fail(2)) SWIG_fail;
7902 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7903 if (SWIG_arg_fail(3)) SWIG_fail;
7904 if (obj3) {
7905 {
7906 arg4 = static_cast<int >(SWIG_As_int(obj3));
7907 if (SWIG_arg_fail(4)) SWIG_fail;
7908 }
7909 }
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 {
7918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7919 }
7920 return resultobj;
7921 fail:
7922 return NULL;
7923 }
7924
7925
7926 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj = NULL;
7928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7929 wxWindow *arg2 = (wxWindow *) NULL ;
7930 bool result;
7931 PyObject * obj0 = 0 ;
7932 PyObject * obj1 = 0 ;
7933 char *kwnames[] = {
7934 (char *) "self",(char *) "toRemove", NULL
7935 };
7936
7937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail;
7940 if (obj1) {
7941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7942 if (SWIG_arg_fail(2)) SWIG_fail;
7943 }
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (bool)(arg1)->Unsplit(arg2);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 {
7952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7953 }
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj = NULL;
7962 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7963 wxWindow *arg2 = (wxWindow *) 0 ;
7964 wxWindow *arg3 = (wxWindow *) 0 ;
7965 bool result;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 PyObject * obj2 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail;
7976 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(2)) SWIG_fail;
7978 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(3)) SWIG_fail;
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj = NULL;
7998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7999 PyObject * obj0 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
8005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail;
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 (arg1)->UpdateSize();
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 Py_INCREF(Py_None); resultobj = Py_None;
8015 return resultobj;
8016 fail:
8017 return NULL;
8018 }
8019
8020
8021 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj = NULL;
8023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8024 bool result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
8031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 {
8041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8042 }
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj = NULL;
8051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8052 int arg2 ;
8053 PyObject * obj0 = 0 ;
8054 PyObject * obj1 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "width", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
8064 if (SWIG_arg_fail(2)) SWIG_fail;
8065 }
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->SetSashSize(arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj = NULL;
8082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8083 int arg2 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "width", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
8091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail;
8093 {
8094 arg2 = static_cast<int >(SWIG_As_int(obj1));
8095 if (SWIG_arg_fail(2)) SWIG_fail;
8096 }
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 (arg1)->SetBorderSize(arg2);
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 Py_INCREF(Py_None); resultobj = Py_None;
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj = NULL;
8113 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8114 int result;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8122 if (SWIG_arg_fail(1)) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 {
8131 resultobj = SWIG_From_int(static_cast<int >(result));
8132 }
8133 return resultobj;
8134 fail:
8135 return NULL;
8136 }
8137
8138
8139 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj = NULL;
8141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8142 int result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail;
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 {
8159 resultobj = SWIG_From_int(static_cast<int >(result));
8160 }
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj = NULL;
8169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8170 int arg2 ;
8171 bool arg3 = (bool) true ;
8172 PyObject * obj0 = 0 ;
8173 PyObject * obj1 = 0 ;
8174 PyObject * obj2 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self",(char *) "position",(char *) "redraw", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8181 if (SWIG_arg_fail(1)) SWIG_fail;
8182 {
8183 arg2 = static_cast<int >(SWIG_As_int(obj1));
8184 if (SWIG_arg_fail(2)) SWIG_fail;
8185 }
8186 if (obj2) {
8187 {
8188 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8189 if (SWIG_arg_fail(3)) SWIG_fail;
8190 }
8191 }
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 (arg1)->SetSashPosition(arg2,arg3);
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 Py_INCREF(Py_None); resultobj = Py_None;
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj = NULL;
8208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8209 int result;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail;
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 {
8226 resultobj = SWIG_From_int(static_cast<int >(result));
8227 }
8228 return resultobj;
8229 fail:
8230 return NULL;
8231 }
8232
8233
8234 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj = NULL;
8236 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8237 double arg2 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self",(char *) "gravity", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail;
8247 {
8248 arg2 = static_cast<double >(SWIG_As_double(obj1));
8249 if (SWIG_arg_fail(2)) SWIG_fail;
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 (arg1)->SetSashGravity(arg2);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 Py_INCREF(Py_None); resultobj = Py_None;
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj = NULL;
8267 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8268 double result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 resultobj = SWIG_From_double(static_cast<double >(result));
8286 }
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj = NULL;
8295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8296 int arg2 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "min", NULL
8301 };
8302
8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail;
8306 {
8307 arg2 = static_cast<int >(SWIG_As_int(obj1));
8308 if (SWIG_arg_fail(2)) SWIG_fail;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->SetMinimumPaneSize(arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj = NULL;
8326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8327 int result;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail;
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 {
8344 resultobj = SWIG_From_int(static_cast<int >(result));
8345 }
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj = NULL;
8354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8355 int arg2 ;
8356 int arg3 ;
8357 int arg4 = (int) 5 ;
8358 bool result;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 PyObject * obj2 = 0 ;
8362 PyObject * obj3 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail;
8370 {
8371 arg2 = static_cast<int >(SWIG_As_int(obj1));
8372 if (SWIG_arg_fail(2)) SWIG_fail;
8373 }
8374 {
8375 arg3 = static_cast<int >(SWIG_As_int(obj2));
8376 if (SWIG_arg_fail(3)) SWIG_fail;
8377 }
8378 if (obj3) {
8379 {
8380 arg4 = static_cast<int >(SWIG_As_int(obj3));
8381 if (SWIG_arg_fail(4)) SWIG_fail;
8382 }
8383 }
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 {
8392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8393 }
8394 return resultobj;
8395 fail:
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj = NULL;
8402 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8403 PyObject * obj0 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->SizeWindows();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj = NULL;
8427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8428 bool arg2 ;
8429 PyObject * obj0 = 0 ;
8430 PyObject * obj1 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self",(char *) "needUpdating", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail;
8438 {
8439 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
8440 if (SWIG_arg_fail(2)) SWIG_fail;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetNeedUpdating(arg2);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj = NULL;
8458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8459 bool result;
8460 PyObject * obj0 = 0 ;
8461 char *kwnames[] = {
8462 (char *) "self", NULL
8463 };
8464
8465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 {
8476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8477 }
8478 return resultobj;
8479 fail:
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj = NULL;
8486 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8487 wxVisualAttributes result;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "variant", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8494 if (obj0) {
8495 {
8496 arg1 = static_cast<wxWindowVariant >(SWIG_As_int(obj0));
8497 if (SWIG_arg_fail(1)) SWIG_fail;
8498 }
8499 }
8500 {
8501 if (!wxPyCheckForApp()) SWIG_fail;
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 {
8509 wxVisualAttributes * resultptr;
8510 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
8511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8512 }
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8520 PyObject *obj;
8521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8523 Py_INCREF(obj);
8524 return Py_BuildValue((char *)"");
8525 }
8526 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj = NULL;
8528 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8529 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8530 wxSplitterEvent *result;
8531 PyObject * obj0 = 0 ;
8532 PyObject * obj1 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "type",(char *) "splitter", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8538 if (obj0) {
8539 {
8540 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
8541 if (SWIG_arg_fail(1)) SWIG_fail;
8542 }
8543 }
8544 if (obj1) {
8545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8546 if (SWIG_arg_fail(2)) SWIG_fail;
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj = NULL;
8564 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8565 int arg2 ;
8566 PyObject * obj0 = 0 ;
8567 PyObject * obj1 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self",(char *) "pos", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail;
8575 {
8576 arg2 = static_cast<int >(SWIG_As_int(obj1));
8577 if (SWIG_arg_fail(2)) SWIG_fail;
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->SetSashPosition(arg2);
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 Py_INCREF(Py_None); resultobj = Py_None;
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj = NULL;
8595 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8596 int result;
8597 PyObject * obj0 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8604 if (SWIG_arg_fail(1)) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 {
8613 resultobj = SWIG_From_int(static_cast<int >(result));
8614 }
8615 return resultobj;
8616 fail:
8617 return NULL;
8618 }
8619
8620
8621 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj = NULL;
8623 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8624 wxWindow *result;
8625 PyObject * obj0 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) SWIG_fail;
8639 }
8640 {
8641 resultobj = wxPyMake_wxObject(result, 0);
8642 }
8643 return resultobj;
8644 fail:
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj = NULL;
8651 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8652 int result;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 {
8669 resultobj = SWIG_From_int(static_cast<int >(result));
8670 }
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj = NULL;
8679 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8680 int result;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 {
8697 resultobj = SWIG_From_int(static_cast<int >(result));
8698 }
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8706 PyObject *obj;
8707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8709 Py_INCREF(obj);
8710 return Py_BuildValue((char *)"");
8711 }
8712 static int _wrap_SashNameStr_set(PyObject *) {
8713 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8714 return 1;
8715 }
8716
8717
8718 static PyObject *_wrap_SashNameStr_get(void) {
8719 PyObject *pyobj = NULL;
8720
8721 {
8722 #if wxUSE_UNICODE
8723 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8724 #else
8725 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8726 #endif
8727 }
8728 return pyobj;
8729 }
8730
8731
8732 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8733 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8734 return 1;
8735 }
8736
8737
8738 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8739 PyObject *pyobj = NULL;
8740
8741 {
8742 #if wxUSE_UNICODE
8743 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8744 #else
8745 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8746 #endif
8747 }
8748 return pyobj;
8749 }
8750
8751
8752 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj = NULL;
8754 wxWindow *arg1 = (wxWindow *) 0 ;
8755 int arg2 = (int) -1 ;
8756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8758 wxSize const &arg4_defvalue = wxDefaultSize ;
8759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8760 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8761 wxString const &arg6_defvalue = wxPySashNameStr ;
8762 wxString *arg6 = (wxString *) &arg6_defvalue ;
8763 wxSashWindow *result;
8764 wxPoint temp3 ;
8765 wxSize temp4 ;
8766 bool temp6 = false ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 PyObject * obj2 = 0 ;
8770 PyObject * obj3 = 0 ;
8771 PyObject * obj4 = 0 ;
8772 PyObject * obj5 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail;
8780 if (obj1) {
8781 {
8782 arg2 = static_cast<int >(SWIG_As_int(obj1));
8783 if (SWIG_arg_fail(2)) SWIG_fail;
8784 }
8785 }
8786 if (obj2) {
8787 {
8788 arg3 = &temp3;
8789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8790 }
8791 }
8792 if (obj3) {
8793 {
8794 arg4 = &temp4;
8795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8796 }
8797 }
8798 if (obj4) {
8799 {
8800 arg5 = static_cast<long >(SWIG_As_long(obj4));
8801 if (SWIG_arg_fail(5)) SWIG_fail;
8802 }
8803 }
8804 if (obj5) {
8805 {
8806 arg6 = wxString_in_helper(obj5);
8807 if (arg6 == NULL) SWIG_fail;
8808 temp6 = true;
8809 }
8810 }
8811 {
8812 if (!wxPyCheckForApp()) SWIG_fail;
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8820 {
8821 if (temp6)
8822 delete arg6;
8823 }
8824 return resultobj;
8825 fail:
8826 {
8827 if (temp6)
8828 delete arg6;
8829 }
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj = NULL;
8836 wxSashWindow *result;
8837 char *kwnames[] = {
8838 NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8842 {
8843 if (!wxPyCheckForApp()) SWIG_fail;
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (wxSashWindow *)new wxSashWindow();
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj = NULL;
8859 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8860 wxWindow *arg2 = (wxWindow *) 0 ;
8861 int arg3 = (int) -1 ;
8862 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8863 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8864 wxSize const &arg5_defvalue = wxDefaultSize ;
8865 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8866 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8867 wxString const &arg7_defvalue = wxPySashNameStr ;
8868 wxString *arg7 = (wxString *) &arg7_defvalue ;
8869 bool result;
8870 wxPoint temp4 ;
8871 wxSize temp5 ;
8872 bool temp7 = false ;
8873 PyObject * obj0 = 0 ;
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
8876 PyObject * obj3 = 0 ;
8877 PyObject * obj4 = 0 ;
8878 PyObject * obj5 = 0 ;
8879 PyObject * obj6 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail;
8887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(2)) SWIG_fail;
8889 if (obj2) {
8890 {
8891 arg3 = static_cast<int >(SWIG_As_int(obj2));
8892 if (SWIG_arg_fail(3)) SWIG_fail;
8893 }
8894 }
8895 if (obj3) {
8896 {
8897 arg4 = &temp4;
8898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8899 }
8900 }
8901 if (obj4) {
8902 {
8903 arg5 = &temp5;
8904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8905 }
8906 }
8907 if (obj5) {
8908 {
8909 arg6 = static_cast<long >(SWIG_As_long(obj5));
8910 if (SWIG_arg_fail(6)) SWIG_fail;
8911 }
8912 }
8913 if (obj6) {
8914 {
8915 arg7 = wxString_in_helper(obj6);
8916 if (arg7 == NULL) SWIG_fail;
8917 temp7 = true;
8918 }
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
8927 {
8928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8929 }
8930 {
8931 if (temp7)
8932 delete arg7;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp7)
8938 delete arg7;
8939 }
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = NULL;
8946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8947 wxSashEdgePosition arg2 ;
8948 bool arg3 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 PyObject * obj2 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "edge",(char *) "sash", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8958 if (SWIG_arg_fail(1)) SWIG_fail;
8959 {
8960 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
8961 if (SWIG_arg_fail(2)) SWIG_fail;
8962 }
8963 {
8964 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
8965 if (SWIG_arg_fail(3)) SWIG_fail;
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetSashVisible(arg2,arg3);
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 }
8974 Py_INCREF(Py_None); resultobj = Py_None;
8975 return resultobj;
8976 fail:
8977 return NULL;
8978 }
8979
8980
8981 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8982 PyObject *resultobj = NULL;
8983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8984 wxSashEdgePosition arg2 ;
8985 bool result;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "edge", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
8995 {
8996 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
8997 if (SWIG_arg_fail(2)) SWIG_fail;
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 {
9007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9008 }
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj = NULL;
9017 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9018 wxSashEdgePosition arg2 ;
9019 bool arg3 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 PyObject * obj2 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "edge",(char *) "border", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
9028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail;
9030 {
9031 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9032 if (SWIG_arg_fail(2)) SWIG_fail;
9033 }
9034 {
9035 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9036 if (SWIG_arg_fail(3)) SWIG_fail;
9037 }
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 (arg1)->SetSashBorder(arg2,arg3);
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 Py_INCREF(Py_None); resultobj = Py_None;
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj = NULL;
9054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9055 wxSashEdgePosition arg2 ;
9056 bool result;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self",(char *) "edge", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
9064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail;
9066 {
9067 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9068 if (SWIG_arg_fail(2)) SWIG_fail;
9069 }
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 {
9078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9079 }
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj = NULL;
9088 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9089 wxSashEdgePosition arg2 ;
9090 int result;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "edge", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
9100 {
9101 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9102 if (SWIG_arg_fail(2)) SWIG_fail;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 {
9112 resultobj = SWIG_From_int(static_cast<int >(result));
9113 }
9114 return resultobj;
9115 fail:
9116 return NULL;
9117 }
9118
9119
9120 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj = NULL;
9122 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9123 int arg2 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "width", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9132 if (SWIG_arg_fail(1)) SWIG_fail;
9133 {
9134 arg2 = static_cast<int >(SWIG_As_int(obj1));
9135 if (SWIG_arg_fail(2)) SWIG_fail;
9136 }
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 (arg1)->SetDefaultBorderSize(arg2);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = NULL;
9153 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9154 int result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 resultobj = SWIG_From_int(static_cast<int >(result));
9172 }
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj = NULL;
9181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9182 int arg2 ;
9183 PyObject * obj0 = 0 ;
9184 PyObject * obj1 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self",(char *) "width", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail;
9192 {
9193 arg2 = static_cast<int >(SWIG_As_int(obj1));
9194 if (SWIG_arg_fail(2)) SWIG_fail;
9195 }
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 (arg1)->SetExtraBorderSize(arg2);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj = NULL;
9212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 {
9230 resultobj = SWIG_From_int(static_cast<int >(result));
9231 }
9232 return resultobj;
9233 fail:
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj = NULL;
9240 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9241 int arg2 ;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj1 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "min", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail;
9251 {
9252 arg2 = static_cast<int >(SWIG_As_int(obj1));
9253 if (SWIG_arg_fail(2)) SWIG_fail;
9254 }
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->SetMinimumSizeX(arg2);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj = NULL;
9271 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9272 int arg2 ;
9273 PyObject * obj0 = 0 ;
9274 PyObject * obj1 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self",(char *) "min", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 arg2 = static_cast<int >(SWIG_As_int(obj1));
9284 if (SWIG_arg_fail(2)) SWIG_fail;
9285 }
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 (arg1)->SetMinimumSizeY(arg2);
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 Py_INCREF(Py_None); resultobj = Py_None;
9294 return resultobj;
9295 fail:
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj = NULL;
9302 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9303 int result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 {
9320 resultobj = SWIG_From_int(static_cast<int >(result));
9321 }
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj = NULL;
9330 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9331 int result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 resultobj = SWIG_From_int(static_cast<int >(result));
9349 }
9350 return resultobj;
9351 fail:
9352 return NULL;
9353 }
9354
9355
9356 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj = NULL;
9358 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9359 int arg2 ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362 char *kwnames[] = {
9363 (char *) "self",(char *) "max", NULL
9364 };
9365
9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail;
9369 {
9370 arg2 = static_cast<int >(SWIG_As_int(obj1));
9371 if (SWIG_arg_fail(2)) SWIG_fail;
9372 }
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 (arg1)->SetMaximumSizeX(arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 Py_INCREF(Py_None); resultobj = Py_None;
9381 return resultobj;
9382 fail:
9383 return NULL;
9384 }
9385
9386
9387 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj = NULL;
9389 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9390 int arg2 ;
9391 PyObject * obj0 = 0 ;
9392 PyObject * obj1 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "max", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail;
9400 {
9401 arg2 = static_cast<int >(SWIG_As_int(obj1));
9402 if (SWIG_arg_fail(2)) SWIG_fail;
9403 }
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->SetMaximumSizeY(arg2);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj = NULL;
9420 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9421 int result;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail;
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 {
9438 resultobj = SWIG_From_int(static_cast<int >(result));
9439 }
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = NULL;
9448 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9449 int result;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9457 if (SWIG_arg_fail(1)) SWIG_fail;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 {
9466 resultobj = SWIG_From_int(static_cast<int >(result));
9467 }
9468 return resultobj;
9469 fail:
9470 return NULL;
9471 }
9472
9473
9474 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj = NULL;
9476 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9477 int arg2 ;
9478 int arg3 ;
9479 int arg4 = (int) 2 ;
9480 wxSashEdgePosition result;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9483 PyObject * obj2 = 0 ;
9484 PyObject * obj3 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
9492 {
9493 arg2 = static_cast<int >(SWIG_As_int(obj1));
9494 if (SWIG_arg_fail(2)) SWIG_fail;
9495 }
9496 {
9497 arg3 = static_cast<int >(SWIG_As_int(obj2));
9498 if (SWIG_arg_fail(3)) SWIG_fail;
9499 }
9500 if (obj3) {
9501 {
9502 arg4 = static_cast<int >(SWIG_As_int(obj3));
9503 if (SWIG_arg_fail(4)) SWIG_fail;
9504 }
9505 }
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_From_int((result));
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj = NULL;
9522 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9530 if (SWIG_arg_fail(1)) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 (arg1)->SizeWindows();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 Py_INCREF(Py_None); resultobj = Py_None;
9539 return resultobj;
9540 fail:
9541 return NULL;
9542 }
9543
9544
9545 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9546 PyObject *obj;
9547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9548 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9549 Py_INCREF(obj);
9550 return Py_BuildValue((char *)"");
9551 }
9552 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj = NULL;
9554 int arg1 = (int) 0 ;
9555 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9556 wxSashEvent *result;
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "id",(char *) "edge", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9564 if (obj0) {
9565 {
9566 arg1 = static_cast<int >(SWIG_As_int(obj0));
9567 if (SWIG_arg_fail(1)) SWIG_fail;
9568 }
9569 }
9570 if (obj1) {
9571 {
9572 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9573 if (SWIG_arg_fail(2)) SWIG_fail;
9574 }
9575 }
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9591 PyObject *resultobj = NULL;
9592 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9593 wxSashEdgePosition arg2 ;
9594 PyObject * obj0 = 0 ;
9595 PyObject * obj1 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self",(char *) "edge", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9602 if (SWIG_arg_fail(1)) SWIG_fail;
9603 {
9604 arg2 = static_cast<wxSashEdgePosition >(SWIG_As_int(obj1));
9605 if (SWIG_arg_fail(2)) SWIG_fail;
9606 }
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 (arg1)->SetEdge(arg2);
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 Py_INCREF(Py_None); resultobj = Py_None;
9615 return resultobj;
9616 fail:
9617 return NULL;
9618 }
9619
9620
9621 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = NULL;
9623 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9624 wxSashEdgePosition result;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 resultobj = SWIG_From_int((result));
9641 return resultobj;
9642 fail:
9643 return NULL;
9644 }
9645
9646
9647 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj = NULL;
9649 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9650 wxRect *arg2 = 0 ;
9651 wxRect temp2 ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self",(char *) "rect", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
9661 {
9662 arg2 = &temp2;
9663 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->SetDragRect((wxRect const &)*arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676 }
9677
9678
9679 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj = NULL;
9681 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9682 wxRect result;
9683 PyObject * obj0 = 0 ;
9684 char *kwnames[] = {
9685 (char *) "self", NULL
9686 };
9687
9688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = ((wxSashEvent const *)arg1)->GetDragRect();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 wxRect * resultptr;
9700 resultptr = new wxRect(static_cast<wxRect & >(result));
9701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9702 }
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj = NULL;
9711 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9712 wxSashDragStatus arg2 ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "status", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9721 if (SWIG_arg_fail(1)) SWIG_fail;
9722 {
9723 arg2 = static_cast<wxSashDragStatus >(SWIG_As_int(obj1));
9724 if (SWIG_arg_fail(2)) SWIG_fail;
9725 }
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->SetDragStatus(arg2);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 Py_INCREF(Py_None); resultobj = Py_None;
9734 return resultobj;
9735 fail:
9736 return NULL;
9737 }
9738
9739
9740 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj = NULL;
9742 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9743 wxSashDragStatus result;
9744 PyObject * obj0 = 0 ;
9745 char *kwnames[] = {
9746 (char *) "self", NULL
9747 };
9748
9749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9751 if (SWIG_arg_fail(1)) SWIG_fail;
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_From_int((result));
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9767 PyObject *obj;
9768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9770 Py_INCREF(obj);
9771 return Py_BuildValue((char *)"");
9772 }
9773 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj = NULL;
9775 int arg1 = (int) 0 ;
9776 wxQueryLayoutInfoEvent *result;
9777 PyObject * obj0 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "id", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9783 if (obj0) {
9784 {
9785 arg1 = static_cast<int >(SWIG_As_int(obj0));
9786 if (SWIG_arg_fail(1)) SWIG_fail;
9787 }
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj = NULL;
9805 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9806 int arg2 ;
9807 PyObject * obj0 = 0 ;
9808 PyObject * obj1 = 0 ;
9809 char *kwnames[] = {
9810 (char *) "self",(char *) "length", NULL
9811 };
9812
9813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail;
9816 {
9817 arg2 = static_cast<int >(SWIG_As_int(obj1));
9818 if (SWIG_arg_fail(2)) SWIG_fail;
9819 }
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 (arg1)->SetRequestedLength(arg2);
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 Py_INCREF(Py_None); resultobj = Py_None;
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj = NULL;
9836 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9837 int result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail;
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 {
9854 resultobj = SWIG_From_int(static_cast<int >(result));
9855 }
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj = NULL;
9864 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9865 int arg2 ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "flags", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail;
9875 {
9876 arg2 = static_cast<int >(SWIG_As_int(obj1));
9877 if (SWIG_arg_fail(2)) SWIG_fail;
9878 }
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->SetFlags(arg2);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj = NULL;
9895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9896 int result;
9897 PyObject * obj0 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9904 if (SWIG_arg_fail(1)) SWIG_fail;
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 {
9913 resultobj = SWIG_From_int(static_cast<int >(result));
9914 }
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj = NULL;
9923 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9924 wxSize *arg2 = 0 ;
9925 wxSize temp2 ;
9926 PyObject * obj0 = 0 ;
9927 PyObject * obj1 = 0 ;
9928 char *kwnames[] = {
9929 (char *) "self",(char *) "size", NULL
9930 };
9931
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail;
9935 {
9936 arg2 = &temp2;
9937 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->SetSize((wxSize const &)*arg2);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 Py_INCREF(Py_None); resultobj = Py_None;
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj = NULL;
9955 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9956 wxSize result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail;
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9968
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 {
9973 wxSize * resultptr;
9974 resultptr = new wxSize(static_cast<wxSize & >(result));
9975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9976 }
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = NULL;
9985 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9986 wxLayoutOrientation arg2 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "orient", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail;
9996 {
9997 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
9998 if (SWIG_arg_fail(2)) SWIG_fail;
9999 }
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->SetOrientation(arg2);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 return resultobj;
10009 fail:
10010 return NULL;
10011 }
10012
10013
10014 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj = NULL;
10016 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10017 wxLayoutOrientation result;
10018 PyObject * obj0 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
10024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail;
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 resultobj = SWIG_From_int((result));
10034 return resultobj;
10035 fail:
10036 return NULL;
10037 }
10038
10039
10040 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj = NULL;
10042 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10043 wxLayoutAlignment arg2 ;
10044 PyObject * obj0 = 0 ;
10045 PyObject * obj1 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "align", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail;
10053 {
10054 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10055 if (SWIG_arg_fail(2)) SWIG_fail;
10056 }
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->SetAlignment(arg2);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 return resultobj;
10066 fail:
10067 return NULL;
10068 }
10069
10070
10071 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj = NULL;
10073 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
10074 wxLayoutAlignment result;
10075 PyObject * obj0 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
10081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 resultobj = SWIG_From_int((result));
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
10098 PyObject *obj;
10099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
10101 Py_INCREF(obj);
10102 return Py_BuildValue((char *)"");
10103 }
10104 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj = NULL;
10106 int arg1 = (int) 0 ;
10107 wxCalculateLayoutEvent *result;
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "id", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
10114 if (obj0) {
10115 {
10116 arg1 = static_cast<int >(SWIG_As_int(obj0));
10117 if (SWIG_arg_fail(1)) SWIG_fail;
10118 }
10119 }
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj = NULL;
10136 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10137 int arg2 ;
10138 PyObject * obj0 = 0 ;
10139 PyObject * obj1 = 0 ;
10140 char *kwnames[] = {
10141 (char *) "self",(char *) "flags", NULL
10142 };
10143
10144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail;
10147 {
10148 arg2 = static_cast<int >(SWIG_As_int(obj1));
10149 if (SWIG_arg_fail(2)) SWIG_fail;
10150 }
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 (arg1)->SetFlags(arg2);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 Py_INCREF(Py_None); resultobj = Py_None;
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj = NULL;
10167 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10168 int result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail;
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 {
10185 resultobj = SWIG_From_int(static_cast<int >(result));
10186 }
10187 return resultobj;
10188 fail:
10189 return NULL;
10190 }
10191
10192
10193 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10194 PyObject *resultobj = NULL;
10195 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10196 wxRect *arg2 = 0 ;
10197 wxRect temp2 ;
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self",(char *) "rect", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10206 if (SWIG_arg_fail(1)) SWIG_fail;
10207 {
10208 arg2 = &temp2;
10209 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 (arg1)->SetRect((wxRect const &)*arg2);
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 Py_INCREF(Py_None); resultobj = Py_None;
10219 return resultobj;
10220 fail:
10221 return NULL;
10222 }
10223
10224
10225 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj = NULL;
10227 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10228 wxRect result;
10229 PyObject * obj0 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10236 if (SWIG_arg_fail(1)) SWIG_fail;
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 {
10245 wxRect * resultptr;
10246 resultptr = new wxRect(static_cast<wxRect & >(result));
10247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10248 }
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10256 PyObject *obj;
10257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10259 Py_INCREF(obj);
10260 return Py_BuildValue((char *)"");
10261 }
10262 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10263 PyObject *resultobj = NULL;
10264 wxWindow *arg1 = (wxWindow *) 0 ;
10265 int arg2 = (int) -1 ;
10266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10268 wxSize const &arg4_defvalue = wxDefaultSize ;
10269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10270 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10271 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10272 wxString *arg6 = (wxString *) &arg6_defvalue ;
10273 wxSashLayoutWindow *result;
10274 wxPoint temp3 ;
10275 wxSize temp4 ;
10276 bool temp6 = false ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 PyObject * obj2 = 0 ;
10280 PyObject * obj3 = 0 ;
10281 PyObject * obj4 = 0 ;
10282 PyObject * obj5 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail;
10290 if (obj1) {
10291 {
10292 arg2 = static_cast<int >(SWIG_As_int(obj1));
10293 if (SWIG_arg_fail(2)) SWIG_fail;
10294 }
10295 }
10296 if (obj2) {
10297 {
10298 arg3 = &temp3;
10299 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10300 }
10301 }
10302 if (obj3) {
10303 {
10304 arg4 = &temp4;
10305 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10306 }
10307 }
10308 if (obj4) {
10309 {
10310 arg5 = static_cast<long >(SWIG_As_long(obj4));
10311 if (SWIG_arg_fail(5)) SWIG_fail;
10312 }
10313 }
10314 if (obj5) {
10315 {
10316 arg6 = wxString_in_helper(obj5);
10317 if (arg6 == NULL) SWIG_fail;
10318 temp6 = true;
10319 }
10320 }
10321 {
10322 if (!wxPyCheckForApp()) SWIG_fail;
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10330 {
10331 if (temp6)
10332 delete arg6;
10333 }
10334 return resultobj;
10335 fail:
10336 {
10337 if (temp6)
10338 delete arg6;
10339 }
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj = NULL;
10346 wxSashLayoutWindow *result;
10347 char *kwnames[] = {
10348 NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10352 {
10353 if (!wxPyCheckForApp()) SWIG_fail;
10354 PyThreadState* __tstate = wxPyBeginAllowThreads();
10355 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10356
10357 wxPyEndAllowThreads(__tstate);
10358 if (PyErr_Occurred()) SWIG_fail;
10359 }
10360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10361 return resultobj;
10362 fail:
10363 return NULL;
10364 }
10365
10366
10367 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj = NULL;
10369 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10370 wxWindow *arg2 = (wxWindow *) 0 ;
10371 int arg3 = (int) -1 ;
10372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10374 wxSize const &arg5_defvalue = wxDefaultSize ;
10375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10376 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10377 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10378 wxString *arg7 = (wxString *) &arg7_defvalue ;
10379 bool result;
10380 wxPoint temp4 ;
10381 wxSize temp5 ;
10382 bool temp7 = false ;
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
10385 PyObject * obj2 = 0 ;
10386 PyObject * obj3 = 0 ;
10387 PyObject * obj4 = 0 ;
10388 PyObject * obj5 = 0 ;
10389 PyObject * obj6 = 0 ;
10390 char *kwnames[] = {
10391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10392 };
10393
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail;
10397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10398 if (SWIG_arg_fail(2)) SWIG_fail;
10399 if (obj2) {
10400 {
10401 arg3 = static_cast<int >(SWIG_As_int(obj2));
10402 if (SWIG_arg_fail(3)) SWIG_fail;
10403 }
10404 }
10405 if (obj3) {
10406 {
10407 arg4 = &temp4;
10408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10409 }
10410 }
10411 if (obj4) {
10412 {
10413 arg5 = &temp5;
10414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10415 }
10416 }
10417 if (obj5) {
10418 {
10419 arg6 = static_cast<long >(SWIG_As_long(obj5));
10420 if (SWIG_arg_fail(6)) SWIG_fail;
10421 }
10422 }
10423 if (obj6) {
10424 {
10425 arg7 = wxString_in_helper(obj6);
10426 if (arg7 == NULL) SWIG_fail;
10427 temp7 = true;
10428 }
10429 }
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 {
10438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10439 }
10440 {
10441 if (temp7)
10442 delete arg7;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp7)
10448 delete arg7;
10449 }
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj = NULL;
10456 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10457 wxLayoutAlignment result;
10458 PyObject * obj0 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10465 if (SWIG_arg_fail(1)) SWIG_fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_From_int((result));
10474 return resultobj;
10475 fail:
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj = NULL;
10482 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10483 wxLayoutOrientation result;
10484 PyObject * obj0 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 resultobj = SWIG_From_int((result));
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj = NULL;
10508 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10509 wxLayoutAlignment arg2 ;
10510 PyObject * obj0 = 0 ;
10511 PyObject * obj1 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self",(char *) "alignment", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail;
10519 {
10520 arg2 = static_cast<wxLayoutAlignment >(SWIG_As_int(obj1));
10521 if (SWIG_arg_fail(2)) SWIG_fail;
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 (arg1)->SetAlignment(arg2);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj = NULL;
10539 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10540 wxSize *arg2 = 0 ;
10541 wxSize temp2 ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "size", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail;
10551 {
10552 arg2 = &temp2;
10553 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10554 }
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 Py_INCREF(Py_None); resultobj = Py_None;
10563 return resultobj;
10564 fail:
10565 return NULL;
10566 }
10567
10568
10569 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10570 PyObject *resultobj = NULL;
10571 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10572 wxLayoutOrientation arg2 ;
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "orientation", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail;
10582 {
10583 arg2 = static_cast<wxLayoutOrientation >(SWIG_As_int(obj1));
10584 if (SWIG_arg_fail(2)) SWIG_fail;
10585 }
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->SetOrientation(arg2);
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10601 PyObject *obj;
10602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10603 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10604 Py_INCREF(obj);
10605 return Py_BuildValue((char *)"");
10606 }
10607 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj = NULL;
10609 wxLayoutAlgorithm *result;
10610 char *kwnames[] = {
10611 NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10623 return resultobj;
10624 fail:
10625 return NULL;
10626 }
10627
10628
10629 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10630 PyObject *resultobj = NULL;
10631 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10632 PyObject * obj0 = 0 ;
10633 char *kwnames[] = {
10634 (char *) "self", NULL
10635 };
10636
10637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10639 if (SWIG_arg_fail(1)) SWIG_fail;
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 delete arg1;
10643
10644 wxPyEndAllowThreads(__tstate);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 Py_INCREF(Py_None); resultobj = Py_None;
10648 return resultobj;
10649 fail:
10650 return NULL;
10651 }
10652
10653
10654 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10655 PyObject *resultobj = NULL;
10656 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10657 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10658 wxRect *arg3 = (wxRect *) NULL ;
10659 bool result;
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 PyObject * obj2 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self",(char *) "frame",(char *) "rect", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail;
10670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10671 if (SWIG_arg_fail(2)) SWIG_fail;
10672 if (obj2) {
10673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10674 if (SWIG_arg_fail(3)) SWIG_fail;
10675 }
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 {
10684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10685 }
10686 return resultobj;
10687 fail:
10688 return NULL;
10689 }
10690
10691
10692 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10693 PyObject *resultobj = NULL;
10694 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10695 wxFrame *arg2 = (wxFrame *) 0 ;
10696 wxWindow *arg3 = (wxWindow *) NULL ;
10697 bool result;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 PyObject * obj2 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10707 if (SWIG_arg_fail(1)) SWIG_fail;
10708 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(2)) SWIG_fail;
10710 if (obj2) {
10711 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10712 if (SWIG_arg_fail(3)) SWIG_fail;
10713 }
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10717
10718 wxPyEndAllowThreads(__tstate);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 {
10722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10723 }
10724 return resultobj;
10725 fail:
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj = NULL;
10732 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10733 wxWindow *arg2 = (wxWindow *) 0 ;
10734 wxWindow *arg3 = (wxWindow *) NULL ;
10735 bool result;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 PyObject * obj2 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10745 if (SWIG_arg_fail(1)) SWIG_fail;
10746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10747 if (SWIG_arg_fail(2)) SWIG_fail;
10748 if (obj2) {
10749 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10750 if (SWIG_arg_fail(3)) SWIG_fail;
10751 }
10752 {
10753 PyThreadState* __tstate = wxPyBeginAllowThreads();
10754 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10755
10756 wxPyEndAllowThreads(__tstate);
10757 if (PyErr_Occurred()) SWIG_fail;
10758 }
10759 {
10760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10761 }
10762 return resultobj;
10763 fail:
10764 return NULL;
10765 }
10766
10767
10768 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10769 PyObject *obj;
10770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10771 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10772 Py_INCREF(obj);
10773 return Py_BuildValue((char *)"");
10774 }
10775 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj = NULL;
10777 wxWindow *arg1 = (wxWindow *) 0 ;
10778 int arg2 = (int) wxBORDER_NONE ;
10779 wxPopupWindow *result;
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "parent",(char *) "flags", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail;
10789 if (obj1) {
10790 {
10791 arg2 = static_cast<int >(SWIG_As_int(obj1));
10792 if (SWIG_arg_fail(2)) SWIG_fail;
10793 }
10794 }
10795 {
10796 if (!wxPyCheckForApp()) SWIG_fail;
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10799
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10804 return resultobj;
10805 fail:
10806 return NULL;
10807 }
10808
10809
10810 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10811 PyObject *resultobj = NULL;
10812 wxPopupWindow *result;
10813 char *kwnames[] = {
10814 NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10818 {
10819 if (!wxPyCheckForApp()) SWIG_fail;
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (wxPopupWindow *)new wxPopupWindow();
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj = NULL;
10835 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10836 wxWindow *arg2 = (wxWindow *) 0 ;
10837 int arg3 = (int) wxBORDER_NONE ;
10838 bool result;
10839 PyObject * obj0 = 0 ;
10840 PyObject * obj1 = 0 ;
10841 PyObject * obj2 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self",(char *) "parent",(char *) "flags", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail;
10849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10850 if (SWIG_arg_fail(2)) SWIG_fail;
10851 if (obj2) {
10852 {
10853 arg3 = static_cast<int >(SWIG_As_int(obj2));
10854 if (SWIG_arg_fail(3)) SWIG_fail;
10855 }
10856 }
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 result = (bool)(arg1)->Create(arg2,arg3);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 {
10865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10866 }
10867 return resultobj;
10868 fail:
10869 return NULL;
10870 }
10871
10872
10873 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10874 PyObject *resultobj = NULL;
10875 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10876 wxPoint *arg2 = 0 ;
10877 wxSize *arg3 = 0 ;
10878 wxPoint temp2 ;
10879 wxSize temp3 ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail;
10890 {
10891 arg2 = &temp2;
10892 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10893 }
10894 {
10895 arg3 = &temp3;
10896 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10913 PyObject *obj;
10914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10915 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10916 Py_INCREF(obj);
10917 return Py_BuildValue((char *)"");
10918 }
10919 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10920 PyObject *resultobj = NULL;
10921 wxWindow *arg1 = (wxWindow *) 0 ;
10922 int arg2 = (int) wxBORDER_NONE ;
10923 wxPyPopupTransientWindow *result;
10924 PyObject * obj0 = 0 ;
10925 PyObject * obj1 = 0 ;
10926 char *kwnames[] = {
10927 (char *) "parent",(char *) "style", NULL
10928 };
10929
10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10932 if (SWIG_arg_fail(1)) SWIG_fail;
10933 if (obj1) {
10934 {
10935 arg2 = static_cast<int >(SWIG_As_int(obj1));
10936 if (SWIG_arg_fail(2)) SWIG_fail;
10937 }
10938 }
10939 {
10940 if (!wxPyCheckForApp()) SWIG_fail;
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj = NULL;
10956 wxPyPopupTransientWindow *result;
10957 char *kwnames[] = {
10958 NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10962 {
10963 if (!wxPyCheckForApp()) SWIG_fail;
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj = NULL;
10979 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10980 PyObject *arg2 = (PyObject *) 0 ;
10981 PyObject *arg3 = (PyObject *) 0 ;
10982 PyObject * obj0 = 0 ;
10983 PyObject * obj1 = 0 ;
10984 PyObject * obj2 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self",(char *) "self",(char *) "_class", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail;
10992 arg2 = obj1;
10993 arg3 = obj2;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 (arg1)->_setCallbackInfo(arg2,arg3);
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj = NULL;
11010 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11011 wxWindow *arg2 = (wxWindow *) NULL ;
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self",(char *) "focus", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
11019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail;
11021 if (obj1) {
11022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(2)) SWIG_fail;
11024 }
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 (arg1)->Popup(arg2);
11028
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 Py_INCREF(Py_None); resultobj = Py_None;
11033 return resultobj;
11034 fail:
11035 return NULL;
11036 }
11037
11038
11039 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj = NULL;
11041 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
11042 PyObject * obj0 = 0 ;
11043 char *kwnames[] = {
11044 (char *) "self", NULL
11045 };
11046
11047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
11048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 (arg1)->Dismiss();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 Py_INCREF(Py_None); resultobj = Py_None;
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
11065 PyObject *obj;
11066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
11068 Py_INCREF(obj);
11069 return Py_BuildValue((char *)"");
11070 }
11071 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj = NULL;
11073 wxWindow *arg1 = (wxWindow *) 0 ;
11074 wxString *arg2 = 0 ;
11075 int arg3 = (int) 100 ;
11076 wxRect *arg4 = (wxRect *) NULL ;
11077 wxTipWindow *result;
11078 bool temp2 = false ;
11079 PyObject * obj0 = 0 ;
11080 PyObject * obj1 = 0 ;
11081 PyObject * obj2 = 0 ;
11082 PyObject * obj3 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail;
11090 {
11091 arg2 = wxString_in_helper(obj1);
11092 if (arg2 == NULL) SWIG_fail;
11093 temp2 = true;
11094 }
11095 if (obj2) {
11096 {
11097 arg3 = static_cast<int >(SWIG_As_int(obj2));
11098 if (SWIG_arg_fail(3)) SWIG_fail;
11099 }
11100 }
11101 if (obj3) {
11102 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
11103 if (SWIG_arg_fail(4)) SWIG_fail;
11104 }
11105 {
11106 if (!wxPyCheckForApp()) SWIG_fail;
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
11114 {
11115 if (temp2)
11116 delete arg2;
11117 }
11118 return resultobj;
11119 fail:
11120 {
11121 if (temp2)
11122 delete arg2;
11123 }
11124 return NULL;
11125 }
11126
11127
11128 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj = NULL;
11130 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11131 wxRect *arg2 = 0 ;
11132 wxRect temp2 ;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 char *kwnames[] = {
11136 (char *) "self",(char *) "rectBound", NULL
11137 };
11138
11139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail;
11142 {
11143 arg2 = &temp2;
11144 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11145 }
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157 }
11158
11159
11160 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11161 PyObject *resultobj = NULL;
11162 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11163 PyObject * obj0 = 0 ;
11164 char *kwnames[] = {
11165 (char *) "self", NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11170 if (SWIG_arg_fail(1)) SWIG_fail;
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->Close();
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 Py_INCREF(Py_None); resultobj = Py_None;
11179 return resultobj;
11180 fail:
11181 return NULL;
11182 }
11183
11184
11185 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11186 PyObject *obj;
11187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11189 Py_INCREF(obj);
11190 return Py_BuildValue((char *)"");
11191 }
11192 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj = NULL;
11194 wxWindow *arg1 = (wxWindow *) 0 ;
11195 int arg2 = (int) wxID_ANY ;
11196 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11197 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11198 wxSize const &arg4_defvalue = wxDefaultSize ;
11199 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11200 long arg5 = (long) 0 ;
11201 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11202 wxString *arg6 = (wxString *) &arg6_defvalue ;
11203 wxPyVScrolledWindow *result;
11204 wxPoint temp3 ;
11205 wxSize temp4 ;
11206 bool temp6 = false ;
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj1 = 0 ;
11209 PyObject * obj2 = 0 ;
11210 PyObject * obj3 = 0 ;
11211 PyObject * obj4 = 0 ;
11212 PyObject * obj5 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11219 if (SWIG_arg_fail(1)) SWIG_fail;
11220 if (obj1) {
11221 {
11222 arg2 = static_cast<int >(SWIG_As_int(obj1));
11223 if (SWIG_arg_fail(2)) SWIG_fail;
11224 }
11225 }
11226 if (obj2) {
11227 {
11228 arg3 = &temp3;
11229 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11230 }
11231 }
11232 if (obj3) {
11233 {
11234 arg4 = &temp4;
11235 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11236 }
11237 }
11238 if (obj4) {
11239 {
11240 arg5 = static_cast<long >(SWIG_As_long(obj4));
11241 if (SWIG_arg_fail(5)) SWIG_fail;
11242 }
11243 }
11244 if (obj5) {
11245 {
11246 arg6 = wxString_in_helper(obj5);
11247 if (arg6 == NULL) SWIG_fail;
11248 temp6 = true;
11249 }
11250 }
11251 {
11252 if (!wxPyCheckForApp()) SWIG_fail;
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11260 {
11261 if (temp6)
11262 delete arg6;
11263 }
11264 return resultobj;
11265 fail:
11266 {
11267 if (temp6)
11268 delete arg6;
11269 }
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj = NULL;
11276 wxPyVScrolledWindow *result;
11277 char *kwnames[] = {
11278 NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11282 {
11283 if (!wxPyCheckForApp()) SWIG_fail;
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj = NULL;
11299 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11300 PyObject *arg2 = (PyObject *) 0 ;
11301 PyObject *arg3 = (PyObject *) 0 ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "self",(char *) "_class", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11311 if (SWIG_arg_fail(1)) SWIG_fail;
11312 arg2 = obj1;
11313 arg3 = obj2;
11314 {
11315 PyThreadState* __tstate = wxPyBeginAllowThreads();
11316 (arg1)->_setCallbackInfo(arg2,arg3);
11317
11318 wxPyEndAllowThreads(__tstate);
11319 if (PyErr_Occurred()) SWIG_fail;
11320 }
11321 Py_INCREF(Py_None); resultobj = Py_None;
11322 return resultobj;
11323 fail:
11324 return NULL;
11325 }
11326
11327
11328 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11329 PyObject *resultobj = NULL;
11330 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11331 wxWindow *arg2 = (wxWindow *) 0 ;
11332 int arg3 = (int) wxID_ANY ;
11333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11335 wxSize const &arg5_defvalue = wxDefaultSize ;
11336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11337 long arg6 = (long) 0 ;
11338 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11339 wxString *arg7 = (wxString *) &arg7_defvalue ;
11340 bool result;
11341 wxPoint temp4 ;
11342 wxSize temp5 ;
11343 bool temp7 = false ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 PyObject * obj2 = 0 ;
11347 PyObject * obj3 = 0 ;
11348 PyObject * obj4 = 0 ;
11349 PyObject * obj5 = 0 ;
11350 PyObject * obj6 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11357 if (SWIG_arg_fail(1)) SWIG_fail;
11358 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11359 if (SWIG_arg_fail(2)) SWIG_fail;
11360 if (obj2) {
11361 {
11362 arg3 = static_cast<int >(SWIG_As_int(obj2));
11363 if (SWIG_arg_fail(3)) SWIG_fail;
11364 }
11365 }
11366 if (obj3) {
11367 {
11368 arg4 = &temp4;
11369 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11370 }
11371 }
11372 if (obj4) {
11373 {
11374 arg5 = &temp5;
11375 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11376 }
11377 }
11378 if (obj5) {
11379 {
11380 arg6 = static_cast<long >(SWIG_As_long(obj5));
11381 if (SWIG_arg_fail(6)) SWIG_fail;
11382 }
11383 }
11384 if (obj6) {
11385 {
11386 arg7 = wxString_in_helper(obj6);
11387 if (arg7 == NULL) SWIG_fail;
11388 temp7 = true;
11389 }
11390 }
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 {
11399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11400 }
11401 {
11402 if (temp7)
11403 delete arg7;
11404 }
11405 return resultobj;
11406 fail:
11407 {
11408 if (temp7)
11409 delete arg7;
11410 }
11411 return NULL;
11412 }
11413
11414
11415 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11416 PyObject *resultobj = NULL;
11417 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11418 size_t arg2 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "count", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail;
11428 {
11429 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11430 if (SWIG_arg_fail(2)) SWIG_fail;
11431 }
11432 {
11433 PyThreadState* __tstate = wxPyBeginAllowThreads();
11434 (arg1)->SetLineCount(arg2);
11435
11436 wxPyEndAllowThreads(__tstate);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 Py_INCREF(Py_None); resultobj = Py_None;
11440 return resultobj;
11441 fail:
11442 return NULL;
11443 }
11444
11445
11446 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11447 PyObject *resultobj = NULL;
11448 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11449 size_t arg2 ;
11450 bool result;
11451 PyObject * obj0 = 0 ;
11452 PyObject * obj1 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self",(char *) "line", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail;
11460 {
11461 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11462 if (SWIG_arg_fail(2)) SWIG_fail;
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (bool)(arg1)->ScrollToLine(arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11473 }
11474 return resultobj;
11475 fail:
11476 return NULL;
11477 }
11478
11479
11480 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11481 PyObject *resultobj = NULL;
11482 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11483 int arg2 ;
11484 bool result;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "lines", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 {
11495 arg2 = static_cast<int >(SWIG_As_int(obj1));
11496 if (SWIG_arg_fail(2)) SWIG_fail;
11497 }
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (bool)(arg1)->ScrollLines(arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11507 }
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj = NULL;
11516 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11517 int arg2 ;
11518 bool result;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "pages", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail;
11528 {
11529 arg2 = static_cast<int >(SWIG_As_int(obj1));
11530 if (SWIG_arg_fail(2)) SWIG_fail;
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (bool)(arg1)->ScrollPages(arg2);
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11541 }
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj = NULL;
11550 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11551 size_t arg2 ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self",(char *) "line", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail;
11561 {
11562 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11563 if (SWIG_arg_fail(2)) SWIG_fail;
11564 }
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 (arg1)->RefreshLine(arg2);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 Py_INCREF(Py_None); resultobj = Py_None;
11573 return resultobj;
11574 fail:
11575 return NULL;
11576 }
11577
11578
11579 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj = NULL;
11581 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11582 size_t arg2 ;
11583 size_t arg3 ;
11584 PyObject * obj0 = 0 ;
11585 PyObject * obj1 = 0 ;
11586 PyObject * obj2 = 0 ;
11587 char *kwnames[] = {
11588 (char *) "self",(char *) "from",(char *) "to", NULL
11589 };
11590
11591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11593 if (SWIG_arg_fail(1)) SWIG_fail;
11594 {
11595 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11596 if (SWIG_arg_fail(2)) SWIG_fail;
11597 }
11598 {
11599 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
11600 if (SWIG_arg_fail(3)) SWIG_fail;
11601 }
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 (arg1)->RefreshLines(arg2,arg3);
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 Py_INCREF(Py_None); resultobj = Py_None;
11610 return resultobj;
11611 fail:
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj = NULL;
11618 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11619 int arg2 ;
11620 int arg3 ;
11621 int result;
11622 PyObject * obj0 = 0 ;
11623 PyObject * obj1 = 0 ;
11624 PyObject * obj2 = 0 ;
11625 char *kwnames[] = {
11626 (char *) "self",(char *) "x",(char *) "y", NULL
11627 };
11628
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail;
11632 {
11633 arg2 = static_cast<int >(SWIG_As_int(obj1));
11634 if (SWIG_arg_fail(2)) SWIG_fail;
11635 }
11636 {
11637 arg3 = static_cast<int >(SWIG_As_int(obj2));
11638 if (SWIG_arg_fail(3)) SWIG_fail;
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 {
11648 resultobj = SWIG_From_int(static_cast<int >(result));
11649 }
11650 return resultobj;
11651 fail:
11652 return NULL;
11653 }
11654
11655
11656 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj = NULL;
11658 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11659 wxPoint *arg2 = 0 ;
11660 int result;
11661 wxPoint temp2 ;
11662 PyObject * obj0 = 0 ;
11663 PyObject * obj1 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self",(char *) "pt", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail;
11671 {
11672 arg2 = &temp2;
11673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11674 }
11675 {
11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
11677 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11678
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 {
11683 resultobj = SWIG_From_int(static_cast<int >(result));
11684 }
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj = NULL;
11693 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11694 PyObject * obj0 = 0 ;
11695 char *kwnames[] = {
11696 (char *) "self", NULL
11697 };
11698
11699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail;
11702 {
11703 PyThreadState* __tstate = wxPyBeginAllowThreads();
11704 (arg1)->RefreshAll();
11705
11706 wxPyEndAllowThreads(__tstate);
11707 if (PyErr_Occurred()) SWIG_fail;
11708 }
11709 Py_INCREF(Py_None); resultobj = Py_None;
11710 return resultobj;
11711 fail:
11712 return NULL;
11713 }
11714
11715
11716 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11717 PyObject *resultobj = NULL;
11718 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11719 size_t result;
11720 PyObject * obj0 = 0 ;
11721 char *kwnames[] = {
11722 (char *) "self", NULL
11723 };
11724
11725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail;
11728 {
11729 PyThreadState* __tstate = wxPyBeginAllowThreads();
11730 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11731
11732 wxPyEndAllowThreads(__tstate);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 }
11735 {
11736 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11737 }
11738 return resultobj;
11739 fail:
11740 return NULL;
11741 }
11742
11743
11744 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11745 PyObject *resultobj = NULL;
11746 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11747 size_t result;
11748 PyObject * obj0 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "self", NULL
11751 };
11752
11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail;
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 {
11764 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11765 }
11766 return resultobj;
11767 fail:
11768 return NULL;
11769 }
11770
11771
11772 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11773 PyObject *resultobj = NULL;
11774 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11775 size_t result;
11776 PyObject * obj0 = 0 ;
11777 char *kwnames[] = {
11778 (char *) "self", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail;
11784 {
11785 PyThreadState* __tstate = wxPyBeginAllowThreads();
11786 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11787
11788 wxPyEndAllowThreads(__tstate);
11789 if (PyErr_Occurred()) SWIG_fail;
11790 }
11791 {
11792 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11793 }
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11801 PyObject *resultobj = NULL;
11802 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11803 size_t arg2 ;
11804 bool result;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "line", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail;
11814 {
11815 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
11816 if (SWIG_arg_fail(2)) SWIG_fail;
11817 }
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 {
11826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11827 }
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = NULL;
11836 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11837 size_t result;
11838 PyObject * obj0 = 0 ;
11839 char *kwnames[] = {
11840 (char *) "self", NULL
11841 };
11842
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail;
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11855 }
11856 return resultobj;
11857 fail:
11858 return NULL;
11859 }
11860
11861
11862 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11863 PyObject *resultobj = NULL;
11864 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11865 size_t result;
11866 PyObject * obj0 = 0 ;
11867 char *kwnames[] = {
11868 (char *) "self", NULL
11869 };
11870
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11873 if (SWIG_arg_fail(1)) SWIG_fail;
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11891 PyObject *obj;
11892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11894 Py_INCREF(obj);
11895 return Py_BuildValue((char *)"");
11896 }
11897 static int _wrap_VListBoxNameStr_set(PyObject *) {
11898 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11899 return 1;
11900 }
11901
11902
11903 static PyObject *_wrap_VListBoxNameStr_get(void) {
11904 PyObject *pyobj = NULL;
11905
11906 {
11907 #if wxUSE_UNICODE
11908 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11909 #else
11910 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11911 #endif
11912 }
11913 return pyobj;
11914 }
11915
11916
11917 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11918 PyObject *resultobj = NULL;
11919 wxWindow *arg1 = (wxWindow *) 0 ;
11920 int arg2 = (int) wxID_ANY ;
11921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11923 wxSize const &arg4_defvalue = wxDefaultSize ;
11924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11925 long arg5 = (long) 0 ;
11926 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11927 wxString *arg6 = (wxString *) &arg6_defvalue ;
11928 wxPyVListBox *result;
11929 wxPoint temp3 ;
11930 wxSize temp4 ;
11931 bool temp6 = false ;
11932 PyObject * obj0 = 0 ;
11933 PyObject * obj1 = 0 ;
11934 PyObject * obj2 = 0 ;
11935 PyObject * obj3 = 0 ;
11936 PyObject * obj4 = 0 ;
11937 PyObject * obj5 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail;
11945 if (obj1) {
11946 {
11947 arg2 = static_cast<int >(SWIG_As_int(obj1));
11948 if (SWIG_arg_fail(2)) SWIG_fail;
11949 }
11950 }
11951 if (obj2) {
11952 {
11953 arg3 = &temp3;
11954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11955 }
11956 }
11957 if (obj3) {
11958 {
11959 arg4 = &temp4;
11960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11961 }
11962 }
11963 if (obj4) {
11964 {
11965 arg5 = static_cast<long >(SWIG_As_long(obj4));
11966 if (SWIG_arg_fail(5)) SWIG_fail;
11967 }
11968 }
11969 if (obj5) {
11970 {
11971 arg6 = wxString_in_helper(obj5);
11972 if (arg6 == NULL) SWIG_fail;
11973 temp6 = true;
11974 }
11975 }
11976 {
11977 if (!wxPyCheckForApp()) SWIG_fail;
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11985 {
11986 if (temp6)
11987 delete arg6;
11988 }
11989 return resultobj;
11990 fail:
11991 {
11992 if (temp6)
11993 delete arg6;
11994 }
11995 return NULL;
11996 }
11997
11998
11999 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12000 PyObject *resultobj = NULL;
12001 wxPyVListBox *result;
12002 char *kwnames[] = {
12003 NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
12007 {
12008 if (!wxPyCheckForApp()) SWIG_fail;
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (wxPyVListBox *)new wxPyVListBox();
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj = NULL;
12024 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12025 PyObject *arg2 = (PyObject *) 0 ;
12026 PyObject *arg3 = (PyObject *) 0 ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 PyObject * obj2 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self",(char *) "self",(char *) "_class", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = obj1;
12038 arg3 = obj2;
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->_setCallbackInfo(arg2,arg3);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj = NULL;
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 wxWindow *arg2 = (wxWindow *) 0 ;
12057 int arg3 = (int) wxID_ANY ;
12058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12060 wxSize const &arg5_defvalue = wxDefaultSize ;
12061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12062 long arg6 = (long) 0 ;
12063 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12064 wxString *arg7 = (wxString *) &arg7_defvalue ;
12065 bool result;
12066 wxPoint temp4 ;
12067 wxSize temp5 ;
12068 bool temp7 = false ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 PyObject * obj2 = 0 ;
12072 PyObject * obj3 = 0 ;
12073 PyObject * obj4 = 0 ;
12074 PyObject * obj5 = 0 ;
12075 PyObject * obj6 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail;
12083 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12084 if (SWIG_arg_fail(2)) SWIG_fail;
12085 if (obj2) {
12086 {
12087 arg3 = static_cast<int >(SWIG_As_int(obj2));
12088 if (SWIG_arg_fail(3)) SWIG_fail;
12089 }
12090 }
12091 if (obj3) {
12092 {
12093 arg4 = &temp4;
12094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12095 }
12096 }
12097 if (obj4) {
12098 {
12099 arg5 = &temp5;
12100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12101 }
12102 }
12103 if (obj5) {
12104 {
12105 arg6 = static_cast<long >(SWIG_As_long(obj5));
12106 if (SWIG_arg_fail(6)) SWIG_fail;
12107 }
12108 }
12109 if (obj6) {
12110 {
12111 arg7 = wxString_in_helper(obj6);
12112 if (arg7 == NULL) SWIG_fail;
12113 temp7 = true;
12114 }
12115 }
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 {
12124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12125 }
12126 {
12127 if (temp7)
12128 delete arg7;
12129 }
12130 return resultobj;
12131 fail:
12132 {
12133 if (temp7)
12134 delete arg7;
12135 }
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj = NULL;
12142 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12143 size_t result;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail;
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12155
12156 wxPyEndAllowThreads(__tstate);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 {
12160 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12161 }
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj = NULL;
12170 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12171 bool result;
12172 PyObject * obj0 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail;
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12183
12184 wxPyEndAllowThreads(__tstate);
12185 if (PyErr_Occurred()) SWIG_fail;
12186 }
12187 {
12188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12189 }
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj = NULL;
12198 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12199 int result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 {
12216 resultobj = SWIG_From_int(static_cast<int >(result));
12217 }
12218 return resultobj;
12219 fail:
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj = NULL;
12226 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12227 size_t arg2 ;
12228 bool result;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self",(char *) "item", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail;
12238 {
12239 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12240 if (SWIG_arg_fail(2)) SWIG_fail;
12241 }
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 {
12250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12251 }
12252 return resultobj;
12253 fail:
12254 return NULL;
12255 }
12256
12257
12258 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12259 PyObject *resultobj = NULL;
12260 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12261 size_t arg2 ;
12262 bool result;
12263 PyObject * obj0 = 0 ;
12264 PyObject * obj1 = 0 ;
12265 char *kwnames[] = {
12266 (char *) "self",(char *) "item", NULL
12267 };
12268
12269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12271 if (SWIG_arg_fail(1)) SWIG_fail;
12272 {
12273 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12274 if (SWIG_arg_fail(2)) SWIG_fail;
12275 }
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
12283 {
12284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12285 }
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj = NULL;
12294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12295 size_t result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 {
12312 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
12313 }
12314 return resultobj;
12315 fail:
12316 return NULL;
12317 }
12318
12319
12320 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12321 PyObject *resultobj = NULL;
12322 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12323 PyObject *result;
12324 PyObject * obj0 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 resultobj = result;
12340 return resultobj;
12341 fail:
12342 return NULL;
12343 }
12344
12345
12346 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12347 PyObject *resultobj = NULL;
12348 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12349 unsigned long arg2 ;
12350 PyObject *result;
12351 PyObject * obj0 = 0 ;
12352 PyObject * obj1 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "cookie", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail;
12360 {
12361 arg2 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1));
12362 if (SWIG_arg_fail(2)) SWIG_fail;
12363 }
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = result;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj = NULL;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 wxPoint result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = ((wxPyVListBox const *)arg1)->GetMargins();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 {
12398 wxPoint * resultptr;
12399 resultptr = new wxPoint(static_cast<wxPoint & >(result));
12400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12401 }
12402 return resultobj;
12403 fail:
12404 return NULL;
12405 }
12406
12407
12408 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12409 PyObject *resultobj = NULL;
12410 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12411 wxColour *result;
12412 PyObject * obj0 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 {
12423 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12424 result = (wxColour *) &_result_ref;
12425 }
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj = NULL;
12439 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12440 size_t arg2 ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 char *kwnames[] = {
12444 (char *) "self",(char *) "count", NULL
12445 };
12446
12447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail;
12450 {
12451 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12452 if (SWIG_arg_fail(2)) SWIG_fail;
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->SetItemCount(arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465 }
12466
12467
12468 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj = NULL;
12470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 (arg1)->Clear();
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 Py_INCREF(Py_None); resultobj = Py_None;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj = NULL;
12495 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12496 int arg2 ;
12497 PyObject * obj0 = 0 ;
12498 PyObject * obj1 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self",(char *) "selection", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12505 if (SWIG_arg_fail(1)) SWIG_fail;
12506 {
12507 arg2 = static_cast<int >(SWIG_As_int(obj1));
12508 if (SWIG_arg_fail(2)) SWIG_fail;
12509 }
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 (arg1)->SetSelection(arg2);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 return resultobj;
12519 fail:
12520 return NULL;
12521 }
12522
12523
12524 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj = NULL;
12526 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12527 size_t arg2 ;
12528 bool arg3 = (bool) true ;
12529 bool result;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 PyObject * obj2 = 0 ;
12533 char *kwnames[] = {
12534 (char *) "self",(char *) "item",(char *) "select", NULL
12535 };
12536
12537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12539 if (SWIG_arg_fail(1)) SWIG_fail;
12540 {
12541 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12542 if (SWIG_arg_fail(2)) SWIG_fail;
12543 }
12544 if (obj2) {
12545 {
12546 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
12547 if (SWIG_arg_fail(3)) SWIG_fail;
12548 }
12549 }
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (bool)(arg1)->Select(arg2,arg3);
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 {
12558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12559 }
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj = NULL;
12568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12569 size_t arg2 ;
12570 size_t arg3 ;
12571 bool result;
12572 PyObject * obj0 = 0 ;
12573 PyObject * obj1 = 0 ;
12574 PyObject * obj2 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self",(char *) "from",(char *) "to", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail;
12582 {
12583 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12584 if (SWIG_arg_fail(2)) SWIG_fail;
12585 }
12586 {
12587 arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2));
12588 if (SWIG_arg_fail(3)) SWIG_fail;
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (bool)(arg1)->SelectRange(arg2,arg3);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 {
12598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12599 }
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12607 PyObject *resultobj = NULL;
12608 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12609 size_t arg2 ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self",(char *) "item", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail;
12619 {
12620 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
12621 if (SWIG_arg_fail(2)) SWIG_fail;
12622 }
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 (arg1)->Toggle(arg2);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 Py_INCREF(Py_None); resultobj = Py_None;
12631 return resultobj;
12632 fail:
12633 return NULL;
12634 }
12635
12636
12637 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12638 PyObject *resultobj = NULL;
12639 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12640 bool result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail;
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (bool)(arg1)->SelectAll();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 {
12657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12658 }
12659 return resultobj;
12660 fail:
12661 return NULL;
12662 }
12663
12664
12665 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj = NULL;
12667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12668 bool result;
12669 PyObject * obj0 = 0 ;
12670 char *kwnames[] = {
12671 (char *) "self", NULL
12672 };
12673
12674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12676 if (SWIG_arg_fail(1)) SWIG_fail;
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (bool)(arg1)->DeselectAll();
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 {
12685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12686 }
12687 return resultobj;
12688 fail:
12689 return NULL;
12690 }
12691
12692
12693 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12694 PyObject *resultobj = NULL;
12695 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12696 wxPoint *arg2 = 0 ;
12697 wxPoint temp2 ;
12698 PyObject * obj0 = 0 ;
12699 PyObject * obj1 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "self",(char *) "pt", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail;
12707 {
12708 arg2 = &temp2;
12709 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12710 }
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 (arg1)->SetMargins((wxPoint const &)*arg2);
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 Py_INCREF(Py_None); resultobj = Py_None;
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj = NULL;
12727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12728 int arg2 ;
12729 int arg3 ;
12730 PyObject * obj0 = 0 ;
12731 PyObject * obj1 = 0 ;
12732 PyObject * obj2 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self",(char *) "x",(char *) "y", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail;
12740 {
12741 arg2 = static_cast<int >(SWIG_As_int(obj1));
12742 if (SWIG_arg_fail(2)) SWIG_fail;
12743 }
12744 {
12745 arg3 = static_cast<int >(SWIG_As_int(obj2));
12746 if (SWIG_arg_fail(3)) SWIG_fail;
12747 }
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->SetMargins(arg2,arg3);
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 Py_INCREF(Py_None); resultobj = Py_None;
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj = NULL;
12764 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12765 wxColour *arg2 = 0 ;
12766 wxColour temp2 ;
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self",(char *) "col", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail;
12776 {
12777 arg2 = &temp2;
12778 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12779 }
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 Py_INCREF(Py_None); resultobj = Py_None;
12788 return resultobj;
12789 fail:
12790 return NULL;
12791 }
12792
12793
12794 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12795 PyObject *obj;
12796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12797 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12798 Py_INCREF(obj);
12799 return Py_BuildValue((char *)"");
12800 }
12801 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj = NULL;
12803 wxWindow *arg1 = (wxWindow *) 0 ;
12804 int arg2 = (int) wxID_ANY ;
12805 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12806 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12807 wxSize const &arg4_defvalue = wxDefaultSize ;
12808 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12809 long arg5 = (long) 0 ;
12810 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12811 wxString *arg6 = (wxString *) &arg6_defvalue ;
12812 wxPyHtmlListBox *result;
12813 wxPoint temp3 ;
12814 wxSize temp4 ;
12815 bool temp6 = false ;
12816 PyObject * obj0 = 0 ;
12817 PyObject * obj1 = 0 ;
12818 PyObject * obj2 = 0 ;
12819 PyObject * obj3 = 0 ;
12820 PyObject * obj4 = 0 ;
12821 PyObject * obj5 = 0 ;
12822 char *kwnames[] = {
12823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12824 };
12825
12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail;
12829 if (obj1) {
12830 {
12831 arg2 = static_cast<int >(SWIG_As_int(obj1));
12832 if (SWIG_arg_fail(2)) SWIG_fail;
12833 }
12834 }
12835 if (obj2) {
12836 {
12837 arg3 = &temp3;
12838 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12839 }
12840 }
12841 if (obj3) {
12842 {
12843 arg4 = &temp4;
12844 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12845 }
12846 }
12847 if (obj4) {
12848 {
12849 arg5 = static_cast<long >(SWIG_As_long(obj4));
12850 if (SWIG_arg_fail(5)) SWIG_fail;
12851 }
12852 }
12853 if (obj5) {
12854 {
12855 arg6 = wxString_in_helper(obj5);
12856 if (arg6 == NULL) SWIG_fail;
12857 temp6 = true;
12858 }
12859 }
12860 {
12861 if (!wxPyCheckForApp()) SWIG_fail;
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12869 {
12870 if (temp6)
12871 delete arg6;
12872 }
12873 return resultobj;
12874 fail:
12875 {
12876 if (temp6)
12877 delete arg6;
12878 }
12879 return NULL;
12880 }
12881
12882
12883 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = NULL;
12885 wxPyHtmlListBox *result;
12886 char *kwnames[] = {
12887 NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12891 {
12892 if (!wxPyCheckForApp()) SWIG_fail;
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12900 return resultobj;
12901 fail:
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj = NULL;
12908 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12909 PyObject *arg2 = (PyObject *) 0 ;
12910 PyObject *arg3 = (PyObject *) 0 ;
12911 PyObject * obj0 = 0 ;
12912 PyObject * obj1 = 0 ;
12913 PyObject * obj2 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self",(char *) "self",(char *) "_class", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail;
12921 arg2 = obj1;
12922 arg3 = obj2;
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 (arg1)->_setCallbackInfo(arg2,arg3);
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 Py_INCREF(Py_None); resultobj = Py_None;
12931 return resultobj;
12932 fail:
12933 return NULL;
12934 }
12935
12936
12937 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj = NULL;
12939 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12940 wxWindow *arg2 = (wxWindow *) 0 ;
12941 int arg3 = (int) wxID_ANY ;
12942 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12943 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12944 wxSize const &arg5_defvalue = wxDefaultSize ;
12945 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12946 long arg6 = (long) 0 ;
12947 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12948 wxString *arg7 = (wxString *) &arg7_defvalue ;
12949 bool result;
12950 wxPoint temp4 ;
12951 wxSize temp5 ;
12952 bool temp7 = false ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 PyObject * obj3 = 0 ;
12957 PyObject * obj4 = 0 ;
12958 PyObject * obj5 = 0 ;
12959 PyObject * obj6 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail;
12967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12968 if (SWIG_arg_fail(2)) SWIG_fail;
12969 if (obj2) {
12970 {
12971 arg3 = static_cast<int >(SWIG_As_int(obj2));
12972 if (SWIG_arg_fail(3)) SWIG_fail;
12973 }
12974 }
12975 if (obj3) {
12976 {
12977 arg4 = &temp4;
12978 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12979 }
12980 }
12981 if (obj4) {
12982 {
12983 arg5 = &temp5;
12984 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12985 }
12986 }
12987 if (obj5) {
12988 {
12989 arg6 = static_cast<long >(SWIG_As_long(obj5));
12990 if (SWIG_arg_fail(6)) SWIG_fail;
12991 }
12992 }
12993 if (obj6) {
12994 {
12995 arg7 = wxString_in_helper(obj6);
12996 if (arg7 == NULL) SWIG_fail;
12997 temp7 = true;
12998 }
12999 }
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 {
13008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13009 }
13010 {
13011 if (temp7)
13012 delete arg7;
13013 }
13014 return resultobj;
13015 fail:
13016 {
13017 if (temp7)
13018 delete arg7;
13019 }
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj = NULL;
13026 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
13033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->RefreshAll();
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj = NULL;
13051 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13052 size_t arg2 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "count", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
13060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail;
13062 {
13063 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
13064 if (SWIG_arg_fail(2)) SWIG_fail;
13065 }
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 (arg1)->SetItemCount(arg2);
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 Py_INCREF(Py_None); resultobj = Py_None;
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj = NULL;
13082 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
13083 wxFileSystem *result;
13084 PyObject * obj0 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
13090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail;
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 {
13095 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
13096 result = (wxFileSystem *) &_result_ref;
13097 }
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
13103 return resultobj;
13104 fail:
13105 return NULL;
13106 }
13107
13108
13109 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
13110 PyObject *obj;
13111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13112 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
13113 Py_INCREF(obj);
13114 return Py_BuildValue((char *)"");
13115 }
13116 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13117 PyObject *resultobj = NULL;
13118 wxPyTaskBarIcon *result;
13119 char *kwnames[] = {
13120 NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13124 {
13125 if (!wxPyCheckForApp()) SWIG_fail;
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13133 return resultobj;
13134 fail:
13135 return NULL;
13136 }
13137
13138
13139 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj = NULL;
13141 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13142 PyObject *arg2 = (PyObject *) 0 ;
13143 PyObject *arg3 = (PyObject *) 0 ;
13144 int arg4 ;
13145 PyObject * obj0 = 0 ;
13146 PyObject * obj1 = 0 ;
13147 PyObject * obj2 = 0 ;
13148 PyObject * obj3 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13155 if (SWIG_arg_fail(1)) SWIG_fail;
13156 arg2 = obj1;
13157 arg3 = obj2;
13158 {
13159 arg4 = static_cast<int >(SWIG_As_int(obj3));
13160 if (SWIG_arg_fail(4)) SWIG_fail;
13161 }
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj = NULL;
13178 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13179 PyObject * obj0 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13186 if (SWIG_arg_fail(1)) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 wxPyTaskBarIcon_Destroy(arg1);
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 Py_INCREF(Py_None); resultobj = Py_None;
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj = NULL;
13203 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13204 bool result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 {
13221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13222 }
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj = NULL;
13231 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13232 bool result;
13233 PyObject * obj0 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) 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 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 {
13249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13250 }
13251 return resultobj;
13252 fail:
13253 return NULL;
13254 }
13255
13256
13257 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13258 PyObject *resultobj = NULL;
13259 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13260 wxIcon *arg2 = 0 ;
13261 wxString const &arg3_defvalue = wxPyEmptyString ;
13262 wxString *arg3 = (wxString *) &arg3_defvalue ;
13263 bool result;
13264 bool temp3 = false ;
13265 PyObject * obj0 = 0 ;
13266 PyObject * obj1 = 0 ;
13267 PyObject * obj2 = 0 ;
13268 char *kwnames[] = {
13269 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13270 };
13271
13272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail;
13275 {
13276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13277 if (SWIG_arg_fail(2)) SWIG_fail;
13278 if (arg2 == NULL) {
13279 SWIG_null_ref("wxIcon");
13280 }
13281 if (SWIG_arg_fail(2)) SWIG_fail;
13282 }
13283 if (obj2) {
13284 {
13285 arg3 = wxString_in_helper(obj2);
13286 if (arg3 == NULL) SWIG_fail;
13287 temp3 = true;
13288 }
13289 }
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 {
13298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13299 }
13300 {
13301 if (temp3)
13302 delete arg3;
13303 }
13304 return resultobj;
13305 fail:
13306 {
13307 if (temp3)
13308 delete arg3;
13309 }
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj = NULL;
13316 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13317 bool result;
13318 PyObject * obj0 = 0 ;
13319 char *kwnames[] = {
13320 (char *) "self", NULL
13321 };
13322
13323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13325 if (SWIG_arg_fail(1)) SWIG_fail;
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 result = (bool)(arg1)->RemoveIcon();
13329
13330 wxPyEndAllowThreads(__tstate);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13335 }
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj = NULL;
13344 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13345 wxMenu *arg2 = (wxMenu *) 0 ;
13346 bool result;
13347 PyObject * obj0 = 0 ;
13348 PyObject * obj1 = 0 ;
13349 char *kwnames[] = {
13350 (char *) "self",(char *) "menu", NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13355 if (SWIG_arg_fail(1)) SWIG_fail;
13356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13357 if (SWIG_arg_fail(2)) SWIG_fail;
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 result = (bool)(arg1)->PopupMenu(arg2);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 {
13366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13367 }
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13375 PyObject *obj;
13376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13377 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13378 Py_INCREF(obj);
13379 return Py_BuildValue((char *)"");
13380 }
13381 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj = NULL;
13383 wxEventType arg1 ;
13384 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13385 wxTaskBarIconEvent *result;
13386 PyObject * obj0 = 0 ;
13387 PyObject * obj1 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "evtType",(char *) "tbIcon", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13393 {
13394 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
13395 if (SWIG_arg_fail(1)) SWIG_fail;
13396 }
13397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13398 if (SWIG_arg_fail(2)) SWIG_fail;
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13414 PyObject *obj;
13415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13416 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13417 Py_INCREF(obj);
13418 return Py_BuildValue((char *)"");
13419 }
13420 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13421 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13422 return 1;
13423 }
13424
13425
13426 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13427 PyObject *pyobj = NULL;
13428
13429 {
13430 #if wxUSE_UNICODE
13431 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13432 #else
13433 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13434 #endif
13435 }
13436 return pyobj;
13437 }
13438
13439
13440 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13441 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13442 return 1;
13443 }
13444
13445
13446 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13447 PyObject *pyobj = NULL;
13448
13449 {
13450 #if wxUSE_UNICODE
13451 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13452 #else
13453 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13454 #endif
13455 }
13456 return pyobj;
13457 }
13458
13459
13460 static int _wrap_DirDialogNameStr_set(PyObject *) {
13461 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13462 return 1;
13463 }
13464
13465
13466 static PyObject *_wrap_DirDialogNameStr_get(void) {
13467 PyObject *pyobj = NULL;
13468
13469 {
13470 #if wxUSE_UNICODE
13471 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13472 #else
13473 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13474 #endif
13475 }
13476 return pyobj;
13477 }
13478
13479
13480 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13481 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13482 return 1;
13483 }
13484
13485
13486 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13487 PyObject *pyobj = NULL;
13488
13489 {
13490 #if wxUSE_UNICODE
13491 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13492 #else
13493 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13494 #endif
13495 }
13496 return pyobj;
13497 }
13498
13499
13500 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13501 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13502 return 1;
13503 }
13504
13505
13506 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13507 PyObject *pyobj = NULL;
13508
13509 {
13510 #if wxUSE_UNICODE
13511 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13512 #else
13513 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13514 #endif
13515 }
13516 return pyobj;
13517 }
13518
13519
13520 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13521 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13522 return 1;
13523 }
13524
13525
13526 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13527 PyObject *pyobj = NULL;
13528
13529 {
13530 #if wxUSE_UNICODE
13531 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13532 #else
13533 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13534 #endif
13535 }
13536 return pyobj;
13537 }
13538
13539
13540 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj = NULL;
13542 wxColourData *result;
13543 char *kwnames[] = {
13544 NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (wxColourData *)new wxColourData();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13556 return resultobj;
13557 fail:
13558 return NULL;
13559 }
13560
13561
13562 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13563 PyObject *resultobj = NULL;
13564 wxColourData *arg1 = (wxColourData *) 0 ;
13565 PyObject * obj0 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13572 if (SWIG_arg_fail(1)) SWIG_fail;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 delete arg1;
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj = NULL;
13589 wxColourData *arg1 = (wxColourData *) 0 ;
13590 bool result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)(arg1)->GetChooseFull();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 {
13607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13608 }
13609 return resultobj;
13610 fail:
13611 return NULL;
13612 }
13613
13614
13615 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13616 PyObject *resultobj = NULL;
13617 wxColourData *arg1 = (wxColourData *) 0 ;
13618 wxColour result;
13619 PyObject * obj0 = 0 ;
13620 char *kwnames[] = {
13621 (char *) "self", NULL
13622 };
13623
13624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail;
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (arg1)->GetColour();
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 {
13635 wxColour * resultptr;
13636 resultptr = new wxColour(static_cast<wxColour & >(result));
13637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13638 }
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj = NULL;
13647 wxColourData *arg1 = (wxColourData *) 0 ;
13648 int arg2 ;
13649 wxColour result;
13650 PyObject * obj0 = 0 ;
13651 PyObject * obj1 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self",(char *) "i", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13658 if (SWIG_arg_fail(1)) SWIG_fail;
13659 {
13660 arg2 = static_cast<int >(SWIG_As_int(obj1));
13661 if (SWIG_arg_fail(2)) SWIG_fail;
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (arg1)->GetCustomColour(arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 wxColour * resultptr;
13672 resultptr = new wxColour(static_cast<wxColour & >(result));
13673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13674 }
13675 return resultobj;
13676 fail:
13677 return NULL;
13678 }
13679
13680
13681 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj = NULL;
13683 wxColourData *arg1 = (wxColourData *) 0 ;
13684 int arg2 ;
13685 PyObject * obj0 = 0 ;
13686 PyObject * obj1 = 0 ;
13687 char *kwnames[] = {
13688 (char *) "self",(char *) "flag", NULL
13689 };
13690
13691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13693 if (SWIG_arg_fail(1)) SWIG_fail;
13694 {
13695 arg2 = static_cast<int >(SWIG_As_int(obj1));
13696 if (SWIG_arg_fail(2)) SWIG_fail;
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetChooseFull(arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 return resultobj;
13707 fail:
13708 return NULL;
13709 }
13710
13711
13712 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj = NULL;
13714 wxColourData *arg1 = (wxColourData *) 0 ;
13715 wxColour *arg2 = 0 ;
13716 wxColour temp2 ;
13717 PyObject * obj0 = 0 ;
13718 PyObject * obj1 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self",(char *) "colour", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13725 if (SWIG_arg_fail(1)) SWIG_fail;
13726 {
13727 arg2 = &temp2;
13728 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13729 }
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 (arg1)->SetColour((wxColour const &)*arg2);
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 Py_INCREF(Py_None); resultobj = Py_None;
13738 return resultobj;
13739 fail:
13740 return NULL;
13741 }
13742
13743
13744 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13745 PyObject *resultobj = NULL;
13746 wxColourData *arg1 = (wxColourData *) 0 ;
13747 int arg2 ;
13748 wxColour *arg3 = 0 ;
13749 wxColour temp3 ;
13750 PyObject * obj0 = 0 ;
13751 PyObject * obj1 = 0 ;
13752 PyObject * obj2 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "i",(char *) "colour", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail;
13760 {
13761 arg2 = static_cast<int >(SWIG_As_int(obj1));
13762 if (SWIG_arg_fail(2)) SWIG_fail;
13763 }
13764 {
13765 arg3 = &temp3;
13766 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 Py_INCREF(Py_None); resultobj = Py_None;
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13783 PyObject *obj;
13784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13785 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13786 Py_INCREF(obj);
13787 return Py_BuildValue((char *)"");
13788 }
13789 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj = NULL;
13791 wxWindow *arg1 = (wxWindow *) 0 ;
13792 wxColourData *arg2 = (wxColourData *) NULL ;
13793 wxColourDialog *result;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "parent",(char *) "data", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail;
13803 if (obj1) {
13804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13805 if (SWIG_arg_fail(2)) SWIG_fail;
13806 }
13807 {
13808 if (!wxPyCheckForApp()) SWIG_fail;
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13811
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13816 return resultobj;
13817 fail:
13818 return NULL;
13819 }
13820
13821
13822 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj = NULL;
13824 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13825 wxColourData *result;
13826 PyObject * obj0 = 0 ;
13827 char *kwnames[] = {
13828 (char *) "self", NULL
13829 };
13830
13831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13833 if (SWIG_arg_fail(1)) SWIG_fail;
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 {
13837 wxColourData &_result_ref = (arg1)->GetColourData();
13838 result = (wxColourData *) &_result_ref;
13839 }
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13852 PyObject *obj;
13853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13854 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13855 Py_INCREF(obj);
13856 return Py_BuildValue((char *)"");
13857 }
13858 static PyObject *_wrap_GetColourFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj = NULL;
13860 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
13861 wxColour const &arg2_defvalue = wxNullColour ;
13862 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
13863 wxString const &arg3_defvalue = wxPyEmptyString ;
13864 wxString *arg3 = (wxString *) &arg3_defvalue ;
13865 wxColour result;
13866 wxColour temp2 ;
13867 bool temp3 = false ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 PyObject * obj2 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
13876 if (obj0) {
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
13879 }
13880 if (obj1) {
13881 {
13882 arg2 = &temp2;
13883 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13884 }
13885 }
13886 if (obj2) {
13887 {
13888 arg3 = wxString_in_helper(obj2);
13889 if (arg3 == NULL) SWIG_fail;
13890 temp3 = true;
13891 }
13892 }
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 wxColour * resultptr;
13902 resultptr = new wxColour(static_cast<wxColour & >(result));
13903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13904 }
13905 {
13906 if (temp3)
13907 delete arg3;
13908 }
13909 return resultobj;
13910 fail:
13911 {
13912 if (temp3)
13913 delete arg3;
13914 }
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj = NULL;
13921 wxWindow *arg1 = (wxWindow *) 0 ;
13922 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13923 wxString *arg2 = (wxString *) &arg2_defvalue ;
13924 wxString const &arg3_defvalue = wxPyEmptyString ;
13925 wxString *arg3 = (wxString *) &arg3_defvalue ;
13926 long arg4 = (long) 0 ;
13927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13929 wxSize const &arg6_defvalue = wxDefaultSize ;
13930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13931 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13932 wxString *arg7 = (wxString *) &arg7_defvalue ;
13933 wxDirDialog *result;
13934 bool temp2 = false ;
13935 bool temp3 = false ;
13936 wxPoint temp5 ;
13937 wxSize temp6 ;
13938 bool temp7 = false ;
13939 PyObject * obj0 = 0 ;
13940 PyObject * obj1 = 0 ;
13941 PyObject * obj2 = 0 ;
13942 PyObject * obj3 = 0 ;
13943 PyObject * obj4 = 0 ;
13944 PyObject * obj5 = 0 ;
13945 PyObject * obj6 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail;
13953 if (obj1) {
13954 {
13955 arg2 = wxString_in_helper(obj1);
13956 if (arg2 == NULL) SWIG_fail;
13957 temp2 = true;
13958 }
13959 }
13960 if (obj2) {
13961 {
13962 arg3 = wxString_in_helper(obj2);
13963 if (arg3 == NULL) SWIG_fail;
13964 temp3 = true;
13965 }
13966 }
13967 if (obj3) {
13968 {
13969 arg4 = static_cast<long >(SWIG_As_long(obj3));
13970 if (SWIG_arg_fail(4)) SWIG_fail;
13971 }
13972 }
13973 if (obj4) {
13974 {
13975 arg5 = &temp5;
13976 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13977 }
13978 }
13979 if (obj5) {
13980 {
13981 arg6 = &temp6;
13982 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13983 }
13984 }
13985 if (obj6) {
13986 {
13987 arg7 = wxString_in_helper(obj6);
13988 if (arg7 == NULL) SWIG_fail;
13989 temp7 = true;
13990 }
13991 }
13992 {
13993 if (!wxPyCheckForApp()) SWIG_fail;
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 {
14006 if (temp3)
14007 delete arg3;
14008 }
14009 {
14010 if (temp7)
14011 delete arg7;
14012 }
14013 return resultobj;
14014 fail:
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 {
14020 if (temp3)
14021 delete arg3;
14022 }
14023 {
14024 if (temp7)
14025 delete arg7;
14026 }
14027 return NULL;
14028 }
14029
14030
14031 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj = NULL;
14033 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14034 wxString result;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = (arg1)->GetPath();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 {
14051 #if wxUSE_UNICODE
14052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14053 #else
14054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14055 #endif
14056 }
14057 return resultobj;
14058 fail:
14059 return NULL;
14060 }
14061
14062
14063 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj = NULL;
14065 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14066 wxString result;
14067 PyObject * obj0 = 0 ;
14068 char *kwnames[] = {
14069 (char *) "self", NULL
14070 };
14071
14072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
14073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14074 if (SWIG_arg_fail(1)) SWIG_fail;
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (arg1)->GetMessage();
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 {
14083 #if wxUSE_UNICODE
14084 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14085 #else
14086 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14087 #endif
14088 }
14089 return resultobj;
14090 fail:
14091 return NULL;
14092 }
14093
14094
14095 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj = NULL;
14097 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14098 long result;
14099 PyObject * obj0 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
14105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (long)(arg1)->GetStyle();
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 {
14115 resultobj = SWIG_From_long(static_cast<long >(result));
14116 }
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj = NULL;
14125 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14126 wxString *arg2 = 0 ;
14127 bool temp2 = false ;
14128 PyObject * obj0 = 0 ;
14129 PyObject * obj1 = 0 ;
14130 char *kwnames[] = {
14131 (char *) "self",(char *) "message", NULL
14132 };
14133
14134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail;
14137 {
14138 arg2 = wxString_in_helper(obj1);
14139 if (arg2 == NULL) SWIG_fail;
14140 temp2 = true;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetMessage((wxString const &)*arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 {
14151 if (temp2)
14152 delete arg2;
14153 }
14154 return resultobj;
14155 fail:
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj = NULL;
14166 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
14167 wxString *arg2 = 0 ;
14168 bool temp2 = false ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj1 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "path", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14177 if (SWIG_arg_fail(1)) SWIG_fail;
14178 {
14179 arg2 = wxString_in_helper(obj1);
14180 if (arg2 == NULL) SWIG_fail;
14181 temp2 = true;
14182 }
14183 {
14184 PyThreadState* __tstate = wxPyBeginAllowThreads();
14185 (arg1)->SetPath((wxString const &)*arg2);
14186
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 Py_INCREF(Py_None); resultobj = Py_None;
14191 {
14192 if (temp2)
14193 delete arg2;
14194 }
14195 return resultobj;
14196 fail:
14197 {
14198 if (temp2)
14199 delete arg2;
14200 }
14201 return NULL;
14202 }
14203
14204
14205 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14206 PyObject *obj;
14207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14208 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14209 Py_INCREF(obj);
14210 return Py_BuildValue((char *)"");
14211 }
14212 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14213 PyObject *resultobj = NULL;
14214 wxWindow *arg1 = (wxWindow *) 0 ;
14215 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14216 wxString *arg2 = (wxString *) &arg2_defvalue ;
14217 wxString const &arg3_defvalue = wxPyEmptyString ;
14218 wxString *arg3 = (wxString *) &arg3_defvalue ;
14219 wxString const &arg4_defvalue = wxPyEmptyString ;
14220 wxString *arg4 = (wxString *) &arg4_defvalue ;
14221 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14222 wxString *arg5 = (wxString *) &arg5_defvalue ;
14223 long arg6 = (long) 0 ;
14224 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14225 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14226 wxFileDialog *result;
14227 bool temp2 = false ;
14228 bool temp3 = false ;
14229 bool temp4 = false ;
14230 bool temp5 = false ;
14231 wxPoint temp7 ;
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 PyObject * obj3 = 0 ;
14236 PyObject * obj4 = 0 ;
14237 PyObject * obj5 = 0 ;
14238 PyObject * obj6 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14245 if (SWIG_arg_fail(1)) SWIG_fail;
14246 if (obj1) {
14247 {
14248 arg2 = wxString_in_helper(obj1);
14249 if (arg2 == NULL) SWIG_fail;
14250 temp2 = true;
14251 }
14252 }
14253 if (obj2) {
14254 {
14255 arg3 = wxString_in_helper(obj2);
14256 if (arg3 == NULL) SWIG_fail;
14257 temp3 = true;
14258 }
14259 }
14260 if (obj3) {
14261 {
14262 arg4 = wxString_in_helper(obj3);
14263 if (arg4 == NULL) SWIG_fail;
14264 temp4 = true;
14265 }
14266 }
14267 if (obj4) {
14268 {
14269 arg5 = wxString_in_helper(obj4);
14270 if (arg5 == NULL) SWIG_fail;
14271 temp5 = true;
14272 }
14273 }
14274 if (obj5) {
14275 {
14276 arg6 = static_cast<long >(SWIG_As_long(obj5));
14277 if (SWIG_arg_fail(6)) SWIG_fail;
14278 }
14279 }
14280 if (obj6) {
14281 {
14282 arg7 = &temp7;
14283 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14284 }
14285 }
14286 {
14287 if (!wxPyCheckForApp()) SWIG_fail;
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14295 {
14296 if (temp2)
14297 delete arg2;
14298 }
14299 {
14300 if (temp3)
14301 delete arg3;
14302 }
14303 {
14304 if (temp4)
14305 delete arg4;
14306 }
14307 {
14308 if (temp5)
14309 delete arg5;
14310 }
14311 return resultobj;
14312 fail:
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 {
14318 if (temp3)
14319 delete arg3;
14320 }
14321 {
14322 if (temp4)
14323 delete arg4;
14324 }
14325 {
14326 if (temp5)
14327 delete arg5;
14328 }
14329 return NULL;
14330 }
14331
14332
14333 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj = NULL;
14335 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14336 wxString *arg2 = 0 ;
14337 bool temp2 = false ;
14338 PyObject * obj0 = 0 ;
14339 PyObject * obj1 = 0 ;
14340 char *kwnames[] = {
14341 (char *) "self",(char *) "message", NULL
14342 };
14343
14344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14346 if (SWIG_arg_fail(1)) SWIG_fail;
14347 {
14348 arg2 = wxString_in_helper(obj1);
14349 if (arg2 == NULL) SWIG_fail;
14350 temp2 = true;
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->SetMessage((wxString const &)*arg2);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 {
14361 if (temp2)
14362 delete arg2;
14363 }
14364 return resultobj;
14365 fail:
14366 {
14367 if (temp2)
14368 delete arg2;
14369 }
14370 return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj = NULL;
14376 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14377 wxString *arg2 = 0 ;
14378 bool temp2 = false ;
14379 PyObject * obj0 = 0 ;
14380 PyObject * obj1 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self",(char *) "path", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail;
14388 {
14389 arg2 = wxString_in_helper(obj1);
14390 if (arg2 == NULL) SWIG_fail;
14391 temp2 = true;
14392 }
14393 {
14394 PyThreadState* __tstate = wxPyBeginAllowThreads();
14395 (arg1)->SetPath((wxString const &)*arg2);
14396
14397 wxPyEndAllowThreads(__tstate);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 Py_INCREF(Py_None); resultobj = Py_None;
14401 {
14402 if (temp2)
14403 delete arg2;
14404 }
14405 return resultobj;
14406 fail:
14407 {
14408 if (temp2)
14409 delete arg2;
14410 }
14411 return NULL;
14412 }
14413
14414
14415 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj = NULL;
14417 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14418 wxString *arg2 = 0 ;
14419 bool temp2 = false ;
14420 PyObject * obj0 = 0 ;
14421 PyObject * obj1 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self",(char *) "dir", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14428 if (SWIG_arg_fail(1)) SWIG_fail;
14429 {
14430 arg2 = wxString_in_helper(obj1);
14431 if (arg2 == NULL) SWIG_fail;
14432 temp2 = true;
14433 }
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->SetDirectory((wxString const &)*arg2);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 {
14443 if (temp2)
14444 delete arg2;
14445 }
14446 return resultobj;
14447 fail:
14448 {
14449 if (temp2)
14450 delete arg2;
14451 }
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj = NULL;
14458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14459 wxString *arg2 = 0 ;
14460 bool temp2 = false ;
14461 PyObject * obj0 = 0 ;
14462 PyObject * obj1 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self",(char *) "name", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14469 if (SWIG_arg_fail(1)) SWIG_fail;
14470 {
14471 arg2 = wxString_in_helper(obj1);
14472 if (arg2 == NULL) SWIG_fail;
14473 temp2 = true;
14474 }
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 (arg1)->SetFilename((wxString const &)*arg2);
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 Py_INCREF(Py_None); resultobj = Py_None;
14483 {
14484 if (temp2)
14485 delete arg2;
14486 }
14487 return resultobj;
14488 fail:
14489 {
14490 if (temp2)
14491 delete arg2;
14492 }
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj = NULL;
14499 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14500 wxString *arg2 = 0 ;
14501 bool temp2 = false ;
14502 PyObject * obj0 = 0 ;
14503 PyObject * obj1 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self",(char *) "wildCard", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14510 if (SWIG_arg_fail(1)) SWIG_fail;
14511 {
14512 arg2 = wxString_in_helper(obj1);
14513 if (arg2 == NULL) SWIG_fail;
14514 temp2 = true;
14515 }
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->SetWildcard((wxString const &)*arg2);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 {
14525 if (temp2)
14526 delete arg2;
14527 }
14528 return resultobj;
14529 fail:
14530 {
14531 if (temp2)
14532 delete arg2;
14533 }
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj = NULL;
14540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14541 long arg2 ;
14542 PyObject * obj0 = 0 ;
14543 PyObject * obj1 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self",(char *) "style", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14550 if (SWIG_arg_fail(1)) SWIG_fail;
14551 {
14552 arg2 = static_cast<long >(SWIG_As_long(obj1));
14553 if (SWIG_arg_fail(2)) SWIG_fail;
14554 }
14555 {
14556 PyThreadState* __tstate = wxPyBeginAllowThreads();
14557 (arg1)->SetStyle(arg2);
14558
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 Py_INCREF(Py_None); resultobj = Py_None;
14563 return resultobj;
14564 fail:
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj = NULL;
14571 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14572 int arg2 ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "filterIndex", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail;
14582 {
14583 arg2 = static_cast<int >(SWIG_As_int(obj1));
14584 if (SWIG_arg_fail(2)) SWIG_fail;
14585 }
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 (arg1)->SetFilterIndex(arg2);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 Py_INCREF(Py_None); resultobj = Py_None;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj = NULL;
14602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14603 wxString result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = ((wxFileDialog const *)arg1)->GetMessage();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 {
14620 #if wxUSE_UNICODE
14621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14622 #else
14623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14624 #endif
14625 }
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj = NULL;
14634 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14635 wxString result;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = ((wxFileDialog const *)arg1)->GetPath();
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 {
14652 #if wxUSE_UNICODE
14653 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14654 #else
14655 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14656 #endif
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661 }
14662
14663
14664 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj = NULL;
14666 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14667 wxString result;
14668 PyObject * obj0 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14675 if (SWIG_arg_fail(1)) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = ((wxFileDialog const *)arg1)->GetDirectory();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 {
14684 #if wxUSE_UNICODE
14685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14686 #else
14687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14688 #endif
14689 }
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14697 PyObject *resultobj = NULL;
14698 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14699 wxString result;
14700 PyObject * obj0 = 0 ;
14701 char *kwnames[] = {
14702 (char *) "self", NULL
14703 };
14704
14705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14707 if (SWIG_arg_fail(1)) SWIG_fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = ((wxFileDialog const *)arg1)->GetFilename();
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716 #if wxUSE_UNICODE
14717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14718 #else
14719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14720 #endif
14721 }
14722 return resultobj;
14723 fail:
14724 return NULL;
14725 }
14726
14727
14728 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14729 PyObject *resultobj = NULL;
14730 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14731 wxString result;
14732 PyObject * obj0 = 0 ;
14733 char *kwnames[] = {
14734 (char *) "self", NULL
14735 };
14736
14737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14739 if (SWIG_arg_fail(1)) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 result = ((wxFileDialog const *)arg1)->GetWildcard();
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 {
14748 #if wxUSE_UNICODE
14749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14750 #else
14751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14752 #endif
14753 }
14754 return resultobj;
14755 fail:
14756 return NULL;
14757 }
14758
14759
14760 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj = NULL;
14762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14763 long result;
14764 PyObject * obj0 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14771 if (SWIG_arg_fail(1)) SWIG_fail;
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 {
14780 resultobj = SWIG_From_long(static_cast<long >(result));
14781 }
14782 return resultobj;
14783 fail:
14784 return NULL;
14785 }
14786
14787
14788 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14789 PyObject *resultobj = NULL;
14790 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14791 int result;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail;
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 {
14808 resultobj = SWIG_From_int(static_cast<int >(result));
14809 }
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj = NULL;
14818 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14819 PyObject *result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = result;
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj = NULL;
14844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail;
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14869 PyObject *obj;
14870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14872 Py_INCREF(obj);
14873 return Py_BuildValue((char *)"");
14874 }
14875 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj = NULL;
14877 wxWindow *arg1 = (wxWindow *) 0 ;
14878 wxString *arg2 = 0 ;
14879 wxString *arg3 = 0 ;
14880 int arg4 = (int) 0 ;
14881 wxString *arg5 = (wxString *) NULL ;
14882 long arg6 = (long) wxCHOICEDLG_STYLE ;
14883 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14884 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14885 wxMultiChoiceDialog *result;
14886 bool temp2 = false ;
14887 bool temp3 = false ;
14888 wxPoint temp7 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
14892 PyObject * obj3 = 0 ;
14893 PyObject * obj4 = 0 ;
14894 PyObject * obj5 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
14902 {
14903 arg2 = wxString_in_helper(obj1);
14904 if (arg2 == NULL) SWIG_fail;
14905 temp2 = true;
14906 }
14907 {
14908 arg3 = wxString_in_helper(obj2);
14909 if (arg3 == NULL) SWIG_fail;
14910 temp3 = true;
14911 }
14912 if (obj3) {
14913 {
14914 arg4 = PyList_Size(obj3);
14915 arg5 = wxString_LIST_helper(obj3);
14916 if (arg5 == NULL) SWIG_fail;
14917 }
14918 }
14919 if (obj4) {
14920 {
14921 arg6 = static_cast<long >(SWIG_As_long(obj4));
14922 if (SWIG_arg_fail(6)) SWIG_fail;
14923 }
14924 }
14925 if (obj5) {
14926 {
14927 arg7 = &temp7;
14928 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14929 }
14930 }
14931 {
14932 if (!wxPyCheckForApp()) SWIG_fail;
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14940 {
14941 if (temp2)
14942 delete arg2;
14943 }
14944 {
14945 if (temp3)
14946 delete arg3;
14947 }
14948 {
14949 if (arg5) delete [] arg5;
14950 }
14951 return resultobj;
14952 fail:
14953 {
14954 if (temp2)
14955 delete arg2;
14956 }
14957 {
14958 if (temp3)
14959 delete arg3;
14960 }
14961 {
14962 if (arg5) delete [] arg5;
14963 }
14964 return NULL;
14965 }
14966
14967
14968 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14969 PyObject *resultobj = NULL;
14970 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14971 wxArrayInt *arg2 = 0 ;
14972 bool temp2 = false ;
14973 PyObject * obj0 = 0 ;
14974 PyObject * obj1 = 0 ;
14975 char *kwnames[] = {
14976 (char *) "self",(char *) "selections", NULL
14977 };
14978
14979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14981 if (SWIG_arg_fail(1)) SWIG_fail;
14982 {
14983 if (! PySequence_Check(obj1)) {
14984 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14985 SWIG_fail;
14986 }
14987 arg2 = new wxArrayInt;
14988 temp2 = true;
14989 int i, len=PySequence_Length(obj1);
14990 for (i=0; i<len; i++) {
14991 PyObject* item = PySequence_GetItem(obj1, i);
14992 PyObject* number = PyNumber_Int(item);
14993 arg2->Add(PyInt_AS_LONG(number));
14994 Py_DECREF(item);
14995 Py_DECREF(number);
14996 }
14997 }
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 (arg1)->SetSelections((wxArrayInt const &)*arg2);
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 Py_INCREF(Py_None); resultobj = Py_None;
15006 {
15007 if (temp2) delete arg2;
15008 }
15009 return resultobj;
15010 fail:
15011 {
15012 if (temp2) delete arg2;
15013 }
15014 return NULL;
15015 }
15016
15017
15018 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
15019 PyObject *resultobj = NULL;
15020 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
15021 PyObject *result;
15022 PyObject * obj0 = 0 ;
15023 char *kwnames[] = {
15024 (char *) "self", NULL
15025 };
15026
15027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
15028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail;
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = result;
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
15045 PyObject *obj;
15046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15047 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
15048 Py_INCREF(obj);
15049 return Py_BuildValue((char *)"");
15050 }
15051 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj = NULL;
15053 wxWindow *arg1 = (wxWindow *) 0 ;
15054 wxString *arg2 = 0 ;
15055 wxString *arg3 = 0 ;
15056 int arg4 ;
15057 wxString *arg5 = (wxString *) 0 ;
15058 long arg6 = (long) wxCHOICEDLG_STYLE ;
15059 wxPoint const &arg7_defvalue = wxDefaultPosition ;
15060 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
15061 wxSingleChoiceDialog *result;
15062 bool temp2 = false ;
15063 bool temp3 = false ;
15064 wxPoint temp7 ;
15065 PyObject * obj0 = 0 ;
15066 PyObject * obj1 = 0 ;
15067 PyObject * obj2 = 0 ;
15068 PyObject * obj3 = 0 ;
15069 PyObject * obj4 = 0 ;
15070 PyObject * obj5 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15077 if (SWIG_arg_fail(1)) SWIG_fail;
15078 {
15079 arg2 = wxString_in_helper(obj1);
15080 if (arg2 == NULL) SWIG_fail;
15081 temp2 = true;
15082 }
15083 {
15084 arg3 = wxString_in_helper(obj2);
15085 if (arg3 == NULL) SWIG_fail;
15086 temp3 = true;
15087 }
15088 {
15089 arg4 = PyList_Size(obj3);
15090 arg5 = wxString_LIST_helper(obj3);
15091 if (arg5 == NULL) SWIG_fail;
15092 }
15093 if (obj4) {
15094 {
15095 arg6 = static_cast<long >(SWIG_As_long(obj4));
15096 if (SWIG_arg_fail(6)) SWIG_fail;
15097 }
15098 }
15099 if (obj5) {
15100 {
15101 arg7 = &temp7;
15102 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
15103 }
15104 }
15105 {
15106 if (!wxPyCheckForApp()) SWIG_fail;
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
15114 {
15115 if (temp2)
15116 delete arg2;
15117 }
15118 {
15119 if (temp3)
15120 delete arg3;
15121 }
15122 {
15123 if (arg5) delete [] arg5;
15124 }
15125 return resultobj;
15126 fail:
15127 {
15128 if (temp2)
15129 delete arg2;
15130 }
15131 {
15132 if (temp3)
15133 delete arg3;
15134 }
15135 {
15136 if (arg5) delete [] arg5;
15137 }
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj = NULL;
15144 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (int)(arg1)->GetSelection();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 {
15162 resultobj = SWIG_From_int(static_cast<int >(result));
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj = NULL;
15172 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15173 wxString result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (arg1)->GetStringSelection();
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 {
15190 #if wxUSE_UNICODE
15191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15192 #else
15193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15194 #endif
15195 }
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj = NULL;
15204 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15205 int arg2 ;
15206 PyObject * obj0 = 0 ;
15207 PyObject * obj1 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self",(char *) "sel", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail;
15215 {
15216 arg2 = static_cast<int >(SWIG_As_int(obj1));
15217 if (SWIG_arg_fail(2)) SWIG_fail;
15218 }
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 (arg1)->SetSelection(arg2);
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 Py_INCREF(Py_None); resultobj = Py_None;
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15234 PyObject *obj;
15235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15237 Py_INCREF(obj);
15238 return Py_BuildValue((char *)"");
15239 }
15240 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15241 PyObject *resultobj = NULL;
15242 wxWindow *arg1 = (wxWindow *) 0 ;
15243 wxString *arg2 = 0 ;
15244 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15245 wxString *arg3 = (wxString *) &arg3_defvalue ;
15246 wxString const &arg4_defvalue = wxPyEmptyString ;
15247 wxString *arg4 = (wxString *) &arg4_defvalue ;
15248 long arg5 = (long) wxTextEntryDialogStyle ;
15249 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15250 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15251 wxTextEntryDialog *result;
15252 bool temp2 = false ;
15253 bool temp3 = false ;
15254 bool temp4 = false ;
15255 wxPoint temp6 ;
15256 PyObject * obj0 = 0 ;
15257 PyObject * obj1 = 0 ;
15258 PyObject * obj2 = 0 ;
15259 PyObject * obj3 = 0 ;
15260 PyObject * obj4 = 0 ;
15261 PyObject * obj5 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15268 if (SWIG_arg_fail(1)) SWIG_fail;
15269 {
15270 arg2 = wxString_in_helper(obj1);
15271 if (arg2 == NULL) SWIG_fail;
15272 temp2 = true;
15273 }
15274 if (obj2) {
15275 {
15276 arg3 = wxString_in_helper(obj2);
15277 if (arg3 == NULL) SWIG_fail;
15278 temp3 = true;
15279 }
15280 }
15281 if (obj3) {
15282 {
15283 arg4 = wxString_in_helper(obj3);
15284 if (arg4 == NULL) SWIG_fail;
15285 temp4 = true;
15286 }
15287 }
15288 if (obj4) {
15289 {
15290 arg5 = static_cast<long >(SWIG_As_long(obj4));
15291 if (SWIG_arg_fail(5)) SWIG_fail;
15292 }
15293 }
15294 if (obj5) {
15295 {
15296 arg6 = &temp6;
15297 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15298 }
15299 }
15300 {
15301 if (!wxPyCheckForApp()) SWIG_fail;
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15309 {
15310 if (temp2)
15311 delete arg2;
15312 }
15313 {
15314 if (temp3)
15315 delete arg3;
15316 }
15317 {
15318 if (temp4)
15319 delete arg4;
15320 }
15321 return resultobj;
15322 fail:
15323 {
15324 if (temp2)
15325 delete arg2;
15326 }
15327 {
15328 if (temp3)
15329 delete arg3;
15330 }
15331 {
15332 if (temp4)
15333 delete arg4;
15334 }
15335 return NULL;
15336 }
15337
15338
15339 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj = NULL;
15341 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15342 wxString result;
15343 PyObject * obj0 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15350 if (SWIG_arg_fail(1)) SWIG_fail;
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 result = (arg1)->GetValue();
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
15358 {
15359 #if wxUSE_UNICODE
15360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15361 #else
15362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15363 #endif
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368 }
15369
15370
15371 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj = NULL;
15373 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15374 wxString *arg2 = 0 ;
15375 bool temp2 = false ;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "value", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail;
15385 {
15386 arg2 = wxString_in_helper(obj1);
15387 if (arg2 == NULL) SWIG_fail;
15388 temp2 = true;
15389 }
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 (arg1)->SetValue((wxString const &)*arg2);
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 Py_INCREF(Py_None); resultobj = Py_None;
15398 {
15399 if (temp2)
15400 delete arg2;
15401 }
15402 return resultobj;
15403 fail:
15404 {
15405 if (temp2)
15406 delete arg2;
15407 }
15408 return NULL;
15409 }
15410
15411
15412 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15413 PyObject *obj;
15414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15415 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15416 Py_INCREF(obj);
15417 return Py_BuildValue((char *)"");
15418 }
15419 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15420 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15421 return 1;
15422 }
15423
15424
15425 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15426 PyObject *pyobj = NULL;
15427
15428 {
15429 #if wxUSE_UNICODE
15430 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15431 #else
15432 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15433 #endif
15434 }
15435 return pyobj;
15436 }
15437
15438
15439 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj = NULL;
15441 wxWindow *arg1 = (wxWindow *) 0 ;
15442 wxString *arg2 = 0 ;
15443 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15444 wxString *arg3 = (wxString *) &arg3_defvalue ;
15445 wxString const &arg4_defvalue = wxPyEmptyString ;
15446 wxString *arg4 = (wxString *) &arg4_defvalue ;
15447 long arg5 = (long) wxTextEntryDialogStyle ;
15448 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15449 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15450 wxPasswordEntryDialog *result;
15451 bool temp2 = false ;
15452 bool temp3 = false ;
15453 bool temp4 = false ;
15454 wxPoint temp6 ;
15455 PyObject * obj0 = 0 ;
15456 PyObject * obj1 = 0 ;
15457 PyObject * obj2 = 0 ;
15458 PyObject * obj3 = 0 ;
15459 PyObject * obj4 = 0 ;
15460 PyObject * obj5 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15467 if (SWIG_arg_fail(1)) SWIG_fail;
15468 {
15469 arg2 = wxString_in_helper(obj1);
15470 if (arg2 == NULL) SWIG_fail;
15471 temp2 = true;
15472 }
15473 if (obj2) {
15474 {
15475 arg3 = wxString_in_helper(obj2);
15476 if (arg3 == NULL) SWIG_fail;
15477 temp3 = true;
15478 }
15479 }
15480 if (obj3) {
15481 {
15482 arg4 = wxString_in_helper(obj3);
15483 if (arg4 == NULL) SWIG_fail;
15484 temp4 = true;
15485 }
15486 }
15487 if (obj4) {
15488 {
15489 arg5 = static_cast<long >(SWIG_As_long(obj4));
15490 if (SWIG_arg_fail(5)) SWIG_fail;
15491 }
15492 }
15493 if (obj5) {
15494 {
15495 arg6 = &temp6;
15496 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15497 }
15498 }
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15507 {
15508 if (temp2)
15509 delete arg2;
15510 }
15511 {
15512 if (temp3)
15513 delete arg3;
15514 }
15515 {
15516 if (temp4)
15517 delete arg4;
15518 }
15519 return resultobj;
15520 fail:
15521 {
15522 if (temp2)
15523 delete arg2;
15524 }
15525 {
15526 if (temp3)
15527 delete arg3;
15528 }
15529 {
15530 if (temp4)
15531 delete arg4;
15532 }
15533 return NULL;
15534 }
15535
15536
15537 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15538 PyObject *obj;
15539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15540 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15541 Py_INCREF(obj);
15542 return Py_BuildValue((char *)"");
15543 }
15544 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15545 PyObject *resultobj = NULL;
15546 wxFontData *result;
15547 char *kwnames[] = {
15548 NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 result = (wxFontData *)new wxFontData();
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj = NULL;
15568 wxFontData *arg1 = (wxFontData *) 0 ;
15569 PyObject * obj0 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",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 delete arg1;
15580
15581 wxPyEndAllowThreads(__tstate);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 Py_INCREF(Py_None); resultobj = Py_None;
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj = NULL;
15593 wxFontData *arg1 = (wxFontData *) 0 ;
15594 bool arg2 ;
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self",(char *) "enable", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15606 if (SWIG_arg_fail(2)) SWIG_fail;
15607 }
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->EnableEffects(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619 }
15620
15621
15622 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj = NULL;
15624 wxFontData *arg1 = (wxFontData *) 0 ;
15625 bool result;
15626 PyObject * obj0 = 0 ;
15627 char *kwnames[] = {
15628 (char *) "self", NULL
15629 };
15630
15631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15633 if (SWIG_arg_fail(1)) SWIG_fail;
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (bool)(arg1)->GetAllowSymbols();
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 {
15642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15643 }
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj = NULL;
15652 wxFontData *arg1 = (wxFontData *) 0 ;
15653 wxColour result;
15654 PyObject * obj0 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15661 if (SWIG_arg_fail(1)) SWIG_fail;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (arg1)->GetColour();
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 {
15670 wxColour * resultptr;
15671 resultptr = new wxColour(static_cast<wxColour & >(result));
15672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15673 }
15674 return resultobj;
15675 fail:
15676 return NULL;
15677 }
15678
15679
15680 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15681 PyObject *resultobj = NULL;
15682 wxFontData *arg1 = (wxFontData *) 0 ;
15683 wxFont result;
15684 PyObject * obj0 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15691 if (SWIG_arg_fail(1)) SWIG_fail;
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 result = (arg1)->GetChosenFont();
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 {
15700 wxFont * resultptr;
15701 resultptr = new wxFont(static_cast<wxFont & >(result));
15702 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15703 }
15704 return resultobj;
15705 fail:
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj = NULL;
15712 wxFontData *arg1 = (wxFontData *) 0 ;
15713 bool result;
15714 PyObject * obj0 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15721 if (SWIG_arg_fail(1)) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (bool)(arg1)->GetEnableEffects();
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 {
15730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15731 }
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj = NULL;
15740 wxFontData *arg1 = (wxFontData *) 0 ;
15741 wxFont result;
15742 PyObject * obj0 = 0 ;
15743 char *kwnames[] = {
15744 (char *) "self", NULL
15745 };
15746
15747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail;
15750 {
15751 PyThreadState* __tstate = wxPyBeginAllowThreads();
15752 result = (arg1)->GetInitialFont();
15753
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 {
15758 wxFont * resultptr;
15759 resultptr = new wxFont(static_cast<wxFont & >(result));
15760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15761 }
15762 return resultobj;
15763 fail:
15764 return NULL;
15765 }
15766
15767
15768 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj = NULL;
15770 wxFontData *arg1 = (wxFontData *) 0 ;
15771 bool result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (bool)(arg1)->GetShowHelp();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 {
15788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15789 }
15790 return resultobj;
15791 fail:
15792 return NULL;
15793 }
15794
15795
15796 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15797 PyObject *resultobj = NULL;
15798 wxFontData *arg1 = (wxFontData *) 0 ;
15799 bool arg2 ;
15800 PyObject * obj0 = 0 ;
15801 PyObject * obj1 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "allowSymbols", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15808 if (SWIG_arg_fail(1)) SWIG_fail;
15809 {
15810 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15811 if (SWIG_arg_fail(2)) SWIG_fail;
15812 }
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 (arg1)->SetAllowSymbols(arg2);
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 Py_INCREF(Py_None); resultobj = Py_None;
15821 return resultobj;
15822 fail:
15823 return NULL;
15824 }
15825
15826
15827 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15828 PyObject *resultobj = NULL;
15829 wxFontData *arg1 = (wxFontData *) 0 ;
15830 wxFont *arg2 = 0 ;
15831 PyObject * obj0 = 0 ;
15832 PyObject * obj1 = 0 ;
15833 char *kwnames[] = {
15834 (char *) "self",(char *) "font", NULL
15835 };
15836
15837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15839 if (SWIG_arg_fail(1)) SWIG_fail;
15840 {
15841 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15842 if (SWIG_arg_fail(2)) SWIG_fail;
15843 if (arg2 == NULL) {
15844 SWIG_null_ref("wxFont");
15845 }
15846 if (SWIG_arg_fail(2)) SWIG_fail;
15847 }
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 (arg1)->SetChosenFont((wxFont const &)*arg2);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj = NULL;
15864 wxFontData *arg1 = (wxFontData *) 0 ;
15865 wxColour *arg2 = 0 ;
15866 wxColour temp2 ;
15867 PyObject * obj0 = 0 ;
15868 PyObject * obj1 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self",(char *) "colour", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15875 if (SWIG_arg_fail(1)) SWIG_fail;
15876 {
15877 arg2 = &temp2;
15878 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15879 }
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 (arg1)->SetColour((wxColour const &)*arg2);
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 Py_INCREF(Py_None); resultobj = Py_None;
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj = NULL;
15896 wxFontData *arg1 = (wxFontData *) 0 ;
15897 wxFont *arg2 = 0 ;
15898 PyObject * obj0 = 0 ;
15899 PyObject * obj1 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "font", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail;
15907 {
15908 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15909 if (SWIG_arg_fail(2)) SWIG_fail;
15910 if (arg2 == NULL) {
15911 SWIG_null_ref("wxFont");
15912 }
15913 if (SWIG_arg_fail(2)) SWIG_fail;
15914 }
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->SetInitialFont((wxFont const &)*arg2);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj = NULL;
15931 wxFontData *arg1 = (wxFontData *) 0 ;
15932 int arg2 ;
15933 int arg3 ;
15934 PyObject * obj0 = 0 ;
15935 PyObject * obj1 = 0 ;
15936 PyObject * obj2 = 0 ;
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "min",(char *) "max", NULL
15939 };
15940
15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15943 if (SWIG_arg_fail(1)) SWIG_fail;
15944 {
15945 arg2 = static_cast<int >(SWIG_As_int(obj1));
15946 if (SWIG_arg_fail(2)) SWIG_fail;
15947 }
15948 {
15949 arg3 = static_cast<int >(SWIG_As_int(obj2));
15950 if (SWIG_arg_fail(3)) SWIG_fail;
15951 }
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->SetRange(arg2,arg3);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 return resultobj;
15961 fail:
15962 return NULL;
15963 }
15964
15965
15966 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj = NULL;
15968 wxFontData *arg1 = (wxFontData *) 0 ;
15969 bool arg2 ;
15970 PyObject * obj0 = 0 ;
15971 PyObject * obj1 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self",(char *) "showHelp", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15978 if (SWIG_arg_fail(1)) SWIG_fail;
15979 {
15980 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
15981 if (SWIG_arg_fail(2)) SWIG_fail;
15982 }
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 (arg1)->SetShowHelp(arg2);
15986
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 Py_INCREF(Py_None); resultobj = Py_None;
15991 return resultobj;
15992 fail:
15993 return NULL;
15994 }
15995
15996
15997 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15998 PyObject *obj;
15999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16000 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
16001 Py_INCREF(obj);
16002 return Py_BuildValue((char *)"");
16003 }
16004 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16005 PyObject *resultobj = NULL;
16006 wxWindow *arg1 = (wxWindow *) 0 ;
16007 wxFontData *arg2 = 0 ;
16008 wxFontDialog *result;
16009 PyObject * obj0 = 0 ;
16010 PyObject * obj1 = 0 ;
16011 char *kwnames[] = {
16012 (char *) "parent",(char *) "data", NULL
16013 };
16014
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
16016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16017 if (SWIG_arg_fail(1)) SWIG_fail;
16018 {
16019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
16020 if (SWIG_arg_fail(2)) SWIG_fail;
16021 if (arg2 == NULL) {
16022 SWIG_null_ref("wxFontData");
16023 }
16024 if (SWIG_arg_fail(2)) SWIG_fail;
16025 }
16026 {
16027 if (!wxPyCheckForApp()) SWIG_fail;
16028 PyThreadState* __tstate = wxPyBeginAllowThreads();
16029 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
16030
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
16035 return resultobj;
16036 fail:
16037 return NULL;
16038 }
16039
16040
16041 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
16042 PyObject *resultobj = NULL;
16043 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
16044 wxFontData *result;
16045 PyObject * obj0 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
16051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
16052 if (SWIG_arg_fail(1)) SWIG_fail;
16053 {
16054 PyThreadState* __tstate = wxPyBeginAllowThreads();
16055 {
16056 wxFontData &_result_ref = (arg1)->GetFontData();
16057 result = (wxFontData *) &_result_ref;
16058 }
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
16071 PyObject *obj;
16072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16073 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
16074 Py_INCREF(obj);
16075 return Py_BuildValue((char *)"");
16076 }
16077 static PyObject *_wrap_GetFontFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj = NULL;
16079 wxWindow *arg1 = (wxWindow *) NULL ;
16080 wxFont const &arg2_defvalue = wxNullFont ;
16081 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
16082 wxString const &arg3_defvalue = wxPyEmptyString ;
16083 wxString *arg3 = (wxString *) &arg3_defvalue ;
16084 wxFont result;
16085 bool temp3 = false ;
16086 PyObject * obj0 = 0 ;
16087 PyObject * obj1 = 0 ;
16088 PyObject * obj2 = 0 ;
16089 char *kwnames[] = {
16090 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16091 };
16092
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) goto fail;
16094 if (obj0) {
16095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail;
16097 }
16098 if (obj1) {
16099 {
16100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
16101 if (SWIG_arg_fail(2)) SWIG_fail;
16102 if (arg2 == NULL) {
16103 SWIG_null_ref("wxFont");
16104 }
16105 if (SWIG_arg_fail(2)) SWIG_fail;
16106 }
16107 }
16108 if (obj2) {
16109 {
16110 arg3 = wxString_in_helper(obj2);
16111 if (arg3 == NULL) SWIG_fail;
16112 temp3 = true;
16113 }
16114 }
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 wxFont * resultptr;
16124 resultptr = new wxFont(static_cast<wxFont & >(result));
16125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
16126 }
16127 {
16128 if (temp3)
16129 delete arg3;
16130 }
16131 return resultobj;
16132 fail:
16133 {
16134 if (temp3)
16135 delete arg3;
16136 }
16137 return NULL;
16138 }
16139
16140
16141 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj = NULL;
16143 wxWindow *arg1 = (wxWindow *) 0 ;
16144 wxString *arg2 = 0 ;
16145 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
16146 wxString *arg3 = (wxString *) &arg3_defvalue ;
16147 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
16148 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16149 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16150 wxMessageDialog *result;
16151 bool temp2 = false ;
16152 bool temp3 = false ;
16153 wxPoint temp5 ;
16154 PyObject * obj0 = 0 ;
16155 PyObject * obj1 = 0 ;
16156 PyObject * obj2 = 0 ;
16157 PyObject * obj3 = 0 ;
16158 PyObject * obj4 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail;
16166 {
16167 arg2 = wxString_in_helper(obj1);
16168 if (arg2 == NULL) SWIG_fail;
16169 temp2 = true;
16170 }
16171 if (obj2) {
16172 {
16173 arg3 = wxString_in_helper(obj2);
16174 if (arg3 == NULL) SWIG_fail;
16175 temp3 = true;
16176 }
16177 }
16178 if (obj3) {
16179 {
16180 arg4 = static_cast<long >(SWIG_As_long(obj3));
16181 if (SWIG_arg_fail(4)) SWIG_fail;
16182 }
16183 }
16184 if (obj4) {
16185 {
16186 arg5 = &temp5;
16187 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16188 }
16189 }
16190 {
16191 if (!wxPyCheckForApp()) SWIG_fail;
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
16199 {
16200 if (temp2)
16201 delete arg2;
16202 }
16203 {
16204 if (temp3)
16205 delete arg3;
16206 }
16207 return resultobj;
16208 fail:
16209 {
16210 if (temp2)
16211 delete arg2;
16212 }
16213 {
16214 if (temp3)
16215 delete arg3;
16216 }
16217 return NULL;
16218 }
16219
16220
16221 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
16222 PyObject *obj;
16223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16224 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
16225 Py_INCREF(obj);
16226 return Py_BuildValue((char *)"");
16227 }
16228 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj = NULL;
16230 wxString *arg1 = 0 ;
16231 wxString *arg2 = 0 ;
16232 int arg3 = (int) 100 ;
16233 wxWindow *arg4 = (wxWindow *) NULL ;
16234 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
16235 wxProgressDialog *result;
16236 bool temp1 = false ;
16237 bool temp2 = false ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 PyObject * obj2 = 0 ;
16241 PyObject * obj3 = 0 ;
16242 PyObject * obj4 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16248 {
16249 arg1 = wxString_in_helper(obj0);
16250 if (arg1 == NULL) SWIG_fail;
16251 temp1 = true;
16252 }
16253 {
16254 arg2 = wxString_in_helper(obj1);
16255 if (arg2 == NULL) SWIG_fail;
16256 temp2 = true;
16257 }
16258 if (obj2) {
16259 {
16260 arg3 = static_cast<int >(SWIG_As_int(obj2));
16261 if (SWIG_arg_fail(3)) SWIG_fail;
16262 }
16263 }
16264 if (obj3) {
16265 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16266 if (SWIG_arg_fail(4)) SWIG_fail;
16267 }
16268 if (obj4) {
16269 {
16270 arg5 = static_cast<int >(SWIG_As_int(obj4));
16271 if (SWIG_arg_fail(5)) SWIG_fail;
16272 }
16273 }
16274 {
16275 if (!wxPyCheckForApp()) SWIG_fail;
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16283 {
16284 if (temp1)
16285 delete arg1;
16286 }
16287 {
16288 if (temp2)
16289 delete arg2;
16290 }
16291 return resultobj;
16292 fail:
16293 {
16294 if (temp1)
16295 delete arg1;
16296 }
16297 {
16298 if (temp2)
16299 delete arg2;
16300 }
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj = NULL;
16307 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16308 int arg2 ;
16309 wxString const &arg3_defvalue = wxPyEmptyString ;
16310 wxString *arg3 = (wxString *) &arg3_defvalue ;
16311 bool result;
16312 bool temp3 = false ;
16313 PyObject * obj0 = 0 ;
16314 PyObject * obj1 = 0 ;
16315 PyObject * obj2 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail;
16323 {
16324 arg2 = static_cast<int >(SWIG_As_int(obj1));
16325 if (SWIG_arg_fail(2)) SWIG_fail;
16326 }
16327 if (obj2) {
16328 {
16329 arg3 = wxString_in_helper(obj2);
16330 if (arg3 == NULL) SWIG_fail;
16331 temp3 = true;
16332 }
16333 }
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 {
16342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16343 }
16344 {
16345 if (temp3)
16346 delete arg3;
16347 }
16348 return resultobj;
16349 fail:
16350 {
16351 if (temp3)
16352 delete arg3;
16353 }
16354 return NULL;
16355 }
16356
16357
16358 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj = NULL;
16360 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16368 if (SWIG_arg_fail(1)) SWIG_fail;
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 (arg1)->Resume();
16372
16373 wxPyEndAllowThreads(__tstate);
16374 if (PyErr_Occurred()) SWIG_fail;
16375 }
16376 Py_INCREF(Py_None); resultobj = Py_None;
16377 return resultobj;
16378 fail:
16379 return NULL;
16380 }
16381
16382
16383 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16384 PyObject *obj;
16385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16386 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16387 Py_INCREF(obj);
16388 return Py_BuildValue((char *)"");
16389 }
16390 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj = NULL;
16392 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16393 int arg2 = (int) 0 ;
16394 wxFindDialogEvent *result;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "commandType",(char *) "id", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16402 if (obj0) {
16403 {
16404 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
16405 if (SWIG_arg_fail(1)) SWIG_fail;
16406 }
16407 }
16408 if (obj1) {
16409 {
16410 arg2 = static_cast<int >(SWIG_As_int(obj1));
16411 if (SWIG_arg_fail(2)) SWIG_fail;
16412 }
16413 }
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj = NULL;
16430 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16431 int result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16439 if (SWIG_arg_fail(1)) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (int)(arg1)->GetFlags();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 resultobj = SWIG_From_int(static_cast<int >(result));
16449 }
16450 return resultobj;
16451 fail:
16452 return NULL;
16453 }
16454
16455
16456 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16457 PyObject *resultobj = NULL;
16458 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16459 wxString *result;
16460 PyObject * obj0 = 0 ;
16461 char *kwnames[] = {
16462 (char *) "self", NULL
16463 };
16464
16465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail;
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 {
16471 wxString const &_result_ref = (arg1)->GetFindString();
16472 result = (wxString *) &_result_ref;
16473 }
16474
16475 wxPyEndAllowThreads(__tstate);
16476 if (PyErr_Occurred()) SWIG_fail;
16477 }
16478 {
16479 #if wxUSE_UNICODE
16480 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16481 #else
16482 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16483 #endif
16484 }
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj = NULL;
16493 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16494 wxString *result;
16495 PyObject * obj0 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self", NULL
16498 };
16499
16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail;
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 {
16506 wxString const &_result_ref = (arg1)->GetReplaceString();
16507 result = (wxString *) &_result_ref;
16508 }
16509
16510 wxPyEndAllowThreads(__tstate);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 }
16513 {
16514 #if wxUSE_UNICODE
16515 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16516 #else
16517 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16518 #endif
16519 }
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj = NULL;
16528 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16529 wxFindReplaceDialog *result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16537 if (SWIG_arg_fail(1)) SWIG_fail;
16538 {
16539 PyThreadState* __tstate = wxPyBeginAllowThreads();
16540 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16541
16542 wxPyEndAllowThreads(__tstate);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 }
16545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16546 return resultobj;
16547 fail:
16548 return NULL;
16549 }
16550
16551
16552 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj = NULL;
16554 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16555 int arg2 ;
16556 PyObject * obj0 = 0 ;
16557 PyObject * obj1 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "flags", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail;
16565 {
16566 arg2 = static_cast<int >(SWIG_As_int(obj1));
16567 if (SWIG_arg_fail(2)) SWIG_fail;
16568 }
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 (arg1)->SetFlags(arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 Py_INCREF(Py_None); resultobj = Py_None;
16577 return resultobj;
16578 fail:
16579 return NULL;
16580 }
16581
16582
16583 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj = NULL;
16585 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16586 wxString *arg2 = 0 ;
16587 bool temp2 = false ;
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "str", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail;
16597 {
16598 arg2 = wxString_in_helper(obj1);
16599 if (arg2 == NULL) SWIG_fail;
16600 temp2 = true;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetFindString((wxString const &)*arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 {
16611 if (temp2)
16612 delete arg2;
16613 }
16614 return resultobj;
16615 fail:
16616 {
16617 if (temp2)
16618 delete arg2;
16619 }
16620 return NULL;
16621 }
16622
16623
16624 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16625 PyObject *resultobj = NULL;
16626 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16627 wxString *arg2 = 0 ;
16628 bool temp2 = false ;
16629 PyObject * obj0 = 0 ;
16630 PyObject * obj1 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self",(char *) "str", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail;
16638 {
16639 arg2 = wxString_in_helper(obj1);
16640 if (arg2 == NULL) SWIG_fail;
16641 temp2 = true;
16642 }
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->SetReplaceString((wxString const &)*arg2);
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 Py_INCREF(Py_None); resultobj = Py_None;
16651 {
16652 if (temp2)
16653 delete arg2;
16654 }
16655 return resultobj;
16656 fail:
16657 {
16658 if (temp2)
16659 delete arg2;
16660 }
16661 return NULL;
16662 }
16663
16664
16665 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16666 PyObject *obj;
16667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16668 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16669 Py_INCREF(obj);
16670 return Py_BuildValue((char *)"");
16671 }
16672 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16673 PyObject *resultobj = NULL;
16674 int arg1 = (int) 0 ;
16675 wxFindReplaceData *result;
16676 PyObject * obj0 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "flags", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16682 if (obj0) {
16683 {
16684 arg1 = static_cast<int >(SWIG_As_int(obj0));
16685 if (SWIG_arg_fail(1)) SWIG_fail;
16686 }
16687 }
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
16690 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16691
16692 wxPyEndAllowThreads(__tstate);
16693 if (PyErr_Occurred()) SWIG_fail;
16694 }
16695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16696 return resultobj;
16697 fail:
16698 return NULL;
16699 }
16700
16701
16702 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16703 PyObject *resultobj = NULL;
16704 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16705 PyObject * obj0 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self", NULL
16708 };
16709
16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail;
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 delete arg1;
16716
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 Py_INCREF(Py_None); resultobj = Py_None;
16721 return resultobj;
16722 fail:
16723 return NULL;
16724 }
16725
16726
16727 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16728 PyObject *resultobj = NULL;
16729 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16730 wxString *result;
16731 PyObject * obj0 = 0 ;
16732 char *kwnames[] = {
16733 (char *) "self", NULL
16734 };
16735
16736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16738 if (SWIG_arg_fail(1)) SWIG_fail;
16739 {
16740 PyThreadState* __tstate = wxPyBeginAllowThreads();
16741 {
16742 wxString const &_result_ref = (arg1)->GetFindString();
16743 result = (wxString *) &_result_ref;
16744 }
16745
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 {
16750 #if wxUSE_UNICODE
16751 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16752 #else
16753 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16754 #endif
16755 }
16756 return resultobj;
16757 fail:
16758 return NULL;
16759 }
16760
16761
16762 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16763 PyObject *resultobj = NULL;
16764 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16765 wxString *result;
16766 PyObject * obj0 = 0 ;
16767 char *kwnames[] = {
16768 (char *) "self", NULL
16769 };
16770
16771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16773 if (SWIG_arg_fail(1)) SWIG_fail;
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 {
16777 wxString const &_result_ref = (arg1)->GetReplaceString();
16778 result = (wxString *) &_result_ref;
16779 }
16780
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 {
16785 #if wxUSE_UNICODE
16786 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16787 #else
16788 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16789 #endif
16790 }
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj = NULL;
16799 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16800 int result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16808 if (SWIG_arg_fail(1)) SWIG_fail;
16809 {
16810 PyThreadState* __tstate = wxPyBeginAllowThreads();
16811 result = (int)(arg1)->GetFlags();
16812
16813 wxPyEndAllowThreads(__tstate);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 {
16817 resultobj = SWIG_From_int(static_cast<int >(result));
16818 }
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj = NULL;
16827 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16828 int arg2 ;
16829 PyObject * obj0 = 0 ;
16830 PyObject * obj1 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self",(char *) "flags", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16837 if (SWIG_arg_fail(1)) SWIG_fail;
16838 {
16839 arg2 = static_cast<int >(SWIG_As_int(obj1));
16840 if (SWIG_arg_fail(2)) SWIG_fail;
16841 }
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 (arg1)->SetFlags(arg2);
16845
16846 wxPyEndAllowThreads(__tstate);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 Py_INCREF(Py_None); resultobj = Py_None;
16850 return resultobj;
16851 fail:
16852 return NULL;
16853 }
16854
16855
16856 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16857 PyObject *resultobj = NULL;
16858 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16859 wxString *arg2 = 0 ;
16860 bool temp2 = false ;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "str", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail;
16870 {
16871 arg2 = wxString_in_helper(obj1);
16872 if (arg2 == NULL) SWIG_fail;
16873 temp2 = true;
16874 }
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 (arg1)->SetFindString((wxString const &)*arg2);
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 Py_INCREF(Py_None); resultobj = Py_None;
16883 {
16884 if (temp2)
16885 delete arg2;
16886 }
16887 return resultobj;
16888 fail:
16889 {
16890 if (temp2)
16891 delete arg2;
16892 }
16893 return NULL;
16894 }
16895
16896
16897 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj = NULL;
16899 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16900 wxString *arg2 = 0 ;
16901 bool temp2 = false ;
16902 PyObject * obj0 = 0 ;
16903 PyObject * obj1 = 0 ;
16904 char *kwnames[] = {
16905 (char *) "self",(char *) "str", NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail;
16911 {
16912 arg2 = wxString_in_helper(obj1);
16913 if (arg2 == NULL) SWIG_fail;
16914 temp2 = true;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 (arg1)->SetReplaceString((wxString const &)*arg2);
16919
16920 wxPyEndAllowThreads(__tstate);
16921 if (PyErr_Occurred()) SWIG_fail;
16922 }
16923 Py_INCREF(Py_None); resultobj = Py_None;
16924 {
16925 if (temp2)
16926 delete arg2;
16927 }
16928 return resultobj;
16929 fail:
16930 {
16931 if (temp2)
16932 delete arg2;
16933 }
16934 return NULL;
16935 }
16936
16937
16938 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16939 PyObject *obj;
16940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16942 Py_INCREF(obj);
16943 return Py_BuildValue((char *)"");
16944 }
16945 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj = NULL;
16947 wxWindow *arg1 = (wxWindow *) 0 ;
16948 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16949 wxString *arg3 = 0 ;
16950 int arg4 = (int) 0 ;
16951 wxFindReplaceDialog *result;
16952 bool temp3 = false ;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 PyObject * obj2 = 0 ;
16956 PyObject * obj3 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16963 if (SWIG_arg_fail(1)) SWIG_fail;
16964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(2)) SWIG_fail;
16966 {
16967 arg3 = wxString_in_helper(obj2);
16968 if (arg3 == NULL) SWIG_fail;
16969 temp3 = true;
16970 }
16971 if (obj3) {
16972 {
16973 arg4 = static_cast<int >(SWIG_As_int(obj3));
16974 if (SWIG_arg_fail(4)) SWIG_fail;
16975 }
16976 }
16977 {
16978 if (!wxPyCheckForApp()) SWIG_fail;
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16986 {
16987 if (temp3)
16988 delete arg3;
16989 }
16990 return resultobj;
16991 fail:
16992 {
16993 if (temp3)
16994 delete arg3;
16995 }
16996 return NULL;
16997 }
16998
16999
17000 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
17001 PyObject *resultobj = NULL;
17002 wxFindReplaceDialog *result;
17003 char *kwnames[] = {
17004 NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
17008 {
17009 if (!wxPyCheckForApp()) SWIG_fail;
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj = NULL;
17025 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17026 wxWindow *arg2 = (wxWindow *) 0 ;
17027 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
17028 wxString *arg4 = 0 ;
17029 int arg5 = (int) 0 ;
17030 bool result;
17031 bool temp4 = false ;
17032 PyObject * obj0 = 0 ;
17033 PyObject * obj1 = 0 ;
17034 PyObject * obj2 = 0 ;
17035 PyObject * obj3 = 0 ;
17036 PyObject * obj4 = 0 ;
17037 char *kwnames[] = {
17038 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17039 };
17040
17041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail;
17044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17045 if (SWIG_arg_fail(2)) SWIG_fail;
17046 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17047 if (SWIG_arg_fail(3)) SWIG_fail;
17048 {
17049 arg4 = wxString_in_helper(obj3);
17050 if (arg4 == NULL) SWIG_fail;
17051 temp4 = true;
17052 }
17053 if (obj4) {
17054 {
17055 arg5 = static_cast<int >(SWIG_As_int(obj4));
17056 if (SWIG_arg_fail(5)) SWIG_fail;
17057 }
17058 }
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 {
17067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17068 }
17069 {
17070 if (temp4)
17071 delete arg4;
17072 }
17073 return resultobj;
17074 fail:
17075 {
17076 if (temp4)
17077 delete arg4;
17078 }
17079 return NULL;
17080 }
17081
17082
17083 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj = NULL;
17085 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17086 wxFindReplaceData *result;
17087 PyObject * obj0 = 0 ;
17088 char *kwnames[] = {
17089 (char *) "self", NULL
17090 };
17091
17092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
17093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail;
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = (wxFindReplaceData *)(arg1)->GetData();
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj = NULL;
17111 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
17112 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
17113 PyObject * obj0 = 0 ;
17114 PyObject * obj1 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self",(char *) "data", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
17120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail;
17122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
17123 if (SWIG_arg_fail(2)) SWIG_fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 (arg1)->SetData(arg2);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 Py_INCREF(Py_None); resultobj = Py_None;
17132 return resultobj;
17133 fail:
17134 return NULL;
17135 }
17136
17137
17138 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
17139 PyObject *obj;
17140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
17142 Py_INCREF(obj);
17143 return Py_BuildValue((char *)"");
17144 }
17145 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj = NULL;
17147 wxWindow *arg1 = (wxWindow *) 0 ;
17148 int arg2 = (int) (int)-1 ;
17149 wxString const &arg3_defvalue = wxPyEmptyString ;
17150 wxString *arg3 = (wxString *) &arg3_defvalue ;
17151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17153 wxSize const &arg5_defvalue = wxDefaultSize ;
17154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17155 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17156 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17157 wxString *arg7 = (wxString *) &arg7_defvalue ;
17158 wxMDIParentFrame *result;
17159 bool temp3 = false ;
17160 wxPoint temp4 ;
17161 wxSize temp5 ;
17162 bool temp7 = false ;
17163 PyObject * obj0 = 0 ;
17164 PyObject * obj1 = 0 ;
17165 PyObject * obj2 = 0 ;
17166 PyObject * obj3 = 0 ;
17167 PyObject * obj4 = 0 ;
17168 PyObject * obj5 = 0 ;
17169 PyObject * obj6 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail;
17177 if (obj1) {
17178 {
17179 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17180 if (SWIG_arg_fail(2)) SWIG_fail;
17181 }
17182 }
17183 if (obj2) {
17184 {
17185 arg3 = wxString_in_helper(obj2);
17186 if (arg3 == NULL) SWIG_fail;
17187 temp3 = true;
17188 }
17189 }
17190 if (obj3) {
17191 {
17192 arg4 = &temp4;
17193 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17194 }
17195 }
17196 if (obj4) {
17197 {
17198 arg5 = &temp5;
17199 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17200 }
17201 }
17202 if (obj5) {
17203 {
17204 arg6 = static_cast<long >(SWIG_As_long(obj5));
17205 if (SWIG_arg_fail(6)) SWIG_fail;
17206 }
17207 }
17208 if (obj6) {
17209 {
17210 arg7 = wxString_in_helper(obj6);
17211 if (arg7 == NULL) SWIG_fail;
17212 temp7 = true;
17213 }
17214 }
17215 {
17216 if (!wxPyCheckForApp()) SWIG_fail;
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17224 {
17225 if (temp3)
17226 delete arg3;
17227 }
17228 {
17229 if (temp7)
17230 delete arg7;
17231 }
17232 return resultobj;
17233 fail:
17234 {
17235 if (temp3)
17236 delete arg3;
17237 }
17238 {
17239 if (temp7)
17240 delete arg7;
17241 }
17242 return NULL;
17243 }
17244
17245
17246 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17247 PyObject *resultobj = NULL;
17248 wxMDIParentFrame *result;
17249 char *kwnames[] = {
17250 NULL
17251 };
17252
17253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17254 {
17255 if (!wxPyCheckForApp()) SWIG_fail;
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17263 return resultobj;
17264 fail:
17265 return NULL;
17266 }
17267
17268
17269 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17270 PyObject *resultobj = NULL;
17271 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17272 wxWindow *arg2 = (wxWindow *) 0 ;
17273 int arg3 = (int) (int)-1 ;
17274 wxString const &arg4_defvalue = wxPyEmptyString ;
17275 wxString *arg4 = (wxString *) &arg4_defvalue ;
17276 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17277 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17278 wxSize const &arg6_defvalue = wxDefaultSize ;
17279 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17280 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17281 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17282 wxString *arg8 = (wxString *) &arg8_defvalue ;
17283 bool result;
17284 bool temp4 = false ;
17285 wxPoint temp5 ;
17286 wxSize temp6 ;
17287 bool temp8 = false ;
17288 PyObject * obj0 = 0 ;
17289 PyObject * obj1 = 0 ;
17290 PyObject * obj2 = 0 ;
17291 PyObject * obj3 = 0 ;
17292 PyObject * obj4 = 0 ;
17293 PyObject * obj5 = 0 ;
17294 PyObject * obj6 = 0 ;
17295 PyObject * obj7 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail;
17303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17304 if (SWIG_arg_fail(2)) SWIG_fail;
17305 if (obj2) {
17306 {
17307 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17308 if (SWIG_arg_fail(3)) SWIG_fail;
17309 }
17310 }
17311 if (obj3) {
17312 {
17313 arg4 = wxString_in_helper(obj3);
17314 if (arg4 == NULL) SWIG_fail;
17315 temp4 = true;
17316 }
17317 }
17318 if (obj4) {
17319 {
17320 arg5 = &temp5;
17321 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17322 }
17323 }
17324 if (obj5) {
17325 {
17326 arg6 = &temp6;
17327 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17328 }
17329 }
17330 if (obj6) {
17331 {
17332 arg7 = static_cast<long >(SWIG_As_long(obj6));
17333 if (SWIG_arg_fail(7)) SWIG_fail;
17334 }
17335 }
17336 if (obj7) {
17337 {
17338 arg8 = wxString_in_helper(obj7);
17339 if (arg8 == NULL) SWIG_fail;
17340 temp8 = true;
17341 }
17342 }
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 {
17351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17352 }
17353 {
17354 if (temp4)
17355 delete arg4;
17356 }
17357 {
17358 if (temp8)
17359 delete arg8;
17360 }
17361 return resultobj;
17362 fail:
17363 {
17364 if (temp4)
17365 delete arg4;
17366 }
17367 {
17368 if (temp8)
17369 delete arg8;
17370 }
17371 return NULL;
17372 }
17373
17374
17375 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj = NULL;
17377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17385 if (SWIG_arg_fail(1)) SWIG_fail;
17386 {
17387 PyThreadState* __tstate = wxPyBeginAllowThreads();
17388 (arg1)->ActivateNext();
17389
17390 wxPyEndAllowThreads(__tstate);
17391 if (PyErr_Occurred()) SWIG_fail;
17392 }
17393 Py_INCREF(Py_None); resultobj = Py_None;
17394 return resultobj;
17395 fail:
17396 return NULL;
17397 }
17398
17399
17400 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj = NULL;
17402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail;
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->ActivatePrevious();
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422 }
17423
17424
17425 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj = NULL;
17427 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 (arg1)->ArrangeIcons();
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 Py_INCREF(Py_None); resultobj = Py_None;
17444 return resultobj;
17445 fail:
17446 return NULL;
17447 }
17448
17449
17450 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj = NULL;
17452 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17453 PyObject * obj0 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "self", NULL
17456 };
17457
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail;
17461 {
17462 PyThreadState* __tstate = wxPyBeginAllowThreads();
17463 (arg1)->Cascade();
17464
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 Py_INCREF(Py_None); resultobj = Py_None;
17469 return resultobj;
17470 fail:
17471 return NULL;
17472 }
17473
17474
17475 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17476 PyObject *resultobj = NULL;
17477 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17478 wxMDIChildFrame *result;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17486 if (SWIG_arg_fail(1)) SWIG_fail;
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17490
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 {
17495 resultobj = wxPyMake_wxObject(result, 0);
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj = NULL;
17505 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17506 wxMDIClientWindow *result;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17514 if (SWIG_arg_fail(1)) SWIG_fail;
17515 {
17516 PyThreadState* __tstate = wxPyBeginAllowThreads();
17517 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17518
17519 wxPyEndAllowThreads(__tstate);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 }
17522 {
17523 resultobj = wxPyMake_wxObject(result, 0);
17524 }
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj = NULL;
17533 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17534 wxWindow *result;
17535 PyObject * obj0 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "self", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17542 if (SWIG_arg_fail(1)) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (wxWindow *)(arg1)->GetToolBar();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 {
17551 resultobj = wxPyMake_wxObject(result, 0);
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj = NULL;
17561 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17562 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "self",(char *) "orient", NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17571 if (SWIG_arg_fail(1)) SWIG_fail;
17572 if (obj1) {
17573 {
17574 arg2 = static_cast<wxOrientation >(SWIG_As_int(obj1));
17575 if (SWIG_arg_fail(2)) SWIG_fail;
17576 }
17577 }
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 (arg1)->Tile(arg2);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 Py_INCREF(Py_None); resultobj = Py_None;
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17593 PyObject *obj;
17594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17595 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17596 Py_INCREF(obj);
17597 return Py_BuildValue((char *)"");
17598 }
17599 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj = NULL;
17601 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17602 int arg2 = (int) (int)-1 ;
17603 wxString const &arg3_defvalue = wxPyEmptyString ;
17604 wxString *arg3 = (wxString *) &arg3_defvalue ;
17605 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17606 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17607 wxSize const &arg5_defvalue = wxDefaultSize ;
17608 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17609 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17610 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17611 wxString *arg7 = (wxString *) &arg7_defvalue ;
17612 wxMDIChildFrame *result;
17613 bool temp3 = false ;
17614 wxPoint temp4 ;
17615 wxSize temp5 ;
17616 bool temp7 = false ;
17617 PyObject * obj0 = 0 ;
17618 PyObject * obj1 = 0 ;
17619 PyObject * obj2 = 0 ;
17620 PyObject * obj3 = 0 ;
17621 PyObject * obj4 = 0 ;
17622 PyObject * obj5 = 0 ;
17623 PyObject * obj6 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
17631 if (obj1) {
17632 {
17633 arg2 = static_cast<int const >(SWIG_As_int(obj1));
17634 if (SWIG_arg_fail(2)) SWIG_fail;
17635 }
17636 }
17637 if (obj2) {
17638 {
17639 arg3 = wxString_in_helper(obj2);
17640 if (arg3 == NULL) SWIG_fail;
17641 temp3 = true;
17642 }
17643 }
17644 if (obj3) {
17645 {
17646 arg4 = &temp4;
17647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17648 }
17649 }
17650 if (obj4) {
17651 {
17652 arg5 = &temp5;
17653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17654 }
17655 }
17656 if (obj5) {
17657 {
17658 arg6 = static_cast<long >(SWIG_As_long(obj5));
17659 if (SWIG_arg_fail(6)) SWIG_fail;
17660 }
17661 }
17662 if (obj6) {
17663 {
17664 arg7 = wxString_in_helper(obj6);
17665 if (arg7 == NULL) SWIG_fail;
17666 temp7 = true;
17667 }
17668 }
17669 {
17670 if (!wxPyCheckForApp()) SWIG_fail;
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17678 {
17679 if (temp3)
17680 delete arg3;
17681 }
17682 {
17683 if (temp7)
17684 delete arg7;
17685 }
17686 return resultobj;
17687 fail:
17688 {
17689 if (temp3)
17690 delete arg3;
17691 }
17692 {
17693 if (temp7)
17694 delete arg7;
17695 }
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj = NULL;
17702 wxMDIChildFrame *result;
17703 char *kwnames[] = {
17704 NULL
17705 };
17706
17707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17708 {
17709 if (!wxPyCheckForApp()) SWIG_fail;
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17712
17713 wxPyEndAllowThreads(__tstate);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
17716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17717 return resultobj;
17718 fail:
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj = NULL;
17725 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17726 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17727 int arg3 = (int) (int)-1 ;
17728 wxString const &arg4_defvalue = wxPyEmptyString ;
17729 wxString *arg4 = (wxString *) &arg4_defvalue ;
17730 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17731 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17732 wxSize const &arg6_defvalue = wxDefaultSize ;
17733 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17734 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17735 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17736 wxString *arg8 = (wxString *) &arg8_defvalue ;
17737 bool result;
17738 bool temp4 = false ;
17739 wxPoint temp5 ;
17740 wxSize temp6 ;
17741 bool temp8 = false ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 PyObject * obj2 = 0 ;
17745 PyObject * obj3 = 0 ;
17746 PyObject * obj4 = 0 ;
17747 PyObject * obj5 = 0 ;
17748 PyObject * obj6 = 0 ;
17749 PyObject * obj7 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail;
17757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17758 if (SWIG_arg_fail(2)) SWIG_fail;
17759 if (obj2) {
17760 {
17761 arg3 = static_cast<int const >(SWIG_As_int(obj2));
17762 if (SWIG_arg_fail(3)) SWIG_fail;
17763 }
17764 }
17765 if (obj3) {
17766 {
17767 arg4 = wxString_in_helper(obj3);
17768 if (arg4 == NULL) SWIG_fail;
17769 temp4 = true;
17770 }
17771 }
17772 if (obj4) {
17773 {
17774 arg5 = &temp5;
17775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17776 }
17777 }
17778 if (obj5) {
17779 {
17780 arg6 = &temp6;
17781 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17782 }
17783 }
17784 if (obj6) {
17785 {
17786 arg7 = static_cast<long >(SWIG_As_long(obj6));
17787 if (SWIG_arg_fail(7)) SWIG_fail;
17788 }
17789 }
17790 if (obj7) {
17791 {
17792 arg8 = wxString_in_helper(obj7);
17793 if (arg8 == NULL) SWIG_fail;
17794 temp8 = true;
17795 }
17796 }
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17800
17801 wxPyEndAllowThreads(__tstate);
17802 if (PyErr_Occurred()) SWIG_fail;
17803 }
17804 {
17805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17806 }
17807 {
17808 if (temp4)
17809 delete arg4;
17810 }
17811 {
17812 if (temp8)
17813 delete arg8;
17814 }
17815 return resultobj;
17816 fail:
17817 {
17818 if (temp4)
17819 delete arg4;
17820 }
17821 {
17822 if (temp8)
17823 delete arg8;
17824 }
17825 return NULL;
17826 }
17827
17828
17829 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj = NULL;
17831 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17832 PyObject * obj0 = 0 ;
17833 char *kwnames[] = {
17834 (char *) "self", NULL
17835 };
17836
17837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17839 if (SWIG_arg_fail(1)) SWIG_fail;
17840 {
17841 PyThreadState* __tstate = wxPyBeginAllowThreads();
17842 (arg1)->Activate();
17843
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 Py_INCREF(Py_None); resultobj = Py_None;
17848 return resultobj;
17849 fail:
17850 return NULL;
17851 }
17852
17853
17854 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17855 PyObject *resultobj = NULL;
17856 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17857 bool arg2 = (bool) true ;
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj1 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "maximize", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17866 if (SWIG_arg_fail(1)) SWIG_fail;
17867 if (obj1) {
17868 {
17869 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
17870 if (SWIG_arg_fail(2)) SWIG_fail;
17871 }
17872 }
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 (arg1)->Maximize(arg2);
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 Py_INCREF(Py_None); resultobj = Py_None;
17881 return resultobj;
17882 fail:
17883 return NULL;
17884 }
17885
17886
17887 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17888 PyObject *resultobj = NULL;
17889 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 (arg1)->Restore();
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 Py_INCREF(Py_None); resultobj = Py_None;
17906 return resultobj;
17907 fail:
17908 return NULL;
17909 }
17910
17911
17912 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17913 PyObject *obj;
17914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17916 Py_INCREF(obj);
17917 return Py_BuildValue((char *)"");
17918 }
17919 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj = NULL;
17921 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17922 long arg2 = (long) 0 ;
17923 wxMDIClientWindow *result;
17924 PyObject * obj0 = 0 ;
17925 PyObject * obj1 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "parent",(char *) "style", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17932 if (SWIG_arg_fail(1)) SWIG_fail;
17933 if (obj1) {
17934 {
17935 arg2 = static_cast<long >(SWIG_As_long(obj1));
17936 if (SWIG_arg_fail(2)) SWIG_fail;
17937 }
17938 }
17939 {
17940 if (!wxPyCheckForApp()) SWIG_fail;
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17948 return resultobj;
17949 fail:
17950 return NULL;
17951 }
17952
17953
17954 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17955 PyObject *resultobj = NULL;
17956 wxMDIClientWindow *result;
17957 char *kwnames[] = {
17958 NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17962 {
17963 if (!wxPyCheckForApp()) SWIG_fail;
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj = NULL;
17979 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17980 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17981 long arg3 = (long) 0 ;
17982 bool result;
17983 PyObject * obj0 = 0 ;
17984 PyObject * obj1 = 0 ;
17985 PyObject * obj2 = 0 ;
17986 char *kwnames[] = {
17987 (char *) "self",(char *) "parent",(char *) "style", NULL
17988 };
17989
17990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17992 if (SWIG_arg_fail(1)) SWIG_fail;
17993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17994 if (SWIG_arg_fail(2)) SWIG_fail;
17995 if (obj2) {
17996 {
17997 arg3 = static_cast<long >(SWIG_As_long(obj2));
17998 if (SWIG_arg_fail(3)) SWIG_fail;
17999 }
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 result = (bool)(arg1)->Create(arg2,arg3);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 {
18009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18010 }
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
18018 PyObject *obj;
18019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18020 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
18021 Py_INCREF(obj);
18022 return Py_BuildValue((char *)"");
18023 }
18024 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18025 PyObject *resultobj = NULL;
18026 wxWindow *arg1 = (wxWindow *) 0 ;
18027 int arg2 = (int) (int)-1 ;
18028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18030 wxSize const &arg4_defvalue = wxDefaultSize ;
18031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18032 long arg5 = (long) 0 ;
18033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18034 wxString *arg6 = (wxString *) &arg6_defvalue ;
18035 wxPyWindow *result;
18036 wxPoint temp3 ;
18037 wxSize temp4 ;
18038 bool temp6 = false ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 PyObject * obj2 = 0 ;
18042 PyObject * obj3 = 0 ;
18043 PyObject * obj4 = 0 ;
18044 PyObject * obj5 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
18052 if (obj1) {
18053 {
18054 arg2 = static_cast<int const >(SWIG_As_int(obj1));
18055 if (SWIG_arg_fail(2)) SWIG_fail;
18056 }
18057 }
18058 if (obj2) {
18059 {
18060 arg3 = &temp3;
18061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18062 }
18063 }
18064 if (obj3) {
18065 {
18066 arg4 = &temp4;
18067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18068 }
18069 }
18070 if (obj4) {
18071 {
18072 arg5 = static_cast<long >(SWIG_As_long(obj4));
18073 if (SWIG_arg_fail(5)) SWIG_fail;
18074 }
18075 }
18076 if (obj5) {
18077 {
18078 arg6 = wxString_in_helper(obj5);
18079 if (arg6 == NULL) SWIG_fail;
18080 temp6 = true;
18081 }
18082 }
18083 {
18084 if (!wxPyCheckForApp()) SWIG_fail;
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18087
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18092 {
18093 if (temp6)
18094 delete arg6;
18095 }
18096 return resultobj;
18097 fail:
18098 {
18099 if (temp6)
18100 delete arg6;
18101 }
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj = NULL;
18108 wxPyWindow *result;
18109 char *kwnames[] = {
18110 NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
18114 {
18115 if (!wxPyCheckForApp()) SWIG_fail;
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = (wxPyWindow *)new wxPyWindow();
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
18123 return resultobj;
18124 fail:
18125 return NULL;
18126 }
18127
18128
18129 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18130 PyObject *resultobj = NULL;
18131 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18132 PyObject *arg2 = (PyObject *) 0 ;
18133 PyObject *arg3 = (PyObject *) 0 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj1 = 0 ;
18136 PyObject * obj2 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self",(char *) "self",(char *) "_class", NULL
18139 };
18140
18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18143 if (SWIG_arg_fail(1)) SWIG_fail;
18144 arg2 = obj1;
18145 arg3 = obj2;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 (arg1)->_setCallbackInfo(arg2,arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj = NULL;
18162 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18163 wxSize *arg2 = 0 ;
18164 wxSize temp2 ;
18165 PyObject * obj0 = 0 ;
18166 PyObject * obj1 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self",(char *) "size", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18173 if (SWIG_arg_fail(1)) SWIG_fail;
18174 {
18175 arg2 = &temp2;
18176 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18177 }
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 (arg1)->SetBestSize((wxSize const &)*arg2);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 Py_INCREF(Py_None); resultobj = Py_None;
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj = NULL;
18194 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18195 wxDC *arg2 = (wxDC *) 0 ;
18196 bool result;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "dc", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18205 if (SWIG_arg_fail(1)) SWIG_fail;
18206 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18207 if (SWIG_arg_fail(2)) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (bool)(arg1)->DoEraseBackground(arg2);
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 {
18216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18217 }
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj = NULL;
18226 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18227 int arg2 ;
18228 int arg3 ;
18229 int arg4 ;
18230 int arg5 ;
18231 PyObject * obj0 = 0 ;
18232 PyObject * obj1 = 0 ;
18233 PyObject * obj2 = 0 ;
18234 PyObject * obj3 = 0 ;
18235 PyObject * obj4 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
18243 {
18244 arg2 = static_cast<int >(SWIG_As_int(obj1));
18245 if (SWIG_arg_fail(2)) SWIG_fail;
18246 }
18247 {
18248 arg3 = static_cast<int >(SWIG_As_int(obj2));
18249 if (SWIG_arg_fail(3)) SWIG_fail;
18250 }
18251 {
18252 arg4 = static_cast<int >(SWIG_As_int(obj3));
18253 if (SWIG_arg_fail(4)) SWIG_fail;
18254 }
18255 {
18256 arg5 = static_cast<int >(SWIG_As_int(obj4));
18257 if (SWIG_arg_fail(5)) SWIG_fail;
18258 }
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj = NULL;
18275 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18276 int arg2 ;
18277 int arg3 ;
18278 int arg4 ;
18279 int arg5 ;
18280 int arg6 = (int) wxSIZE_AUTO ;
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 PyObject * obj2 = 0 ;
18284 PyObject * obj3 = 0 ;
18285 PyObject * obj4 = 0 ;
18286 PyObject * obj5 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
18294 {
18295 arg2 = static_cast<int >(SWIG_As_int(obj1));
18296 if (SWIG_arg_fail(2)) SWIG_fail;
18297 }
18298 {
18299 arg3 = static_cast<int >(SWIG_As_int(obj2));
18300 if (SWIG_arg_fail(3)) SWIG_fail;
18301 }
18302 {
18303 arg4 = static_cast<int >(SWIG_As_int(obj3));
18304 if (SWIG_arg_fail(4)) SWIG_fail;
18305 }
18306 {
18307 arg5 = static_cast<int >(SWIG_As_int(obj4));
18308 if (SWIG_arg_fail(5)) SWIG_fail;
18309 }
18310 if (obj5) {
18311 {
18312 arg6 = static_cast<int >(SWIG_As_int(obj5));
18313 if (SWIG_arg_fail(6)) SWIG_fail;
18314 }
18315 }
18316 {
18317 PyThreadState* __tstate = wxPyBeginAllowThreads();
18318 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18319
18320 wxPyEndAllowThreads(__tstate);
18321 if (PyErr_Occurred()) SWIG_fail;
18322 }
18323 Py_INCREF(Py_None); resultobj = Py_None;
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj = NULL;
18332 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18333 int arg2 ;
18334 int arg3 ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 PyObject * obj2 = 0 ;
18338 char *kwnames[] = {
18339 (char *) "self",(char *) "width",(char *) "height", NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
18347 if (SWIG_arg_fail(2)) SWIG_fail;
18348 }
18349 {
18350 arg3 = static_cast<int >(SWIG_As_int(obj2));
18351 if (SWIG_arg_fail(3)) SWIG_fail;
18352 }
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->base_DoSetClientSize(arg2,arg3);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj = NULL;
18369 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18370 int arg2 ;
18371 int arg3 ;
18372 PyObject * obj0 = 0 ;
18373 PyObject * obj1 = 0 ;
18374 PyObject * obj2 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self",(char *) "x",(char *) "y", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
18384 if (SWIG_arg_fail(2)) SWIG_fail;
18385 }
18386 {
18387 arg3 = static_cast<int >(SWIG_As_int(obj2));
18388 if (SWIG_arg_fail(3)) SWIG_fail;
18389 }
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 Py_INCREF(Py_None); resultobj = Py_None;
18398 return resultobj;
18399 fail:
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj = NULL;
18406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18407 int *arg2 = (int *) 0 ;
18408 int *arg3 = (int *) 0 ;
18409 int temp2 ;
18410 int res2 = 0 ;
18411 int temp3 ;
18412 int res3 = 0 ;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
18418 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18419 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18422 if (SWIG_arg_fail(1)) SWIG_fail;
18423 {
18424 PyThreadState* __tstate = wxPyBeginAllowThreads();
18425 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18426
18427 wxPyEndAllowThreads(__tstate);
18428 if (PyErr_Occurred()) SWIG_fail;
18429 }
18430 Py_INCREF(Py_None); resultobj = Py_None;
18431 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18432 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18433 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18434 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj = NULL;
18443 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18444 int *arg2 = (int *) 0 ;
18445 int *arg3 = (int *) 0 ;
18446 int temp2 ;
18447 int res2 = 0 ;
18448 int temp3 ;
18449 int res3 = 0 ;
18450 PyObject * obj0 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self", NULL
18453 };
18454
18455 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18456 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail;
18460 {
18461 PyThreadState* __tstate = wxPyBeginAllowThreads();
18462 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18463
18464 wxPyEndAllowThreads(__tstate);
18465 if (PyErr_Occurred()) SWIG_fail;
18466 }
18467 Py_INCREF(Py_None); resultobj = Py_None;
18468 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18469 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18470 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18471 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj = NULL;
18480 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18481 int *arg2 = (int *) 0 ;
18482 int *arg3 = (int *) 0 ;
18483 int temp2 ;
18484 int res2 = 0 ;
18485 int temp3 ;
18486 int res3 = 0 ;
18487 PyObject * obj0 = 0 ;
18488 char *kwnames[] = {
18489 (char *) "self", NULL
18490 };
18491
18492 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18493 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",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 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18500
18501 wxPyEndAllowThreads(__tstate);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 Py_INCREF(Py_None); resultobj = Py_None;
18505 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18506 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18507 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18508 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18509 return resultobj;
18510 fail:
18511 return NULL;
18512 }
18513
18514
18515 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18516 PyObject *resultobj = NULL;
18517 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18518 wxSize result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
18527 {
18528 PyThreadState* __tstate = wxPyBeginAllowThreads();
18529 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18530
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 {
18535 wxSize * resultptr;
18536 resultptr = new wxSize(static_cast<wxSize & >(result));
18537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18538 }
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj = NULL;
18547 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18548 wxSize result;
18549 PyObject * obj0 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18556 if (SWIG_arg_fail(1)) SWIG_fail;
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
18565 wxSize * resultptr;
18566 resultptr = new wxSize(static_cast<wxSize & >(result));
18567 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18568 }
18569 return resultobj;
18570 fail:
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj = NULL;
18577 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18578 PyObject * obj0 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail;
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 (arg1)->base_InitDialog();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 Py_INCREF(Py_None); resultobj = Py_None;
18594 return resultobj;
18595 fail:
18596 return NULL;
18597 }
18598
18599
18600 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj = NULL;
18602 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18603 bool result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "self", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = (bool)(arg1)->base_TransferDataToWindow();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 {
18620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18621 }
18622 return resultobj;
18623 fail:
18624 return NULL;
18625 }
18626
18627
18628 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj = NULL;
18630 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18631 bool result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18639 if (SWIG_arg_fail(1)) SWIG_fail;
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (bool)(arg1)->base_TransferDataFromWindow();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18649 }
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj = NULL;
18658 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18659 bool result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) 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 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (bool)(arg1)->base_Validate();
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 {
18676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18677 }
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj = NULL;
18686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18687 bool result;
18688 PyObject * obj0 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18695 if (SWIG_arg_fail(1)) SWIG_fail;
18696 {
18697 PyThreadState* __tstate = wxPyBeginAllowThreads();
18698 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18699
18700 wxPyEndAllowThreads(__tstate);
18701 if (PyErr_Occurred()) SWIG_fail;
18702 }
18703 {
18704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18705 }
18706 return resultobj;
18707 fail:
18708 return NULL;
18709 }
18710
18711
18712 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18713 PyObject *resultobj = NULL;
18714 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18715 bool result;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18723 if (SWIG_arg_fail(1)) SWIG_fail;
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 {
18732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18733 }
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj = NULL;
18742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18743 wxSize result;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 {
18760 wxSize * resultptr;
18761 resultptr = new wxSize(static_cast<wxSize & >(result));
18762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18763 }
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj = NULL;
18772 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18773 wxWindow *arg2 = (wxWindow *) 0 ;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "child", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18782 if (SWIG_arg_fail(1)) SWIG_fail;
18783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18784 if (SWIG_arg_fail(2)) SWIG_fail;
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 (arg1)->base_AddChild(arg2);
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 Py_INCREF(Py_None); resultobj = Py_None;
18793 return resultobj;
18794 fail:
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj = NULL;
18801 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18802 wxWindow *arg2 = (wxWindow *) 0 ;
18803 PyObject * obj0 = 0 ;
18804 PyObject * obj1 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self",(char *) "child", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail;
18812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(2)) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 (arg1)->base_RemoveChild(arg2);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj = NULL;
18830 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18831 bool result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 {
18848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18849 }
18850 return resultobj;
18851 fail:
18852 return NULL;
18853 }
18854
18855
18856 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj = NULL;
18858 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18859 wxVisualAttributes result;
18860 PyObject * obj0 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18867 if (SWIG_arg_fail(1)) SWIG_fail;
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 result = (arg1)->base_GetDefaultAttributes();
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 {
18876 wxVisualAttributes * resultptr;
18877 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
18878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18879 }
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj = NULL;
18888 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18896 if (SWIG_arg_fail(1)) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 (arg1)->base_OnInternalIdle();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 Py_INCREF(Py_None); resultobj = Py_None;
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18912 PyObject *obj;
18913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18914 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18915 Py_INCREF(obj);
18916 return Py_BuildValue((char *)"");
18917 }
18918 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj = NULL;
18920 wxWindow *arg1 = (wxWindow *) 0 ;
18921 int arg2 = (int) (int)-1 ;
18922 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18923 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18924 wxSize const &arg4_defvalue = wxDefaultSize ;
18925 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18926 long arg5 = (long) 0 ;
18927 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18928 wxString *arg6 = (wxString *) &arg6_defvalue ;
18929 wxPyPanel *result;
18930 wxPoint temp3 ;
18931 wxSize temp4 ;
18932 bool temp6 = false ;
18933 PyObject * obj0 = 0 ;
18934 PyObject * obj1 = 0 ;
18935 PyObject * obj2 = 0 ;
18936 PyObject * obj3 = 0 ;
18937 PyObject * obj4 = 0 ;
18938 PyObject * obj5 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
18946 if (obj1) {
18947 {
18948 arg2 = static_cast<int const >(SWIG_As_int(obj1));
18949 if (SWIG_arg_fail(2)) SWIG_fail;
18950 }
18951 }
18952 if (obj2) {
18953 {
18954 arg3 = &temp3;
18955 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18956 }
18957 }
18958 if (obj3) {
18959 {
18960 arg4 = &temp4;
18961 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18962 }
18963 }
18964 if (obj4) {
18965 {
18966 arg5 = static_cast<long >(SWIG_As_long(obj4));
18967 if (SWIG_arg_fail(5)) SWIG_fail;
18968 }
18969 }
18970 if (obj5) {
18971 {
18972 arg6 = wxString_in_helper(obj5);
18973 if (arg6 == NULL) SWIG_fail;
18974 temp6 = true;
18975 }
18976 }
18977 {
18978 if (!wxPyCheckForApp()) SWIG_fail;
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18986 {
18987 if (temp6)
18988 delete arg6;
18989 }
18990 return resultobj;
18991 fail:
18992 {
18993 if (temp6)
18994 delete arg6;
18995 }
18996 return NULL;
18997 }
18998
18999
19000 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
19001 PyObject *resultobj = NULL;
19002 wxPyPanel *result;
19003 char *kwnames[] = {
19004 NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
19008 {
19009 if (!wxPyCheckForApp()) SWIG_fail;
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (wxPyPanel *)new wxPyPanel();
19012
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
19017 return resultobj;
19018 fail:
19019 return NULL;
19020 }
19021
19022
19023 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19024 PyObject *resultobj = NULL;
19025 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19026 PyObject *arg2 = (PyObject *) 0 ;
19027 PyObject *arg3 = (PyObject *) 0 ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 PyObject * obj2 = 0 ;
19031 char *kwnames[] = {
19032 (char *) "self",(char *) "self",(char *) "_class", NULL
19033 };
19034
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19037 if (SWIG_arg_fail(1)) SWIG_fail;
19038 arg2 = obj1;
19039 arg3 = obj2;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 (arg1)->_setCallbackInfo(arg2,arg3);
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 Py_INCREF(Py_None); resultobj = Py_None;
19048 return resultobj;
19049 fail:
19050 return NULL;
19051 }
19052
19053
19054 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj = NULL;
19056 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19057 wxSize *arg2 = 0 ;
19058 wxSize temp2 ;
19059 PyObject * obj0 = 0 ;
19060 PyObject * obj1 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self",(char *) "size", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail;
19068 {
19069 arg2 = &temp2;
19070 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 (arg1)->SetBestSize((wxSize const &)*arg2);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 Py_INCREF(Py_None); resultobj = Py_None;
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj = NULL;
19088 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19089 wxDC *arg2 = (wxDC *) 0 ;
19090 bool result;
19091 PyObject * obj0 = 0 ;
19092 PyObject * obj1 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "dc", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail;
19100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19101 if (SWIG_arg_fail(2)) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)(arg1)->DoEraseBackground(arg2);
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 {
19110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19111 }
19112 return resultobj;
19113 fail:
19114 return NULL;
19115 }
19116
19117
19118 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj = NULL;
19120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19121 int arg2 ;
19122 int arg3 ;
19123 int arg4 ;
19124 int arg5 ;
19125 PyObject * obj0 = 0 ;
19126 PyObject * obj1 = 0 ;
19127 PyObject * obj2 = 0 ;
19128 PyObject * obj3 = 0 ;
19129 PyObject * obj4 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19136 if (SWIG_arg_fail(1)) SWIG_fail;
19137 {
19138 arg2 = static_cast<int >(SWIG_As_int(obj1));
19139 if (SWIG_arg_fail(2)) SWIG_fail;
19140 }
19141 {
19142 arg3 = static_cast<int >(SWIG_As_int(obj2));
19143 if (SWIG_arg_fail(3)) SWIG_fail;
19144 }
19145 {
19146 arg4 = static_cast<int >(SWIG_As_int(obj3));
19147 if (SWIG_arg_fail(4)) SWIG_fail;
19148 }
19149 {
19150 arg5 = static_cast<int >(SWIG_As_int(obj4));
19151 if (SWIG_arg_fail(5)) SWIG_fail;
19152 }
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 Py_INCREF(Py_None); resultobj = Py_None;
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj = NULL;
19169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19170 int arg2 ;
19171 int arg3 ;
19172 int arg4 ;
19173 int arg5 ;
19174 int arg6 = (int) wxSIZE_AUTO ;
19175 PyObject * obj0 = 0 ;
19176 PyObject * obj1 = 0 ;
19177 PyObject * obj2 = 0 ;
19178 PyObject * obj3 = 0 ;
19179 PyObject * obj4 = 0 ;
19180 PyObject * obj5 = 0 ;
19181 char *kwnames[] = {
19182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19183 };
19184
19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail;
19188 {
19189 arg2 = static_cast<int >(SWIG_As_int(obj1));
19190 if (SWIG_arg_fail(2)) SWIG_fail;
19191 }
19192 {
19193 arg3 = static_cast<int >(SWIG_As_int(obj2));
19194 if (SWIG_arg_fail(3)) SWIG_fail;
19195 }
19196 {
19197 arg4 = static_cast<int >(SWIG_As_int(obj3));
19198 if (SWIG_arg_fail(4)) SWIG_fail;
19199 }
19200 {
19201 arg5 = static_cast<int >(SWIG_As_int(obj4));
19202 if (SWIG_arg_fail(5)) SWIG_fail;
19203 }
19204 if (obj5) {
19205 {
19206 arg6 = static_cast<int >(SWIG_As_int(obj5));
19207 if (SWIG_arg_fail(6)) SWIG_fail;
19208 }
19209 }
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 Py_INCREF(Py_None); resultobj = Py_None;
19218 return resultobj;
19219 fail:
19220 return NULL;
19221 }
19222
19223
19224 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19225 PyObject *resultobj = NULL;
19226 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19227 int arg2 ;
19228 int arg3 ;
19229 PyObject * obj0 = 0 ;
19230 PyObject * obj1 = 0 ;
19231 PyObject * obj2 = 0 ;
19232 char *kwnames[] = {
19233 (char *) "self",(char *) "width",(char *) "height", NULL
19234 };
19235
19236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
19241 if (SWIG_arg_fail(2)) SWIG_fail;
19242 }
19243 {
19244 arg3 = static_cast<int >(SWIG_As_int(obj2));
19245 if (SWIG_arg_fail(3)) SWIG_fail;
19246 }
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->base_DoSetClientSize(arg2,arg3);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258 }
19259
19260
19261 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj = NULL;
19263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19264 int arg2 ;
19265 int arg3 ;
19266 PyObject * obj0 = 0 ;
19267 PyObject * obj1 = 0 ;
19268 PyObject * obj2 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self",(char *) "x",(char *) "y", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
19278 if (SWIG_arg_fail(2)) SWIG_fail;
19279 }
19280 {
19281 arg3 = static_cast<int >(SWIG_As_int(obj2));
19282 if (SWIG_arg_fail(3)) SWIG_fail;
19283 }
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19287
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 Py_INCREF(Py_None); resultobj = Py_None;
19292 return resultobj;
19293 fail:
19294 return NULL;
19295 }
19296
19297
19298 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj = NULL;
19300 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19301 int *arg2 = (int *) 0 ;
19302 int *arg3 = (int *) 0 ;
19303 int temp2 ;
19304 int res2 = 0 ;
19305 int temp3 ;
19306 int res3 = 0 ;
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
19312 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19313 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 Py_INCREF(Py_None); resultobj = Py_None;
19325 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19326 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19327 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19328 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19329 return resultobj;
19330 fail:
19331 return NULL;
19332 }
19333
19334
19335 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj = NULL;
19337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19338 int *arg2 = (int *) 0 ;
19339 int *arg3 = (int *) 0 ;
19340 int temp2 ;
19341 int res2 = 0 ;
19342 int temp3 ;
19343 int res3 = 0 ;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
19349 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19350 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail;
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 Py_INCREF(Py_None); resultobj = Py_None;
19362 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19366 return resultobj;
19367 fail:
19368 return NULL;
19369 }
19370
19371
19372 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19373 PyObject *resultobj = NULL;
19374 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19375 int *arg2 = (int *) 0 ;
19376 int *arg3 = (int *) 0 ;
19377 int temp2 ;
19378 int res2 = 0 ;
19379 int temp3 ;
19380 int res3 = 0 ;
19381 PyObject * obj0 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self", NULL
19384 };
19385
19386 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19387 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",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 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 Py_INCREF(Py_None); resultobj = Py_None;
19399 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19400 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19401 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19402 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19403 return resultobj;
19404 fail:
19405 return NULL;
19406 }
19407
19408
19409 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19410 PyObject *resultobj = NULL;
19411 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19412 wxSize result;
19413 PyObject * obj0 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19420 if (SWIG_arg_fail(1)) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 {
19429 wxSize * resultptr;
19430 resultptr = new wxSize(static_cast<wxSize & >(result));
19431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19432 }
19433 return resultobj;
19434 fail:
19435 return NULL;
19436 }
19437
19438
19439 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj = NULL;
19441 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19442 wxSize result;
19443 PyObject * obj0 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail;
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
19459 wxSize * resultptr;
19460 resultptr = new wxSize(static_cast<wxSize & >(result));
19461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19462 }
19463 return resultobj;
19464 fail:
19465 return NULL;
19466 }
19467
19468
19469 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj = NULL;
19471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19479 if (SWIG_arg_fail(1)) SWIG_fail;
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
19482 (arg1)->base_InitDialog();
19483
19484 wxPyEndAllowThreads(__tstate);
19485 if (PyErr_Occurred()) SWIG_fail;
19486 }
19487 Py_INCREF(Py_None); resultobj = Py_None;
19488 return resultobj;
19489 fail:
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj = NULL;
19496 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19497 bool result;
19498 PyObject * obj0 = 0 ;
19499 char *kwnames[] = {
19500 (char *) "self", NULL
19501 };
19502
19503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 result = (bool)(arg1)->base_TransferDataToWindow();
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 {
19514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19515 }
19516 return resultobj;
19517 fail:
19518 return NULL;
19519 }
19520
19521
19522 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19523 PyObject *resultobj = NULL;
19524 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19525 bool result;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19533 if (SWIG_arg_fail(1)) SWIG_fail;
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = (bool)(arg1)->base_TransferDataFromWindow();
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 {
19542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19543 }
19544 return resultobj;
19545 fail:
19546 return NULL;
19547 }
19548
19549
19550 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj = NULL;
19552 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19553 bool result;
19554 PyObject * obj0 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) 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 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (bool)(arg1)->base_Validate();
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 {
19570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19571 }
19572 return resultobj;
19573 fail:
19574 return NULL;
19575 }
19576
19577
19578 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj = NULL;
19580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19581 bool result;
19582 PyObject * obj0 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19589 if (SWIG_arg_fail(1)) SWIG_fail;
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 {
19598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19599 }
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj = NULL;
19608 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19609 bool result;
19610 PyObject * obj0 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19617 if (SWIG_arg_fail(1)) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 {
19626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19627 }
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj = NULL;
19636 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19637 wxSize result;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
19654 wxSize * resultptr;
19655 resultptr = new wxSize(static_cast<wxSize & >(result));
19656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19657 }
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj = NULL;
19666 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19667 wxWindow *arg2 = (wxWindow *) 0 ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "child", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail;
19677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19678 if (SWIG_arg_fail(2)) SWIG_fail;
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 (arg1)->base_AddChild(arg2);
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 Py_INCREF(Py_None); resultobj = Py_None;
19687 return resultobj;
19688 fail:
19689 return NULL;
19690 }
19691
19692
19693 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19694 PyObject *resultobj = NULL;
19695 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19696 wxWindow *arg2 = (wxWindow *) 0 ;
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "self",(char *) "child", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19705 if (SWIG_arg_fail(1)) SWIG_fail;
19706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19707 if (SWIG_arg_fail(2)) SWIG_fail;
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 (arg1)->base_RemoveChild(arg2);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 Py_INCREF(Py_None); resultobj = Py_None;
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj = NULL;
19724 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19725 bool result;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19733 if (SWIG_arg_fail(1)) SWIG_fail;
19734 {
19735 PyThreadState* __tstate = wxPyBeginAllowThreads();
19736 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19737
19738 wxPyEndAllowThreads(__tstate);
19739 if (PyErr_Occurred()) SWIG_fail;
19740 }
19741 {
19742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19743 }
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj = NULL;
19752 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19753 wxVisualAttributes result;
19754 PyObject * obj0 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19761 if (SWIG_arg_fail(1)) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (arg1)->base_GetDefaultAttributes();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 {
19770 wxVisualAttributes * resultptr;
19771 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
19772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19773 }
19774 return resultobj;
19775 fail:
19776 return NULL;
19777 }
19778
19779
19780 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19781 PyObject *resultobj = NULL;
19782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19790 if (SWIG_arg_fail(1)) SWIG_fail;
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->base_OnInternalIdle();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
19798 Py_INCREF(Py_None); resultobj = Py_None;
19799 return resultobj;
19800 fail:
19801 return NULL;
19802 }
19803
19804
19805 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19806 PyObject *obj;
19807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19808 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19809 Py_INCREF(obj);
19810 return Py_BuildValue((char *)"");
19811 }
19812 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19813 PyObject *resultobj = NULL;
19814 wxWindow *arg1 = (wxWindow *) 0 ;
19815 int arg2 = (int) (int)-1 ;
19816 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19817 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19818 wxSize const &arg4_defvalue = wxDefaultSize ;
19819 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19820 long arg5 = (long) 0 ;
19821 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19822 wxString *arg6 = (wxString *) &arg6_defvalue ;
19823 wxPyScrolledWindow *result;
19824 wxPoint temp3 ;
19825 wxSize temp4 ;
19826 bool temp6 = false ;
19827 PyObject * obj0 = 0 ;
19828 PyObject * obj1 = 0 ;
19829 PyObject * obj2 = 0 ;
19830 PyObject * obj3 = 0 ;
19831 PyObject * obj4 = 0 ;
19832 PyObject * obj5 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail;
19840 if (obj1) {
19841 {
19842 arg2 = static_cast<int const >(SWIG_As_int(obj1));
19843 if (SWIG_arg_fail(2)) SWIG_fail;
19844 }
19845 }
19846 if (obj2) {
19847 {
19848 arg3 = &temp3;
19849 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19850 }
19851 }
19852 if (obj3) {
19853 {
19854 arg4 = &temp4;
19855 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19856 }
19857 }
19858 if (obj4) {
19859 {
19860 arg5 = static_cast<long >(SWIG_As_long(obj4));
19861 if (SWIG_arg_fail(5)) SWIG_fail;
19862 }
19863 }
19864 if (obj5) {
19865 {
19866 arg6 = wxString_in_helper(obj5);
19867 if (arg6 == NULL) SWIG_fail;
19868 temp6 = true;
19869 }
19870 }
19871 {
19872 if (!wxPyCheckForApp()) SWIG_fail;
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19880 {
19881 if (temp6)
19882 delete arg6;
19883 }
19884 return resultobj;
19885 fail:
19886 {
19887 if (temp6)
19888 delete arg6;
19889 }
19890 return NULL;
19891 }
19892
19893
19894 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19895 PyObject *resultobj = NULL;
19896 wxPyScrolledWindow *result;
19897 char *kwnames[] = {
19898 NULL
19899 };
19900
19901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19902 {
19903 if (!wxPyCheckForApp()) SWIG_fail;
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19911 return resultobj;
19912 fail:
19913 return NULL;
19914 }
19915
19916
19917 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19918 PyObject *resultobj = NULL;
19919 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19920 PyObject *arg2 = (PyObject *) 0 ;
19921 PyObject *arg3 = (PyObject *) 0 ;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 PyObject * obj2 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "self",(char *) "_class", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19931 if (SWIG_arg_fail(1)) SWIG_fail;
19932 arg2 = obj1;
19933 arg3 = obj2;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 (arg1)->_setCallbackInfo(arg2,arg3);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 Py_INCREF(Py_None); resultobj = Py_None;
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj = NULL;
19950 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19951 wxSize *arg2 = 0 ;
19952 wxSize temp2 ;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self",(char *) "size", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail;
19962 {
19963 arg2 = &temp2;
19964 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 (arg1)->SetBestSize((wxSize const &)*arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 Py_INCREF(Py_None); resultobj = Py_None;
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj = NULL;
19982 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19983 wxDC *arg2 = (wxDC *) 0 ;
19984 bool result;
19985 PyObject * obj0 = 0 ;
19986 PyObject * obj1 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self",(char *) "dc", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19993 if (SWIG_arg_fail(1)) SWIG_fail;
19994 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19995 if (SWIG_arg_fail(2)) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)(arg1)->DoEraseBackground(arg2);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 {
20004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20005 }
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj = NULL;
20014 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20015 int arg2 ;
20016 int arg3 ;
20017 int arg4 ;
20018 int arg5 ;
20019 PyObject * obj0 = 0 ;
20020 PyObject * obj1 = 0 ;
20021 PyObject * obj2 = 0 ;
20022 PyObject * obj3 = 0 ;
20023 PyObject * obj4 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20030 if (SWIG_arg_fail(1)) SWIG_fail;
20031 {
20032 arg2 = static_cast<int >(SWIG_As_int(obj1));
20033 if (SWIG_arg_fail(2)) SWIG_fail;
20034 }
20035 {
20036 arg3 = static_cast<int >(SWIG_As_int(obj2));
20037 if (SWIG_arg_fail(3)) SWIG_fail;
20038 }
20039 {
20040 arg4 = static_cast<int >(SWIG_As_int(obj3));
20041 if (SWIG_arg_fail(4)) SWIG_fail;
20042 }
20043 {
20044 arg5 = static_cast<int >(SWIG_As_int(obj4));
20045 if (SWIG_arg_fail(5)) SWIG_fail;
20046 }
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj = NULL;
20063 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20064 int arg2 ;
20065 int arg3 ;
20066 int arg4 ;
20067 int arg5 ;
20068 int arg6 = (int) wxSIZE_AUTO ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 PyObject * obj2 = 0 ;
20072 PyObject * obj3 = 0 ;
20073 PyObject * obj4 = 0 ;
20074 PyObject * obj5 = 0 ;
20075 char *kwnames[] = {
20076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20077 };
20078
20079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20081 if (SWIG_arg_fail(1)) SWIG_fail;
20082 {
20083 arg2 = static_cast<int >(SWIG_As_int(obj1));
20084 if (SWIG_arg_fail(2)) SWIG_fail;
20085 }
20086 {
20087 arg3 = static_cast<int >(SWIG_As_int(obj2));
20088 if (SWIG_arg_fail(3)) SWIG_fail;
20089 }
20090 {
20091 arg4 = static_cast<int >(SWIG_As_int(obj3));
20092 if (SWIG_arg_fail(4)) SWIG_fail;
20093 }
20094 {
20095 arg5 = static_cast<int >(SWIG_As_int(obj4));
20096 if (SWIG_arg_fail(5)) SWIG_fail;
20097 }
20098 if (obj5) {
20099 {
20100 arg6 = static_cast<int >(SWIG_As_int(obj5));
20101 if (SWIG_arg_fail(6)) SWIG_fail;
20102 }
20103 }
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 Py_INCREF(Py_None); resultobj = Py_None;
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj = NULL;
20120 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20121 int arg2 ;
20122 int arg3 ;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 PyObject * obj2 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "width",(char *) "height", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
20135 if (SWIG_arg_fail(2)) SWIG_fail;
20136 }
20137 {
20138 arg3 = static_cast<int >(SWIG_As_int(obj2));
20139 if (SWIG_arg_fail(3)) SWIG_fail;
20140 }
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 (arg1)->base_DoSetClientSize(arg2,arg3);
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 Py_INCREF(Py_None); resultobj = Py_None;
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj = NULL;
20157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20158 int arg2 ;
20159 int arg3 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "x",(char *) "y", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
20172 if (SWIG_arg_fail(2)) SWIG_fail;
20173 }
20174 {
20175 arg3 = static_cast<int >(SWIG_As_int(obj2));
20176 if (SWIG_arg_fail(3)) SWIG_fail;
20177 }
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 Py_INCREF(Py_None); resultobj = Py_None;
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj = NULL;
20194 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20195 int *arg2 = (int *) 0 ;
20196 int *arg3 = (int *) 0 ;
20197 int temp2 ;
20198 int res2 = 0 ;
20199 int temp3 ;
20200 int res3 = 0 ;
20201 PyObject * obj0 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self", NULL
20204 };
20205
20206 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20207 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
20209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail;
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 Py_INCREF(Py_None); resultobj = Py_None;
20219 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20220 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20221 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20222 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20223 return resultobj;
20224 fail:
20225 return NULL;
20226 }
20227
20228
20229 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj = NULL;
20231 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20232 int *arg2 = (int *) 0 ;
20233 int *arg3 = (int *) 0 ;
20234 int temp2 ;
20235 int res2 = 0 ;
20236 int temp3 ;
20237 int res3 = 0 ;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20244 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
20246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20257 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20258 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20259 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj = NULL;
20268 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20269 int *arg2 = (int *) 0 ;
20270 int *arg3 = (int *) 0 ;
20271 int temp2 ;
20272 int res2 = 0 ;
20273 int temp3 ;
20274 int res3 = 0 ;
20275 PyObject * obj0 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "self", NULL
20278 };
20279
20280 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20281 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",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 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 Py_INCREF(Py_None); resultobj = Py_None;
20293 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20294 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20295 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20296 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20297 return resultobj;
20298 fail:
20299 return NULL;
20300 }
20301
20302
20303 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj = NULL;
20305 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20306 wxSize result;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20314 if (SWIG_arg_fail(1)) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 wxSize * resultptr;
20324 resultptr = new wxSize(static_cast<wxSize & >(result));
20325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20326 }
20327 return resultobj;
20328 fail:
20329 return NULL;
20330 }
20331
20332
20333 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj = NULL;
20335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20336 wxSize result;
20337 PyObject * obj0 = 0 ;
20338 char *kwnames[] = {
20339 (char *) "self", NULL
20340 };
20341
20342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20344 if (SWIG_arg_fail(1)) SWIG_fail;
20345 {
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 {
20353 wxSize * resultptr;
20354 resultptr = new wxSize(static_cast<wxSize & >(result));
20355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20356 }
20357 return resultobj;
20358 fail:
20359 return NULL;
20360 }
20361
20362
20363 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20364 PyObject *resultobj = NULL;
20365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20366 PyObject * obj0 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20373 if (SWIG_arg_fail(1)) SWIG_fail;
20374 {
20375 PyThreadState* __tstate = wxPyBeginAllowThreads();
20376 (arg1)->base_InitDialog();
20377
20378 wxPyEndAllowThreads(__tstate);
20379 if (PyErr_Occurred()) SWIG_fail;
20380 }
20381 Py_INCREF(Py_None); resultobj = Py_None;
20382 return resultobj;
20383 fail:
20384 return NULL;
20385 }
20386
20387
20388 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20389 PyObject *resultobj = NULL;
20390 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20391 bool result;
20392 PyObject * obj0 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20399 if (SWIG_arg_fail(1)) SWIG_fail;
20400 {
20401 PyThreadState* __tstate = wxPyBeginAllowThreads();
20402 result = (bool)(arg1)->base_TransferDataToWindow();
20403
20404 wxPyEndAllowThreads(__tstate);
20405 if (PyErr_Occurred()) SWIG_fail;
20406 }
20407 {
20408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj = NULL;
20418 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20419 bool result;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (bool)(arg1)->base_TransferDataFromWindow();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj = NULL;
20446 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20447 bool result;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) 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 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (bool)(arg1)->base_Validate();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 {
20464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20465 }
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj = NULL;
20474 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20475 bool result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20483 if (SWIG_arg_fail(1)) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20493 }
20494 return resultobj;
20495 fail:
20496 return NULL;
20497 }
20498
20499
20500 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj = NULL;
20502 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20503 bool result;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail;
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 {
20520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20521 }
20522 return resultobj;
20523 fail:
20524 return NULL;
20525 }
20526
20527
20528 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj = NULL;
20530 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20531 wxSize result;
20532 PyObject * obj0 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20539 if (SWIG_arg_fail(1)) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 {
20548 wxSize * resultptr;
20549 resultptr = new wxSize(static_cast<wxSize & >(result));
20550 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20551 }
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj = NULL;
20560 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20561 wxWindow *arg2 = (wxWindow *) 0 ;
20562 PyObject * obj0 = 0 ;
20563 PyObject * obj1 = 0 ;
20564 char *kwnames[] = {
20565 (char *) "self",(char *) "child", NULL
20566 };
20567
20568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20570 if (SWIG_arg_fail(1)) SWIG_fail;
20571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(2)) SWIG_fail;
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 (arg1)->base_AddChild(arg2);
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 Py_INCREF(Py_None); resultobj = Py_None;
20581 return resultobj;
20582 fail:
20583 return NULL;
20584 }
20585
20586
20587 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20588 PyObject *resultobj = NULL;
20589 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20590 wxWindow *arg2 = (wxWindow *) 0 ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "child", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20599 if (SWIG_arg_fail(1)) SWIG_fail;
20600 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20601 if (SWIG_arg_fail(2)) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 (arg1)->base_RemoveChild(arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 Py_INCREF(Py_None); resultobj = Py_None;
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj = NULL;
20618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20619 bool result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20627 if (SWIG_arg_fail(1)) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 {
20636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20637 }
20638 return resultobj;
20639 fail:
20640 return NULL;
20641 }
20642
20643
20644 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20645 PyObject *resultobj = NULL;
20646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20647 wxVisualAttributes result;
20648 PyObject * obj0 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20655 if (SWIG_arg_fail(1)) SWIG_fail;
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (arg1)->base_GetDefaultAttributes();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 {
20664 wxVisualAttributes * resultptr;
20665 resultptr = new wxVisualAttributes(static_cast<wxVisualAttributes & >(result));
20666 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj = NULL;
20676 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 (arg1)->base_OnInternalIdle();
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 Py_INCREF(Py_None); resultobj = Py_None;
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20700 PyObject *obj;
20701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20702 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20703 Py_INCREF(obj);
20704 return Py_BuildValue((char *)"");
20705 }
20706 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20707 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20708 return 1;
20709 }
20710
20711
20712 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20713 PyObject *pyobj = NULL;
20714
20715 {
20716 #if wxUSE_UNICODE
20717 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20718 #else
20719 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20720 #endif
20721 }
20722 return pyobj;
20723 }
20724
20725
20726 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20727 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20728 return 1;
20729 }
20730
20731
20732 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20733 PyObject *pyobj = NULL;
20734
20735 {
20736 #if wxUSE_UNICODE
20737 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20738 #else
20739 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20740 #endif
20741 }
20742 return pyobj;
20743 }
20744
20745
20746 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20747 PyObject *resultobj = NULL;
20748 wxPrintData *result;
20749
20750 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 result = (wxPrintData *)new wxPrintData();
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20766 PyObject *resultobj = NULL;
20767 wxPrintData *arg1 = 0 ;
20768 wxPrintData *result;
20769 PyObject * obj0 = 0 ;
20770
20771 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20772 {
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
20775 if (arg1 == NULL) {
20776 SWIG_null_ref("wxPrintData");
20777 }
20778 if (SWIG_arg_fail(1)) SWIG_fail;
20779 }
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20788 return resultobj;
20789 fail:
20790 return NULL;
20791 }
20792
20793
20794 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20795 int argc;
20796 PyObject *argv[2];
20797 int ii;
20798
20799 argc = PyObject_Length(args);
20800 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20801 argv[ii] = PyTuple_GetItem(args,ii);
20802 }
20803 if (argc == 0) {
20804 return _wrap_new_PrintData__SWIG_0(self,args);
20805 }
20806 if (argc == 1) {
20807 int _v;
20808 {
20809 void *ptr = 0;
20810 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20811 _v = 0;
20812 PyErr_Clear();
20813 } else {
20814 _v = (ptr != 0);
20815 }
20816 }
20817 if (_v) {
20818 return _wrap_new_PrintData__SWIG_1(self,args);
20819 }
20820 }
20821
20822 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj = NULL;
20829 wxPrintData *arg1 = (wxPrintData *) 0 ;
20830 PyObject * obj0 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 delete arg1;
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj = NULL;
20854 wxPrintData *arg1 = (wxPrintData *) 0 ;
20855 int result;
20856 PyObject * obj0 = 0 ;
20857 char *kwnames[] = {
20858 (char *) "self", NULL
20859 };
20860
20861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20863 if (SWIG_arg_fail(1)) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 result = (int)(arg1)->GetNoCopies();
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 {
20872 resultobj = SWIG_From_int(static_cast<int >(result));
20873 }
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj = NULL;
20882 wxPrintData *arg1 = (wxPrintData *) 0 ;
20883 bool result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 result = (bool)(arg1)->GetCollate();
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 {
20900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20901 }
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj = NULL;
20910 wxPrintData *arg1 = (wxPrintData *) 0 ;
20911 int result;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail;
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 result = (int)(arg1)->GetOrientation();
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
20928 resultobj = SWIG_From_int(static_cast<int >(result));
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj = NULL;
20938 wxPrintData *arg1 = (wxPrintData *) 0 ;
20939 bool result;
20940 PyObject * obj0 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail;
20948 {
20949 PyThreadState* __tstate = wxPyBeginAllowThreads();
20950 result = (bool)(arg1)->Ok();
20951
20952 wxPyEndAllowThreads(__tstate);
20953 if (PyErr_Occurred()) SWIG_fail;
20954 }
20955 {
20956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20957 }
20958 return resultobj;
20959 fail:
20960 return NULL;
20961 }
20962
20963
20964 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20965 PyObject *resultobj = NULL;
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
20967 wxString *result;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",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 wxString const &_result_ref = (arg1)->GetPrinterName();
20980 result = (wxString *) &_result_ref;
20981 }
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 {
20987 #if wxUSE_UNICODE
20988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20989 #else
20990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20991 #endif
20992 }
20993 return resultobj;
20994 fail:
20995 return NULL;
20996 }
20997
20998
20999 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj = NULL;
21001 wxPrintData *arg1 = (wxPrintData *) 0 ;
21002 bool result;
21003 PyObject * obj0 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
21009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21010 if (SWIG_arg_fail(1)) SWIG_fail;
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 result = (bool)(arg1)->GetColour();
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21020 }
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj = NULL;
21029 wxPrintData *arg1 = (wxPrintData *) 0 ;
21030 wxDuplexMode result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
21037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 result = (wxDuplexMode)(arg1)->GetDuplex();
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 resultobj = SWIG_From_int((result));
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj = NULL;
21055 wxPrintData *arg1 = (wxPrintData *) 0 ;
21056 wxPaperSize result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
21063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail;
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (wxPaperSize)(arg1)->GetPaperId();
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 resultobj = SWIG_From_int((result));
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj = NULL;
21081 wxPrintData *arg1 = (wxPrintData *) 0 ;
21082 wxSize *result;
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
21089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 {
21094 wxSize const &_result_ref = (arg1)->GetPaperSize();
21095 result = (wxSize *) &_result_ref;
21096 }
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj = NULL;
21110 wxPrintData *arg1 = (wxPrintData *) 0 ;
21111 int result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
21118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21119 if (SWIG_arg_fail(1)) SWIG_fail;
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (int)(arg1)->GetQuality();
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 resultobj = SWIG_From_int(static_cast<int >(result));
21129 }
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj = NULL;
21138 wxPrintData *arg1 = (wxPrintData *) 0 ;
21139 wxPrintBin result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = (wxPrintBin)(arg1)->GetBin();
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 resultobj = SWIG_From_int((result));
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj = NULL;
21164 wxPrintData *arg1 = (wxPrintData *) 0 ;
21165 wxPrintMode result;
21166 PyObject * obj0 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail;
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 resultobj = SWIG_From_int((result));
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj = NULL;
21190 wxPrintData *arg1 = (wxPrintData *) 0 ;
21191 int arg2 ;
21192 PyObject * obj0 = 0 ;
21193 PyObject * obj1 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self",(char *) "v", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail;
21201 {
21202 arg2 = static_cast<int >(SWIG_As_int(obj1));
21203 if (SWIG_arg_fail(2)) SWIG_fail;
21204 }
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 (arg1)->SetNoCopies(arg2);
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 Py_INCREF(Py_None); resultobj = Py_None;
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj = NULL;
21221 wxPrintData *arg1 = (wxPrintData *) 0 ;
21222 bool arg2 ;
21223 PyObject * obj0 = 0 ;
21224 PyObject * obj1 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "flag", NULL
21227 };
21228
21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21231 if (SWIG_arg_fail(1)) SWIG_fail;
21232 {
21233 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21234 if (SWIG_arg_fail(2)) SWIG_fail;
21235 }
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 (arg1)->SetCollate(arg2);
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 Py_INCREF(Py_None); resultobj = Py_None;
21244 return resultobj;
21245 fail:
21246 return NULL;
21247 }
21248
21249
21250 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj = NULL;
21252 wxPrintData *arg1 = (wxPrintData *) 0 ;
21253 int arg2 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "orient", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail;
21263 {
21264 arg2 = static_cast<int >(SWIG_As_int(obj1));
21265 if (SWIG_arg_fail(2)) SWIG_fail;
21266 }
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetOrientation(arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj = NULL;
21283 wxPrintData *arg1 = (wxPrintData *) 0 ;
21284 wxString *arg2 = 0 ;
21285 bool temp2 = false ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "name", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail;
21295 {
21296 arg2 = wxString_in_helper(obj1);
21297 if (arg2 == NULL) SWIG_fail;
21298 temp2 = true;
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->SetPrinterName((wxString const &)*arg2);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 Py_INCREF(Py_None); resultobj = Py_None;
21308 {
21309 if (temp2)
21310 delete arg2;
21311 }
21312 return resultobj;
21313 fail:
21314 {
21315 if (temp2)
21316 delete arg2;
21317 }
21318 return NULL;
21319 }
21320
21321
21322 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj = NULL;
21324 wxPrintData *arg1 = (wxPrintData *) 0 ;
21325 bool arg2 ;
21326 PyObject * obj0 = 0 ;
21327 PyObject * obj1 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self",(char *) "colour", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail;
21335 {
21336 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21337 if (SWIG_arg_fail(2)) SWIG_fail;
21338 }
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->SetColour(arg2);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 return resultobj;
21348 fail:
21349 return NULL;
21350 }
21351
21352
21353 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj = NULL;
21355 wxPrintData *arg1 = (wxPrintData *) 0 ;
21356 wxDuplexMode arg2 ;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "duplex", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21365 if (SWIG_arg_fail(1)) SWIG_fail;
21366 {
21367 arg2 = static_cast<wxDuplexMode >(SWIG_As_int(obj1));
21368 if (SWIG_arg_fail(2)) SWIG_fail;
21369 }
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 (arg1)->SetDuplex(arg2);
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 Py_INCREF(Py_None); resultobj = Py_None;
21378 return resultobj;
21379 fail:
21380 return NULL;
21381 }
21382
21383
21384 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21385 PyObject *resultobj = NULL;
21386 wxPrintData *arg1 = (wxPrintData *) 0 ;
21387 wxPaperSize arg2 ;
21388 PyObject * obj0 = 0 ;
21389 PyObject * obj1 = 0 ;
21390 char *kwnames[] = {
21391 (char *) "self",(char *) "sizeId", NULL
21392 };
21393
21394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21396 if (SWIG_arg_fail(1)) SWIG_fail;
21397 {
21398 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
21399 if (SWIG_arg_fail(2)) SWIG_fail;
21400 }
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 (arg1)->SetPaperId(arg2);
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 Py_INCREF(Py_None); resultobj = Py_None;
21409 return resultobj;
21410 fail:
21411 return NULL;
21412 }
21413
21414
21415 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21416 PyObject *resultobj = NULL;
21417 wxPrintData *arg1 = (wxPrintData *) 0 ;
21418 wxSize *arg2 = 0 ;
21419 wxSize temp2 ;
21420 PyObject * obj0 = 0 ;
21421 PyObject * obj1 = 0 ;
21422 char *kwnames[] = {
21423 (char *) "self",(char *) "sz", NULL
21424 };
21425
21426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail;
21429 {
21430 arg2 = &temp2;
21431 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21432 }
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 (arg1)->SetPaperSize((wxSize const &)*arg2);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 Py_INCREF(Py_None); resultobj = Py_None;
21441 return resultobj;
21442 fail:
21443 return NULL;
21444 }
21445
21446
21447 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj = NULL;
21449 wxPrintData *arg1 = (wxPrintData *) 0 ;
21450 int arg2 ;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self",(char *) "quality", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 {
21461 arg2 = static_cast<int >(SWIG_As_int(obj1));
21462 if (SWIG_arg_fail(2)) SWIG_fail;
21463 }
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->SetQuality(arg2);
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 Py_INCREF(Py_None); resultobj = Py_None;
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj = NULL;
21480 wxPrintData *arg1 = (wxPrintData *) 0 ;
21481 wxPrintBin arg2 ;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self",(char *) "bin", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21490 if (SWIG_arg_fail(1)) SWIG_fail;
21491 {
21492 arg2 = static_cast<wxPrintBin >(SWIG_As_int(obj1));
21493 if (SWIG_arg_fail(2)) SWIG_fail;
21494 }
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 (arg1)->SetBin(arg2);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 Py_INCREF(Py_None); resultobj = Py_None;
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj = NULL;
21511 wxPrintData *arg1 = (wxPrintData *) 0 ;
21512 wxPrintMode arg2 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "printMode", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail;
21522 {
21523 arg2 = static_cast<wxPrintMode >(SWIG_As_int(obj1));
21524 if (SWIG_arg_fail(2)) SWIG_fail;
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 (arg1)->SetPrintMode(arg2);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 Py_INCREF(Py_None); resultobj = Py_None;
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj = NULL;
21542 wxPrintData *arg1 = (wxPrintData *) 0 ;
21543 wxString result;
21544 PyObject * obj0 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21551 if (SWIG_arg_fail(1)) SWIG_fail;
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = ((wxPrintData const *)arg1)->GetFilename();
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 #if wxUSE_UNICODE
21561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21562 #else
21563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21564 #endif
21565 }
21566 return resultobj;
21567 fail:
21568 return NULL;
21569 }
21570
21571
21572 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj = NULL;
21574 wxPrintData *arg1 = (wxPrintData *) 0 ;
21575 wxString *arg2 = 0 ;
21576 bool temp2 = false ;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "filename", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail;
21586 {
21587 arg2 = wxString_in_helper(obj1);
21588 if (arg2 == NULL) SWIG_fail;
21589 temp2 = true;
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 (arg1)->SetFilename((wxString const &)*arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 Py_INCREF(Py_None); resultobj = Py_None;
21599 {
21600 if (temp2)
21601 delete arg2;
21602 }
21603 return resultobj;
21604 fail:
21605 {
21606 if (temp2)
21607 delete arg2;
21608 }
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj = NULL;
21615 wxPrintData *arg1 = (wxPrintData *) 0 ;
21616 PyObject *result;
21617 PyObject * obj0 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21624 if (SWIG_arg_fail(1)) SWIG_fail;
21625 {
21626 PyThreadState* __tstate = wxPyBeginAllowThreads();
21627 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21628
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 resultobj = result;
21633 return resultobj;
21634 fail:
21635 return NULL;
21636 }
21637
21638
21639 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj = NULL;
21641 wxPrintData *arg1 = (wxPrintData *) 0 ;
21642 PyObject *arg2 = (PyObject *) 0 ;
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "data", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21651 if (SWIG_arg_fail(1)) SWIG_fail;
21652 arg2 = obj1;
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 wxPrintData_SetPrivData(arg1,arg2);
21656
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 Py_INCREF(Py_None); resultobj = Py_None;
21661 return resultobj;
21662 fail:
21663 return NULL;
21664 }
21665
21666
21667 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21668 PyObject *obj;
21669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21670 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21671 Py_INCREF(obj);
21672 return Py_BuildValue((char *)"");
21673 }
21674 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21675 PyObject *resultobj = NULL;
21676 wxPageSetupDialogData *result;
21677
21678 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21687 return resultobj;
21688 fail:
21689 return NULL;
21690 }
21691
21692
21693 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21694 PyObject *resultobj = NULL;
21695 wxPageSetupDialogData *arg1 = 0 ;
21696 wxPageSetupDialogData *result;
21697 PyObject * obj0 = 0 ;
21698
21699 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21700 {
21701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21702 if (SWIG_arg_fail(1)) SWIG_fail;
21703 if (arg1 == NULL) {
21704 SWIG_null_ref("wxPageSetupDialogData");
21705 }
21706 if (SWIG_arg_fail(1)) SWIG_fail;
21707 }
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21711
21712 wxPyEndAllowThreads(__tstate);
21713 if (PyErr_Occurred()) SWIG_fail;
21714 }
21715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21723 PyObject *resultobj = NULL;
21724 wxPrintData *arg1 = 0 ;
21725 wxPageSetupDialogData *result;
21726 PyObject * obj0 = 0 ;
21727
21728 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21729 {
21730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21731 if (SWIG_arg_fail(1)) SWIG_fail;
21732 if (arg1 == NULL) {
21733 SWIG_null_ref("wxPrintData");
21734 }
21735 if (SWIG_arg_fail(1)) SWIG_fail;
21736 }
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21752 int argc;
21753 PyObject *argv[2];
21754 int ii;
21755
21756 argc = PyObject_Length(args);
21757 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21758 argv[ii] = PyTuple_GetItem(args,ii);
21759 }
21760 if (argc == 0) {
21761 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21762 }
21763 if (argc == 1) {
21764 int _v;
21765 {
21766 void *ptr = 0;
21767 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21768 _v = 0;
21769 PyErr_Clear();
21770 } else {
21771 _v = (ptr != 0);
21772 }
21773 }
21774 if (_v) {
21775 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21776 }
21777 }
21778 if (argc == 1) {
21779 int _v;
21780 {
21781 void *ptr = 0;
21782 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21783 _v = 0;
21784 PyErr_Clear();
21785 } else {
21786 _v = (ptr != 0);
21787 }
21788 }
21789 if (_v) {
21790 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21791 }
21792 }
21793
21794 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21795 return NULL;
21796 }
21797
21798
21799 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21800 PyObject *resultobj = NULL;
21801 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21802 PyObject * obj0 = 0 ;
21803 char *kwnames[] = {
21804 (char *) "self", NULL
21805 };
21806
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21809 if (SWIG_arg_fail(1)) SWIG_fail;
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 delete arg1;
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 return resultobj;
21819 fail:
21820 return NULL;
21821 }
21822
21823
21824 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj = NULL;
21826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21827 bool arg2 ;
21828 PyObject * obj0 = 0 ;
21829 PyObject * obj1 = 0 ;
21830 char *kwnames[] = {
21831 (char *) "self",(char *) "flag", NULL
21832 };
21833
21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail;
21837 {
21838 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21839 if (SWIG_arg_fail(2)) SWIG_fail;
21840 }
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 (arg1)->EnableHelp(arg2);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 Py_INCREF(Py_None); resultobj = Py_None;
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj = NULL;
21857 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21858 bool arg2 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "flag", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 {
21869 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21870 if (SWIG_arg_fail(2)) SWIG_fail;
21871 }
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 (arg1)->EnableMargins(arg2);
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 Py_INCREF(Py_None); resultobj = Py_None;
21880 return resultobj;
21881 fail:
21882 return NULL;
21883 }
21884
21885
21886 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj = NULL;
21888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21889 bool arg2 ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "flag", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail;
21899 {
21900 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21901 if (SWIG_arg_fail(2)) SWIG_fail;
21902 }
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 (arg1)->EnableOrientation(arg2);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 Py_INCREF(Py_None); resultobj = Py_None;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj = NULL;
21919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21920 bool arg2 ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "flag", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail;
21930 {
21931 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21932 if (SWIG_arg_fail(2)) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 (arg1)->EnablePaper(arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 Py_INCREF(Py_None); resultobj = Py_None;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj = NULL;
21950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21951 bool arg2 ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "flag", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail;
21961 {
21962 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
21963 if (SWIG_arg_fail(2)) SWIG_fail;
21964 }
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 (arg1)->EnablePrinter(arg2);
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 Py_INCREF(Py_None); resultobj = Py_None;
21973 return resultobj;
21974 fail:
21975 return NULL;
21976 }
21977
21978
21979 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj = NULL;
21981 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21982 bool result;
21983 PyObject * obj0 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
21989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21990 if (SWIG_arg_fail(1)) SWIG_fail;
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (bool)(arg1)->GetDefaultMinMargins();
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22000 }
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj = NULL;
22009 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22010 bool result;
22011 PyObject * obj0 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail;
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 result = (bool)(arg1)->GetEnableMargins();
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 {
22027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22028 }
22029 return resultobj;
22030 fail:
22031 return NULL;
22032 }
22033
22034
22035 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj = NULL;
22037 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22038 bool result;
22039 PyObject * obj0 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail;
22047 {
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (bool)(arg1)->GetEnableOrientation();
22050
22051 wxPyEndAllowThreads(__tstate);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 {
22055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22056 }
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22064 PyObject *resultobj = NULL;
22065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22066 bool result;
22067 PyObject * obj0 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22074 if (SWIG_arg_fail(1)) SWIG_fail;
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (bool)(arg1)->GetEnablePaper();
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22084 }
22085 return resultobj;
22086 fail:
22087 return NULL;
22088 }
22089
22090
22091 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22092 PyObject *resultobj = NULL;
22093 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22094 bool result;
22095 PyObject * obj0 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22102 if (SWIG_arg_fail(1)) SWIG_fail;
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = (bool)(arg1)->GetEnablePrinter();
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22112 }
22113 return resultobj;
22114 fail:
22115 return NULL;
22116 }
22117
22118
22119 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22120 PyObject *resultobj = NULL;
22121 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22122 bool result;
22123 PyObject * obj0 = 0 ;
22124 char *kwnames[] = {
22125 (char *) "self", NULL
22126 };
22127
22128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22130 if (SWIG_arg_fail(1)) SWIG_fail;
22131 {
22132 PyThreadState* __tstate = wxPyBeginAllowThreads();
22133 result = (bool)(arg1)->GetEnableHelp();
22134
22135 wxPyEndAllowThreads(__tstate);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 }
22138 {
22139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144 }
22145
22146
22147 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj = NULL;
22149 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22150 bool result;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail;
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = (bool)(arg1)->GetDefaultInfo();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
22167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22168 }
22169 return resultobj;
22170 fail:
22171 return NULL;
22172 }
22173
22174
22175 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22176 PyObject *resultobj = NULL;
22177 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22178 wxPoint result;
22179 PyObject * obj0 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (arg1)->GetMarginTopLeft();
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 {
22195 wxPoint * resultptr;
22196 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22197 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22198 }
22199 return resultobj;
22200 fail:
22201 return NULL;
22202 }
22203
22204
22205 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22206 PyObject *resultobj = NULL;
22207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22208 wxPoint result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (arg1)->GetMarginBottomRight();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 {
22225 wxPoint * resultptr;
22226 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22228 }
22229 return resultobj;
22230 fail:
22231 return NULL;
22232 }
22233
22234
22235 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj = NULL;
22237 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22238 wxPoint result;
22239 PyObject * obj0 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22246 if (SWIG_arg_fail(1)) SWIG_fail;
22247 {
22248 PyThreadState* __tstate = wxPyBeginAllowThreads();
22249 result = (arg1)->GetMinMarginTopLeft();
22250
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 {
22255 wxPoint * resultptr;
22256 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262 }
22263
22264
22265 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj = NULL;
22267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22268 wxPoint result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",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 = (arg1)->GetMinMarginBottomRight();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 {
22285 wxPoint * resultptr;
22286 resultptr = new wxPoint(static_cast<wxPoint & >(result));
22287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22288 }
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj = NULL;
22297 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22298 wxPaperSize result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 result = (wxPaperSize)(arg1)->GetPaperId();
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 resultobj = SWIG_From_int((result));
22315 return resultobj;
22316 fail:
22317 return NULL;
22318 }
22319
22320
22321 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22322 PyObject *resultobj = NULL;
22323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22324 wxSize result;
22325 PyObject * obj0 = 0 ;
22326 char *kwnames[] = {
22327 (char *) "self", NULL
22328 };
22329
22330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22332 if (SWIG_arg_fail(1)) SWIG_fail;
22333 {
22334 PyThreadState* __tstate = wxPyBeginAllowThreads();
22335 result = (arg1)->GetPaperSize();
22336
22337 wxPyEndAllowThreads(__tstate);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 }
22340 {
22341 wxSize * resultptr;
22342 resultptr = new wxSize(static_cast<wxSize & >(result));
22343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22344 }
22345 return resultobj;
22346 fail:
22347 return NULL;
22348 }
22349
22350
22351 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22352 PyObject *resultobj = NULL;
22353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22354 wxPrintData *result;
22355 PyObject * obj0 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail;
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 {
22366 wxPrintData &_result_ref = (arg1)->GetPrintData();
22367 result = (wxPrintData *) &_result_ref;
22368 }
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj = NULL;
22382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22383 bool result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (bool)(arg1)->Ok();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22401 }
22402 return resultobj;
22403 fail:
22404 return NULL;
22405 }
22406
22407
22408 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22409 PyObject *resultobj = NULL;
22410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22411 bool arg2 ;
22412 PyObject * obj0 = 0 ;
22413 PyObject * obj1 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "flag", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22420 if (SWIG_arg_fail(1)) SWIG_fail;
22421 {
22422 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22423 if (SWIG_arg_fail(2)) SWIG_fail;
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->SetDefaultInfo(arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj = NULL;
22441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22442 bool arg2 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "flag", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail;
22452 {
22453 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
22454 if (SWIG_arg_fail(2)) SWIG_fail;
22455 }
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->SetDefaultMinMargins(arg2);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj = NULL;
22472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22473 wxPoint *arg2 = 0 ;
22474 wxPoint temp2 ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "pt", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22483 if (SWIG_arg_fail(1)) SWIG_fail;
22484 {
22485 arg2 = &temp2;
22486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22487 }
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 Py_INCREF(Py_None); resultobj = Py_None;
22496 return resultobj;
22497 fail:
22498 return NULL;
22499 }
22500
22501
22502 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22503 PyObject *resultobj = NULL;
22504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22505 wxPoint *arg2 = 0 ;
22506 wxPoint temp2 ;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "pt", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22515 if (SWIG_arg_fail(1)) SWIG_fail;
22516 {
22517 arg2 = &temp2;
22518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22519 }
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 Py_INCREF(Py_None); resultobj = Py_None;
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj = NULL;
22536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22537 wxPoint *arg2 = 0 ;
22538 wxPoint temp2 ;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "pt", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail;
22548 {
22549 arg2 = &temp2;
22550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 Py_INCREF(Py_None); resultobj = Py_None;
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj = NULL;
22568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22569 wxPoint *arg2 = 0 ;
22570 wxPoint temp2 ;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "pt", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22579 if (SWIG_arg_fail(1)) SWIG_fail;
22580 {
22581 arg2 = &temp2;
22582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22583 }
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 Py_INCREF(Py_None); resultobj = Py_None;
22592 return resultobj;
22593 fail:
22594 return NULL;
22595 }
22596
22597
22598 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj = NULL;
22600 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22601 wxPaperSize arg2 ;
22602 PyObject * obj0 = 0 ;
22603 PyObject * obj1 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self",(char *) "id", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail;
22611 {
22612 arg2 = static_cast<wxPaperSize >(SWIG_As_int(obj1));
22613 if (SWIG_arg_fail(2)) SWIG_fail;
22614 }
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 (arg1)->SetPaperId(arg2);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj = NULL;
22631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22632 wxSize *arg2 = 0 ;
22633 wxSize temp2 ;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "size", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22642 if (SWIG_arg_fail(1)) SWIG_fail;
22643 {
22644 arg2 = &temp2;
22645 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22646 }
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 (arg1)->SetPaperSize((wxSize const &)*arg2);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 Py_INCREF(Py_None); resultobj = Py_None;
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj = NULL;
22663 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22664 wxPrintData *arg2 = 0 ;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "printData", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail;
22674 {
22675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(2)) SWIG_fail;
22677 if (arg2 == NULL) {
22678 SWIG_null_ref("wxPrintData");
22679 }
22680 if (SWIG_arg_fail(2)) SWIG_fail;
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj = NULL;
22698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail;
22707 {
22708 PyThreadState* __tstate = wxPyBeginAllowThreads();
22709 (arg1)->CalculateIdFromPaperSize();
22710
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 Py_INCREF(Py_None); resultobj = Py_None;
22715 return resultobj;
22716 fail:
22717 return NULL;
22718 }
22719
22720
22721 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22722 PyObject *resultobj = NULL;
22723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22724 PyObject * obj0 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail;
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 (arg1)->CalculatePaperSizeFromId();
22735
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 Py_INCREF(Py_None); resultobj = Py_None;
22740 return resultobj;
22741 fail:
22742 return NULL;
22743 }
22744
22745
22746 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22747 PyObject *obj;
22748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22749 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22750 Py_INCREF(obj);
22751 return Py_BuildValue((char *)"");
22752 }
22753 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj = NULL;
22755 wxWindow *arg1 = (wxWindow *) 0 ;
22756 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22757 wxPageSetupDialog *result;
22758 PyObject * obj0 = 0 ;
22759 PyObject * obj1 = 0 ;
22760 char *kwnames[] = {
22761 (char *) "parent",(char *) "data", NULL
22762 };
22763
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22766 if (SWIG_arg_fail(1)) SWIG_fail;
22767 if (obj1) {
22768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22769 if (SWIG_arg_fail(2)) SWIG_fail;
22770 }
22771 {
22772 if (!wxPyCheckForApp()) SWIG_fail;
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22780 return resultobj;
22781 fail:
22782 return NULL;
22783 }
22784
22785
22786 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj = NULL;
22788 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22789 wxPageSetupDialogData *result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 {
22801 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22802 result = (wxPageSetupDialogData *) &_result_ref;
22803 }
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj = NULL;
22817 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22818 wxPageSetupDialogData *result;
22819 PyObject * obj0 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 {
22830 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22831 result = (wxPageSetupDialogData *) &_result_ref;
22832 }
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj = NULL;
22846 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22847 int result;
22848 PyObject * obj0 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = (int)(arg1)->ShowModal();
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 {
22864 resultobj = SWIG_From_int(static_cast<int >(result));
22865 }
22866 return resultobj;
22867 fail:
22868 return NULL;
22869 }
22870
22871
22872 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22873 PyObject *obj;
22874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22875 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22876 Py_INCREF(obj);
22877 return Py_BuildValue((char *)"");
22878 }
22879 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22880 PyObject *resultobj = NULL;
22881 wxPrintDialogData *result;
22882
22883 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = (wxPrintDialogData *)new wxPrintDialogData();
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22899 PyObject *resultobj = NULL;
22900 wxPrintData *arg1 = 0 ;
22901 wxPrintDialogData *result;
22902 PyObject * obj0 = 0 ;
22903
22904 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22905 {
22906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22907 if (SWIG_arg_fail(1)) SWIG_fail;
22908 if (arg1 == NULL) {
22909 SWIG_null_ref("wxPrintData");
22910 }
22911 if (SWIG_arg_fail(1)) SWIG_fail;
22912 }
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22921 return resultobj;
22922 fail:
22923 return NULL;
22924 }
22925
22926
22927 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22928 PyObject *resultobj = NULL;
22929 wxPrintDialogData *arg1 = 0 ;
22930 wxPrintDialogData *result;
22931 PyObject * obj0 = 0 ;
22932
22933 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22934 {
22935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22936 if (SWIG_arg_fail(1)) SWIG_fail;
22937 if (arg1 == NULL) {
22938 SWIG_null_ref("wxPrintDialogData");
22939 }
22940 if (SWIG_arg_fail(1)) SWIG_fail;
22941 }
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22950 return resultobj;
22951 fail:
22952 return NULL;
22953 }
22954
22955
22956 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22957 int argc;
22958 PyObject *argv[2];
22959 int ii;
22960
22961 argc = PyObject_Length(args);
22962 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22963 argv[ii] = PyTuple_GetItem(args,ii);
22964 }
22965 if (argc == 0) {
22966 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22967 }
22968 if (argc == 1) {
22969 int _v;
22970 {
22971 void *ptr = 0;
22972 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22973 _v = 0;
22974 PyErr_Clear();
22975 } else {
22976 _v = (ptr != 0);
22977 }
22978 }
22979 if (_v) {
22980 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22981 }
22982 }
22983 if (argc == 1) {
22984 int _v;
22985 {
22986 void *ptr = 0;
22987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22988 _v = 0;
22989 PyErr_Clear();
22990 } else {
22991 _v = (ptr != 0);
22992 }
22993 }
22994 if (_v) {
22995 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22996 }
22997 }
22998
22999 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23000 return NULL;
23001 }
23002
23003
23004 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23005 PyObject *resultobj = NULL;
23006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail;
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 delete arg1;
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 Py_INCREF(Py_None); resultobj = Py_None;
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj = NULL;
23031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23032 int result;
23033 PyObject * obj0 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "self", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23040 if (SWIG_arg_fail(1)) SWIG_fail;
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 {
23049 resultobj = SWIG_From_int(static_cast<int >(result));
23050 }
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23058 PyObject *resultobj = NULL;
23059 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23060 int result;
23061 PyObject * obj0 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23068 if (SWIG_arg_fail(1)) SWIG_fail;
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
23076 {
23077 resultobj = SWIG_From_int(static_cast<int >(result));
23078 }
23079 return resultobj;
23080 fail:
23081 return NULL;
23082 }
23083
23084
23085 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23086 PyObject *resultobj = NULL;
23087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23088 int result;
23089 PyObject * obj0 = 0 ;
23090 char *kwnames[] = {
23091 (char *) "self", NULL
23092 };
23093
23094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23096 if (SWIG_arg_fail(1)) SWIG_fail;
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
23104 {
23105 resultobj = SWIG_From_int(static_cast<int >(result));
23106 }
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj = NULL;
23115 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23116 int result;
23117 PyObject * obj0 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23124 if (SWIG_arg_fail(1)) SWIG_fail;
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 {
23133 resultobj = SWIG_From_int(static_cast<int >(result));
23134 }
23135 return resultobj;
23136 fail:
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj = NULL;
23143 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23144 int result;
23145 PyObject * obj0 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23152 if (SWIG_arg_fail(1)) SWIG_fail;
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 {
23161 resultobj = SWIG_From_int(static_cast<int >(result));
23162 }
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj = NULL;
23171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23172 bool result;
23173 PyObject * obj0 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 {
23189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23190 }
23191 return resultobj;
23192 fail:
23193 return NULL;
23194 }
23195
23196
23197 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj = NULL;
23199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23200 bool result;
23201 PyObject * obj0 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23208 if (SWIG_arg_fail(1)) SWIG_fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 {
23217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222 }
23223
23224
23225 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj = NULL;
23227 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23228 bool result;
23229 PyObject * obj0 = 0 ;
23230 char *kwnames[] = {
23231 (char *) "self", NULL
23232 };
23233
23234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23236 if (SWIG_arg_fail(1)) SWIG_fail;
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 {
23245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23246 }
23247 return resultobj;
23248 fail:
23249 return NULL;
23250 }
23251
23252
23253 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj = NULL;
23255 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23256 bool result;
23257 PyObject * obj0 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail;
23265 {
23266 PyThreadState* __tstate = wxPyBeginAllowThreads();
23267 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23268
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 {
23273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23274 }
23275 return resultobj;
23276 fail:
23277 return NULL;
23278 }
23279
23280
23281 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23282 PyObject *resultobj = NULL;
23283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23284 int arg2 ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj1 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self",(char *) "v", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail;
23294 {
23295 arg2 = static_cast<int >(SWIG_As_int(obj1));
23296 if (SWIG_arg_fail(2)) SWIG_fail;
23297 }
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 (arg1)->SetFromPage(arg2);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 Py_INCREF(Py_None); resultobj = Py_None;
23306 return resultobj;
23307 fail:
23308 return NULL;
23309 }
23310
23311
23312 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23313 PyObject *resultobj = NULL;
23314 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23315 int arg2 ;
23316 PyObject * obj0 = 0 ;
23317 PyObject * obj1 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "v", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23324 if (SWIG_arg_fail(1)) SWIG_fail;
23325 {
23326 arg2 = static_cast<int >(SWIG_As_int(obj1));
23327 if (SWIG_arg_fail(2)) SWIG_fail;
23328 }
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 (arg1)->SetToPage(arg2);
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 Py_INCREF(Py_None); resultobj = Py_None;
23337 return resultobj;
23338 fail:
23339 return NULL;
23340 }
23341
23342
23343 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj = NULL;
23345 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23346 int arg2 ;
23347 PyObject * obj0 = 0 ;
23348 PyObject * obj1 = 0 ;
23349 char *kwnames[] = {
23350 (char *) "self",(char *) "v", NULL
23351 };
23352
23353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23355 if (SWIG_arg_fail(1)) SWIG_fail;
23356 {
23357 arg2 = static_cast<int >(SWIG_As_int(obj1));
23358 if (SWIG_arg_fail(2)) SWIG_fail;
23359 }
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 (arg1)->SetMinPage(arg2);
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 Py_INCREF(Py_None); resultobj = Py_None;
23368 return resultobj;
23369 fail:
23370 return NULL;
23371 }
23372
23373
23374 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj = NULL;
23376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23377 int arg2 ;
23378 PyObject * obj0 = 0 ;
23379 PyObject * obj1 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "v", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
23387 {
23388 arg2 = static_cast<int >(SWIG_As_int(obj1));
23389 if (SWIG_arg_fail(2)) SWIG_fail;
23390 }
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->SetMaxPage(arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402 }
23403
23404
23405 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23406 PyObject *resultobj = NULL;
23407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23408 int arg2 ;
23409 PyObject * obj0 = 0 ;
23410 PyObject * obj1 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self",(char *) "v", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail;
23418 {
23419 arg2 = static_cast<int >(SWIG_As_int(obj1));
23420 if (SWIG_arg_fail(2)) SWIG_fail;
23421 }
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 (arg1)->SetNoCopies(arg2);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 Py_INCREF(Py_None); resultobj = Py_None;
23430 return resultobj;
23431 fail:
23432 return NULL;
23433 }
23434
23435
23436 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23437 PyObject *resultobj = NULL;
23438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23439 bool arg2 ;
23440 PyObject * obj0 = 0 ;
23441 PyObject * obj1 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "flag", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail;
23449 {
23450 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23451 if (SWIG_arg_fail(2)) SWIG_fail;
23452 }
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetAllPages(arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464 }
23465
23466
23467 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj = NULL;
23469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23470 bool arg2 ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "flag", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail;
23480 {
23481 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23482 if (SWIG_arg_fail(2)) SWIG_fail;
23483 }
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 (arg1)->SetSelection(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 Py_INCREF(Py_None); resultobj = Py_None;
23492 return resultobj;
23493 fail:
23494 return NULL;
23495 }
23496
23497
23498 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23499 PyObject *resultobj = NULL;
23500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23501 bool arg2 ;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self",(char *) "flag", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
23511 {
23512 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23513 if (SWIG_arg_fail(2)) SWIG_fail;
23514 }
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetCollate(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj = NULL;
23531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23532 bool arg2 ;
23533 PyObject * obj0 = 0 ;
23534 PyObject * obj1 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "flag", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
23543 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23544 if (SWIG_arg_fail(2)) SWIG_fail;
23545 }
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 (arg1)->SetPrintToFile(arg2);
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 Py_INCREF(Py_None); resultobj = Py_None;
23554 return resultobj;
23555 fail:
23556 return NULL;
23557 }
23558
23559
23560 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23561 PyObject *resultobj = NULL;
23562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23563 bool arg2 ;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 char *kwnames[] = {
23567 (char *) "self",(char *) "flag", NULL
23568 };
23569
23570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23572 if (SWIG_arg_fail(1)) SWIG_fail;
23573 {
23574 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23575 if (SWIG_arg_fail(2)) SWIG_fail;
23576 }
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->EnablePrintToFile(arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 Py_INCREF(Py_None); resultobj = Py_None;
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj = NULL;
23593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23594 bool arg2 ;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "flag", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail;
23604 {
23605 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23606 if (SWIG_arg_fail(2)) SWIG_fail;
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->EnableSelection(arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj = NULL;
23624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23625 bool arg2 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "flag", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail;
23635 {
23636 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23637 if (SWIG_arg_fail(2)) SWIG_fail;
23638 }
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 (arg1)->EnablePageNumbers(arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 Py_INCREF(Py_None); resultobj = Py_None;
23647 return resultobj;
23648 fail:
23649 return NULL;
23650 }
23651
23652
23653 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23654 PyObject *resultobj = NULL;
23655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23656 bool arg2 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self",(char *) "flag", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail;
23666 {
23667 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
23668 if (SWIG_arg_fail(2)) SWIG_fail;
23669 }
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 (arg1)->EnableHelp(arg2);
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 Py_INCREF(Py_None); resultobj = Py_None;
23678 return resultobj;
23679 fail:
23680 return NULL;
23681 }
23682
23683
23684 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj = NULL;
23686 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23687 bool result;
23688 PyObject * obj0 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23695 if (SWIG_arg_fail(1)) SWIG_fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 {
23704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23705 }
23706 return resultobj;
23707 fail:
23708 return NULL;
23709 }
23710
23711
23712 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj = NULL;
23714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23715 bool result;
23716 PyObject * obj0 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23723 if (SWIG_arg_fail(1)) SWIG_fail;
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 {
23732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23733 }
23734 return resultobj;
23735 fail:
23736 return NULL;
23737 }
23738
23739
23740 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23741 PyObject *resultobj = NULL;
23742 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23743 bool result;
23744 PyObject * obj0 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail;
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23769 PyObject *resultobj = NULL;
23770 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23771 bool result;
23772 PyObject * obj0 = 0 ;
23773 char *kwnames[] = {
23774 (char *) "self", NULL
23775 };
23776
23777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23779 if (SWIG_arg_fail(1)) SWIG_fail;
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
23787 {
23788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23789 }
23790 return resultobj;
23791 fail:
23792 return NULL;
23793 }
23794
23795
23796 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23797 PyObject *resultobj = NULL;
23798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23799 bool result;
23800 PyObject * obj0 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23807 if (SWIG_arg_fail(1)) SWIG_fail;
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 {
23816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23817 }
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj = NULL;
23826 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23827 wxPrintData *result;
23828 PyObject * obj0 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23835 if (SWIG_arg_fail(1)) SWIG_fail;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 {
23839 wxPrintData &_result_ref = (arg1)->GetPrintData();
23840 result = (wxPrintData *) &_result_ref;
23841 }
23842
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj = NULL;
23855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23856 wxPrintData *arg2 = 0 ;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 char *kwnames[] = {
23860 (char *) "self",(char *) "printData", NULL
23861 };
23862
23863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23865 if (SWIG_arg_fail(1)) SWIG_fail;
23866 {
23867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23868 if (SWIG_arg_fail(2)) SWIG_fail;
23869 if (arg2 == NULL) {
23870 SWIG_null_ref("wxPrintData");
23871 }
23872 if (SWIG_arg_fail(2)) SWIG_fail;
23873 }
23874 {
23875 PyThreadState* __tstate = wxPyBeginAllowThreads();
23876 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
23881 Py_INCREF(Py_None); resultobj = Py_None;
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23889 PyObject *obj;
23890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23891 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23892 Py_INCREF(obj);
23893 return Py_BuildValue((char *)"");
23894 }
23895 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj = NULL;
23897 wxWindow *arg1 = (wxWindow *) 0 ;
23898 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23899 wxPrintDialog *result;
23900 PyObject * obj0 = 0 ;
23901 PyObject * obj1 = 0 ;
23902 char *kwnames[] = {
23903 (char *) "parent",(char *) "data", NULL
23904 };
23905
23906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23908 if (SWIG_arg_fail(1)) SWIG_fail;
23909 if (obj1) {
23910 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23911 if (SWIG_arg_fail(2)) SWIG_fail;
23912 }
23913 {
23914 if (!wxPyCheckForApp()) SWIG_fail;
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23917
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23922 return resultobj;
23923 fail:
23924 return NULL;
23925 }
23926
23927
23928 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj = NULL;
23930 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23931 int result;
23932 PyObject * obj0 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 result = (int)(arg1)->ShowModal();
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 {
23948 resultobj = SWIG_From_int(static_cast<int >(result));
23949 }
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj = NULL;
23958 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23959 wxPrintDialogData *result;
23960 PyObject * obj0 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail;
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 {
23971 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23972 result = (wxPrintDialogData *) &_result_ref;
23973 }
23974
23975 wxPyEndAllowThreads(__tstate);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj = NULL;
23987 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23988 wxPrintData *result;
23989 PyObject * obj0 = 0 ;
23990 char *kwnames[] = {
23991 (char *) "self", NULL
23992 };
23993
23994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
23995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23996 if (SWIG_arg_fail(1)) SWIG_fail;
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 {
24000 wxPrintData &_result_ref = (arg1)->GetPrintData();
24001 result = (wxPrintData *) &_result_ref;
24002 }
24003
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24008 return resultobj;
24009 fail:
24010 return NULL;
24011 }
24012
24013
24014 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24015 PyObject *resultobj = NULL;
24016 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24017 wxDC *result;
24018 PyObject * obj0 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "self", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail;
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (wxDC *)(arg1)->GetPrintDC();
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
24034 resultobj = wxPyMake_wxObject(result, 1);
24035 }
24036 return resultobj;
24037 fail:
24038 return NULL;
24039 }
24040
24041
24042 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24043 PyObject *obj;
24044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24045 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24046 Py_INCREF(obj);
24047 return Py_BuildValue((char *)"");
24048 }
24049 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24050 PyObject *resultobj = NULL;
24051 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24052 wxPrinter *result;
24053 PyObject * obj0 = 0 ;
24054 char *kwnames[] = {
24055 (char *) "data", NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24059 if (obj0) {
24060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24061 if (SWIG_arg_fail(1)) SWIG_fail;
24062 }
24063 {
24064 if (!wxPyCheckForApp()) SWIG_fail;
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (wxPrinter *)new wxPrinter(arg1);
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
24071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24072 return resultobj;
24073 fail:
24074 return NULL;
24075 }
24076
24077
24078 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj = NULL;
24080 wxPrinter *arg1 = (wxPrinter *) 0 ;
24081 PyObject * obj0 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail;
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 delete arg1;
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 Py_INCREF(Py_None); resultobj = Py_None;
24097 return resultobj;
24098 fail:
24099 return NULL;
24100 }
24101
24102
24103 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj = NULL;
24105 wxPrinter *arg1 = (wxPrinter *) 0 ;
24106 wxWindow *arg2 = (wxWindow *) 0 ;
24107 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24108 wxWindow *result;
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 PyObject * obj2 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "self",(char *) "parent",(char *) "printout", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24118 if (SWIG_arg_fail(1)) SWIG_fail;
24119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24120 if (SWIG_arg_fail(2)) SWIG_fail;
24121 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(3)) SWIG_fail;
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = wxPyMake_wxObject(result, 0);
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj = NULL;
24141 wxPrinter *arg1 = (wxPrinter *) 0 ;
24142 wxWindow *arg2 = (wxWindow *) 0 ;
24143 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24144 wxString *arg4 = 0 ;
24145 bool temp4 = false ;
24146 PyObject * obj0 = 0 ;
24147 PyObject * obj1 = 0 ;
24148 PyObject * obj2 = 0 ;
24149 PyObject * obj3 = 0 ;
24150 char *kwnames[] = {
24151 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24152 };
24153
24154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail;
24157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24158 if (SWIG_arg_fail(2)) SWIG_fail;
24159 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24160 if (SWIG_arg_fail(3)) SWIG_fail;
24161 {
24162 arg4 = wxString_in_helper(obj3);
24163 if (arg4 == NULL) SWIG_fail;
24164 temp4 = true;
24165 }
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24169
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 Py_INCREF(Py_None); resultobj = Py_None;
24174 {
24175 if (temp4)
24176 delete arg4;
24177 }
24178 return resultobj;
24179 fail:
24180 {
24181 if (temp4)
24182 delete arg4;
24183 }
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj = NULL;
24190 wxPrinter *arg1 = (wxPrinter *) 0 ;
24191 wxWindow *arg2 = (wxWindow *) 0 ;
24192 bool result;
24193 PyObject * obj0 = 0 ;
24194 PyObject * obj1 = 0 ;
24195 char *kwnames[] = {
24196 (char *) "self",(char *) "parent", NULL
24197 };
24198
24199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24201 if (SWIG_arg_fail(1)) SWIG_fail;
24202 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24203 if (SWIG_arg_fail(2)) SWIG_fail;
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 result = (bool)(arg1)->Setup(arg2);
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 {
24212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24213 }
24214 return resultobj;
24215 fail:
24216 return NULL;
24217 }
24218
24219
24220 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj = NULL;
24222 wxPrinter *arg1 = (wxPrinter *) 0 ;
24223 wxWindow *arg2 = (wxWindow *) 0 ;
24224 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24225 bool arg4 = (bool) true ;
24226 bool result;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 PyObject * obj2 = 0 ;
24230 PyObject * obj3 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24237 if (SWIG_arg_fail(1)) SWIG_fail;
24238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(2)) SWIG_fail;
24240 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24241 if (SWIG_arg_fail(3)) SWIG_fail;
24242 if (obj3) {
24243 {
24244 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
24245 if (SWIG_arg_fail(4)) SWIG_fail;
24246 }
24247 }
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj = NULL;
24266 wxPrinter *arg1 = (wxPrinter *) 0 ;
24267 wxWindow *arg2 = (wxWindow *) 0 ;
24268 wxDC *result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "parent", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail;
24278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(2)) SWIG_fail;
24280 {
24281 PyThreadState* __tstate = wxPyBeginAllowThreads();
24282 result = (wxDC *)(arg1)->PrintDialog(arg2);
24283
24284 wxPyEndAllowThreads(__tstate);
24285 if (PyErr_Occurred()) SWIG_fail;
24286 }
24287 {
24288 resultobj = wxPyMake_wxObject(result, 0);
24289 }
24290 return resultobj;
24291 fail:
24292 return NULL;
24293 }
24294
24295
24296 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24297 PyObject *resultobj = NULL;
24298 wxPrinter *arg1 = (wxPrinter *) 0 ;
24299 wxPrintDialogData *result;
24300 PyObject * obj0 = 0 ;
24301 char *kwnames[] = {
24302 (char *) "self", NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24307 if (SWIG_arg_fail(1)) SWIG_fail;
24308 {
24309 PyThreadState* __tstate = wxPyBeginAllowThreads();
24310 {
24311 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24312 result = (wxPrintDialogData *) &_result_ref;
24313 }
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24319 return resultobj;
24320 fail:
24321 return NULL;
24322 }
24323
24324
24325 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj = NULL;
24327 wxPrinter *arg1 = (wxPrinter *) 0 ;
24328 bool result;
24329 PyObject * obj0 = 0 ;
24330 char *kwnames[] = {
24331 (char *) "self", NULL
24332 };
24333
24334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24336 if (SWIG_arg_fail(1)) SWIG_fail;
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 result = (bool)(arg1)->GetAbort();
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 {
24345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24346 }
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj = NULL;
24355 wxPrinterError result;
24356 char *kwnames[] = {
24357 NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 result = (wxPrinterError)wxPrinter::GetLastError();
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 resultobj = SWIG_From_int((result));
24369 return resultobj;
24370 fail:
24371 return NULL;
24372 }
24373
24374
24375 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24376 PyObject *obj;
24377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24378 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24379 Py_INCREF(obj);
24380 return Py_BuildValue((char *)"");
24381 }
24382 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj = NULL;
24384 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24385 wxString *arg1 = (wxString *) &arg1_defvalue ;
24386 wxPyPrintout *result;
24387 bool temp1 = false ;
24388 PyObject * obj0 = 0 ;
24389 char *kwnames[] = {
24390 (char *) "title", NULL
24391 };
24392
24393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24394 if (obj0) {
24395 {
24396 arg1 = wxString_in_helper(obj0);
24397 if (arg1 == NULL) SWIG_fail;
24398 temp1 = true;
24399 }
24400 }
24401 {
24402 if (!wxPyCheckForApp()) SWIG_fail;
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 {
24410 resultobj = wxPyMake_wxObject(result, 1);
24411 }
24412 {
24413 if (temp1)
24414 delete arg1;
24415 }
24416 return resultobj;
24417 fail:
24418 {
24419 if (temp1)
24420 delete arg1;
24421 }
24422 return NULL;
24423 }
24424
24425
24426 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj = NULL;
24428 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24429 PyObject *arg2 = (PyObject *) 0 ;
24430 PyObject *arg3 = (PyObject *) 0 ;
24431 PyObject * obj0 = 0 ;
24432 PyObject * obj1 = 0 ;
24433 PyObject * obj2 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self",(char *) "self",(char *) "_class", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail;
24441 arg2 = obj1;
24442 arg3 = obj2;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 (arg1)->_setCallbackInfo(arg2,arg3);
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 Py_INCREF(Py_None); resultobj = Py_None;
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24458 PyObject *resultobj = NULL;
24459 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24460 wxString result;
24461 PyObject * obj0 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24468 if (SWIG_arg_fail(1)) SWIG_fail;
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = ((wxPyPrintout const *)arg1)->GetTitle();
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 {
24477 #if wxUSE_UNICODE
24478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24479 #else
24480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24481 #endif
24482 }
24483 return resultobj;
24484 fail:
24485 return NULL;
24486 }
24487
24488
24489 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = NULL;
24491 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24492 wxDC *result;
24493 PyObject * obj0 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "self", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24500 if (SWIG_arg_fail(1)) SWIG_fail;
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (wxDC *)(arg1)->GetDC();
24504
24505 wxPyEndAllowThreads(__tstate);
24506 if (PyErr_Occurred()) SWIG_fail;
24507 }
24508 {
24509 resultobj = wxPyMake_wxObject(result, 0);
24510 }
24511 return resultobj;
24512 fail:
24513 return NULL;
24514 }
24515
24516
24517 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24518 PyObject *resultobj = NULL;
24519 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24520 wxDC *arg2 = (wxDC *) 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "self",(char *) "dc", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24529 if (SWIG_arg_fail(1)) SWIG_fail;
24530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24531 if (SWIG_arg_fail(2)) SWIG_fail;
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
24534 (arg1)->SetDC(arg2);
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 Py_INCREF(Py_None); resultobj = Py_None;
24540 return resultobj;
24541 fail:
24542 return NULL;
24543 }
24544
24545
24546 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24547 PyObject *resultobj = NULL;
24548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24549 int arg2 ;
24550 int arg3 ;
24551 PyObject * obj0 = 0 ;
24552 PyObject * obj1 = 0 ;
24553 PyObject * obj2 = 0 ;
24554 char *kwnames[] = {
24555 (char *) "self",(char *) "w",(char *) "h", NULL
24556 };
24557
24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
24563 if (SWIG_arg_fail(2)) SWIG_fail;
24564 }
24565 {
24566 arg3 = static_cast<int >(SWIG_As_int(obj2));
24567 if (SWIG_arg_fail(3)) SWIG_fail;
24568 }
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 (arg1)->SetPageSizePixels(arg2,arg3);
24572
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 Py_INCREF(Py_None); resultobj = Py_None;
24577 return resultobj;
24578 fail:
24579 return NULL;
24580 }
24581
24582
24583 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj = NULL;
24585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24586 int *arg2 = (int *) 0 ;
24587 int *arg3 = (int *) 0 ;
24588 int temp2 ;
24589 int res2 = 0 ;
24590 int temp3 ;
24591 int res3 = 0 ;
24592 PyObject * obj0 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "self", NULL
24595 };
24596
24597 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24598 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24601 if (SWIG_arg_fail(1)) SWIG_fail;
24602 {
24603 PyThreadState* __tstate = wxPyBeginAllowThreads();
24604 (arg1)->GetPageSizePixels(arg2,arg3);
24605
24606 wxPyEndAllowThreads(__tstate);
24607 if (PyErr_Occurred()) SWIG_fail;
24608 }
24609 Py_INCREF(Py_None); resultobj = Py_None;
24610 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24611 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24612 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24613 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24614 return resultobj;
24615 fail:
24616 return NULL;
24617 }
24618
24619
24620 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj = NULL;
24622 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24623 int arg2 ;
24624 int arg3 ;
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 PyObject * obj2 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "w",(char *) "h", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
24637 if (SWIG_arg_fail(2)) SWIG_fail;
24638 }
24639 {
24640 arg3 = static_cast<int >(SWIG_As_int(obj2));
24641 if (SWIG_arg_fail(3)) SWIG_fail;
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->SetPageSizeMM(arg2,arg3);
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 Py_INCREF(Py_None); resultobj = Py_None;
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj = NULL;
24659 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24660 int *arg2 = (int *) 0 ;
24661 int *arg3 = (int *) 0 ;
24662 int temp2 ;
24663 int res2 = 0 ;
24664 int temp3 ;
24665 int res3 = 0 ;
24666 PyObject * obj0 = 0 ;
24667 char *kwnames[] = {
24668 (char *) "self", NULL
24669 };
24670
24671 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24672 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24675 if (SWIG_arg_fail(1)) SWIG_fail;
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 (arg1)->GetPageSizeMM(arg2,arg3);
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 Py_INCREF(Py_None); resultobj = Py_None;
24684 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24685 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24686 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24687 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj = NULL;
24696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24697 int arg2 ;
24698 int arg3 ;
24699 PyObject * obj0 = 0 ;
24700 PyObject * obj1 = 0 ;
24701 PyObject * obj2 = 0 ;
24702 char *kwnames[] = {
24703 (char *) "self",(char *) "x",(char *) "y", NULL
24704 };
24705
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = static_cast<int >(SWIG_As_int(obj1));
24711 if (SWIG_arg_fail(2)) SWIG_fail;
24712 }
24713 {
24714 arg3 = static_cast<int >(SWIG_As_int(obj2));
24715 if (SWIG_arg_fail(3)) SWIG_fail;
24716 }
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 (arg1)->SetPPIScreen(arg2,arg3);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 Py_INCREF(Py_None); resultobj = Py_None;
24725 return resultobj;
24726 fail:
24727 return NULL;
24728 }
24729
24730
24731 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24732 PyObject *resultobj = NULL;
24733 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24734 int *arg2 = (int *) 0 ;
24735 int *arg3 = (int *) 0 ;
24736 int temp2 ;
24737 int res2 = 0 ;
24738 int temp3 ;
24739 int res3 = 0 ;
24740 PyObject * obj0 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self", NULL
24743 };
24744
24745 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24746 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24749 if (SWIG_arg_fail(1)) SWIG_fail;
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->GetPPIScreen(arg2,arg3);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24759 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24760 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24761 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24762 return resultobj;
24763 fail:
24764 return NULL;
24765 }
24766
24767
24768 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24769 PyObject *resultobj = NULL;
24770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24771 int arg2 ;
24772 int arg3 ;
24773 PyObject * obj0 = 0 ;
24774 PyObject * obj1 = 0 ;
24775 PyObject * obj2 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "x",(char *) "y", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail;
24783 {
24784 arg2 = static_cast<int >(SWIG_As_int(obj1));
24785 if (SWIG_arg_fail(2)) SWIG_fail;
24786 }
24787 {
24788 arg3 = static_cast<int >(SWIG_As_int(obj2));
24789 if (SWIG_arg_fail(3)) SWIG_fail;
24790 }
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 (arg1)->SetPPIPrinter(arg2,arg3);
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 Py_INCREF(Py_None); resultobj = Py_None;
24799 return resultobj;
24800 fail:
24801 return NULL;
24802 }
24803
24804
24805 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24806 PyObject *resultobj = NULL;
24807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24808 int *arg2 = (int *) 0 ;
24809 int *arg3 = (int *) 0 ;
24810 int temp2 ;
24811 int res2 = 0 ;
24812 int temp3 ;
24813 int res3 = 0 ;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
24819 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24820 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24823 if (SWIG_arg_fail(1)) SWIG_fail;
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 (arg1)->GetPPIPrinter(arg2,arg3);
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 Py_INCREF(Py_None); resultobj = Py_None;
24832 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24833 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24834 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24835 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24836 return resultobj;
24837 fail:
24838 return NULL;
24839 }
24840
24841
24842 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj = NULL;
24844 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24845 bool result;
24846 PyObject * obj0 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24853 if (SWIG_arg_fail(1)) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)(arg1)->IsPreview();
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 {
24862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24863 }
24864 return resultobj;
24865 fail:
24866 return NULL;
24867 }
24868
24869
24870 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24871 PyObject *resultobj = NULL;
24872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24873 bool arg2 ;
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 char *kwnames[] = {
24877 (char *) "self",(char *) "p", NULL
24878 };
24879
24880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24882 if (SWIG_arg_fail(1)) SWIG_fail;
24883 {
24884 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
24885 if (SWIG_arg_fail(2)) SWIG_fail;
24886 }
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 (arg1)->SetIsPreview(arg2);
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_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24902 PyObject *resultobj = NULL;
24903 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24904 int arg2 ;
24905 int arg3 ;
24906 bool result;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 PyObject * obj2 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail;
24917 {
24918 arg2 = static_cast<int >(SWIG_As_int(obj1));
24919 if (SWIG_arg_fail(2)) SWIG_fail;
24920 }
24921 {
24922 arg3 = static_cast<int >(SWIG_As_int(obj2));
24923 if (SWIG_arg_fail(3)) SWIG_fail;
24924 }
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 {
24933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24934 }
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj = NULL;
24943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24944 PyObject * obj0 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
24950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail;
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 (arg1)->base_OnEndDocument();
24955
24956 wxPyEndAllowThreads(__tstate);
24957 if (PyErr_Occurred()) SWIG_fail;
24958 }
24959 Py_INCREF(Py_None); resultobj = Py_None;
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24967 PyObject *resultobj = NULL;
24968 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24969 PyObject * obj0 = 0 ;
24970 char *kwnames[] = {
24971 (char *) "self", NULL
24972 };
24973
24974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
24975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail;
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 (arg1)->base_OnBeginPrinting();
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 Py_INCREF(Py_None); resultobj = Py_None;
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj = NULL;
24993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24994 PyObject * obj0 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail;
25002 {
25003 PyThreadState* __tstate = wxPyBeginAllowThreads();
25004 (arg1)->base_OnEndPrinting();
25005
25006 wxPyEndAllowThreads(__tstate);
25007 if (PyErr_Occurred()) SWIG_fail;
25008 }
25009 Py_INCREF(Py_None); resultobj = Py_None;
25010 return resultobj;
25011 fail:
25012 return NULL;
25013 }
25014
25015
25016 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj = NULL;
25018 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25019 PyObject * obj0 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "self", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail;
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 (arg1)->base_OnPreparePrinting();
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 Py_INCREF(Py_None); resultobj = Py_None;
25035 return resultobj;
25036 fail:
25037 return NULL;
25038 }
25039
25040
25041 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25042 PyObject *resultobj = NULL;
25043 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25044 int arg2 ;
25045 bool result;
25046 PyObject * obj0 = 0 ;
25047 PyObject * obj1 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self",(char *) "page", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
25055 {
25056 arg2 = static_cast<int >(SWIG_As_int(obj1));
25057 if (SWIG_arg_fail(2)) SWIG_fail;
25058 }
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (bool)(arg1)->base_HasPage(arg2);
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 {
25067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25068 }
25069 return resultobj;
25070 fail:
25071 return NULL;
25072 }
25073
25074
25075 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25076 PyObject *resultobj = NULL;
25077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25078 int *arg2 = (int *) 0 ;
25079 int *arg3 = (int *) 0 ;
25080 int *arg4 = (int *) 0 ;
25081 int *arg5 = (int *) 0 ;
25082 int temp2 ;
25083 int res2 = 0 ;
25084 int temp3 ;
25085 int res3 = 0 ;
25086 int temp4 ;
25087 int res4 = 0 ;
25088 int temp5 ;
25089 int res5 = 0 ;
25090 PyObject * obj0 = 0 ;
25091 char *kwnames[] = {
25092 (char *) "self", NULL
25093 };
25094
25095 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25096 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25097 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25098 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25101 if (SWIG_arg_fail(1)) SWIG_fail;
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25111 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25112 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25113 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25114 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25115 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25116 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25117 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25118 return resultobj;
25119 fail:
25120 return NULL;
25121 }
25122
25123
25124 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25125 PyObject *obj;
25126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25127 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25128 Py_INCREF(obj);
25129 return Py_BuildValue((char *)"");
25130 }
25131 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj = NULL;
25133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25134 wxWindow *arg2 = (wxWindow *) 0 ;
25135 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25136 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25137 wxSize const &arg4_defvalue = wxDefaultSize ;
25138 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25139 long arg5 = (long) 0 ;
25140 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25141 wxString *arg6 = (wxString *) &arg6_defvalue ;
25142 wxPreviewCanvas *result;
25143 wxPoint temp3 ;
25144 wxSize temp4 ;
25145 bool temp6 = false ;
25146 PyObject * obj0 = 0 ;
25147 PyObject * obj1 = 0 ;
25148 PyObject * obj2 = 0 ;
25149 PyObject * obj3 = 0 ;
25150 PyObject * obj4 = 0 ;
25151 PyObject * obj5 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25158 if (SWIG_arg_fail(1)) SWIG_fail;
25159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(2)) SWIG_fail;
25161 if (obj2) {
25162 {
25163 arg3 = &temp3;
25164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25165 }
25166 }
25167 if (obj3) {
25168 {
25169 arg4 = &temp4;
25170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25171 }
25172 }
25173 if (obj4) {
25174 {
25175 arg5 = static_cast<long >(SWIG_As_long(obj4));
25176 if (SWIG_arg_fail(5)) SWIG_fail;
25177 }
25178 }
25179 if (obj5) {
25180 {
25181 arg6 = wxString_in_helper(obj5);
25182 if (arg6 == NULL) SWIG_fail;
25183 temp6 = true;
25184 }
25185 }
25186 {
25187 if (!wxPyCheckForApp()) SWIG_fail;
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25195 {
25196 if (temp6)
25197 delete arg6;
25198 }
25199 return resultobj;
25200 fail:
25201 {
25202 if (temp6)
25203 delete arg6;
25204 }
25205 return NULL;
25206 }
25207
25208
25209 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25210 PyObject *obj;
25211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25212 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25213 Py_INCREF(obj);
25214 return Py_BuildValue((char *)"");
25215 }
25216 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25217 PyObject *resultobj = NULL;
25218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25219 wxFrame *arg2 = (wxFrame *) 0 ;
25220 wxString *arg3 = 0 ;
25221 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25222 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25223 wxSize const &arg5_defvalue = wxDefaultSize ;
25224 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25225 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25226 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25227 wxString *arg7 = (wxString *) &arg7_defvalue ;
25228 wxPreviewFrame *result;
25229 bool temp3 = false ;
25230 wxPoint temp4 ;
25231 wxSize temp5 ;
25232 bool temp7 = false ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 PyObject * obj3 = 0 ;
25237 PyObject * obj4 = 0 ;
25238 PyObject * obj5 = 0 ;
25239 PyObject * obj6 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25242 };
25243
25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail;
25247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(2)) SWIG_fail;
25249 {
25250 arg3 = wxString_in_helper(obj2);
25251 if (arg3 == NULL) SWIG_fail;
25252 temp3 = true;
25253 }
25254 if (obj3) {
25255 {
25256 arg4 = &temp4;
25257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25258 }
25259 }
25260 if (obj4) {
25261 {
25262 arg5 = &temp5;
25263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25264 }
25265 }
25266 if (obj5) {
25267 {
25268 arg6 = static_cast<long >(SWIG_As_long(obj5));
25269 if (SWIG_arg_fail(6)) SWIG_fail;
25270 }
25271 }
25272 if (obj6) {
25273 {
25274 arg7 = wxString_in_helper(obj6);
25275 if (arg7 == NULL) SWIG_fail;
25276 temp7 = true;
25277 }
25278 }
25279 {
25280 if (!wxPyCheckForApp()) SWIG_fail;
25281 PyThreadState* __tstate = wxPyBeginAllowThreads();
25282 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25283
25284 wxPyEndAllowThreads(__tstate);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25288 {
25289 if (temp3)
25290 delete arg3;
25291 }
25292 {
25293 if (temp7)
25294 delete arg7;
25295 }
25296 return resultobj;
25297 fail:
25298 {
25299 if (temp3)
25300 delete arg3;
25301 }
25302 {
25303 if (temp7)
25304 delete arg7;
25305 }
25306 return NULL;
25307 }
25308
25309
25310 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj = NULL;
25312 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25313 PyObject * obj0 = 0 ;
25314 char *kwnames[] = {
25315 (char *) "self", NULL
25316 };
25317
25318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25320 if (SWIG_arg_fail(1)) SWIG_fail;
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 (arg1)->Initialize();
25324
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 Py_INCREF(Py_None); resultobj = Py_None;
25329 return resultobj;
25330 fail:
25331 return NULL;
25332 }
25333
25334
25335 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25336 PyObject *resultobj = NULL;
25337 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25338 PyObject * obj0 = 0 ;
25339 char *kwnames[] = {
25340 (char *) "self", NULL
25341 };
25342
25343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail;
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 (arg1)->CreateControlBar();
25349
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 Py_INCREF(Py_None); resultobj = Py_None;
25354 return resultobj;
25355 fail:
25356 return NULL;
25357 }
25358
25359
25360 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25361 PyObject *resultobj = NULL;
25362 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25363 PyObject * obj0 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail;
25371 {
25372 PyThreadState* __tstate = wxPyBeginAllowThreads();
25373 (arg1)->CreateCanvas();
25374
25375 wxPyEndAllowThreads(__tstate);
25376 if (PyErr_Occurred()) SWIG_fail;
25377 }
25378 Py_INCREF(Py_None); resultobj = Py_None;
25379 return resultobj;
25380 fail:
25381 return NULL;
25382 }
25383
25384
25385 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25386 PyObject *resultobj = NULL;
25387 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25388 wxPreviewControlBar *result;
25389 PyObject * obj0 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail;
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25400
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25412 PyObject *obj;
25413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25414 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25415 Py_INCREF(obj);
25416 return Py_BuildValue((char *)"");
25417 }
25418 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25419 PyObject *resultobj = NULL;
25420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25421 long arg2 ;
25422 wxWindow *arg3 = (wxWindow *) 0 ;
25423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25425 wxSize const &arg5_defvalue = wxDefaultSize ;
25426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25427 long arg6 = (long) wxTAB_TRAVERSAL ;
25428 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25429 wxString *arg7 = (wxString *) &arg7_defvalue ;
25430 wxPreviewControlBar *result;
25431 wxPoint temp4 ;
25432 wxSize temp5 ;
25433 bool temp7 = false ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 PyObject * obj2 = 0 ;
25437 PyObject * obj3 = 0 ;
25438 PyObject * obj4 = 0 ;
25439 PyObject * obj5 = 0 ;
25440 PyObject * obj6 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25447 if (SWIG_arg_fail(1)) SWIG_fail;
25448 {
25449 arg2 = static_cast<long >(SWIG_As_long(obj1));
25450 if (SWIG_arg_fail(2)) SWIG_fail;
25451 }
25452 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25453 if (SWIG_arg_fail(3)) SWIG_fail;
25454 if (obj3) {
25455 {
25456 arg4 = &temp4;
25457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25458 }
25459 }
25460 if (obj4) {
25461 {
25462 arg5 = &temp5;
25463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25464 }
25465 }
25466 if (obj5) {
25467 {
25468 arg6 = static_cast<long >(SWIG_As_long(obj5));
25469 if (SWIG_arg_fail(6)) SWIG_fail;
25470 }
25471 }
25472 if (obj6) {
25473 {
25474 arg7 = wxString_in_helper(obj6);
25475 if (arg7 == NULL) SWIG_fail;
25476 temp7 = true;
25477 }
25478 }
25479 {
25480 if (!wxPyCheckForApp()) SWIG_fail;
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25488 {
25489 if (temp7)
25490 delete arg7;
25491 }
25492 return resultobj;
25493 fail:
25494 {
25495 if (temp7)
25496 delete arg7;
25497 }
25498 return NULL;
25499 }
25500
25501
25502 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj = NULL;
25504 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25505 int result;
25506 PyObject * obj0 = 0 ;
25507 char *kwnames[] = {
25508 (char *) "self", NULL
25509 };
25510
25511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail;
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 result = (int)(arg1)->GetZoomControl();
25517
25518 wxPyEndAllowThreads(__tstate);
25519 if (PyErr_Occurred()) SWIG_fail;
25520 }
25521 {
25522 resultobj = SWIG_From_int(static_cast<int >(result));
25523 }
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj = NULL;
25532 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25533 int arg2 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char *kwnames[] = {
25537 (char *) "self",(char *) "zoom", NULL
25538 };
25539
25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail;
25543 {
25544 arg2 = static_cast<int >(SWIG_As_int(obj1));
25545 if (SWIG_arg_fail(2)) SWIG_fail;
25546 }
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->SetZoomControl(arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558 }
25559
25560
25561 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj = NULL;
25563 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25564 wxPrintPreview *result;
25565 PyObject * obj0 = 0 ;
25566 char *kwnames[] = {
25567 (char *) "self", NULL
25568 };
25569
25570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25572 if (SWIG_arg_fail(1)) SWIG_fail;
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25581 return resultobj;
25582 fail:
25583 return NULL;
25584 }
25585
25586
25587 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj = NULL;
25589 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25590 PyObject * obj0 = 0 ;
25591 char *kwnames[] = {
25592 (char *) "self", NULL
25593 };
25594
25595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail;
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->OnNext();
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj = NULL;
25614 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25615 PyObject * obj0 = 0 ;
25616 char *kwnames[] = {
25617 (char *) "self", NULL
25618 };
25619
25620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25622 if (SWIG_arg_fail(1)) SWIG_fail;
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->OnPrevious();
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj = NULL;
25639 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail;
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 (arg1)->OnFirst();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 Py_INCREF(Py_None); resultobj = Py_None;
25656 return resultobj;
25657 fail:
25658 return NULL;
25659 }
25660
25661
25662 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25663 PyObject *resultobj = NULL;
25664 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->OnLast();
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684 }
25685
25686
25687 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj = NULL;
25689 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25690 PyObject * obj0 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "self", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25697 if (SWIG_arg_fail(1)) SWIG_fail;
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 (arg1)->OnGoto();
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 Py_INCREF(Py_None); resultobj = Py_None;
25706 return resultobj;
25707 fail:
25708 return NULL;
25709 }
25710
25711
25712 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25713 PyObject *obj;
25714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25715 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25716 Py_INCREF(obj);
25717 return Py_BuildValue((char *)"");
25718 }
25719 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25720 PyObject *resultobj = NULL;
25721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25722 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25723 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
25724 wxPrintPreview *result;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 PyObject * obj2 = 0 ;
25728
25729 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
25732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25733 if (SWIG_arg_fail(2)) SWIG_fail;
25734 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25735 if (SWIG_arg_fail(3)) SWIG_fail;
25736 {
25737 if (!wxPyCheckForApp()) SWIG_fail;
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25745 return resultobj;
25746 fail:
25747 return NULL;
25748 }
25749
25750
25751 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25752 PyObject *resultobj = NULL;
25753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25754 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25755 wxPrintPreview *result;
25756 PyObject * obj0 = 0 ;
25757 PyObject * obj1 = 0 ;
25758
25759 if(!PyArg_ParseTuple(args,(char *)"OO:new_PrintPreview",&obj0,&obj1)) goto fail;
25760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25761 if (SWIG_arg_fail(1)) SWIG_fail;
25762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25763 if (SWIG_arg_fail(2)) SWIG_fail;
25764 {
25765 if (!wxPyCheckForApp()) SWIG_fail;
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25773 return resultobj;
25774 fail:
25775 return NULL;
25776 }
25777
25778
25779 static PyObject *_wrap_new_PrintPreview__SWIG_2(PyObject *, PyObject *args) {
25780 PyObject *resultobj = NULL;
25781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25782 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25783 wxPrintData *arg3 = (wxPrintData *) 0 ;
25784 wxPrintPreview *result;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788
25789 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25791 if (SWIG_arg_fail(1)) SWIG_fail;
25792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25793 if (SWIG_arg_fail(2)) SWIG_fail;
25794 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25795 if (SWIG_arg_fail(3)) SWIG_fail;
25796 {
25797 if (!wxPyCheckForApp()) SWIG_fail;
25798 PyThreadState* __tstate = wxPyBeginAllowThreads();
25799 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25800
25801 wxPyEndAllowThreads(__tstate);
25802 if (PyErr_Occurred()) SWIG_fail;
25803 }
25804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25805 return resultobj;
25806 fail:
25807 return NULL;
25808 }
25809
25810
25811 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25812 int argc;
25813 PyObject *argv[4];
25814 int ii;
25815
25816 argc = PyObject_Length(args);
25817 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25818 argv[ii] = PyTuple_GetItem(args,ii);
25819 }
25820 if (argc == 2) {
25821 int _v;
25822 {
25823 void *ptr;
25824 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25825 _v = 0;
25826 PyErr_Clear();
25827 } else {
25828 _v = 1;
25829 }
25830 }
25831 if (_v) {
25832 {
25833 void *ptr;
25834 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25835 _v = 0;
25836 PyErr_Clear();
25837 } else {
25838 _v = 1;
25839 }
25840 }
25841 if (_v) {
25842 return _wrap_new_PrintPreview__SWIG_1(self,args);
25843 }
25844 }
25845 }
25846 if (argc == 3) {
25847 int _v;
25848 {
25849 void *ptr;
25850 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25851 _v = 0;
25852 PyErr_Clear();
25853 } else {
25854 _v = 1;
25855 }
25856 }
25857 if (_v) {
25858 {
25859 void *ptr;
25860 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25861 _v = 0;
25862 PyErr_Clear();
25863 } else {
25864 _v = 1;
25865 }
25866 }
25867 if (_v) {
25868 {
25869 void *ptr;
25870 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25871 _v = 0;
25872 PyErr_Clear();
25873 } else {
25874 _v = 1;
25875 }
25876 }
25877 if (_v) {
25878 return _wrap_new_PrintPreview__SWIG_0(self,args);
25879 }
25880 }
25881 }
25882 }
25883 if (argc == 3) {
25884 int _v;
25885 {
25886 void *ptr;
25887 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25888 _v = 0;
25889 PyErr_Clear();
25890 } else {
25891 _v = 1;
25892 }
25893 }
25894 if (_v) {
25895 {
25896 void *ptr;
25897 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25898 _v = 0;
25899 PyErr_Clear();
25900 } else {
25901 _v = 1;
25902 }
25903 }
25904 if (_v) {
25905 {
25906 void *ptr;
25907 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25908 _v = 0;
25909 PyErr_Clear();
25910 } else {
25911 _v = 1;
25912 }
25913 }
25914 if (_v) {
25915 return _wrap_new_PrintPreview__SWIG_2(self,args);
25916 }
25917 }
25918 }
25919 }
25920
25921 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25922 return NULL;
25923 }
25924
25925
25926 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj = NULL;
25928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25929 int arg2 ;
25930 bool result;
25931 PyObject * obj0 = 0 ;
25932 PyObject * obj1 = 0 ;
25933 char *kwnames[] = {
25934 (char *) "self",(char *) "pageNum", NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail;
25940 {
25941 arg2 = static_cast<int >(SWIG_As_int(obj1));
25942 if (SWIG_arg_fail(2)) SWIG_fail;
25943 }
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (bool)(arg1)->SetCurrentPage(arg2);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 {
25952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25953 }
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25961 PyObject *resultobj = NULL;
25962 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25963 int result;
25964 PyObject * obj0 = 0 ;
25965 char *kwnames[] = {
25966 (char *) "self", NULL
25967 };
25968
25969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25971 if (SWIG_arg_fail(1)) SWIG_fail;
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (int)(arg1)->GetCurrentPage();
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 {
25980 resultobj = SWIG_From_int(static_cast<int >(result));
25981 }
25982 return resultobj;
25983 fail:
25984 return NULL;
25985 }
25986
25987
25988 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25989 PyObject *resultobj = NULL;
25990 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25991 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 char *kwnames[] = {
25995 (char *) "self",(char *) "printout", NULL
25996 };
25997
25998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26000 if (SWIG_arg_fail(1)) SWIG_fail;
26001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26002 if (SWIG_arg_fail(2)) SWIG_fail;
26003 {
26004 PyThreadState* __tstate = wxPyBeginAllowThreads();
26005 (arg1)->SetPrintout(arg2);
26006
26007 wxPyEndAllowThreads(__tstate);
26008 if (PyErr_Occurred()) SWIG_fail;
26009 }
26010 Py_INCREF(Py_None); resultobj = Py_None;
26011 return resultobj;
26012 fail:
26013 return NULL;
26014 }
26015
26016
26017 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26018 PyObject *resultobj = NULL;
26019 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26020 wxPyPrintout *result;
26021 PyObject * obj0 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail;
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 result = (wxPyPrintout *)(arg1)->GetPrintout();
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 {
26037 resultobj = wxPyMake_wxObject(result, 0);
26038 }
26039 return resultobj;
26040 fail:
26041 return NULL;
26042 }
26043
26044
26045 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26046 PyObject *resultobj = NULL;
26047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26048 wxPyPrintout *result;
26049 PyObject * obj0 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail;
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 {
26065 resultobj = wxPyMake_wxObject(result, 0);
26066 }
26067 return resultobj;
26068 fail:
26069 return NULL;
26070 }
26071
26072
26073 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj = NULL;
26075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26076 wxFrame *arg2 = (wxFrame *) 0 ;
26077 PyObject * obj0 = 0 ;
26078 PyObject * obj1 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "frame", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) 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_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26087 if (SWIG_arg_fail(2)) SWIG_fail;
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 (arg1)->SetFrame(arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 Py_INCREF(Py_None); resultobj = Py_None;
26096 return resultobj;
26097 fail:
26098 return NULL;
26099 }
26100
26101
26102 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26103 PyObject *resultobj = NULL;
26104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26105 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26106 PyObject * obj0 = 0 ;
26107 PyObject * obj1 = 0 ;
26108 char *kwnames[] = {
26109 (char *) "self",(char *) "canvas", NULL
26110 };
26111
26112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26114 if (SWIG_arg_fail(1)) SWIG_fail;
26115 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26116 if (SWIG_arg_fail(2)) SWIG_fail;
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 (arg1)->SetCanvas(arg2);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 Py_INCREF(Py_None); resultobj = Py_None;
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj = NULL;
26133 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26134 wxFrame *result;
26135 PyObject * obj0 = 0 ;
26136 char *kwnames[] = {
26137 (char *) "self", NULL
26138 };
26139
26140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26142 if (SWIG_arg_fail(1)) SWIG_fail;
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 result = (wxFrame *)(arg1)->GetFrame();
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 {
26151 resultobj = wxPyMake_wxObject(result, 0);
26152 }
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj = NULL;
26161 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26162 wxPreviewCanvas *result;
26163 PyObject * obj0 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail;
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26179 return resultobj;
26180 fail:
26181 return NULL;
26182 }
26183
26184
26185 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26186 PyObject *resultobj = NULL;
26187 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26188 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26189 wxDC *arg3 = 0 ;
26190 bool result;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 PyObject * obj2 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26205 if (SWIG_arg_fail(3)) SWIG_fail;
26206 if (arg3 == NULL) {
26207 SWIG_null_ref("wxDC");
26208 }
26209 if (SWIG_arg_fail(3)) SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 {
26219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26220 }
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj = NULL;
26229 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26230 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26231 wxDC *arg3 = 0 ;
26232 bool result;
26233 PyObject * obj0 = 0 ;
26234 PyObject * obj1 = 0 ;
26235 PyObject * obj2 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26242 if (SWIG_arg_fail(1)) SWIG_fail;
26243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26244 if (SWIG_arg_fail(2)) SWIG_fail;
26245 {
26246 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26247 if (SWIG_arg_fail(3)) SWIG_fail;
26248 if (arg3 == NULL) {
26249 SWIG_null_ref("wxDC");
26250 }
26251 if (SWIG_arg_fail(3)) SWIG_fail;
26252 }
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26262 }
26263 return resultobj;
26264 fail:
26265 return NULL;
26266 }
26267
26268
26269 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj = NULL;
26271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26272 int arg2 ;
26273 bool result;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "pageNum", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26282 if (SWIG_arg_fail(1)) SWIG_fail;
26283 {
26284 arg2 = static_cast<int >(SWIG_As_int(obj1));
26285 if (SWIG_arg_fail(2)) SWIG_fail;
26286 }
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)(arg1)->RenderPage(arg2);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj = NULL;
26305 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26306 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26307 PyObject * obj0 = 0 ;
26308 PyObject * obj1 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self",(char *) "canvas", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail;
26316 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(2)) SWIG_fail;
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->AdjustScrollbars(arg2);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 Py_INCREF(Py_None); resultobj = Py_None;
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj = NULL;
26334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26335 wxPrintDialogData *result;
26336 PyObject * obj0 = 0 ;
26337 char *kwnames[] = {
26338 (char *) "self", NULL
26339 };
26340
26341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26343 if (SWIG_arg_fail(1)) SWIG_fail;
26344 {
26345 PyThreadState* __tstate = wxPyBeginAllowThreads();
26346 {
26347 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26348 result = (wxPrintDialogData *) &_result_ref;
26349 }
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
26354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26355 return resultobj;
26356 fail:
26357 return NULL;
26358 }
26359
26360
26361 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26362 PyObject *resultobj = NULL;
26363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26364 int arg2 ;
26365 PyObject * obj0 = 0 ;
26366 PyObject * obj1 = 0 ;
26367 char *kwnames[] = {
26368 (char *) "self",(char *) "percent", NULL
26369 };
26370
26371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26373 if (SWIG_arg_fail(1)) SWIG_fail;
26374 {
26375 arg2 = static_cast<int >(SWIG_As_int(obj1));
26376 if (SWIG_arg_fail(2)) SWIG_fail;
26377 }
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 (arg1)->SetZoom(arg2);
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 Py_INCREF(Py_None); resultobj = Py_None;
26386 return resultobj;
26387 fail:
26388 return NULL;
26389 }
26390
26391
26392 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26393 PyObject *resultobj = NULL;
26394 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26395 int result;
26396 PyObject * obj0 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail;
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 result = (int)(arg1)->GetZoom();
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 {
26412 resultobj = SWIG_From_int(static_cast<int >(result));
26413 }
26414 return resultobj;
26415 fail:
26416 return NULL;
26417 }
26418
26419
26420 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj = NULL;
26422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26423 int result;
26424 PyObject * obj0 = 0 ;
26425 char *kwnames[] = {
26426 (char *) "self", NULL
26427 };
26428
26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail;
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = (int)(arg1)->GetMaxPage();
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 {
26440 resultobj = SWIG_From_int(static_cast<int >(result));
26441 }
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj = NULL;
26450 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26451 int result;
26452 PyObject * obj0 = 0 ;
26453 char *kwnames[] = {
26454 (char *) "self", NULL
26455 };
26456
26457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26459 if (SWIG_arg_fail(1)) SWIG_fail;
26460 {
26461 PyThreadState* __tstate = wxPyBeginAllowThreads();
26462 result = (int)(arg1)->GetMinPage();
26463
26464 wxPyEndAllowThreads(__tstate);
26465 if (PyErr_Occurred()) SWIG_fail;
26466 }
26467 {
26468 resultobj = SWIG_From_int(static_cast<int >(result));
26469 }
26470 return resultobj;
26471 fail:
26472 return NULL;
26473 }
26474
26475
26476 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26477 PyObject *resultobj = NULL;
26478 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26479 bool result;
26480 PyObject * obj0 = 0 ;
26481 char *kwnames[] = {
26482 (char *) "self", NULL
26483 };
26484
26485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26487 if (SWIG_arg_fail(1)) SWIG_fail;
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = (bool)(arg1)->Ok();
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 {
26496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26497 }
26498 return resultobj;
26499 fail:
26500 return NULL;
26501 }
26502
26503
26504 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26505 PyObject *resultobj = NULL;
26506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26507 bool arg2 ;
26508 PyObject * obj0 = 0 ;
26509 PyObject * obj1 = 0 ;
26510 char *kwnames[] = {
26511 (char *) "self",(char *) "ok", NULL
26512 };
26513
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail;
26517 {
26518 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26519 if (SWIG_arg_fail(2)) SWIG_fail;
26520 }
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 (arg1)->SetOk(arg2);
26524
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 Py_INCREF(Py_None); resultobj = Py_None;
26529 return resultobj;
26530 fail:
26531 return NULL;
26532 }
26533
26534
26535 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26536 PyObject *resultobj = NULL;
26537 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26538 bool arg2 ;
26539 bool result;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char *kwnames[] = {
26543 (char *) "self",(char *) "interactive", NULL
26544 };
26545
26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26548 if (SWIG_arg_fail(1)) SWIG_fail;
26549 {
26550 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
26551 if (SWIG_arg_fail(2)) SWIG_fail;
26552 }
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 result = (bool)(arg1)->Print(arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 {
26561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26562 }
26563 return resultobj;
26564 fail:
26565 return NULL;
26566 }
26567
26568
26569 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26570 PyObject *resultobj = NULL;
26571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26572 PyObject * obj0 = 0 ;
26573 char *kwnames[] = {
26574 (char *) "self", NULL
26575 };
26576
26577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26579 if (SWIG_arg_fail(1)) SWIG_fail;
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->DetermineScaling();
26583
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 Py_INCREF(Py_None); resultobj = Py_None;
26588 return resultobj;
26589 fail:
26590 return NULL;
26591 }
26592
26593
26594 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26595 PyObject *obj;
26596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26598 Py_INCREF(obj);
26599 return Py_BuildValue((char *)"");
26600 }
26601 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26602 PyObject *resultobj = NULL;
26603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26604 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26605 wxPrintDialogData *arg3 = (wxPrintDialogData *) 0 ;
26606 wxPyPrintPreview *result;
26607 PyObject * obj0 = 0 ;
26608 PyObject * obj1 = 0 ;
26609 PyObject * obj2 = 0 ;
26610
26611 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26613 if (SWIG_arg_fail(1)) SWIG_fail;
26614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26615 if (SWIG_arg_fail(2)) SWIG_fail;
26616 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26617 if (SWIG_arg_fail(3)) SWIG_fail;
26618 {
26619 if (!wxPyCheckForApp()) SWIG_fail;
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26622
26623 wxPyEndAllowThreads(__tstate);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 }
26626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26627 return resultobj;
26628 fail:
26629 return NULL;
26630 }
26631
26632
26633 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26634 PyObject *resultobj = NULL;
26635 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26636 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26637 wxPyPrintPreview *result;
26638 PyObject * obj0 = 0 ;
26639 PyObject * obj1 = 0 ;
26640
26641 if(!PyArg_ParseTuple(args,(char *)"OO:new_PyPrintPreview",&obj0,&obj1)) goto fail;
26642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail;
26644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26645 if (SWIG_arg_fail(2)) SWIG_fail;
26646 {
26647 if (!wxPyCheckForApp()) SWIG_fail;
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2);
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26655 return resultobj;
26656 fail:
26657 return NULL;
26658 }
26659
26660
26661 static PyObject *_wrap_new_PyPrintPreview__SWIG_2(PyObject *, PyObject *args) {
26662 PyObject *resultobj = NULL;
26663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26664 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26665 wxPrintData *arg3 = (wxPrintData *) 0 ;
26666 wxPyPrintPreview *result;
26667 PyObject * obj0 = 0 ;
26668 PyObject * obj1 = 0 ;
26669 PyObject * obj2 = 0 ;
26670
26671 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26673 if (SWIG_arg_fail(1)) SWIG_fail;
26674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26675 if (SWIG_arg_fail(2)) SWIG_fail;
26676 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26677 if (SWIG_arg_fail(3)) SWIG_fail;
26678 {
26679 if (!wxPyCheckForApp()) SWIG_fail;
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26682
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
26686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26687 return resultobj;
26688 fail:
26689 return NULL;
26690 }
26691
26692
26693 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26694 int argc;
26695 PyObject *argv[4];
26696 int ii;
26697
26698 argc = PyObject_Length(args);
26699 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26700 argv[ii] = PyTuple_GetItem(args,ii);
26701 }
26702 if (argc == 2) {
26703 int _v;
26704 {
26705 void *ptr;
26706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26707 _v = 0;
26708 PyErr_Clear();
26709 } else {
26710 _v = 1;
26711 }
26712 }
26713 if (_v) {
26714 {
26715 void *ptr;
26716 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26717 _v = 0;
26718 PyErr_Clear();
26719 } else {
26720 _v = 1;
26721 }
26722 }
26723 if (_v) {
26724 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26725 }
26726 }
26727 }
26728 if (argc == 3) {
26729 int _v;
26730 {
26731 void *ptr;
26732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26733 _v = 0;
26734 PyErr_Clear();
26735 } else {
26736 _v = 1;
26737 }
26738 }
26739 if (_v) {
26740 {
26741 void *ptr;
26742 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26743 _v = 0;
26744 PyErr_Clear();
26745 } else {
26746 _v = 1;
26747 }
26748 }
26749 if (_v) {
26750 {
26751 void *ptr;
26752 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26753 _v = 0;
26754 PyErr_Clear();
26755 } else {
26756 _v = 1;
26757 }
26758 }
26759 if (_v) {
26760 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26761 }
26762 }
26763 }
26764 }
26765 if (argc == 3) {
26766 int _v;
26767 {
26768 void *ptr;
26769 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26770 _v = 0;
26771 PyErr_Clear();
26772 } else {
26773 _v = 1;
26774 }
26775 }
26776 if (_v) {
26777 {
26778 void *ptr;
26779 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26780 _v = 0;
26781 PyErr_Clear();
26782 } else {
26783 _v = 1;
26784 }
26785 }
26786 if (_v) {
26787 {
26788 void *ptr;
26789 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26790 _v = 0;
26791 PyErr_Clear();
26792 } else {
26793 _v = 1;
26794 }
26795 }
26796 if (_v) {
26797 return _wrap_new_PyPrintPreview__SWIG_2(self,args);
26798 }
26799 }
26800 }
26801 }
26802
26803 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26804 return NULL;
26805 }
26806
26807
26808 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj = NULL;
26810 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26811 PyObject *arg2 = (PyObject *) 0 ;
26812 PyObject *arg3 = (PyObject *) 0 ;
26813 PyObject * obj0 = 0 ;
26814 PyObject * obj1 = 0 ;
26815 PyObject * obj2 = 0 ;
26816 char *kwnames[] = {
26817 (char *) "self",(char *) "self",(char *) "_class", NULL
26818 };
26819
26820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26822 if (SWIG_arg_fail(1)) SWIG_fail;
26823 arg2 = obj1;
26824 arg3 = obj2;
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->_setCallbackInfo(arg2,arg3);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 Py_INCREF(Py_None); resultobj = Py_None;
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26840 PyObject *resultobj = NULL;
26841 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26842 int arg2 ;
26843 bool result;
26844 PyObject * obj0 = 0 ;
26845 PyObject * obj1 = 0 ;
26846 char *kwnames[] = {
26847 (char *) "self",(char *) "pageNum", NULL
26848 };
26849
26850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26852 if (SWIG_arg_fail(1)) SWIG_fail;
26853 {
26854 arg2 = static_cast<int >(SWIG_As_int(obj1));
26855 if (SWIG_arg_fail(2)) SWIG_fail;
26856 }
26857 {
26858 PyThreadState* __tstate = wxPyBeginAllowThreads();
26859 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26860
26861 wxPyEndAllowThreads(__tstate);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 {
26865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26866 }
26867 return resultobj;
26868 fail:
26869 return NULL;
26870 }
26871
26872
26873 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26874 PyObject *resultobj = NULL;
26875 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26876 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26877 wxDC *arg3 = 0 ;
26878 bool result;
26879 PyObject * obj0 = 0 ;
26880 PyObject * obj1 = 0 ;
26881 PyObject * obj2 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26890 if (SWIG_arg_fail(2)) SWIG_fail;
26891 {
26892 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26893 if (SWIG_arg_fail(3)) SWIG_fail;
26894 if (arg3 == NULL) {
26895 SWIG_null_ref("wxDC");
26896 }
26897 if (SWIG_arg_fail(3)) SWIG_fail;
26898 }
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 {
26907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26908 }
26909 return resultobj;
26910 fail:
26911 return NULL;
26912 }
26913
26914
26915 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26916 PyObject *resultobj = NULL;
26917 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26918 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26919 wxDC *arg3 = 0 ;
26920 bool result;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923 PyObject * obj2 = 0 ;
26924 char *kwnames[] = {
26925 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26926 };
26927
26928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail;
26931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26932 if (SWIG_arg_fail(2)) SWIG_fail;
26933 {
26934 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26935 if (SWIG_arg_fail(3)) SWIG_fail;
26936 if (arg3 == NULL) {
26937 SWIG_null_ref("wxDC");
26938 }
26939 if (SWIG_arg_fail(3)) SWIG_fail;
26940 }
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26944
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 {
26949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26950 }
26951 return resultobj;
26952 fail:
26953 return NULL;
26954 }
26955
26956
26957 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26958 PyObject *resultobj = NULL;
26959 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26960 int arg2 ;
26961 bool result;
26962 PyObject * obj0 = 0 ;
26963 PyObject * obj1 = 0 ;
26964 char *kwnames[] = {
26965 (char *) "self",(char *) "pageNum", NULL
26966 };
26967
26968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail;
26971 {
26972 arg2 = static_cast<int >(SWIG_As_int(obj1));
26973 if (SWIG_arg_fail(2)) SWIG_fail;
26974 }
26975 {
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = (bool)(arg1)->base_RenderPage(arg2);
26978
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
26982 {
26983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26984 }
26985 return resultobj;
26986 fail:
26987 return NULL;
26988 }
26989
26990
26991 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26992 PyObject *resultobj = NULL;
26993 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26994 int arg2 ;
26995 PyObject * obj0 = 0 ;
26996 PyObject * obj1 = 0 ;
26997 char *kwnames[] = {
26998 (char *) "self",(char *) "percent", NULL
26999 };
27000
27001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27003 if (SWIG_arg_fail(1)) SWIG_fail;
27004 {
27005 arg2 = static_cast<int >(SWIG_As_int(obj1));
27006 if (SWIG_arg_fail(2)) SWIG_fail;
27007 }
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 (arg1)->base_SetZoom(arg2);
27011
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
27015 Py_INCREF(Py_None); resultobj = Py_None;
27016 return resultobj;
27017 fail:
27018 return NULL;
27019 }
27020
27021
27022 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27023 PyObject *resultobj = NULL;
27024 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27025 bool arg2 ;
27026 bool result;
27027 PyObject * obj0 = 0 ;
27028 PyObject * obj1 = 0 ;
27029 char *kwnames[] = {
27030 (char *) "self",(char *) "interactive", NULL
27031 };
27032
27033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27035 if (SWIG_arg_fail(1)) SWIG_fail;
27036 {
27037 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
27038 if (SWIG_arg_fail(2)) SWIG_fail;
27039 }
27040 {
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (bool)(arg1)->base_Print(arg2);
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 {
27048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27049 }
27050 return resultobj;
27051 fail:
27052 return NULL;
27053 }
27054
27055
27056 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27057 PyObject *resultobj = NULL;
27058 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27059 PyObject * obj0 = 0 ;
27060 char *kwnames[] = {
27061 (char *) "self", NULL
27062 };
27063
27064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail;
27067 {
27068 PyThreadState* __tstate = wxPyBeginAllowThreads();
27069 (arg1)->base_DetermineScaling();
27070
27071 wxPyEndAllowThreads(__tstate);
27072 if (PyErr_Occurred()) SWIG_fail;
27073 }
27074 Py_INCREF(Py_None); resultobj = Py_None;
27075 return resultobj;
27076 fail:
27077 return NULL;
27078 }
27079
27080
27081 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27082 PyObject *obj;
27083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27084 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27085 Py_INCREF(obj);
27086 return Py_BuildValue((char *)"");
27087 }
27088 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27089 PyObject *resultobj = NULL;
27090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27091 wxFrame *arg2 = (wxFrame *) 0 ;
27092 wxString *arg3 = 0 ;
27093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27095 wxSize const &arg5_defvalue = wxDefaultSize ;
27096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27097 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27098 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27099 wxString *arg7 = (wxString *) &arg7_defvalue ;
27100 wxPyPreviewFrame *result;
27101 bool temp3 = false ;
27102 wxPoint temp4 ;
27103 wxSize temp5 ;
27104 bool temp7 = false ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 PyObject * obj2 = 0 ;
27108 PyObject * obj3 = 0 ;
27109 PyObject * obj4 = 0 ;
27110 PyObject * obj5 = 0 ;
27111 PyObject * obj6 = 0 ;
27112 char *kwnames[] = {
27113 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27114 };
27115
27116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail;
27119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27120 if (SWIG_arg_fail(2)) SWIG_fail;
27121 {
27122 arg3 = wxString_in_helper(obj2);
27123 if (arg3 == NULL) SWIG_fail;
27124 temp3 = true;
27125 }
27126 if (obj3) {
27127 {
27128 arg4 = &temp4;
27129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27130 }
27131 }
27132 if (obj4) {
27133 {
27134 arg5 = &temp5;
27135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27136 }
27137 }
27138 if (obj5) {
27139 {
27140 arg6 = static_cast<long >(SWIG_As_long(obj5));
27141 if (SWIG_arg_fail(6)) SWIG_fail;
27142 }
27143 }
27144 if (obj6) {
27145 {
27146 arg7 = wxString_in_helper(obj6);
27147 if (arg7 == NULL) SWIG_fail;
27148 temp7 = true;
27149 }
27150 }
27151 {
27152 if (!wxPyCheckForApp()) SWIG_fail;
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27155
27156 wxPyEndAllowThreads(__tstate);
27157 if (PyErr_Occurred()) SWIG_fail;
27158 }
27159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27160 {
27161 if (temp3)
27162 delete arg3;
27163 }
27164 {
27165 if (temp7)
27166 delete arg7;
27167 }
27168 return resultobj;
27169 fail:
27170 {
27171 if (temp3)
27172 delete arg3;
27173 }
27174 {
27175 if (temp7)
27176 delete arg7;
27177 }
27178 return NULL;
27179 }
27180
27181
27182 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27183 PyObject *resultobj = NULL;
27184 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27185 PyObject *arg2 = (PyObject *) 0 ;
27186 PyObject *arg3 = (PyObject *) 0 ;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 PyObject * obj2 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "self",(char *) "_class", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail;
27197 arg2 = obj1;
27198 arg3 = obj2;
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 (arg1)->_setCallbackInfo(arg2,arg3);
27202
27203 wxPyEndAllowThreads(__tstate);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 Py_INCREF(Py_None); resultobj = Py_None;
27207 return resultobj;
27208 fail:
27209 return NULL;
27210 }
27211
27212
27213 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27214 PyObject *resultobj = NULL;
27215 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27216 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27217 PyObject * obj0 = 0 ;
27218 PyObject * obj1 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "self",(char *) "canvas", NULL
27221 };
27222
27223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail;
27226 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27227 if (SWIG_arg_fail(2)) SWIG_fail;
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 (arg1)->SetPreviewCanvas(arg2);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 Py_INCREF(Py_None); resultobj = Py_None;
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj = NULL;
27244 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27245 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27246 PyObject * obj0 = 0 ;
27247 PyObject * obj1 = 0 ;
27248 char *kwnames[] = {
27249 (char *) "self",(char *) "bar", NULL
27250 };
27251
27252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27254 if (SWIG_arg_fail(1)) SWIG_fail;
27255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27256 if (SWIG_arg_fail(2)) SWIG_fail;
27257 {
27258 PyThreadState* __tstate = wxPyBeginAllowThreads();
27259 (arg1)->SetControlBar(arg2);
27260
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 Py_INCREF(Py_None); resultobj = Py_None;
27265 return resultobj;
27266 fail:
27267 return NULL;
27268 }
27269
27270
27271 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27272 PyObject *resultobj = NULL;
27273 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27274 PyObject * obj0 = 0 ;
27275 char *kwnames[] = {
27276 (char *) "self", NULL
27277 };
27278
27279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27281 if (SWIG_arg_fail(1)) SWIG_fail;
27282 {
27283 PyThreadState* __tstate = wxPyBeginAllowThreads();
27284 (arg1)->base_Initialize();
27285
27286 wxPyEndAllowThreads(__tstate);
27287 if (PyErr_Occurred()) SWIG_fail;
27288 }
27289 Py_INCREF(Py_None); resultobj = Py_None;
27290 return resultobj;
27291 fail:
27292 return NULL;
27293 }
27294
27295
27296 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27297 PyObject *resultobj = NULL;
27298 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27299 PyObject * obj0 = 0 ;
27300 char *kwnames[] = {
27301 (char *) "self", NULL
27302 };
27303
27304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27306 if (SWIG_arg_fail(1)) SWIG_fail;
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
27309 (arg1)->base_CreateCanvas();
27310
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 Py_INCREF(Py_None); resultobj = Py_None;
27315 return resultobj;
27316 fail:
27317 return NULL;
27318 }
27319
27320
27321 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27322 PyObject *resultobj = NULL;
27323 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27324 PyObject * obj0 = 0 ;
27325 char *kwnames[] = {
27326 (char *) "self", NULL
27327 };
27328
27329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail;
27332 {
27333 PyThreadState* __tstate = wxPyBeginAllowThreads();
27334 (arg1)->base_CreateControlBar();
27335
27336 wxPyEndAllowThreads(__tstate);
27337 if (PyErr_Occurred()) SWIG_fail;
27338 }
27339 Py_INCREF(Py_None); resultobj = Py_None;
27340 return resultobj;
27341 fail:
27342 return NULL;
27343 }
27344
27345
27346 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27347 PyObject *obj;
27348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27349 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27350 Py_INCREF(obj);
27351 return Py_BuildValue((char *)"");
27352 }
27353 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj = NULL;
27355 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27356 long arg2 ;
27357 wxWindow *arg3 = (wxWindow *) 0 ;
27358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27360 wxSize const &arg5_defvalue = wxDefaultSize ;
27361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27362 long arg6 = (long) 0 ;
27363 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27364 wxString *arg7 = (wxString *) &arg7_defvalue ;
27365 wxPyPreviewControlBar *result;
27366 wxPoint temp4 ;
27367 wxSize temp5 ;
27368 bool temp7 = false ;
27369 PyObject * obj0 = 0 ;
27370 PyObject * obj1 = 0 ;
27371 PyObject * obj2 = 0 ;
27372 PyObject * obj3 = 0 ;
27373 PyObject * obj4 = 0 ;
27374 PyObject * obj5 = 0 ;
27375 PyObject * obj6 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27378 };
27379
27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail;
27383 {
27384 arg2 = static_cast<long >(SWIG_As_long(obj1));
27385 if (SWIG_arg_fail(2)) SWIG_fail;
27386 }
27387 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27388 if (SWIG_arg_fail(3)) SWIG_fail;
27389 if (obj3) {
27390 {
27391 arg4 = &temp4;
27392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27393 }
27394 }
27395 if (obj4) {
27396 {
27397 arg5 = &temp5;
27398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27399 }
27400 }
27401 if (obj5) {
27402 {
27403 arg6 = static_cast<long >(SWIG_As_long(obj5));
27404 if (SWIG_arg_fail(6)) SWIG_fail;
27405 }
27406 }
27407 if (obj6) {
27408 {
27409 arg7 = wxString_in_helper(obj6);
27410 if (arg7 == NULL) SWIG_fail;
27411 temp7 = true;
27412 }
27413 }
27414 {
27415 if (!wxPyCheckForApp()) SWIG_fail;
27416 PyThreadState* __tstate = wxPyBeginAllowThreads();
27417 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27418
27419 wxPyEndAllowThreads(__tstate);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
27422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27423 {
27424 if (temp7)
27425 delete arg7;
27426 }
27427 return resultobj;
27428 fail:
27429 {
27430 if (temp7)
27431 delete arg7;
27432 }
27433 return NULL;
27434 }
27435
27436
27437 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27438 PyObject *resultobj = NULL;
27439 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27440 PyObject *arg2 = (PyObject *) 0 ;
27441 PyObject *arg3 = (PyObject *) 0 ;
27442 PyObject * obj0 = 0 ;
27443 PyObject * obj1 = 0 ;
27444 PyObject * obj2 = 0 ;
27445 char *kwnames[] = {
27446 (char *) "self",(char *) "self",(char *) "_class", NULL
27447 };
27448
27449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27451 if (SWIG_arg_fail(1)) SWIG_fail;
27452 arg2 = obj1;
27453 arg3 = obj2;
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 (arg1)->_setCallbackInfo(arg2,arg3);
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 Py_INCREF(Py_None); resultobj = Py_None;
27462 return resultobj;
27463 fail:
27464 return NULL;
27465 }
27466
27467
27468 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27469 PyObject *resultobj = NULL;
27470 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27471 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27472 PyObject * obj0 = 0 ;
27473 PyObject * obj1 = 0 ;
27474 char *kwnames[] = {
27475 (char *) "self",(char *) "preview", NULL
27476 };
27477
27478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail;
27481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(2)) SWIG_fail;
27483 {
27484 PyThreadState* __tstate = wxPyBeginAllowThreads();
27485 (arg1)->SetPrintPreview(arg2);
27486
27487 wxPyEndAllowThreads(__tstate);
27488 if (PyErr_Occurred()) SWIG_fail;
27489 }
27490 Py_INCREF(Py_None); resultobj = Py_None;
27491 return resultobj;
27492 fail:
27493 return NULL;
27494 }
27495
27496
27497 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27498 PyObject *resultobj = NULL;
27499 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27500 PyObject * obj0 = 0 ;
27501 char *kwnames[] = {
27502 (char *) "self", NULL
27503 };
27504
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27507 if (SWIG_arg_fail(1)) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 (arg1)->base_CreateButtons();
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 Py_INCREF(Py_None); resultobj = Py_None;
27516 return resultobj;
27517 fail:
27518 return NULL;
27519 }
27520
27521
27522 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27523 PyObject *resultobj = NULL;
27524 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27525 int arg2 ;
27526 PyObject * obj0 = 0 ;
27527 PyObject * obj1 = 0 ;
27528 char *kwnames[] = {
27529 (char *) "self",(char *) "zoom", NULL
27530 };
27531
27532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27534 if (SWIG_arg_fail(1)) SWIG_fail;
27535 {
27536 arg2 = static_cast<int >(SWIG_As_int(obj1));
27537 if (SWIG_arg_fail(2)) SWIG_fail;
27538 }
27539 {
27540 PyThreadState* __tstate = wxPyBeginAllowThreads();
27541 (arg1)->base_SetZoomControl(arg2);
27542
27543 wxPyEndAllowThreads(__tstate);
27544 if (PyErr_Occurred()) SWIG_fail;
27545 }
27546 Py_INCREF(Py_None); resultobj = Py_None;
27547 return resultobj;
27548 fail:
27549 return NULL;
27550 }
27551
27552
27553 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27554 PyObject *obj;
27555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27556 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27557 Py_INCREF(obj);
27558 return Py_BuildValue((char *)"");
27559 }
27560 static PyMethodDef SwigMethods[] = {
27561 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27569 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27584 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27585 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27592 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27610 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27634 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27647 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27651 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27655 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27660 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27677 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27707 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27714 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27737 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27745 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27757 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27763 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27772 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27778 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27789 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27793 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27813 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27839 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27847 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27856 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27858 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27867 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27870 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27878 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27896 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27900 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27905 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27909 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27911 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27927 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27930 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27933 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27937 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27955 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27961 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27973 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27980 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27984 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28011 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28038 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28065 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28066 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28096 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28129 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28135 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28166 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28172 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28183 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28208 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28214 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28224 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28225 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28248 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28249 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28258 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28266 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28272 { NULL, NULL, 0, NULL }
28273 };
28274
28275
28276 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28277
28278 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28279 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28280 }
28281 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28283 }
28284 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28285 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28286 }
28287 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28288 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28289 }
28290 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28291 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28292 }
28293 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28294 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28295 }
28296 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28297 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28298 }
28299 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28300 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28301 }
28302 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28303 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28304 }
28305 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28306 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28307 }
28308 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28310 }
28311 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28312 return (void *)((wxEvent *) ((wxPyEvent *) x));
28313 }
28314 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28316 }
28317 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28318 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28319 }
28320 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28321 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28322 }
28323 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28324 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28325 }
28326 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28327 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28328 }
28329 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28330 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28331 }
28332 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28333 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28334 }
28335 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28336 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28337 }
28338 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28339 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28340 }
28341 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28342 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28343 }
28344 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28346 }
28347 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28348 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28349 }
28350 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28351 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28352 }
28353 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28354 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28355 }
28356 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28357 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28358 }
28359 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28360 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28361 }
28362 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28363 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28364 }
28365 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28366 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28367 }
28368 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28369 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28370 }
28371 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28372 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28373 }
28374 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28376 }
28377 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28379 }
28380 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28381 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28382 }
28383 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28384 return (void *)((wxEvent *) ((wxShowEvent *) x));
28385 }
28386 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28387 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28388 }
28389 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28390 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28391 }
28392 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28394 }
28395 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28396 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28397 }
28398 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28399 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28400 }
28401 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28402 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28403 }
28404 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28405 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28406 }
28407 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28408 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28409 }
28410 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28411 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28412 }
28413 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28414 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28415 }
28416 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28417 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28418 }
28419 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28421 }
28422 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28424 }
28425 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28426 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28427 }
28428 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28429 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28430 }
28431 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28432 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28433 }
28434 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28436 }
28437 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28439 }
28440 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28442 }
28443 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28445 }
28446 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28448 }
28449 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28451 }
28452 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28453 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28454 }
28455 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28457 }
28458 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28459 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28460 }
28461 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28463 }
28464 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28465 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28466 }
28467 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28468 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28469 }
28470 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28472 }
28473 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28475 }
28476 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28477 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28478 }
28479 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28481 }
28482 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28483 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28484 }
28485 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28487 }
28488 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28489 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28490 }
28491 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28492 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28493 }
28494 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28495 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28496 }
28497 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28499 }
28500 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28501 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28502 }
28503 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28505 }
28506 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28508 }
28509 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28511 }
28512 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28514 }
28515 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28516 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28517 }
28518 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28520 }
28521 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28523 }
28524 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28526 }
28527 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28529 }
28530 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28532 }
28533 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28534 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28535 }
28536 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28538 }
28539 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28540 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28541 }
28542 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28544 }
28545 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28547 }
28548 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28550 }
28551 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28553 }
28554 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28556 }
28557 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28559 }
28560 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28561 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28562 }
28563 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28564 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28565 }
28566 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28567 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28568 }
28569 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28570 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28571 }
28572 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28573 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28574 }
28575 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28576 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28577 }
28578 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28579 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28580 }
28581 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28582 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28583 }
28584 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28586 }
28587 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28589 }
28590 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28592 }
28593 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28595 }
28596 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28598 }
28599 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) ((wxSizerItem *) x));
28601 }
28602 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28604 }
28605 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28607 }
28608 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28610 }
28611 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28613 }
28614 static void *_p_wxSizerTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) ((wxSizer *) x));
28616 }
28617 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28619 }
28620 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28622 }
28623 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28625 }
28626 static void *_p_wxEventTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) ((wxEvent *) x));
28628 }
28629 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) ((wxFontData *) x));
28631 }
28632 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) ((wxPrintData *) x));
28634 }
28635 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28637 }
28638 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28640 }
28641 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28643 }
28644 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28646 }
28647 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28649 }
28650 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28652 }
28653 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28655 }
28656 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28658 }
28659 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28661 }
28662 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28664 }
28665 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28667 }
28668 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28670 }
28671 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28673 }
28674 static void *_p_wxControlTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28676 }
28677 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28679 }
28680 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28682 }
28683 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) ((wxFSFile *) x));
28685 }
28686 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28688 }
28689 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28691 }
28692 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28694 }
28695 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) ((wxColourData *) x));
28697 }
28698 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28700 }
28701 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28703 }
28704 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28706 }
28707 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28709 }
28710 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28712 }
28713 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28715 }
28716 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28718 }
28719 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28721 }
28722 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28724 }
28725 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28727 }
28728 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28730 }
28731 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28733 }
28734 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28736 }
28737 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) ((wxPrinter *) x));
28739 }
28740 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) ((wxMenuItem *) x));
28742 }
28743 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28745 }
28746 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28748 }
28749 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28751 }
28752 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28754 }
28755 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28757 }
28758 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28760 }
28761 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28763 }
28764 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28766 }
28767 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28769 }
28770 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28772 }
28773 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28775 }
28776 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28778 }
28779 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28781 }
28782 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28784 }
28785 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28787 }
28788 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28790 }
28791 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28793 }
28794 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28796 }
28797 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28799 }
28800 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) ((wxImageHandler *) x));
28802 }
28803 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28805 }
28806 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28808 }
28809 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) ((wxEvtHandler *) x));
28811 }
28812 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28814 }
28815 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28817 }
28818 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28820 }
28821 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28823 }
28824 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28826 }
28827 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28829 }
28830 static void *_p_wxImageTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) ((wxImage *) x));
28832 }
28833 static void *_p_wxFrameTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28835 }
28836 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) ((wxPyPrintout *) x));
28838 }
28839 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28841 }
28842 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28844 }
28845 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28847 }
28848 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28850 }
28851 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28853 }
28854 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28856 }
28857 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28859 }
28860 static void *_p_wxWindowTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28862 }
28863 static void *_p_wxMenuTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28865 }
28866 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28868 }
28869 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28871 }
28872 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28874 }
28875 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28877 }
28878 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28880 }
28881 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28883 }
28884 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28886 }
28887 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28889 }
28890 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28892 }
28893 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28895 }
28896 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28898 }
28899 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28901 }
28902 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28904 }
28905 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28907 }
28908 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) ((wxPrintPreview *) x));
28910 }
28911 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28913 }
28914 static void *_p_wxPanelTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28916 }
28917 static void *_p_wxDialogTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28919 }
28920 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28922 }
28923 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28925 }
28926 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28928 }
28929 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28931 }
28932 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) ((wxPrintDialog *) x));
28934 }
28935 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) ((wxFileSystem *) x));
28937 }
28938 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28940 }
28941 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28943 }
28944 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28946 }
28947 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28949 }
28950 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28952 }
28953 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28955 }
28956 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28958 }
28959 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28961 }
28962 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28964 }
28965 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28967 }
28968 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28970 }
28971 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28973 }
28974 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28976 }
28977 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28979 }
28980 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28982 }
28983 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28985 }
28986 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28988 }
28989 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28991 }
28992 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28993 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28994 }
28995 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28996 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28997 }
28998 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
28999 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29000 }
29001 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29002 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29003 }
29004 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29005 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29006 }
29007 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29008 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29009 }
29010 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29011 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29012 }
29013 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29014 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29015 }
29016 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29017 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29018 }
29019 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29020 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29021 }
29022 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29023 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29024 }
29025 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29026 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29027 }
29028 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29029 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29030 }
29031 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29032 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29033 }
29034 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29035 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29036 }
29037 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29038 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29039 }
29040 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29042 }
29043 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29044 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29045 }
29046 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29047 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29048 }
29049 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29051 }
29052 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29053 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29054 }
29055 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29056 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29057 }
29058 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29059 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29060 }
29061 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29062 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29063 }
29064 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29065 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29066 }
29067 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29069 }
29070 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29072 }
29073 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29075 }
29076 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) ((wxMenuBar *) x));
29078 }
29079 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29081 }
29082 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29084 }
29085 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29087 }
29088 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29090 }
29091 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29093 }
29094 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29096 }
29097 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29099 }
29100 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29102 }
29103 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29104 return (void *)((wxWindow *) ((wxPanel *) x));
29105 }
29106 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29107 return (void *)((wxWindow *) ((wxStatusBar *) x));
29108 }
29109 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29110 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29111 }
29112 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29113 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29114 }
29115 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29116 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29117 }
29118 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29119 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29120 }
29121 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29122 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29123 }
29124 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29125 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29126 }
29127 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29128 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29129 }
29130 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29131 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29132 }
29133 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29134 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29135 }
29136 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29137 return (void *)((wxWindow *) ((wxSashWindow *) x));
29138 }
29139 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29140 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29141 }
29142 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29143 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29144 }
29145 static void *_p_wxControlTo_p_wxWindow(void *x) {
29146 return (void *)((wxWindow *) ((wxControl *) x));
29147 }
29148 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29150 }
29151 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29153 }
29154 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29156 }
29157 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29158 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29159 }
29160 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29161 return (void *)((wxWindow *) ((wxPyWindow *) x));
29162 }
29163 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29164 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29165 }
29166 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29167 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29168 }
29169 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29170 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29171 }
29172 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29173 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29174 }
29175 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29176 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29177 }
29178 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29179 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29180 }
29181 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29183 }
29184 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29186 }
29187 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29189 }
29190 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29191 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29192 }
29193 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29195 }
29196 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29197 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29198 }
29199 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29200 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29201 }
29202 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29203 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29204 }
29205 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29206 return (void *)((wxDialog *) ((wxColourDialog *) x));
29207 }
29208 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29209 return (void *)((wxDialog *) ((wxDirDialog *) x));
29210 }
29211 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29212 return (void *)((wxDialog *) ((wxFontDialog *) x));
29213 }
29214 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29215 return (void *)((wxDialog *) ((wxFileDialog *) x));
29216 }
29217 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29218 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29219 }
29220 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29221 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29222 }
29223 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29224 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29225 }
29226 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29227 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29228 }
29229 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29230 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29231 }
29232 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29233 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29234 }
29235 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29236 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29237 }
29238 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29239 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29240 }
29241 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29242 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29243 }
29244 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29245 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29246 }
29247 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29248 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29249 }
29250 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29251 return (void *)((wxPanel *) ((wxPyPanel *) x));
29252 }
29253 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29254 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29255 }
29256 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29257 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29258 }
29259 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29260 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29261 }
29262 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29263 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29264 }
29265 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29266 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29267 }
29268 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29269 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29270 }
29271 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29272 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29273 }
29274 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29275 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29276 }
29277 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29278 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29279 }
29280 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29281 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29282 }
29283 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29284 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29285 }
29286 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29287 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29288 }
29289 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29290 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29291 }
29292 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29293 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29294 }
29295 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29296 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29297 }
29298 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29299 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29300 }
29301 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
29302 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29303 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
29304 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29305 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29306 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29307 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29308 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29309 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29310 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
29311 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29312 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29313 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29314 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29315 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
29316 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29317 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
29318 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29319 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29320 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29321 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29322 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
29323 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29324 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29325 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29326 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29327 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
29328 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
29329 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
29330 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
29331 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29332 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29333 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
29334 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
29335 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29336 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29337 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
29338 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
29339 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
29340 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
29341 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
29342 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29343 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29344 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29345 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29346 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29347 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29348 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
29349 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
29350 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29351 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
29352 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29353 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
29354 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
29355 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
29356 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
29357 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
29358 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29359 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29360 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29361 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29362 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29363 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
29364 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29365 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29366 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29367 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29368 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29369 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29370 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29371 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29372 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29373 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29374 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29375 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29376 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29377 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29378 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29379 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
29380 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29381 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
29382 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
29383 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29384 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29385 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
29386 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
29387 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
29388 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
29389 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29390 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
29391 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
29392 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
29393 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
29394 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
29395 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
29397 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
29398 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
29399 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
29400 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
29401 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
29402 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
29403 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
29404 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
29405 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
29406 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29407 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
29408 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29409 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29410 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29411 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29412 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29413 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29414 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29415 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29416 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29417 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29418 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29419 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29420 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29421 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29422 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29423 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29424 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29425 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29426 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29427 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29428 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29429 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29430 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29431 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29432 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29433 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29434 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29435 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29436 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29437 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
29438 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29439 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29440 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29441 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29442 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29443 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29444 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29445 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
29446 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29447 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29448 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29449 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29450 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29451 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29452 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
29453 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29454 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29455 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29456 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29457 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29458 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29459 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29460 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29461 static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29462 static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29463 static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29464
29465 static swig_type_info *swig_type_initial[] = {
29466 &_swigt__p_char,
29467 &_swigt__p_form_ops_t,
29468 &_swigt__p_int,
29469 &_swigt__p_unsigned_char,
29470 &_swigt__p_unsigned_int,
29471 &_swigt__p_unsigned_long,
29472 &_swigt__p_wxANIHandler,
29473 &_swigt__p_wxAcceleratorTable,
29474 &_swigt__p_wxActivateEvent,
29475 &_swigt__p_wxArrayInt,
29476 &_swigt__p_wxBMPHandler,
29477 &_swigt__p_wxBitmap,
29478 &_swigt__p_wxBoxSizer,
29479 &_swigt__p_wxCURHandler,
29480 &_swigt__p_wxCalculateLayoutEvent,
29481 &_swigt__p_wxChildFocusEvent,
29482 &_swigt__p_wxCloseEvent,
29483 &_swigt__p_wxColour,
29484 &_swigt__p_wxColourData,
29485 &_swigt__p_wxColourDialog,
29486 &_swigt__p_wxCommandEvent,
29487 &_swigt__p_wxContextMenuEvent,
29488 &_swigt__p_wxControl,
29489 &_swigt__p_wxControlWithItems,
29490 &_swigt__p_wxDC,
29491 &_swigt__p_wxDateEvent,
29492 &_swigt__p_wxDialog,
29493 &_swigt__p_wxDirDialog,
29494 &_swigt__p_wxDisplayChangedEvent,
29495 &_swigt__p_wxDropFilesEvent,
29496 &_swigt__p_wxDuplexMode,
29497 &_swigt__p_wxEraseEvent,
29498 &_swigt__p_wxEvent,
29499 &_swigt__p_wxEvtHandler,
29500 &_swigt__p_wxFSFile,
29501 &_swigt__p_wxFileDialog,
29502 &_swigt__p_wxFileSystem,
29503 &_swigt__p_wxFindDialogEvent,
29504 &_swigt__p_wxFindReplaceData,
29505 &_swigt__p_wxFindReplaceDialog,
29506 &_swigt__p_wxFlexGridSizer,
29507 &_swigt__p_wxFocusEvent,
29508 &_swigt__p_wxFont,
29509 &_swigt__p_wxFontData,
29510 &_swigt__p_wxFontDialog,
29511 &_swigt__p_wxFrame,
29512 &_swigt__p_wxGBSizerItem,
29513 &_swigt__p_wxGIFHandler,
29514 &_swigt__p_wxGridBagSizer,
29515 &_swigt__p_wxGridSizer,
29516 &_swigt__p_wxICOHandler,
29517 &_swigt__p_wxIcon,
29518 &_swigt__p_wxIconBundle,
29519 &_swigt__p_wxIconizeEvent,
29520 &_swigt__p_wxIdleEvent,
29521 &_swigt__p_wxImage,
29522 &_swigt__p_wxImageHandler,
29523 &_swigt__p_wxIndividualLayoutConstraint,
29524 &_swigt__p_wxInitDialogEvent,
29525 &_swigt__p_wxJPEGHandler,
29526 &_swigt__p_wxKeyEvent,
29527 &_swigt__p_wxLayoutAlgorithm,
29528 &_swigt__p_wxLayoutConstraints,
29529 &_swigt__p_wxMDIChildFrame,
29530 &_swigt__p_wxMDIClientWindow,
29531 &_swigt__p_wxMDIParentFrame,
29532 &_swigt__p_wxMaximizeEvent,
29533 &_swigt__p_wxMenu,
29534 &_swigt__p_wxMenuBar,
29535 &_swigt__p_wxMenuEvent,
29536 &_swigt__p_wxMenuItem,
29537 &_swigt__p_wxMessageDialog,
29538 &_swigt__p_wxMiniFrame,
29539 &_swigt__p_wxMouseCaptureChangedEvent,
29540 &_swigt__p_wxMouseEvent,
29541 &_swigt__p_wxMoveEvent,
29542 &_swigt__p_wxMultiChoiceDialog,
29543 &_swigt__p_wxNavigationKeyEvent,
29544 &_swigt__p_wxNcPaintEvent,
29545 &_swigt__p_wxNotifyEvent,
29546 &_swigt__p_wxObject,
29547 &_swigt__p_wxPCXHandler,
29548 &_swigt__p_wxPNGHandler,
29549 &_swigt__p_wxPNMHandler,
29550 &_swigt__p_wxPageSetupDialog,
29551 &_swigt__p_wxPageSetupDialogData,
29552 &_swigt__p_wxPaintEvent,
29553 &_swigt__p_wxPaletteChangedEvent,
29554 &_swigt__p_wxPanel,
29555 &_swigt__p_wxPaperSize,
29556 &_swigt__p_wxPasswordEntryDialog,
29557 &_swigt__p_wxPoint,
29558 &_swigt__p_wxPopupWindow,
29559 &_swigt__p_wxPreviewCanvas,
29560 &_swigt__p_wxPreviewControlBar,
29561 &_swigt__p_wxPreviewFrame,
29562 &_swigt__p_wxPrintData,
29563 &_swigt__p_wxPrintDialog,
29564 &_swigt__p_wxPrintDialogData,
29565 &_swigt__p_wxPrintPreview,
29566 &_swigt__p_wxPrinter,
29567 &_swigt__p_wxProgressDialog,
29568 &_swigt__p_wxPyApp,
29569 &_swigt__p_wxPyCommandEvent,
29570 &_swigt__p_wxPyEvent,
29571 &_swigt__p_wxPyHtmlListBox,
29572 &_swigt__p_wxPyImageHandler,
29573 &_swigt__p_wxPyPanel,
29574 &_swigt__p_wxPyPopupTransientWindow,
29575 &_swigt__p_wxPyPreviewControlBar,
29576 &_swigt__p_wxPyPreviewFrame,
29577 &_swigt__p_wxPyPrintPreview,
29578 &_swigt__p_wxPyPrintout,
29579 &_swigt__p_wxPyScrolledWindow,
29580 &_swigt__p_wxPySizer,
29581 &_swigt__p_wxPyTaskBarIcon,
29582 &_swigt__p_wxPyVListBox,
29583 &_swigt__p_wxPyVScrolledWindow,
29584 &_swigt__p_wxPyValidator,
29585 &_swigt__p_wxPyWindow,
29586 &_swigt__p_wxQueryLayoutInfoEvent,
29587 &_swigt__p_wxQueryNewPaletteEvent,
29588 &_swigt__p_wxRect,
29589 &_swigt__p_wxRegion,
29590 &_swigt__p_wxSashEvent,
29591 &_swigt__p_wxSashLayoutWindow,
29592 &_swigt__p_wxSashWindow,
29593 &_swigt__p_wxScrollEvent,
29594 &_swigt__p_wxScrollWinEvent,
29595 &_swigt__p_wxScrolledWindow,
29596 &_swigt__p_wxSetCursorEvent,
29597 &_swigt__p_wxShowEvent,
29598 &_swigt__p_wxSingleChoiceDialog,
29599 &_swigt__p_wxSize,
29600 &_swigt__p_wxSizeEvent,
29601 &_swigt__p_wxSizer,
29602 &_swigt__p_wxSizerItem,
29603 &_swigt__p_wxSplashScreen,
29604 &_swigt__p_wxSplashScreenWindow,
29605 &_swigt__p_wxSplitterEvent,
29606 &_swigt__p_wxSplitterWindow,
29607 &_swigt__p_wxStaticBoxSizer,
29608 &_swigt__p_wxStatusBar,
29609 &_swigt__p_wxStdDialogButtonSizer,
29610 &_swigt__p_wxString,
29611 &_swigt__p_wxSysColourChangedEvent,
29612 &_swigt__p_wxTIFFHandler,
29613 &_swigt__p_wxTaskBarIcon,
29614 &_swigt__p_wxTaskBarIconEvent,
29615 &_swigt__p_wxTextEntryDialog,
29616 &_swigt__p_wxTipWindow,
29617 &_swigt__p_wxToolBar,
29618 &_swigt__p_wxTopLevelWindow,
29619 &_swigt__p_wxUpdateUIEvent,
29620 &_swigt__p_wxValidator,
29621 &_swigt__p_wxVisualAttributes,
29622 &_swigt__p_wxWindow,
29623 &_swigt__p_wxWindowCreateEvent,
29624 &_swigt__p_wxWindowDestroyEvent,
29625 &_swigt__p_wxXPMHandler,
29626 &_swigt__ptrdiff_t,
29627 &_swigt__std__ptrdiff_t,
29628 &_swigt__unsigned_int,
29629 };
29630
29631 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
29633 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
29634 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29636 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
29637 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
29639 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
29640 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
29645 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
29646 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
29647 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
29651 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}};
29652 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
29653 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}};
29654 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
29655 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
29656 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
29661 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29662 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29666 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29667 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
29668 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
29669 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
29670 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29671 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
29672 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29673 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29674 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29675 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
29676 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
29677 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
29678 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
29679 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29680 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
29681 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}};
29682 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
29683 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
29684 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
29685 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
29686 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
29691 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
29692 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
29693 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
29694 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
29695 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
29696 static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxFrame, 0, 0}, {&_swigt__p_wxFrame, 0, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxFrame, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxFrame, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
29698 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
29699 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
29700 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
29701 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
29702 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
29704 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
29705 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
29706 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
29707 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29708 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}};
29709 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
29729 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
29730 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
29736 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
29737 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
29740 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}};
29741 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
29742 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
29743 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
29744 static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
29746 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}};
29747 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}};
29748 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
29749 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
29751 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}};
29752 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
29754 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
29755 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
29756 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0},{0, 0, 0, 0}};
29757 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
29758 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
29759 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
29760 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
29761 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
29762 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29763 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}};
29764 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}};
29765 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
29766 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
29767 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
29768 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
29769 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
29770 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
29771 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}};
29772 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
29773 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}};
29774 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
29775 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
29776 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
29777 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
29778 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
29779 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
29780 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
29781 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
29782 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
29783 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
29784 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
29785 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}};
29786 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
29787 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
29788 static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
29789 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
29790 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
29791 static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29792 static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
29793 static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
29794
29795 static swig_cast_info *swig_cast_initial[] = {
29796 _swigc__p_char,
29797 _swigc__p_form_ops_t,
29798 _swigc__p_int,
29799 _swigc__p_unsigned_char,
29800 _swigc__p_unsigned_int,
29801 _swigc__p_unsigned_long,
29802 _swigc__p_wxANIHandler,
29803 _swigc__p_wxAcceleratorTable,
29804 _swigc__p_wxActivateEvent,
29805 _swigc__p_wxArrayInt,
29806 _swigc__p_wxBMPHandler,
29807 _swigc__p_wxBitmap,
29808 _swigc__p_wxBoxSizer,
29809 _swigc__p_wxCURHandler,
29810 _swigc__p_wxCalculateLayoutEvent,
29811 _swigc__p_wxChildFocusEvent,
29812 _swigc__p_wxCloseEvent,
29813 _swigc__p_wxColour,
29814 _swigc__p_wxColourData,
29815 _swigc__p_wxColourDialog,
29816 _swigc__p_wxCommandEvent,
29817 _swigc__p_wxContextMenuEvent,
29818 _swigc__p_wxControl,
29819 _swigc__p_wxControlWithItems,
29820 _swigc__p_wxDC,
29821 _swigc__p_wxDateEvent,
29822 _swigc__p_wxDialog,
29823 _swigc__p_wxDirDialog,
29824 _swigc__p_wxDisplayChangedEvent,
29825 _swigc__p_wxDropFilesEvent,
29826 _swigc__p_wxDuplexMode,
29827 _swigc__p_wxEraseEvent,
29828 _swigc__p_wxEvent,
29829 _swigc__p_wxEvtHandler,
29830 _swigc__p_wxFSFile,
29831 _swigc__p_wxFileDialog,
29832 _swigc__p_wxFileSystem,
29833 _swigc__p_wxFindDialogEvent,
29834 _swigc__p_wxFindReplaceData,
29835 _swigc__p_wxFindReplaceDialog,
29836 _swigc__p_wxFlexGridSizer,
29837 _swigc__p_wxFocusEvent,
29838 _swigc__p_wxFont,
29839 _swigc__p_wxFontData,
29840 _swigc__p_wxFontDialog,
29841 _swigc__p_wxFrame,
29842 _swigc__p_wxGBSizerItem,
29843 _swigc__p_wxGIFHandler,
29844 _swigc__p_wxGridBagSizer,
29845 _swigc__p_wxGridSizer,
29846 _swigc__p_wxICOHandler,
29847 _swigc__p_wxIcon,
29848 _swigc__p_wxIconBundle,
29849 _swigc__p_wxIconizeEvent,
29850 _swigc__p_wxIdleEvent,
29851 _swigc__p_wxImage,
29852 _swigc__p_wxImageHandler,
29853 _swigc__p_wxIndividualLayoutConstraint,
29854 _swigc__p_wxInitDialogEvent,
29855 _swigc__p_wxJPEGHandler,
29856 _swigc__p_wxKeyEvent,
29857 _swigc__p_wxLayoutAlgorithm,
29858 _swigc__p_wxLayoutConstraints,
29859 _swigc__p_wxMDIChildFrame,
29860 _swigc__p_wxMDIClientWindow,
29861 _swigc__p_wxMDIParentFrame,
29862 _swigc__p_wxMaximizeEvent,
29863 _swigc__p_wxMenu,
29864 _swigc__p_wxMenuBar,
29865 _swigc__p_wxMenuEvent,
29866 _swigc__p_wxMenuItem,
29867 _swigc__p_wxMessageDialog,
29868 _swigc__p_wxMiniFrame,
29869 _swigc__p_wxMouseCaptureChangedEvent,
29870 _swigc__p_wxMouseEvent,
29871 _swigc__p_wxMoveEvent,
29872 _swigc__p_wxMultiChoiceDialog,
29873 _swigc__p_wxNavigationKeyEvent,
29874 _swigc__p_wxNcPaintEvent,
29875 _swigc__p_wxNotifyEvent,
29876 _swigc__p_wxObject,
29877 _swigc__p_wxPCXHandler,
29878 _swigc__p_wxPNGHandler,
29879 _swigc__p_wxPNMHandler,
29880 _swigc__p_wxPageSetupDialog,
29881 _swigc__p_wxPageSetupDialogData,
29882 _swigc__p_wxPaintEvent,
29883 _swigc__p_wxPaletteChangedEvent,
29884 _swigc__p_wxPanel,
29885 _swigc__p_wxPaperSize,
29886 _swigc__p_wxPasswordEntryDialog,
29887 _swigc__p_wxPoint,
29888 _swigc__p_wxPopupWindow,
29889 _swigc__p_wxPreviewCanvas,
29890 _swigc__p_wxPreviewControlBar,
29891 _swigc__p_wxPreviewFrame,
29892 _swigc__p_wxPrintData,
29893 _swigc__p_wxPrintDialog,
29894 _swigc__p_wxPrintDialogData,
29895 _swigc__p_wxPrintPreview,
29896 _swigc__p_wxPrinter,
29897 _swigc__p_wxProgressDialog,
29898 _swigc__p_wxPyApp,
29899 _swigc__p_wxPyCommandEvent,
29900 _swigc__p_wxPyEvent,
29901 _swigc__p_wxPyHtmlListBox,
29902 _swigc__p_wxPyImageHandler,
29903 _swigc__p_wxPyPanel,
29904 _swigc__p_wxPyPopupTransientWindow,
29905 _swigc__p_wxPyPreviewControlBar,
29906 _swigc__p_wxPyPreviewFrame,
29907 _swigc__p_wxPyPrintPreview,
29908 _swigc__p_wxPyPrintout,
29909 _swigc__p_wxPyScrolledWindow,
29910 _swigc__p_wxPySizer,
29911 _swigc__p_wxPyTaskBarIcon,
29912 _swigc__p_wxPyVListBox,
29913 _swigc__p_wxPyVScrolledWindow,
29914 _swigc__p_wxPyValidator,
29915 _swigc__p_wxPyWindow,
29916 _swigc__p_wxQueryLayoutInfoEvent,
29917 _swigc__p_wxQueryNewPaletteEvent,
29918 _swigc__p_wxRect,
29919 _swigc__p_wxRegion,
29920 _swigc__p_wxSashEvent,
29921 _swigc__p_wxSashLayoutWindow,
29922 _swigc__p_wxSashWindow,
29923 _swigc__p_wxScrollEvent,
29924 _swigc__p_wxScrollWinEvent,
29925 _swigc__p_wxScrolledWindow,
29926 _swigc__p_wxSetCursorEvent,
29927 _swigc__p_wxShowEvent,
29928 _swigc__p_wxSingleChoiceDialog,
29929 _swigc__p_wxSize,
29930 _swigc__p_wxSizeEvent,
29931 _swigc__p_wxSizer,
29932 _swigc__p_wxSizerItem,
29933 _swigc__p_wxSplashScreen,
29934 _swigc__p_wxSplashScreenWindow,
29935 _swigc__p_wxSplitterEvent,
29936 _swigc__p_wxSplitterWindow,
29937 _swigc__p_wxStaticBoxSizer,
29938 _swigc__p_wxStatusBar,
29939 _swigc__p_wxStdDialogButtonSizer,
29940 _swigc__p_wxString,
29941 _swigc__p_wxSysColourChangedEvent,
29942 _swigc__p_wxTIFFHandler,
29943 _swigc__p_wxTaskBarIcon,
29944 _swigc__p_wxTaskBarIconEvent,
29945 _swigc__p_wxTextEntryDialog,
29946 _swigc__p_wxTipWindow,
29947 _swigc__p_wxToolBar,
29948 _swigc__p_wxTopLevelWindow,
29949 _swigc__p_wxUpdateUIEvent,
29950 _swigc__p_wxValidator,
29951 _swigc__p_wxVisualAttributes,
29952 _swigc__p_wxWindow,
29953 _swigc__p_wxWindowCreateEvent,
29954 _swigc__p_wxWindowDestroyEvent,
29955 _swigc__p_wxXPMHandler,
29956 _swigc__ptrdiff_t,
29957 _swigc__std__ptrdiff_t,
29958 _swigc__unsigned_int,
29959 };
29960
29961
29962 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29963
29964 static swig_const_info swig_const_table[] = {
29965 {0, 0, 0, 0.0, 0, 0}};
29966
29967 #ifdef __cplusplus
29968 }
29969 #endif
29970 /*************************************************************************
29971 * Type initialization:
29972 * This problem is tough by the requirement that no dynamic
29973 * memory is used. Also, since swig_type_info structures store pointers to
29974 * swig_cast_info structures and swig_cast_info structures store pointers back
29975 * to swig_type_info structures, we need some lookup code at initialization.
29976 * The idea is that swig generates all the structures that are needed.
29977 * The runtime then collects these partially filled structures.
29978 * The SWIG_InitializeModule function takes these initial arrays out of
29979 * swig_module, and does all the lookup, filling in the swig_module.types
29980 * array with the correct data and linking the correct swig_cast_info
29981 * structures together.
29982
29983 * The generated swig_type_info structures are assigned staticly to an initial
29984 * array. We just loop though that array, and handle each type individually.
29985 * First we lookup if this type has been already loaded, and if so, use the
29986 * loaded structure instead of the generated one. Then we have to fill in the
29987 * cast linked list. The cast data is initially stored in something like a
29988 * two-dimensional array. Each row corresponds to a type (there are the same
29989 * number of rows as there are in the swig_type_initial array). Each entry in
29990 * a column is one of the swig_cast_info structures for that type.
29991 * The cast_initial array is actually an array of arrays, because each row has
29992 * a variable number of columns. So to actually build the cast linked list,
29993 * we find the array of casts associated with the type, and loop through it
29994 * adding the casts to the list. The one last trick we need to do is making
29995 * sure the type pointer in the swig_cast_info struct is correct.
29996
29997 * First off, we lookup the cast->type name to see if it is already loaded.
29998 * There are three cases to handle:
29999 * 1) If the cast->type has already been loaded AND the type we are adding
30000 * casting info to has not been loaded (it is in this module), THEN we
30001 * replace the cast->type pointer with the type pointer that has already
30002 * been loaded.
30003 * 2) If BOTH types (the one we are adding casting info to, and the
30004 * cast->type) are loaded, THEN the cast info has already been loaded by
30005 * the previous module so we just ignore it.
30006 * 3) Finally, if cast->type has not already been loaded, then we add that
30007 * swig_cast_info to the linked list (because the cast->type) pointer will
30008 * be correct.
30009 **/
30010
30011 #ifdef __cplusplus
30012 extern "C" {
30013 #if 0
30014 } /* c-mode */
30015 #endif
30016 #endif
30017
30018 #if 0
30019 #define SWIGRUNTIME_DEBUG
30020 #endif
30021
30022 SWIGRUNTIME void
30023 SWIG_InitializeModule(void *clientdata) {
30024 size_t i;
30025 swig_module_info *module_head;
30026 static int init_run = 0;
30027
30028 clientdata = clientdata;
30029
30030 if (init_run) return;
30031 init_run = 1;
30032
30033 /* Initialize the swig_module */
30034 swig_module.type_initial = swig_type_initial;
30035 swig_module.cast_initial = swig_cast_initial;
30036
30037 /* Try and load any already created modules */
30038 module_head = SWIG_GetModule(clientdata);
30039 if (module_head) {
30040 swig_module.next = module_head->next;
30041 module_head->next = &swig_module;
30042 } else {
30043 /* This is the first module loaded */
30044 swig_module.next = &swig_module;
30045 SWIG_SetModule(clientdata, &swig_module);
30046 }
30047
30048 /* Now work on filling in swig_module.types */
30049 #ifdef SWIGRUNTIME_DEBUG
30050 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
30051 #endif
30052 for (i = 0; i < swig_module.size; ++i) {
30053 swig_type_info *type = 0;
30054 swig_type_info *ret;
30055 swig_cast_info *cast;
30056
30057 #ifdef SWIGRUNTIME_DEBUG
30058 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30059 #endif
30060
30061 /* if there is another module already loaded */
30062 if (swig_module.next != &swig_module) {
30063 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
30064 }
30065 if (type) {
30066 /* Overwrite clientdata field */
30067 #ifdef SWIGRUNTIME_DEBUG
30068 printf("SWIG_InitializeModule: found type %s\n", type->name);
30069 #endif
30070 if (swig_module.type_initial[i]->clientdata) {
30071 type->clientdata = swig_module.type_initial[i]->clientdata;
30072 #ifdef SWIGRUNTIME_DEBUG
30073 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
30074 #endif
30075 }
30076 } else {
30077 type = swig_module.type_initial[i];
30078 }
30079
30080 /* Insert casting types */
30081 cast = swig_module.cast_initial[i];
30082 while (cast->type) {
30083 /* Don't need to add information already in the list */
30084 ret = 0;
30085 #ifdef SWIGRUNTIME_DEBUG
30086 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
30087 #endif
30088 if (swig_module.next != &swig_module) {
30089 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
30090 #ifdef SWIGRUNTIME_DEBUG
30091 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
30092 #endif
30093 }
30094 if (ret) {
30095 if (type == swig_module.type_initial[i]) {
30096 #ifdef SWIGRUNTIME_DEBUG
30097 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
30098 #endif
30099 cast->type = ret;
30100 ret = 0;
30101 } else {
30102 /* Check for casting already in the list */
30103 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
30104 #ifdef SWIGRUNTIME_DEBUG
30105 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
30106 #endif
30107 if (!ocast) ret = 0;
30108 }
30109 }
30110
30111 if (!ret) {
30112 #ifdef SWIGRUNTIME_DEBUG
30113 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
30114 #endif
30115 if (type->cast) {
30116 type->cast->prev = cast;
30117 cast->next = type->cast;
30118 }
30119 type->cast = cast;
30120 }
30121 cast++;
30122 }
30123 /* Set entry in modules->types array equal to the type */
30124 swig_module.types[i] = type;
30125 }
30126 swig_module.types[i] = 0;
30127
30128 #ifdef SWIGRUNTIME_DEBUG
30129 printf("**** SWIG_InitializeModule: Cast List ******\n");
30130 for (i = 0; i < swig_module.size; ++i) {
30131 int j = 0;
30132 swig_cast_info *cast = swig_module.cast_initial[i];
30133 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
30134 while (cast->type) {
30135 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
30136 cast++;
30137 ++j;
30138 }
30139 printf("---- Total casts: %d\n",j);
30140 }
30141 printf("**** SWIG_InitializeModule: Cast List ******\n");
30142 #endif
30143 }
30144
30145 /* This function will propagate the clientdata field of type to
30146 * any new swig_type_info structures that have been added into the list
30147 * of equivalent types. It is like calling
30148 * SWIG_TypeClientData(type, clientdata) a second time.
30149 */
30150 SWIGRUNTIME void
30151 SWIG_PropagateClientData(void) {
30152 size_t i;
30153 swig_cast_info *equiv;
30154 static int init_run = 0;
30155
30156 if (init_run) return;
30157 init_run = 1;
30158
30159 for (i = 0; i < swig_module.size; i++) {
30160 if (swig_module.types[i]->clientdata) {
30161 equiv = swig_module.types[i]->cast;
30162 while (equiv) {
30163 if (!equiv->converter) {
30164 if (equiv->type && !equiv->type->clientdata)
30165 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
30166 }
30167 equiv = equiv->next;
30168 }
30169 }
30170 }
30171 }
30172
30173 #ifdef __cplusplus
30174 #if 0
30175 {
30176 /* c-mode */
30177 #endif
30178 }
30179 #endif
30180
30181
30182
30183 #ifdef __cplusplus
30184 extern "C" {
30185 #endif
30186
30187 /* Python-specific SWIG API */
30188 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30189 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30190 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30191
30192 /* -----------------------------------------------------------------------------
30193 * global variable support code.
30194 * ----------------------------------------------------------------------------- */
30195
30196 typedef struct swig_globalvar {
30197 char *name; /* Name of global variable */
30198 PyObject *(*get_attr)(void); /* Return the current value */
30199 int (*set_attr)(PyObject *); /* Set the value */
30200 struct swig_globalvar *next;
30201 } swig_globalvar;
30202
30203 typedef struct swig_varlinkobject {
30204 PyObject_HEAD
30205 swig_globalvar *vars;
30206 } swig_varlinkobject;
30207
30208 SWIGINTERN PyObject *
30209 swig_varlink_repr(swig_varlinkobject *v) {
30210 v = v;
30211 return PyString_FromString("<Swig global variables>");
30212 }
30213
30214 SWIGINTERN int
30215 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
30216 swig_globalvar *var;
30217 flags = flags;
30218 fprintf(fp,"Swig global variables { ");
30219 for (var = v->vars; var; var=var->next) {
30220 fprintf(fp,"%s", var->name);
30221 if (var->next) fprintf(fp,", ");
30222 }
30223 fprintf(fp," }\n");
30224 return 0;
30225 }
30226
30227 SWIGINTERN PyObject *
30228 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
30229 swig_globalvar *var = v->vars;
30230 while (var) {
30231 if (strcmp(var->name,n) == 0) {
30232 return (*var->get_attr)();
30233 }
30234 var = var->next;
30235 }
30236 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30237 return NULL;
30238 }
30239
30240 SWIGINTERN int
30241 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
30242 swig_globalvar *var = v->vars;
30243 while (var) {
30244 if (strcmp(var->name,n) == 0) {
30245 return (*var->set_attr)(p);
30246 }
30247 var = var->next;
30248 }
30249 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
30250 return 1;
30251 }
30252
30253 SWIGINTERN PyTypeObject*
30254 swig_varlink_type(void) {
30255 static char varlink__doc__[] = "Swig var link object";
30256 static PyTypeObject varlink_type
30257 #if !defined(__cplusplus)
30258 ;
30259 static int type_init = 0;
30260 if (!type_init) {
30261 PyTypeObject tmp
30262 #endif
30263 = {
30264 PyObject_HEAD_INIT(&PyType_Type)
30265 0, /* Number of items in variable part (ob_size) */
30266 (char *)"swigvarlink", /* Type name (tp_name) */
30267 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
30268 0, /* Itemsize (tp_itemsize) */
30269 0, /* Deallocator (tp_dealloc) */
30270 (printfunc) swig_varlink_print, /* Print (tp_print) */
30271 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
30272 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
30273 0, /* tp_compare */
30274 (reprfunc) swig_varlink_repr, /* tp_repr */
30275 0, /* tp_as_number */
30276 0, /* tp_as_sequence */
30277 0, /* tp_as_mapping */
30278 0, /* tp_hash */
30279 0, /* tp_call */
30280 0, /* tp_str */
30281 0, /* tp_getattro */
30282 0, /* tp_setattro */
30283 0, /* tp_as_buffer */
30284 0, /* tp_flags */
30285 varlink__doc__, /* tp_doc */
30286 #if PY_VERSION_HEX >= 0x02000000
30287 0, /* tp_traverse */
30288 0, /* tp_clear */
30289 #endif
30290 #if PY_VERSION_HEX >= 0x02010000
30291 0, /* tp_richcompare */
30292 0, /* tp_weaklistoffset */
30293 #endif
30294 #if PY_VERSION_HEX >= 0x02020000
30295 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30296 #endif
30297 #if PY_VERSION_HEX >= 0x02030000
30298 0, /* tp_del */
30299 #endif
30300 #ifdef COUNT_ALLOCS
30301 0,0,0,0 /* tp_alloc -> tp_next */
30302 #endif
30303 };
30304 #if !defined(__cplusplus)
30305 varlink_type = tmp;
30306 type_init = 1;
30307 }
30308 #endif
30309 return &varlink_type;
30310 }
30311
30312 /* Create a variable linking object for use later */
30313 SWIGINTERN PyObject *
30314 SWIG_Python_newvarlink(void) {
30315 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
30316 if (result) {
30317 result->vars = 0;
30318 }
30319 return ((PyObject*) result);
30320 }
30321
30322 SWIGINTERN void
30323 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
30324 swig_varlinkobject *v = (swig_varlinkobject *) p;
30325 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
30326 if (gv) {
30327 size_t size = strlen(name)+1;
30328 gv->name = (char *)malloc(size);
30329 if (gv->name) {
30330 strncpy(gv->name,name,size);
30331 gv->get_attr = get_attr;
30332 gv->set_attr = set_attr;
30333 gv->next = v->vars;
30334 }
30335 }
30336 v->vars = gv;
30337 }
30338
30339 /* -----------------------------------------------------------------------------
30340 * constants/methods manipulation
30341 * ----------------------------------------------------------------------------- */
30342
30343 /* Install Constants */
30344 SWIGINTERN void
30345 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30346 PyObject *obj = 0;
30347 size_t i;
30348 for (i = 0; constants[i].type; ++i) {
30349 switch(constants[i].type) {
30350 case SWIG_PY_INT:
30351 obj = PyInt_FromLong(constants[i].lvalue);
30352 break;
30353 case SWIG_PY_FLOAT:
30354 obj = PyFloat_FromDouble(constants[i].dvalue);
30355 break;
30356 case SWIG_PY_STRING:
30357 if (constants[i].pvalue) {
30358 obj = PyString_FromString((char *) constants[i].pvalue);
30359 } else {
30360 Py_INCREF(Py_None);
30361 obj = Py_None;
30362 }
30363 break;
30364 case SWIG_PY_POINTER:
30365 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30366 break;
30367 case SWIG_PY_BINARY:
30368 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30369 break;
30370 default:
30371 obj = 0;
30372 break;
30373 }
30374 if (obj) {
30375 PyDict_SetItemString(d,constants[i].name,obj);
30376 Py_DECREF(obj);
30377 }
30378 }
30379 }
30380
30381 /* -----------------------------------------------------------------------------*/
30382 /* Fix SwigMethods to carry the callback ptrs when needed */
30383 /* -----------------------------------------------------------------------------*/
30384
30385 SWIGINTERN void
30386 SWIG_Python_FixMethods(PyMethodDef *methods,
30387 swig_const_info *const_table,
30388 swig_type_info **types,
30389 swig_type_info **types_initial) {
30390 size_t i;
30391 for (i = 0; methods[i].ml_name; ++i) {
30392 char *c = methods[i].ml_doc;
30393 if (c && (c = strstr(c, "swig_ptr: "))) {
30394 int j;
30395 swig_const_info *ci = 0;
30396 char *name = c + 10;
30397 for (j = 0; const_table[j].type; ++j) {
30398 if (strncmp(const_table[j].name, name,
30399 strlen(const_table[j].name)) == 0) {
30400 ci = &(const_table[j]);
30401 break;
30402 }
30403 }
30404 if (ci) {
30405 size_t shift = (ci->ptype) - types;
30406 swig_type_info *ty = types_initial[shift];
30407 size_t ldoc = (c - methods[i].ml_doc);
30408 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30409 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30410 if (ndoc) {
30411 char *buff = ndoc;
30412 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
30413 if (ptr) {
30414 strncpy(buff, methods[i].ml_doc, ldoc);
30415 buff += ldoc;
30416 strncpy(buff, "swig_ptr: ", 10);
30417 buff += 10;
30418 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30419 methods[i].ml_doc = ndoc;
30420 }
30421 }
30422 }
30423 }
30424 }
30425 }
30426
30427 /* -----------------------------------------------------------------------------*
30428 * Initialize type list
30429 * -----------------------------------------------------------------------------*/
30430
30431 #ifdef __cplusplus
30432 }
30433 #endif
30434
30435 /* -----------------------------------------------------------------------------*
30436 * Partial Init method
30437 * -----------------------------------------------------------------------------*/
30438
30439 #ifdef __cplusplus
30440 extern "C"
30441 #endif
30442 SWIGEXPORT void SWIG_init(void) {
30443 static PyObject *SWIG_globals = 0;
30444 PyObject *m, *d;
30445 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30446
30447 /* Fix SwigMethods to carry the callback ptrs when needed */
30448 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
30449
30450 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30451 d = PyModule_GetDict(m);
30452
30453 SWIG_InitializeModule(0);
30454 SWIG_InstallConstants(d,swig_const_table);
30455
30456 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30457 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30458 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30459 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30460 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30461 {
30462 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP)));
30463 }
30464 {
30465 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE)));
30466 }
30467 {
30468 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE)));
30469 }
30470 {
30471 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE)));
30472 }
30473 {
30474 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX)));
30475 }
30476 {
30477 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME)));
30478 }
30479 {
30480 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU)));
30481 }
30482 {
30483 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX)));
30484 }
30485 {
30486 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX)));
30487 }
30488 {
30489 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ)));
30490 }
30491 {
30492 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT)));
30493 }
30494 {
30495 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX)));
30496 }
30497 {
30498 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER)));
30499 }
30500 {
30501 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT)));
30502 }
30503 {
30504 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE)));
30505 }
30506 {
30507 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE)));
30508 }
30509 {
30510 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW)));
30511 }
30512 {
30513 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT)));
30514 }
30515 {
30516 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU)));
30517 }
30518 {
30519 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR)));
30520 }
30521 {
30522 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED)));
30523 }
30524 {
30525 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER)));
30526 }
30527 {
30528 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL)));
30529 }
30530 {
30531 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL)));
30532 }
30533 {
30534 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL)));
30535 }
30536 {
30537 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS)));
30538 }
30539 {
30540 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS)));
30541 }
30542 {
30543 PyDict_SetItemString(d,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D)));
30544 }
30545 {
30546 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR)));
30547 }
30548 {
30549 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR)));
30550 }
30551 {
30552 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR)));
30553 }
30554 {
30555 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER)));
30556 }
30557 {
30558 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION)));
30559 }
30560 {
30561 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL)));
30562 }
30563 {
30564 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG)));
30565 }
30566 {
30567 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO)));
30568 }
30569 {
30570 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR)));
30571 }
30572 {
30573 PyDict_SetItemString(d,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags)));
30574 }
30575 {
30576 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT)));
30577 }
30578 {
30579 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN)));
30580 }
30581 {
30582 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE)));
30583 }
30584 {
30585 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT)));
30586 }
30587 {
30588 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT)));
30589 }
30590 {
30591 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL)));
30592 }
30593 {
30594 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT)));
30595 }
30596 {
30597 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED)));
30598 }
30599 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30600 {
30601 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER)));
30602 }
30603 {
30604 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH)));
30605 }
30606 {
30607 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT)));
30608 }
30609 {
30610 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE)));
30611 }
30612 {
30613 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH)));
30614 }
30615 {
30616 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER)));
30617 }
30618 {
30619 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME)));
30620 }
30621 {
30622 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER)));
30623 }
30624 {
30625 PyDict_SetItemString(d,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D)));
30626 }
30627 {
30628 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL)));
30629 }
30630 {
30631 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL)));
30632 }
30633 {
30634 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE)));
30635 }
30636 {
30637 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING)));
30638 }
30639 {
30640 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN)));
30641 }
30642 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30643 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30644 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30645 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30646 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30647 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30648 {
30649 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE)));
30650 }
30651 {
30652 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING)));
30653 }
30654 {
30655 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN)));
30656 }
30657 {
30658 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER)));
30659 }
30660 {
30661 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER)));
30662 }
30663 {
30664 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH)));
30665 }
30666 {
30667 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER)));
30668 }
30669 {
30670 PyDict_SetItemString(d,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D)));
30671 }
30672 {
30673 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP)));
30674 }
30675 {
30676 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT)));
30677 }
30678 {
30679 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM)));
30680 }
30681 {
30682 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT)));
30683 }
30684 {
30685 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE)));
30686 }
30687 {
30688 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK)));
30689 }
30690 {
30691 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE)));
30692 }
30693 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30694 {
30695 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL)));
30696 }
30697 {
30698 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL)));
30699 }
30700 {
30701 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE)));
30702 }
30703 {
30704 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP)));
30705 }
30706 {
30707 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT)));
30708 }
30709 {
30710 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT)));
30711 }
30712 {
30713 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM)));
30714 }
30715 {
30716 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y)));
30717 }
30718 {
30719 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X)));
30720 }
30721 {
30722 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH)));
30723 }
30724 {
30725 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY)));
30726 }
30727 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30728 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30729 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30730
30731 // Map renamed classes back to their common name for OOR
30732 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30733 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30734 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30735
30736 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30737 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30738 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30739 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30740 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30741 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30742 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30743 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30744 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30745 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30746 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30747 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30748 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30749 {
30750 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE)));
30751 }
30752 {
30753 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle)));
30754 }
30755 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30756 {
30757 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN)));
30758 }
30759 {
30760 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD)));
30761 }
30762 {
30763 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE)));
30764 }
30765 {
30766 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG)));
30767 }
30768 {
30769 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN)));
30770 }
30771 {
30772 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE)));
30773 }
30774 {
30775 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD)));
30776 }
30777 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30778 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30779 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30780 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30781 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30782 {
30783 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30784 }
30785 {
30786 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30787 }
30788 {
30789 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30790 }
30791 {
30792 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30793 }
30794 {
30795 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30796 }
30797 {
30798 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30799 }
30800 {
30801 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30802 }
30803 {
30804 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30805 }
30806 {
30807 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30808 }
30809 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30810 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30811 {
30812 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE)));
30813 }
30814 {
30815 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW)));
30816 }
30817 {
30818 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE)));
30819 }
30820 {
30821 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER)));
30822 }
30823 {
30824 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM)));
30825 }
30826 {
30827 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT)));
30828 }
30829 {
30830 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE)));
30831 }
30832 {
30833 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER)));
30834 }
30835 {
30836 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE)));
30837 }
30838 {
30839 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL)));
30840 }
30841 {
30842 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE)));
30843 }
30844 {
30845 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL)));
30846 }
30847 {
30848 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO)));
30849 }
30850 {
30851 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR)));
30852 }
30853 {
30854 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT)));
30855 }
30856 {
30857 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT)));
30858 }
30859 {
30860 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY)));
30861 }
30862 {
30863 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE)));
30864 }
30865 {
30866 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE)));
30867 }
30868 {
30869 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER)));
30870 }
30871 {
30872 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR)));
30873 }
30874 {
30875 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED)));
30876 }
30877 {
30878 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR)));
30879 }
30880 {
30881 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT)));
30882 }
30883 {
30884 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS)));
30885 }
30886 {
30887 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT)));
30888 }
30889 {
30890 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM)));
30891 }
30892 {
30893 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST)));
30894 }
30895 {
30896 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST)));
30897 }
30898 {
30899 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO)));
30900 }
30901 {
30902 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT)));
30903 }
30904 {
30905 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE)));
30906 }
30907 {
30908 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT)));
30909 }
30910 {
30911 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS)));
30912 }
30913 {
30914 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT)));
30915 }
30916 {
30917 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM)));
30918 }
30919 {
30920 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST)));
30921 }
30922 {
30923 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST)));
30924 }
30925 {
30926 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO)));
30927 }
30928
30929 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30930
30931 }
30932