]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
Add more art IDs
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info *swig_types[98];
1439
1440 /* -------- TYPES TABLE (END) -------- */
1441
1442
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1447
1448 #define SWIG_name "_windows_"
1449
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459 #include <limits.h>
1460
1461
1462 SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465 {
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482 }
1483
1484
1485 SWIGINTERN int
1486 SWIG_AsVal_long(PyObject* obj, long* val)
1487 {
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496 }
1497
1498
1499 #if INT_MAX != LONG_MAX
1500 SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502 {
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519 }
1520 #else
1521 SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523 {
1524 return SWIG_AsVal_long(obj,(long*)val);
1525 }
1526 #endif
1527
1528
1529 SWIGINTERNSHORT int
1530 SWIG_As_int(PyObject* obj)
1531 {
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540 }
1541
1542
1543 SWIGINTERNSHORT long
1544 SWIG_As_long(PyObject* obj)
1545 {
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554 }
1555
1556
1557 SWIGINTERNSHORT int
1558 SWIG_Check_int(PyObject* obj)
1559 {
1560 return SWIG_AsVal_int(obj, (int*)0);
1561 }
1562
1563
1564 SWIGINTERNSHORT int
1565 SWIG_Check_long(PyObject* obj)
1566 {
1567 return SWIG_AsVal_long(obj, (long*)0);
1568 }
1569
1570
1571 SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573 {
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593 }
1594
1595
1596 SWIGINTERNSHORT bool
1597 SWIG_As_bool(PyObject* obj)
1598 {
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607 }
1608
1609
1610 SWIGINTERNSHORT int
1611 SWIG_Check_bool(PyObject* obj)
1612 {
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614 }
1615
1616
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1619 /*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650 SWIGINTERN int
1651 SWIG_AsVal_double(PyObject *obj, double* val)
1652 {
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661 }
1662
1663
1664 SWIGINTERNSHORT double
1665 SWIG_As_double(PyObject* obj)
1666 {
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675 }
1676
1677
1678 SWIGINTERNSHORT int
1679 SWIG_Check_double(PyObject* obj)
1680 {
1681 return SWIG_AsVal_double(obj, (double*)0);
1682 }
1683
1684
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1687 /*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695 #define SWIG_From_long PyInt_FromLong
1696 /*@@*/
1697
1698
1699
1700 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1701 wxRect r;
1702 self->GetFieldRect(i, r);
1703 return r;
1704 }
1705 static const wxString wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1708
1709 #include <wx/popupwin.h>
1710
1711
1712 class wxPopupWindow : public wxWindow {
1713 public:
1714 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1716 };
1717
1718 class wxPyPopupTransientWindow : public wxPopupWindow
1719 {
1720 public:
1721 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1723 };
1724
1725
1726 #include <wx/tipwin.h>
1727
1728 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1729 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1730 }
1731
1732 #include <wx/tipwin.h>
1733
1734
1735 #include <wx/vscroll.h>
1736
1737
1738 class wxPyVScrolledWindow : public wxVScrolledWindow
1739 {
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1741 public:
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1743
1744 wxPyVScrolledWindow(wxWindow *parent,
1745 wxWindowID id = wxID_ANY,
1746 const wxPoint& pos = wxDefaultPosition,
1747 const wxSize& size = wxDefaultSize,
1748 long style = 0,
1749 const wxString& name = wxPyPanelNameStr)
1750 : wxVScrolledWindow(parent, id, pos, size, style, name)
1751 {}
1752
1753 // Overridable virtuals
1754
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1758
1759
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1763 // once
1764 //
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1770 //
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1772 // usual
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1774
1775
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1780 // its own logic
1781 //
1782 // this function should return the best guess for the total height it may
1783 // make
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1785
1786
1787 // Also expose some other interesting protected methods
1788
1789
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1794
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1799
1800
1801 PYPRIVATE;
1802 };
1803
1804 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1805
1806 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1807 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1808 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1809
1810
1811 SWIGINTERN int
1812 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1813 {
1814 long v = 0;
1815 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1816 SWIG_type_error("unsigned number", obj);
1817 }
1818 else if (val)
1819 *val = (unsigned long)v;
1820 return 1;
1821 }
1822
1823
1824 SWIGINTERNSHORT unsigned long
1825 SWIG_As_unsigned_SS_long(PyObject* obj)
1826 {
1827 unsigned long v;
1828 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1829 /*
1830 this is needed to make valgrind/purify happier.
1831 */
1832 memset((void*)&v, 0, sizeof(unsigned long));
1833 }
1834 return v;
1835 }
1836
1837
1838 SWIGINTERNSHORT int
1839 SWIG_Check_unsigned_SS_long(PyObject* obj)
1840 {
1841 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1842 }
1843
1844
1845 SWIGINTERNSHORT PyObject*
1846 SWIG_From_unsigned_SS_long(unsigned long value)
1847 {
1848 return (value > LONG_MAX) ?
1849 PyLong_FromUnsignedLong(value)
1850 : PyInt_FromLong((long)(value));
1851 }
1852
1853
1854 #include <wx/vlbox.h>
1855
1856 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1857
1858 class wxPyVListBox : public wxVListBox
1859 {
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1861 public:
1862 wxPyVListBox() : wxVListBox() {}
1863
1864 wxPyVListBox(wxWindow *parent,
1865 wxWindowID id = wxID_ANY,
1866 const wxPoint& pos = wxDefaultPosition,
1867 const wxSize& size = wxDefaultSize,
1868 long style = 0,
1869 const wxString& name = wxPyVListBoxNameStr)
1870 : wxVListBox(parent, id, pos, size, style, name)
1871 {}
1872
1873 // Overridable virtuals
1874
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1879
1880
1881 // the derived class must implement this method to return the height of the
1882 // specified item
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1885
1886
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1890 //
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1894
1895
1896 // this method is used to draw the items background and, maybe, a border
1897 // around it
1898 //
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1902 // current
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1905
1906
1907 PYPRIVATE;
1908 };
1909
1910 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1911
1912 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1913 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1914 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1915 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1916
1917
1918 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1919 unsigned long cookie = 0;
1920 int selected = self->GetFirstSelected(cookie);
1921 bool blocked = wxPyBeginBlockThreads();
1922 PyObject* tup = PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1924 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1925 wxPyEndBlockThreads(blocked);
1926 return tup;
1927 }
1928 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1929 int selected = self->GetNextSelected(cookie);
1930 bool blocked = wxPyBeginBlockThreads();
1931 PyObject* tup = PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1933 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1934 wxPyEndBlockThreads(blocked);
1935 return tup;
1936 }
1937
1938 #include <wx/htmllbox.h>
1939
1940
1941 class wxPyHtmlListBox : public wxHtmlListBox
1942 {
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1944 public:
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1946
1947 wxPyHtmlListBox(wxWindow *parent,
1948 wxWindowID id = wxID_ANY,
1949 const wxPoint& pos = wxDefaultPosition,
1950 const wxSize& size = wxDefaultSize,
1951 long style = 0,
1952 const wxString& name = wxPyVListBoxNameStr)
1953 : wxHtmlListBox(parent, id, pos, size, style, name)
1954 {}
1955
1956 // Overridable virtuals
1957
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1961
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1964
1965 // TODO:
1966 // // this method allows to customize the selection appearance: it may be used
1967 // // to specify the colour of the text which normally has the given colour
1968 // // colFg when it is inside the selection
1969 // //
1970 // // by default, the original colour is not used at all and all text has the
1971 // // same (default for this system) colour inside selection
1972 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1973
1974 // // this is the same as GetSelectedTextColour() but allows to customize the
1975 // // background colour -- this is even more rarely used as you can change it
1976 // // globally using SetSelectionBackground()
1977 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1978
1979
1980 PYPRIVATE;
1981 };
1982
1983
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1985
1986 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1987 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1988
1989
1990
1991
1992
1993 #ifndef wxHAS_TASK_BAR_ICON
1994 // implement dummy classes for platforms that don't have it
1995
1996 class wxTaskBarIcon : public wxEvtHandler
1997 {
1998 public:
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2000 };
2001
2002
2003 class wxTaskBarIconEvent : public wxEvent
2004 {
2005 public:
2006 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent* Clone() const { return NULL; }
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu *menu) { return false; }
2014 };
2015
2016 enum {
2017 wxEVT_TASKBAR_MOVE = 0,
2018 wxEVT_TASKBAR_LEFT_DOWN = 0,
2019 wxEVT_TASKBAR_LEFT_UP = 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2021 wxEVT_TASKBAR_RIGHT_UP = 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2024 };
2025
2026
2027 #else
2028 // Otherwise make a class that can virtualize CreatePopupMenu
2029 class wxPyTaskBarIcon : public wxTaskBarIcon
2030 {
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2032 public:
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2034 {}
2035
2036 wxMenu* CreatePopupMenu() {
2037 wxMenu *rval = NULL;
2038 bool found;
2039 bool blocked = wxPyBeginBlockThreads();
2040 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2041 PyObject* ro;
2042 wxMenu* ptr;
2043 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2044 if (ro) {
2045 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2046 rval = ptr;
2047 Py_DECREF(ro);
2048 }
2049 }
2050 wxPyEndBlockThreads(blocked);
2051 if (! found)
2052 rval = wxTaskBarIcon::CreatePopupMenu();
2053 return rval;
2054 }
2055
2056 PYPRIVATE;
2057 };
2058
2059 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2060
2061 #endif
2062
2063 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2064 self->RemoveIcon();
2065 delete self;
2066 }
2067 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2068 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2069 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2070 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2071 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2072 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2073 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2074 wxArrayString arr;
2075 self->GetFilenames(arr);
2076 return wxArrayString2PyList_helper(arr);
2077 }
2078 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2079 wxArrayString arr;
2080 self->GetPaths(arr);
2081 return wxArrayString2PyList_helper(arr);
2082 }
2083 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2084 return wxArrayInt2PyList_helper(self->GetSelections());
2085 }
2086 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){
2087 return new wxSingleChoiceDialog(parent, message, caption,
2088 choices, choices_array, NULL, style, pos);
2089 }
2090 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2091
2092 #include <wx/mdi.h>
2093
2094 // C++ version of Python aware wxWindow
2095 class wxPyWindow : public wxWindow
2096 {
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2098 public:
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow* parent, const wxWindowID id,
2101 const wxPoint& pos = wxDefaultPosition,
2102 const wxSize& size = wxDefaultSize,
2103 long style = 0,
2104 const wxString& name = wxPyPanelNameStr)
2105 : wxWindow(parent, id, pos, size, style, name) {}
2106
2107 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2108
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2113
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2117
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2120
2121 DEC_PYCALLBACK__(InitDialog);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2124 DEC_PYCALLBACK_BOOL_(Validate);
2125
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2129
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2132
2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2136
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2138
2139 PYPRIVATE;
2140 };
2141
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2143
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2148
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2152
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2155
2156 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2160
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2164
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2167
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2169 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
2170 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2171
2172 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2173
2174 // C++ version of Python aware wxPanel
2175 class wxPyPanel : public wxPanel
2176 {
2177 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2178 public:
2179 wxPyPanel() : wxPanel() {}
2180 wxPyPanel(wxWindow* parent, const wxWindowID id,
2181 const wxPoint& pos = wxDefaultPosition,
2182 const wxSize& size = wxDefaultSize,
2183 long style = 0,
2184 const wxString& name = wxPyPanelNameStr)
2185 : wxPanel(parent, id, pos, size, style, name) {}
2186
2187 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2188
2189
2190 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2191 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2193 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2194
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2198
2199 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2200 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2201
2202 DEC_PYCALLBACK__(InitDialog);
2203 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2204 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2205 DEC_PYCALLBACK_BOOL_(Validate);
2206
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2208 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2209 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2210
2211 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2212 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2213
2214 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2215 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2216 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2217
2218 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2219
2220 PYPRIVATE;
2221 };
2222
2223 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2224
2225 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2226 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2227 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2229
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2233
2234 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2236
2237 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2241
2242 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2244 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2245
2246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2248
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2250 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
2251 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2252
2253 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2254
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow : public wxScrolledWindow
2257 {
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2259 public:
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2262 const wxPoint& pos = wxDefaultPosition,
2263 const wxSize& size = wxDefaultSize,
2264 long style = 0,
2265 const wxString& name = wxPyPanelNameStr)
2266 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2267
2268 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2269
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2274
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2278
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2281
2282 DEC_PYCALLBACK__(InitDialog);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2285 DEC_PYCALLBACK_BOOL_(Validate);
2286
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2290
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2293
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2297
2298 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2299
2300 PYPRIVATE;
2301 };
2302
2303 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2304
2305 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2306 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2307 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2308 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2309
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2311 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2313
2314 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2316
2317 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2319 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2321
2322 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2323 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2324 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2325
2326 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2327 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2328
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2330 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
2331 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2332
2333 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2334
2335
2336 #include "wx/wxPython/printfw.h"
2337
2338
2339 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2340 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2341
2342
2343 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2344
2345 // Since this one would be tough and ugly to do with the Macros...
2346 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2347 bool hadErr = false;
2348 bool found;
2349
2350 bool blocked = wxPyBeginBlockThreads();
2351 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2352 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2353 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2354 PyObject* val;
2355
2356 val = PyTuple_GetItem(result, 0);
2357 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2358 else hadErr = true;
2359
2360 val = PyTuple_GetItem(result, 1);
2361 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2362 else hadErr = true;
2363
2364 val = PyTuple_GetItem(result, 2);
2365 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2366 else hadErr = true;
2367
2368 val = PyTuple_GetItem(result, 3);
2369 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2370 else hadErr = true;
2371 }
2372 else
2373 hadErr = true;
2374
2375 if (hadErr) {
2376 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2377 PyErr_Print();
2378 }
2379 Py_DECREF(result);
2380 }
2381 wxPyEndBlockThreads(blocked);
2382 if (! found)
2383 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2384 }
2385
2386 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2387 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2388 }
2389
2390
2391 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2392 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2393 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2394 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2395 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2396 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2397 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2398
2399
2400
2401
2402
2403 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2404 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2405 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2406
2407
2408 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2409 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2410 bool rval=false; \
2411 bool found; \
2412 bool blocked = wxPyBeginBlockThreads(); \
2413 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2414 PyObject* win = wxPyMake_wxObject(a,false); \
2415 PyObject* dc = wxPyMake_wxObject(&b,false); \
2416 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2417 Py_DECREF(win); \
2418 Py_DECREF(dc); \
2419 } \
2420 wxPyEndBlockThreads(blocked); \
2421 if (! found) \
2422 rval = PCLASS::CBNAME(a, b); \
2423 return rval; \
2424 } \
2425 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2426 return PCLASS::CBNAME(a, b); \
2427 }
2428
2429
2430
2431
2432 class wxPyPrintPreview : public wxPrintPreview
2433 {
2434 DECLARE_CLASS(wxPyPrintPreview)
2435 public:
2436 wxPyPrintPreview(wxPyPrintout* printout,
2437 wxPyPrintout* printoutForPrinting,
2438 wxPrintDialogData* data=NULL)
2439 : wxPrintPreview(printout, printoutForPrinting, data)
2440 {}
2441 wxPyPrintPreview(wxPyPrintout* printout,
2442 wxPyPrintout* printoutForPrinting,
2443 wxPrintData* data=NULL)
2444 : wxPrintPreview(printout, printoutForPrinting, data)
2445 {}
2446
2447 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2448 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2449 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2450 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2451 DEC_PYCALLBACK_VOID_INT(SetZoom);
2452 DEC_PYCALLBACK_BOOL_BOOL(Print);
2453 DEC_PYCALLBACK_VOID_(DetermineScaling);
2454
2455 PYPRIVATE;
2456 };
2457
2458 // Stupid renamed classes... Fix this in 2.5...
2459 #if defined(__WXMSW__)
2460 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2461 #elif defined(__WXMAC__)
2462 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2463 #else
2464 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2465 #endif
2466
2467 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2468 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2469 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2470 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2471 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2472 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2473 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2474
2475
2476 class wxPyPreviewFrame : public wxPreviewFrame
2477 {
2478 DECLARE_CLASS(wxPyPreviewFrame);
2479 public:
2480 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2481 const wxString& title,
2482 const wxPoint& pos = wxDefaultPosition,
2483 const wxSize& size = wxDefaultSize,
2484 long style = wxDEFAULT_FRAME_STYLE,
2485 const wxString& name = wxPyFrameNameStr)
2486 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2487 {}
2488
2489 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2490 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2491
2492 DEC_PYCALLBACK_VOID_(Initialize);
2493 DEC_PYCALLBACK_VOID_(CreateCanvas);
2494 DEC_PYCALLBACK_VOID_(CreateControlBar);
2495
2496 PYPRIVATE;
2497 };
2498
2499 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2500
2501 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2502 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2503 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2504
2505
2506 class wxPyPreviewControlBar : public wxPreviewControlBar
2507 {
2508 DECLARE_CLASS(wxPyPreviewControlBar);
2509 public:
2510 wxPyPreviewControlBar(wxPrintPreview *preview,
2511 long buttons,
2512 wxWindow *parent,
2513 const wxPoint& pos = wxDefaultPosition,
2514 const wxSize& size = wxDefaultSize,
2515 long style = 0,
2516 const wxString& name = wxPyPanelNameStr)
2517 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2518 {}
2519
2520 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2521
2522 DEC_PYCALLBACK_VOID_(CreateButtons);
2523 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2524
2525 PYPRIVATE;
2526 };
2527
2528 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2529 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2530 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2531
2532 #ifdef __cplusplus
2533 extern "C" {
2534 #endif
2535 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxWindow *arg1 = (wxWindow *) 0 ;
2538 int arg2 = (int) (int)-1 ;
2539 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2540 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2541 wxSize const &arg4_defvalue = wxDefaultSize ;
2542 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2543 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2544 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2545 wxString *arg6 = (wxString *) &arg6_defvalue ;
2546 wxPanel *result;
2547 wxPoint temp3 ;
2548 wxSize temp4 ;
2549 bool temp6 = false ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 PyObject * obj2 = 0 ;
2553 PyObject * obj3 = 0 ;
2554 PyObject * obj4 = 0 ;
2555 PyObject * obj5 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2562 if (SWIG_arg_fail(1)) SWIG_fail;
2563 if (obj1) {
2564 {
2565 arg2 = (int const)(SWIG_As_int(obj1));
2566 if (SWIG_arg_fail(2)) SWIG_fail;
2567 }
2568 }
2569 if (obj2) {
2570 {
2571 arg3 = &temp3;
2572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2573 }
2574 }
2575 if (obj3) {
2576 {
2577 arg4 = &temp4;
2578 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2579 }
2580 }
2581 if (obj4) {
2582 {
2583 arg5 = (long)(SWIG_As_long(obj4));
2584 if (SWIG_arg_fail(5)) SWIG_fail;
2585 }
2586 }
2587 if (obj5) {
2588 {
2589 arg6 = wxString_in_helper(obj5);
2590 if (arg6 == NULL) SWIG_fail;
2591 temp6 = true;
2592 }
2593 }
2594 {
2595 if (!wxPyCheckForApp()) SWIG_fail;
2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
2597 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2598
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) SWIG_fail;
2601 }
2602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2603 {
2604 if (temp6)
2605 delete arg6;
2606 }
2607 return resultobj;
2608 fail:
2609 {
2610 if (temp6)
2611 delete arg6;
2612 }
2613 return NULL;
2614 }
2615
2616
2617 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxPanel *result;
2620 char *kwnames[] = {
2621 NULL
2622 };
2623
2624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2625 {
2626 if (!wxPyCheckForApp()) SWIG_fail;
2627 PyThreadState* __tstate = wxPyBeginAllowThreads();
2628 result = (wxPanel *)new wxPanel();
2629
2630 wxPyEndAllowThreads(__tstate);
2631 if (PyErr_Occurred()) SWIG_fail;
2632 }
2633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2634 return resultobj;
2635 fail:
2636 return NULL;
2637 }
2638
2639
2640 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2641 PyObject *resultobj;
2642 wxPanel *arg1 = (wxPanel *) 0 ;
2643 wxWindow *arg2 = (wxWindow *) 0 ;
2644 int arg3 = (int) (int)-1 ;
2645 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2646 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2647 wxSize const &arg5_defvalue = wxDefaultSize ;
2648 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2649 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2650 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2651 wxString *arg7 = (wxString *) &arg7_defvalue ;
2652 bool result;
2653 wxPoint temp4 ;
2654 wxSize temp5 ;
2655 bool temp7 = false ;
2656 PyObject * obj0 = 0 ;
2657 PyObject * obj1 = 0 ;
2658 PyObject * obj2 = 0 ;
2659 PyObject * obj3 = 0 ;
2660 PyObject * obj4 = 0 ;
2661 PyObject * obj5 = 0 ;
2662 PyObject * obj6 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2669 if (SWIG_arg_fail(1)) SWIG_fail;
2670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2671 if (SWIG_arg_fail(2)) SWIG_fail;
2672 if (obj2) {
2673 {
2674 arg3 = (int const)(SWIG_As_int(obj2));
2675 if (SWIG_arg_fail(3)) SWIG_fail;
2676 }
2677 }
2678 if (obj3) {
2679 {
2680 arg4 = &temp4;
2681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2682 }
2683 }
2684 if (obj4) {
2685 {
2686 arg5 = &temp5;
2687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2688 }
2689 }
2690 if (obj5) {
2691 {
2692 arg6 = (long)(SWIG_As_long(obj5));
2693 if (SWIG_arg_fail(6)) SWIG_fail;
2694 }
2695 }
2696 if (obj6) {
2697 {
2698 arg7 = wxString_in_helper(obj6);
2699 if (arg7 == NULL) SWIG_fail;
2700 temp7 = true;
2701 }
2702 }
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 {
2711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2712 }
2713 {
2714 if (temp7)
2715 delete arg7;
2716 }
2717 return resultobj;
2718 fail:
2719 {
2720 if (temp7)
2721 delete arg7;
2722 }
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxPanel *arg1 = (wxPanel *) 0 ;
2730 PyObject * obj0 = 0 ;
2731 char *kwnames[] = {
2732 (char *) "self", NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2737 if (SWIG_arg_fail(1)) SWIG_fail;
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 (arg1)->InitDialog();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 Py_INCREF(Py_None); resultobj = Py_None;
2746 return resultobj;
2747 fail:
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxPanel *arg1 = (wxPanel *) 0 ;
2755 PyObject * obj0 = 0 ;
2756 char *kwnames[] = {
2757 (char *) "self", NULL
2758 };
2759
2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2762 if (SWIG_arg_fail(1)) SWIG_fail;
2763 {
2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
2765 (arg1)->SetFocus();
2766
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 }
2770 Py_INCREF(Py_None); resultobj = Py_None;
2771 return resultobj;
2772 fail:
2773 return NULL;
2774 }
2775
2776
2777 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2778 PyObject *resultobj;
2779 wxPanel *arg1 = (wxPanel *) 0 ;
2780 PyObject * obj0 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2787 if (SWIG_arg_fail(1)) SWIG_fail;
2788 {
2789 PyThreadState* __tstate = wxPyBeginAllowThreads();
2790 (arg1)->SetFocusIgnoringChildren();
2791
2792 wxPyEndAllowThreads(__tstate);
2793 if (PyErr_Occurred()) SWIG_fail;
2794 }
2795 Py_INCREF(Py_None); resultobj = Py_None;
2796 return resultobj;
2797 fail:
2798 return NULL;
2799 }
2800
2801
2802 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2805 wxVisualAttributes result;
2806 PyObject * obj0 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "variant", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2812 if (obj0) {
2813 {
2814 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2815 if (SWIG_arg_fail(1)) SWIG_fail;
2816 }
2817 }
2818 {
2819 if (!wxPyCheckForApp()) SWIG_fail;
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 {
2827 wxVisualAttributes * resultptr;
2828 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2838 PyObject *obj;
2839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2840 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2841 Py_INCREF(obj);
2842 return Py_BuildValue((char *)"");
2843 }
2844 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2845 PyObject *resultobj;
2846 wxWindow *arg1 = (wxWindow *) 0 ;
2847 int arg2 = (int) (int)-1 ;
2848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2850 wxSize const &arg4_defvalue = wxDefaultSize ;
2851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2852 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2853 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2854 wxString *arg6 = (wxString *) &arg6_defvalue ;
2855 wxScrolledWindow *result;
2856 wxPoint temp3 ;
2857 wxSize temp4 ;
2858 bool temp6 = false ;
2859 PyObject * obj0 = 0 ;
2860 PyObject * obj1 = 0 ;
2861 PyObject * obj2 = 0 ;
2862 PyObject * obj3 = 0 ;
2863 PyObject * obj4 = 0 ;
2864 PyObject * obj5 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2871 if (SWIG_arg_fail(1)) SWIG_fail;
2872 if (obj1) {
2873 {
2874 arg2 = (int const)(SWIG_As_int(obj1));
2875 if (SWIG_arg_fail(2)) SWIG_fail;
2876 }
2877 }
2878 if (obj2) {
2879 {
2880 arg3 = &temp3;
2881 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2882 }
2883 }
2884 if (obj3) {
2885 {
2886 arg4 = &temp4;
2887 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2888 }
2889 }
2890 if (obj4) {
2891 {
2892 arg5 = (long)(SWIG_As_long(obj4));
2893 if (SWIG_arg_fail(5)) SWIG_fail;
2894 }
2895 }
2896 if (obj5) {
2897 {
2898 arg6 = wxString_in_helper(obj5);
2899 if (arg6 == NULL) SWIG_fail;
2900 temp6 = true;
2901 }
2902 }
2903 {
2904 if (!wxPyCheckForApp()) SWIG_fail;
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2912 {
2913 if (temp6)
2914 delete arg6;
2915 }
2916 return resultobj;
2917 fail:
2918 {
2919 if (temp6)
2920 delete arg6;
2921 }
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxScrolledWindow *result;
2929 char *kwnames[] = {
2930 NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2934 {
2935 if (!wxPyCheckForApp()) SWIG_fail;
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 result = (wxScrolledWindow *)new wxScrolledWindow();
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2952 wxWindow *arg2 = (wxWindow *) 0 ;
2953 int arg3 = (int) (int)-1 ;
2954 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2955 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2956 wxSize const &arg5_defvalue = wxDefaultSize ;
2957 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2958 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2959 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2960 wxString *arg7 = (wxString *) &arg7_defvalue ;
2961 bool result;
2962 wxPoint temp4 ;
2963 wxSize temp5 ;
2964 bool temp7 = false ;
2965 PyObject * obj0 = 0 ;
2966 PyObject * obj1 = 0 ;
2967 PyObject * obj2 = 0 ;
2968 PyObject * obj3 = 0 ;
2969 PyObject * obj4 = 0 ;
2970 PyObject * obj5 = 0 ;
2971 PyObject * obj6 = 0 ;
2972 char *kwnames[] = {
2973 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2978 if (SWIG_arg_fail(1)) SWIG_fail;
2979 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2980 if (SWIG_arg_fail(2)) SWIG_fail;
2981 if (obj2) {
2982 {
2983 arg3 = (int const)(SWIG_As_int(obj2));
2984 if (SWIG_arg_fail(3)) SWIG_fail;
2985 }
2986 }
2987 if (obj3) {
2988 {
2989 arg4 = &temp4;
2990 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2991 }
2992 }
2993 if (obj4) {
2994 {
2995 arg5 = &temp5;
2996 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2997 }
2998 }
2999 if (obj5) {
3000 {
3001 arg6 = (long)(SWIG_As_long(obj5));
3002 if (SWIG_arg_fail(6)) SWIG_fail;
3003 }
3004 }
3005 if (obj6) {
3006 {
3007 arg7 = wxString_in_helper(obj6);
3008 if (arg7 == NULL) SWIG_fail;
3009 temp7 = true;
3010 }
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 {
3020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3021 }
3022 {
3023 if (temp7)
3024 delete arg7;
3025 }
3026 return resultobj;
3027 fail:
3028 {
3029 if (temp7)
3030 delete arg7;
3031 }
3032 return NULL;
3033 }
3034
3035
3036 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3037 PyObject *resultobj;
3038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3039 int arg2 ;
3040 int arg3 ;
3041 int arg4 ;
3042 int arg5 ;
3043 int arg6 = (int) 0 ;
3044 int arg7 = (int) 0 ;
3045 bool arg8 = (bool) false ;
3046 PyObject * obj0 = 0 ;
3047 PyObject * obj1 = 0 ;
3048 PyObject * obj2 = 0 ;
3049 PyObject * obj3 = 0 ;
3050 PyObject * obj4 = 0 ;
3051 PyObject * obj5 = 0 ;
3052 PyObject * obj6 = 0 ;
3053 PyObject * obj7 = 0 ;
3054 char *kwnames[] = {
3055 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3060 if (SWIG_arg_fail(1)) SWIG_fail;
3061 {
3062 arg2 = (int)(SWIG_As_int(obj1));
3063 if (SWIG_arg_fail(2)) SWIG_fail;
3064 }
3065 {
3066 arg3 = (int)(SWIG_As_int(obj2));
3067 if (SWIG_arg_fail(3)) SWIG_fail;
3068 }
3069 {
3070 arg4 = (int)(SWIG_As_int(obj3));
3071 if (SWIG_arg_fail(4)) SWIG_fail;
3072 }
3073 {
3074 arg5 = (int)(SWIG_As_int(obj4));
3075 if (SWIG_arg_fail(5)) SWIG_fail;
3076 }
3077 if (obj5) {
3078 {
3079 arg6 = (int)(SWIG_As_int(obj5));
3080 if (SWIG_arg_fail(6)) SWIG_fail;
3081 }
3082 }
3083 if (obj6) {
3084 {
3085 arg7 = (int)(SWIG_As_int(obj6));
3086 if (SWIG_arg_fail(7)) SWIG_fail;
3087 }
3088 }
3089 if (obj7) {
3090 {
3091 arg8 = (bool)(SWIG_As_bool(obj7));
3092 if (SWIG_arg_fail(8)) SWIG_fail;
3093 }
3094 }
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 Py_INCREF(Py_None); resultobj = Py_None;
3103 return resultobj;
3104 fail:
3105 return NULL;
3106 }
3107
3108
3109 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3112 int arg2 ;
3113 int arg3 ;
3114 PyObject * obj0 = 0 ;
3115 PyObject * obj1 = 0 ;
3116 PyObject * obj2 = 0 ;
3117 char *kwnames[] = {
3118 (char *) "self",(char *) "x",(char *) "y", NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3123 if (SWIG_arg_fail(1)) SWIG_fail;
3124 {
3125 arg2 = (int)(SWIG_As_int(obj1));
3126 if (SWIG_arg_fail(2)) SWIG_fail;
3127 }
3128 {
3129 arg3 = (int)(SWIG_As_int(obj2));
3130 if (SWIG_arg_fail(3)) SWIG_fail;
3131 }
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->Scroll(arg2,arg3);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143 }
3144
3145
3146 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3149 int arg2 ;
3150 int result;
3151 PyObject * obj0 = 0 ;
3152 PyObject * obj1 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self",(char *) "orient", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3159 if (SWIG_arg_fail(1)) SWIG_fail;
3160 {
3161 arg2 = (int)(SWIG_As_int(obj1));
3162 if (SWIG_arg_fail(2)) SWIG_fail;
3163 }
3164 {
3165 PyThreadState* __tstate = wxPyBeginAllowThreads();
3166 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3167
3168 wxPyEndAllowThreads(__tstate);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 {
3172 resultobj = SWIG_From_int((int)(result));
3173 }
3174 return resultobj;
3175 fail:
3176 return NULL;
3177 }
3178
3179
3180 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3181 PyObject *resultobj;
3182 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3183 int arg2 ;
3184 int arg3 ;
3185 PyObject * obj0 = 0 ;
3186 PyObject * obj1 = 0 ;
3187 PyObject * obj2 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3194 if (SWIG_arg_fail(1)) SWIG_fail;
3195 {
3196 arg2 = (int)(SWIG_As_int(obj1));
3197 if (SWIG_arg_fail(2)) SWIG_fail;
3198 }
3199 {
3200 arg3 = (int)(SWIG_As_int(obj2));
3201 if (SWIG_arg_fail(3)) SWIG_fail;
3202 }
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->SetScrollPageSize(arg2,arg3);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 return resultobj;
3212 fail:
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3220 int arg2 ;
3221 int arg3 ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 PyObject * obj2 = 0 ;
3225 char *kwnames[] = {
3226 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3227 };
3228
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3231 if (SWIG_arg_fail(1)) SWIG_fail;
3232 {
3233 arg2 = (int)(SWIG_As_int(obj1));
3234 if (SWIG_arg_fail(2)) SWIG_fail;
3235 }
3236 {
3237 arg3 = (int)(SWIG_As_int(obj2));
3238 if (SWIG_arg_fail(3)) SWIG_fail;
3239 }
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->SetScrollRate(arg2,arg3);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3257 int *arg2 = (int *) 0 ;
3258 int *arg3 = (int *) 0 ;
3259 int temp2 ;
3260 int res2 = 0 ;
3261 int temp3 ;
3262 int res3 = 0 ;
3263 PyObject * obj0 = 0 ;
3264 char *kwnames[] = {
3265 (char *) "self", NULL
3266 };
3267
3268 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3269 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3272 if (SWIG_arg_fail(1)) SWIG_fail;
3273 {
3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
3275 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3276
3277 wxPyEndAllowThreads(__tstate);
3278 if (PyErr_Occurred()) SWIG_fail;
3279 }
3280 Py_INCREF(Py_None); resultobj = Py_None;
3281 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3282 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3283 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3284 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3294 bool arg2 ;
3295 bool arg3 ;
3296 PyObject * obj0 = 0 ;
3297 PyObject * obj1 = 0 ;
3298 PyObject * obj2 = 0 ;
3299 char *kwnames[] = {
3300 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3301 };
3302
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3305 if (SWIG_arg_fail(1)) SWIG_fail;
3306 {
3307 arg2 = (bool)(SWIG_As_bool(obj1));
3308 if (SWIG_arg_fail(2)) SWIG_fail;
3309 }
3310 {
3311 arg3 = (bool)(SWIG_As_bool(obj2));
3312 if (SWIG_arg_fail(3)) SWIG_fail;
3313 }
3314 {
3315 PyThreadState* __tstate = wxPyBeginAllowThreads();
3316 (arg1)->EnableScrolling(arg2,arg3);
3317
3318 wxPyEndAllowThreads(__tstate);
3319 if (PyErr_Occurred()) SWIG_fail;
3320 }
3321 Py_INCREF(Py_None); resultobj = Py_None;
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3331 int *arg2 = (int *) 0 ;
3332 int *arg3 = (int *) 0 ;
3333 int temp2 ;
3334 int res2 = 0 ;
3335 int temp3 ;
3336 int res3 = 0 ;
3337 PyObject * obj0 = 0 ;
3338 char *kwnames[] = {
3339 (char *) "self", NULL
3340 };
3341
3342 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3343 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3346 if (SWIG_arg_fail(1)) SWIG_fail;
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 Py_INCREF(Py_None); resultobj = Py_None;
3355 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3356 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3357 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3358 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3368 double arg2 ;
3369 double arg3 ;
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj1 = 0 ;
3372 PyObject * obj2 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self",(char *) "xs",(char *) "ys", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail;
3380 {
3381 arg2 = (double)(SWIG_As_double(obj1));
3382 if (SWIG_arg_fail(2)) SWIG_fail;
3383 }
3384 {
3385 arg3 = (double)(SWIG_As_double(obj2));
3386 if (SWIG_arg_fail(3)) SWIG_fail;
3387 }
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 (arg1)->SetScale(arg2,arg3);
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 Py_INCREF(Py_None); resultobj = Py_None;
3396 return resultobj;
3397 fail:
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3405 double result;
3406 PyObject * obj0 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3413 if (SWIG_arg_fail(1)) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 {
3422 resultobj = SWIG_From_double((double)(result));
3423 }
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3433 double result;
3434 PyObject * obj0 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "self", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3441 if (SWIG_arg_fail(1)) SWIG_fail;
3442 {
3443 PyThreadState* __tstate = wxPyBeginAllowThreads();
3444 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3445
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 {
3450 resultobj = SWIG_From_double((double)(result));
3451 }
3452 return resultobj;
3453 fail:
3454 return NULL;
3455 }
3456
3457
3458 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3459 PyObject *resultobj;
3460 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3461 wxPoint *arg2 = 0 ;
3462 wxPoint result;
3463 wxPoint temp2 ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj1 = 0 ;
3466
3467 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3469 if (SWIG_arg_fail(1)) SWIG_fail;
3470 {
3471 arg2 = &temp2;
3472 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3473 }
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 {
3482 wxPoint * resultptr;
3483 resultptr = new wxPoint((wxPoint &)(result));
3484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3493 PyObject *resultobj;
3494 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3495 int arg2 ;
3496 int arg3 ;
3497 int *arg4 = (int *) 0 ;
3498 int *arg5 = (int *) 0 ;
3499 int temp4 ;
3500 int res4 = 0 ;
3501 int temp5 ;
3502 int res5 = 0 ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 PyObject * obj2 = 0 ;
3506
3507 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3508 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3509 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail;
3512 {
3513 arg2 = (int)(SWIG_As_int(obj1));
3514 if (SWIG_arg_fail(2)) SWIG_fail;
3515 }
3516 {
3517 arg3 = (int)(SWIG_As_int(obj2));
3518 if (SWIG_arg_fail(3)) SWIG_fail;
3519 }
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 Py_INCREF(Py_None); resultobj = Py_None;
3528 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3529 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3530 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3531 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3532 return resultobj;
3533 fail:
3534 return NULL;
3535 }
3536
3537
3538 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3539 int argc;
3540 PyObject *argv[4];
3541 int ii;
3542
3543 argc = PyObject_Length(args);
3544 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3545 argv[ii] = PyTuple_GetItem(args,ii);
3546 }
3547 if (argc == 2) {
3548 int _v;
3549 {
3550 void *ptr;
3551 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3552 _v = 0;
3553 PyErr_Clear();
3554 } else {
3555 _v = 1;
3556 }
3557 }
3558 if (_v) {
3559 {
3560 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3561 }
3562 if (_v) {
3563 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3564 }
3565 }
3566 }
3567 if (argc == 3) {
3568 int _v;
3569 {
3570 void *ptr;
3571 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3572 _v = 0;
3573 PyErr_Clear();
3574 } else {
3575 _v = 1;
3576 }
3577 }
3578 if (_v) {
3579 _v = SWIG_Check_int(argv[1]);
3580 if (_v) {
3581 _v = SWIG_Check_int(argv[2]);
3582 if (_v) {
3583 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3584 }
3585 }
3586 }
3587 }
3588
3589 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3590 return NULL;
3591 }
3592
3593
3594 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3595 PyObject *resultobj;
3596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3597 wxPoint *arg2 = 0 ;
3598 wxPoint result;
3599 wxPoint temp2 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602
3603 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail;
3606 {
3607 arg2 = &temp2;
3608 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 {
3618 wxPoint * resultptr;
3619 resultptr = new wxPoint((wxPoint &)(result));
3620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3621 }
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3629 PyObject *resultobj;
3630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3631 int arg2 ;
3632 int arg3 ;
3633 int *arg4 = (int *) 0 ;
3634 int *arg5 = (int *) 0 ;
3635 int temp4 ;
3636 int res4 = 0 ;
3637 int temp5 ;
3638 int res5 = 0 ;
3639 PyObject * obj0 = 0 ;
3640 PyObject * obj1 = 0 ;
3641 PyObject * obj2 = 0 ;
3642
3643 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3644 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3645 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3647 if (SWIG_arg_fail(1)) SWIG_fail;
3648 {
3649 arg2 = (int)(SWIG_As_int(obj1));
3650 if (SWIG_arg_fail(2)) SWIG_fail;
3651 }
3652 {
3653 arg3 = (int)(SWIG_As_int(obj2));
3654 if (SWIG_arg_fail(3)) SWIG_fail;
3655 }
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 Py_INCREF(Py_None); resultobj = Py_None;
3664 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3665 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3666 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3667 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3675 int argc;
3676 PyObject *argv[4];
3677 int ii;
3678
3679 argc = PyObject_Length(args);
3680 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3681 argv[ii] = PyTuple_GetItem(args,ii);
3682 }
3683 if (argc == 2) {
3684 int _v;
3685 {
3686 void *ptr;
3687 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3688 _v = 0;
3689 PyErr_Clear();
3690 } else {
3691 _v = 1;
3692 }
3693 }
3694 if (_v) {
3695 {
3696 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3697 }
3698 if (_v) {
3699 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3700 }
3701 }
3702 }
3703 if (argc == 3) {
3704 int _v;
3705 {
3706 void *ptr;
3707 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3708 _v = 0;
3709 PyErr_Clear();
3710 } else {
3711 _v = 1;
3712 }
3713 }
3714 if (_v) {
3715 _v = SWIG_Check_int(argv[1]);
3716 if (_v) {
3717 _v = SWIG_Check_int(argv[2]);
3718 if (_v) {
3719 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3720 }
3721 }
3722 }
3723 }
3724
3725 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3726 return NULL;
3727 }
3728
3729
3730 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj;
3732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3733 PyObject * obj0 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail;
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 (arg1)->AdjustScrollbars();
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
3748 Py_INCREF(Py_None); resultobj = Py_None;
3749 return resultobj;
3750 fail:
3751 return NULL;
3752 }
3753
3754
3755 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3756 PyObject *resultobj;
3757 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3758 wxScrollWinEvent *arg2 = 0 ;
3759 int result;
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj1 = 0 ;
3762 char *kwnames[] = {
3763 (char *) "self",(char *) "event", NULL
3764 };
3765
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail;
3769 {
3770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3771 if (SWIG_arg_fail(2)) SWIG_fail;
3772 if (arg2 == NULL) {
3773 SWIG_null_ref("wxScrollWinEvent");
3774 }
3775 if (SWIG_arg_fail(2)) SWIG_fail;
3776 }
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (int)(arg1)->CalcScrollInc(*arg2);
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 {
3785 resultobj = SWIG_From_int((int)(result));
3786 }
3787 return resultobj;
3788 fail:
3789 return NULL;
3790 }
3791
3792
3793 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3796 wxWindow *arg2 = (wxWindow *) 0 ;
3797 PyObject * obj0 = 0 ;
3798 PyObject * obj1 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self",(char *) "target", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3805 if (SWIG_arg_fail(1)) SWIG_fail;
3806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3807 if (SWIG_arg_fail(2)) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 (arg1)->SetTargetWindow(arg2);
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 Py_INCREF(Py_None); resultobj = Py_None;
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3825 wxWindow *result;
3826 PyObject * obj0 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3833 if (SWIG_arg_fail(1)) SWIG_fail;
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3837
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
3841 {
3842 resultobj = wxPyMake_wxObject(result, 0);
3843 }
3844 return resultobj;
3845 fail:
3846 return NULL;
3847 }
3848
3849
3850 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj;
3852 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3853 wxRect *arg2 = 0 ;
3854 wxRect temp2 ;
3855 PyObject * obj0 = 0 ;
3856 PyObject * obj1 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self",(char *) "rect", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3863 if (SWIG_arg_fail(1)) SWIG_fail;
3864 {
3865 arg2 = &temp2;
3866 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3867 }
3868 {
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 (arg1)->SetTargetRect((wxRect const &)*arg2);
3871
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) SWIG_fail;
3874 }
3875 Py_INCREF(Py_None); resultobj = Py_None;
3876 return resultobj;
3877 fail:
3878 return NULL;
3879 }
3880
3881
3882 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3883 PyObject *resultobj;
3884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3885 wxRect result;
3886 PyObject * obj0 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 {
3902 wxRect * resultptr;
3903 resultptr = new wxRect((wxRect &)(result));
3904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3905 }
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3915 wxDC *arg2 = 0 ;
3916 PyObject * obj0 = 0 ;
3917 PyObject * obj1 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "dc", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail;
3925 {
3926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3927 if (SWIG_arg_fail(2)) SWIG_fail;
3928 if (arg2 == NULL) {
3929 SWIG_null_ref("wxDC");
3930 }
3931 if (SWIG_arg_fail(2)) SWIG_fail;
3932 }
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 (arg1)->DoPrepareDC(*arg2);
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 Py_INCREF(Py_None); resultobj = Py_None;
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3950 wxVisualAttributes result;
3951 PyObject * obj0 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "variant", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3957 if (obj0) {
3958 {
3959 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3960 if (SWIG_arg_fail(1)) SWIG_fail;
3961 }
3962 }
3963 {
3964 if (!wxPyCheckForApp()) SWIG_fail;
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3967
3968 wxPyEndAllowThreads(__tstate);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 {
3972 wxVisualAttributes * resultptr;
3973 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3975 }
3976 return resultobj;
3977 fail:
3978 return NULL;
3979 }
3980
3981
3982 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
3983 PyObject *obj;
3984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3985 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3986 Py_INCREF(obj);
3987 return Py_BuildValue((char *)"");
3988 }
3989 static int _wrap_FrameNameStr_set(PyObject *) {
3990 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3991 return 1;
3992 }
3993
3994
3995 static PyObject *_wrap_FrameNameStr_get(void) {
3996 PyObject *pyobj;
3997
3998 {
3999 #if wxUSE_UNICODE
4000 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4001 #else
4002 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4003 #endif
4004 }
4005 return pyobj;
4006 }
4007
4008
4009 static int _wrap_DialogNameStr_set(PyObject *) {
4010 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4011 return 1;
4012 }
4013
4014
4015 static PyObject *_wrap_DialogNameStr_get(void) {
4016 PyObject *pyobj;
4017
4018 {
4019 #if wxUSE_UNICODE
4020 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4021 #else
4022 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4023 #endif
4024 }
4025 return pyobj;
4026 }
4027
4028
4029 static int _wrap_StatusLineNameStr_set(PyObject *) {
4030 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4031 return 1;
4032 }
4033
4034
4035 static PyObject *_wrap_StatusLineNameStr_get(void) {
4036 PyObject *pyobj;
4037
4038 {
4039 #if wxUSE_UNICODE
4040 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4041 #else
4042 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4043 #endif
4044 }
4045 return pyobj;
4046 }
4047
4048
4049 static int _wrap_ToolBarNameStr_set(PyObject *) {
4050 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4051 return 1;
4052 }
4053
4054
4055 static PyObject *_wrap_ToolBarNameStr_get(void) {
4056 PyObject *pyobj;
4057
4058 {
4059 #if wxUSE_UNICODE
4060 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4061 #else
4062 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4063 #endif
4064 }
4065 return pyobj;
4066 }
4067
4068
4069 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4070 PyObject *resultobj;
4071 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4072 bool arg2 = (bool) true ;
4073 PyObject * obj0 = 0 ;
4074 PyObject * obj1 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "self",(char *) "maximize", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4081 if (SWIG_arg_fail(1)) SWIG_fail;
4082 if (obj1) {
4083 {
4084 arg2 = (bool)(SWIG_As_bool(obj1));
4085 if (SWIG_arg_fail(2)) SWIG_fail;
4086 }
4087 }
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 (arg1)->Maximize(arg2);
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 Py_INCREF(Py_None); resultobj = Py_None;
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4105 PyObject * obj0 = 0 ;
4106 char *kwnames[] = {
4107 (char *) "self", NULL
4108 };
4109
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4112 if (SWIG_arg_fail(1)) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 (arg1)->Restore();
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4130 bool arg2 = (bool) true ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 char *kwnames[] = {
4134 (char *) "self",(char *) "iconize", NULL
4135 };
4136
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail;
4140 if (obj1) {
4141 {
4142 arg2 = (bool)(SWIG_As_bool(obj1));
4143 if (SWIG_arg_fail(2)) SWIG_fail;
4144 }
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 (arg1)->Iconize(arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 return resultobj;
4155 fail:
4156 return NULL;
4157 }
4158
4159
4160 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4163 bool result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4171 if (SWIG_arg_fail(1)) SWIG_fail;
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4181 }
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4191 bool result;
4192 PyObject * obj0 = 0 ;
4193 char *kwnames[] = {
4194 (char *) "self", NULL
4195 };
4196
4197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4199 if (SWIG_arg_fail(1)) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 {
4208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4209 }
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4219 wxIcon result;
4220 PyObject * obj0 = 0 ;
4221 char *kwnames[] = {
4222 (char *) "self", NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 {
4236 wxIcon * resultptr;
4237 resultptr = new wxIcon((wxIcon &)(result));
4238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4239 }
4240 return resultobj;
4241 fail:
4242 return NULL;
4243 }
4244
4245
4246 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4249 wxIcon *arg2 = 0 ;
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "self",(char *) "icon", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4258 if (SWIG_arg_fail(1)) SWIG_fail;
4259 {
4260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4261 if (SWIG_arg_fail(2)) SWIG_fail;
4262 if (arg2 == NULL) {
4263 SWIG_null_ref("wxIcon");
4264 }
4265 if (SWIG_arg_fail(2)) SWIG_fail;
4266 }
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 (arg1)->SetIcon((wxIcon const &)*arg2);
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 Py_INCREF(Py_None); resultobj = Py_None;
4275 return resultobj;
4276 fail:
4277 return NULL;
4278 }
4279
4280
4281 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4282 PyObject *resultobj;
4283 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4284 wxIconBundle *arg2 = 0 ;
4285 PyObject * obj0 = 0 ;
4286 PyObject * obj1 = 0 ;
4287 char *kwnames[] = {
4288 (char *) "self",(char *) "icons", NULL
4289 };
4290
4291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail;
4294 {
4295 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4296 if (SWIG_arg_fail(2)) SWIG_fail;
4297 if (arg2 == NULL) {
4298 SWIG_null_ref("wxIconBundle");
4299 }
4300 if (SWIG_arg_fail(2)) SWIG_fail;
4301 }
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 Py_INCREF(Py_None); resultobj = Py_None;
4310 return resultobj;
4311 fail:
4312 return NULL;
4313 }
4314
4315
4316 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4319 bool arg2 ;
4320 long arg3 = (long) wxFULLSCREEN_ALL ;
4321 bool result;
4322 PyObject * obj0 = 0 ;
4323 PyObject * obj1 = 0 ;
4324 PyObject * obj2 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "self",(char *) "show",(char *) "style", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
4334 if (SWIG_arg_fail(2)) SWIG_fail;
4335 }
4336 if (obj2) {
4337 {
4338 arg3 = (long)(SWIG_As_long(obj2));
4339 if (SWIG_arg_fail(3)) SWIG_fail;
4340 }
4341 }
4342 {
4343 PyThreadState* __tstate = wxPyBeginAllowThreads();
4344 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4345
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 {
4350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4351 }
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4361 bool result;
4362 PyObject * obj0 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "self", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail;
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 {
4378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4379 }
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4389 wxString *arg2 = 0 ;
4390 bool temp2 = false ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 char *kwnames[] = {
4394 (char *) "self",(char *) "title", NULL
4395 };
4396
4397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4399 if (SWIG_arg_fail(1)) SWIG_fail;
4400 {
4401 arg2 = wxString_in_helper(obj1);
4402 if (arg2 == NULL) SWIG_fail;
4403 temp2 = true;
4404 }
4405 {
4406 PyThreadState* __tstate = wxPyBeginAllowThreads();
4407 (arg1)->SetTitle((wxString const &)*arg2);
4408
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 Py_INCREF(Py_None); resultobj = Py_None;
4413 {
4414 if (temp2)
4415 delete arg2;
4416 }
4417 return resultobj;
4418 fail:
4419 {
4420 if (temp2)
4421 delete arg2;
4422 }
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4430 wxString result;
4431 PyObject * obj0 = 0 ;
4432 char *kwnames[] = {
4433 (char *) "self", NULL
4434 };
4435
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4438 if (SWIG_arg_fail(1)) SWIG_fail;
4439 {
4440 PyThreadState* __tstate = wxPyBeginAllowThreads();
4441 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4442
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 {
4447 #if wxUSE_UNICODE
4448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4449 #else
4450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4451 #endif
4452 }
4453 return resultobj;
4454 fail:
4455 return NULL;
4456 }
4457
4458
4459 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4462 wxRegion *arg2 = 0 ;
4463 bool result;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "region", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail;
4473 {
4474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4475 if (SWIG_arg_fail(2)) SWIG_fail;
4476 if (arg2 == NULL) {
4477 SWIG_null_ref("wxRegion");
4478 }
4479 if (SWIG_arg_fail(2)) SWIG_fail;
4480 }
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 {
4489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4490 }
4491 return resultobj;
4492 fail:
4493 return NULL;
4494 }
4495
4496
4497 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4500 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4501 PyObject * obj0 = 0 ;
4502 PyObject * obj1 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "self",(char *) "flags", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4509 if (SWIG_arg_fail(1)) SWIG_fail;
4510 if (obj1) {
4511 {
4512 arg2 = (int)(SWIG_As_int(obj1));
4513 if (SWIG_arg_fail(2)) SWIG_fail;
4514 }
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 (arg1)->RequestUserAttention(arg2);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 Py_INCREF(Py_None); resultobj = Py_None;
4524 return resultobj;
4525 fail:
4526 return NULL;
4527 }
4528
4529
4530 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4531 PyObject *resultobj;
4532 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4533 bool result;
4534 PyObject * obj0 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4541 if (SWIG_arg_fail(1)) SWIG_fail;
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (bool)(arg1)->IsActive();
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 {
4550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4551 }
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4561 bool arg2 ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "on", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail;
4571 {
4572 arg2 = (bool)(SWIG_As_bool(obj1));
4573 if (SWIG_arg_fail(2)) SWIG_fail;
4574 }
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 (arg1)->MacSetMetalAppearance(arg2);
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 Py_INCREF(Py_None); resultobj = Py_None;
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj;
4591 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4592 bool result;
4593 PyObject * obj0 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4600 if (SWIG_arg_fail(1)) SWIG_fail;
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 {
4609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4610 }
4611 return resultobj;
4612 fail:
4613 return NULL;
4614 }
4615
4616
4617 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4618 PyObject *obj;
4619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4620 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4621 Py_INCREF(obj);
4622 return Py_BuildValue((char *)"");
4623 }
4624 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxWindow *arg1 = (wxWindow *) 0 ;
4627 int arg2 = (int) (int)-1 ;
4628 wxString const &arg3_defvalue = wxPyEmptyString ;
4629 wxString *arg3 = (wxString *) &arg3_defvalue ;
4630 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4631 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4632 wxSize const &arg5_defvalue = wxDefaultSize ;
4633 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4634 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4635 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4636 wxString *arg7 = (wxString *) &arg7_defvalue ;
4637 wxFrame *result;
4638 bool temp3 = false ;
4639 wxPoint temp4 ;
4640 wxSize temp5 ;
4641 bool temp7 = false ;
4642 PyObject * obj0 = 0 ;
4643 PyObject * obj1 = 0 ;
4644 PyObject * obj2 = 0 ;
4645 PyObject * obj3 = 0 ;
4646 PyObject * obj4 = 0 ;
4647 PyObject * obj5 = 0 ;
4648 PyObject * obj6 = 0 ;
4649 char *kwnames[] = {
4650 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4651 };
4652
4653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4655 if (SWIG_arg_fail(1)) SWIG_fail;
4656 if (obj1) {
4657 {
4658 arg2 = (int const)(SWIG_As_int(obj1));
4659 if (SWIG_arg_fail(2)) SWIG_fail;
4660 }
4661 }
4662 if (obj2) {
4663 {
4664 arg3 = wxString_in_helper(obj2);
4665 if (arg3 == NULL) SWIG_fail;
4666 temp3 = true;
4667 }
4668 }
4669 if (obj3) {
4670 {
4671 arg4 = &temp4;
4672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4673 }
4674 }
4675 if (obj4) {
4676 {
4677 arg5 = &temp5;
4678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4679 }
4680 }
4681 if (obj5) {
4682 {
4683 arg6 = (long)(SWIG_As_long(obj5));
4684 if (SWIG_arg_fail(6)) SWIG_fail;
4685 }
4686 }
4687 if (obj6) {
4688 {
4689 arg7 = wxString_in_helper(obj6);
4690 if (arg7 == NULL) SWIG_fail;
4691 temp7 = true;
4692 }
4693 }
4694 {
4695 if (!wxPyCheckForApp()) SWIG_fail;
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4703 {
4704 if (temp3)
4705 delete arg3;
4706 }
4707 {
4708 if (temp7)
4709 delete arg7;
4710 }
4711 return resultobj;
4712 fail:
4713 {
4714 if (temp3)
4715 delete arg3;
4716 }
4717 {
4718 if (temp7)
4719 delete arg7;
4720 }
4721 return NULL;
4722 }
4723
4724
4725 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 wxFrame *result;
4728 char *kwnames[] = {
4729 NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4733 {
4734 if (!wxPyCheckForApp()) SWIG_fail;
4735 PyThreadState* __tstate = wxPyBeginAllowThreads();
4736 result = (wxFrame *)new wxFrame();
4737
4738 wxPyEndAllowThreads(__tstate);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 }
4741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4742 return resultobj;
4743 fail:
4744 return NULL;
4745 }
4746
4747
4748 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4749 PyObject *resultobj;
4750 wxFrame *arg1 = (wxFrame *) 0 ;
4751 wxWindow *arg2 = (wxWindow *) 0 ;
4752 int arg3 = (int) (int)-1 ;
4753 wxString const &arg4_defvalue = wxPyEmptyString ;
4754 wxString *arg4 = (wxString *) &arg4_defvalue ;
4755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4757 wxSize const &arg6_defvalue = wxDefaultSize ;
4758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4759 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4760 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4761 wxString *arg8 = (wxString *) &arg8_defvalue ;
4762 bool result;
4763 bool temp4 = false ;
4764 wxPoint temp5 ;
4765 wxSize temp6 ;
4766 bool temp8 = false ;
4767 PyObject * obj0 = 0 ;
4768 PyObject * obj1 = 0 ;
4769 PyObject * obj2 = 0 ;
4770 PyObject * obj3 = 0 ;
4771 PyObject * obj4 = 0 ;
4772 PyObject * obj5 = 0 ;
4773 PyObject * obj6 = 0 ;
4774 PyObject * obj7 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail;
4782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4783 if (SWIG_arg_fail(2)) SWIG_fail;
4784 if (obj2) {
4785 {
4786 arg3 = (int const)(SWIG_As_int(obj2));
4787 if (SWIG_arg_fail(3)) SWIG_fail;
4788 }
4789 }
4790 if (obj3) {
4791 {
4792 arg4 = wxString_in_helper(obj3);
4793 if (arg4 == NULL) SWIG_fail;
4794 temp4 = true;
4795 }
4796 }
4797 if (obj4) {
4798 {
4799 arg5 = &temp5;
4800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4801 }
4802 }
4803 if (obj5) {
4804 {
4805 arg6 = &temp6;
4806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4807 }
4808 }
4809 if (obj6) {
4810 {
4811 arg7 = (long)(SWIG_As_long(obj6));
4812 if (SWIG_arg_fail(7)) SWIG_fail;
4813 }
4814 }
4815 if (obj7) {
4816 {
4817 arg8 = wxString_in_helper(obj7);
4818 if (arg8 == NULL) SWIG_fail;
4819 temp8 = true;
4820 }
4821 }
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 {
4830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4831 }
4832 {
4833 if (temp4)
4834 delete arg4;
4835 }
4836 {
4837 if (temp8)
4838 delete arg8;
4839 }
4840 return resultobj;
4841 fail:
4842 {
4843 if (temp4)
4844 delete arg4;
4845 }
4846 {
4847 if (temp8)
4848 delete arg8;
4849 }
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxFrame *arg1 = (wxFrame *) 0 ;
4857 wxPoint result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4865 if (SWIG_arg_fail(1)) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 {
4874 wxPoint * resultptr;
4875 resultptr = new wxPoint((wxPoint &)(result));
4876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4877 }
4878 return resultobj;
4879 fail:
4880 return NULL;
4881 }
4882
4883
4884 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxFrame *arg1 = (wxFrame *) 0 ;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail;
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 (arg1)->SendSizeEvent();
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 Py_INCREF(Py_None); resultobj = Py_None;
4903 return resultobj;
4904 fail:
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxFrame *arg1 = (wxFrame *) 0 ;
4912 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 char *kwnames[] = {
4916 (char *) "self",(char *) "menubar", NULL
4917 };
4918
4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail;
4922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4923 if (SWIG_arg_fail(2)) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 (arg1)->SetMenuBar(arg2);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 Py_INCREF(Py_None); resultobj = Py_None;
4932 return resultobj;
4933 fail:
4934 return NULL;
4935 }
4936
4937
4938 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4939 PyObject *resultobj;
4940 wxFrame *arg1 = (wxFrame *) 0 ;
4941 wxMenuBar *result;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 {
4958 resultobj = wxPyMake_wxObject(result, 0);
4959 }
4960 return resultobj;
4961 fail:
4962 return NULL;
4963 }
4964
4965
4966 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxFrame *arg1 = (wxFrame *) 0 ;
4969 int arg2 ;
4970 bool result;
4971 PyObject * obj0 = 0 ;
4972 PyObject * obj1 = 0 ;
4973 char *kwnames[] = {
4974 (char *) "self",(char *) "winid", NULL
4975 };
4976
4977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4979 if (SWIG_arg_fail(1)) SWIG_fail;
4980 {
4981 arg2 = (int)(SWIG_As_int(obj1));
4982 if (SWIG_arg_fail(2)) SWIG_fail;
4983 }
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (bool)(arg1)->ProcessCommand(arg2);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 {
4992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4993 }
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxFrame *arg1 = (wxFrame *) 0 ;
5003 int arg2 = (int) 1 ;
5004 long arg3 = (long) wxST_SIZEGRIP ;
5005 int arg4 = (int) 0 ;
5006 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5007 wxString *arg5 = (wxString *) &arg5_defvalue ;
5008 wxStatusBar *result;
5009 bool temp5 = false ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 PyObject * obj2 = 0 ;
5013 PyObject * obj3 = 0 ;
5014 PyObject * obj4 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail;
5022 if (obj1) {
5023 {
5024 arg2 = (int)(SWIG_As_int(obj1));
5025 if (SWIG_arg_fail(2)) SWIG_fail;
5026 }
5027 }
5028 if (obj2) {
5029 {
5030 arg3 = (long)(SWIG_As_long(obj2));
5031 if (SWIG_arg_fail(3)) SWIG_fail;
5032 }
5033 }
5034 if (obj3) {
5035 {
5036 arg4 = (int)(SWIG_As_int(obj3));
5037 if (SWIG_arg_fail(4)) SWIG_fail;
5038 }
5039 }
5040 if (obj4) {
5041 {
5042 arg5 = wxString_in_helper(obj4);
5043 if (arg5 == NULL) SWIG_fail;
5044 temp5 = true;
5045 }
5046 }
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 {
5055 resultobj = wxPyMake_wxObject(result, 0);
5056 }
5057 {
5058 if (temp5)
5059 delete arg5;
5060 }
5061 return resultobj;
5062 fail:
5063 {
5064 if (temp5)
5065 delete arg5;
5066 }
5067 return NULL;
5068 }
5069
5070
5071 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxFrame *arg1 = (wxFrame *) 0 ;
5074 wxStatusBar *result;
5075 PyObject * obj0 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail;
5083 {
5084 PyThreadState* __tstate = wxPyBeginAllowThreads();
5085 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5086
5087 wxPyEndAllowThreads(__tstate);
5088 if (PyErr_Occurred()) SWIG_fail;
5089 }
5090 {
5091 resultobj = wxPyMake_wxObject(result, 0);
5092 }
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxFrame *arg1 = (wxFrame *) 0 ;
5102 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5103 PyObject * obj0 = 0 ;
5104 PyObject * obj1 = 0 ;
5105 char *kwnames[] = {
5106 (char *) "self",(char *) "statBar", NULL
5107 };
5108
5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5111 if (SWIG_arg_fail(1)) SWIG_fail;
5112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5113 if (SWIG_arg_fail(2)) SWIG_fail;
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 (arg1)->SetStatusBar(arg2);
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 Py_INCREF(Py_None); resultobj = Py_None;
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxFrame *arg1 = (wxFrame *) 0 ;
5131 wxString *arg2 = 0 ;
5132 int arg3 = (int) 0 ;
5133 bool temp2 = false ;
5134 PyObject * obj0 = 0 ;
5135 PyObject * obj1 = 0 ;
5136 PyObject * obj2 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "text",(char *) "number", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 arg2 = wxString_in_helper(obj1);
5146 if (arg2 == NULL) SWIG_fail;
5147 temp2 = true;
5148 }
5149 if (obj2) {
5150 {
5151 arg3 = (int)(SWIG_As_int(obj2));
5152 if (SWIG_arg_fail(3)) SWIG_fail;
5153 }
5154 }
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 Py_INCREF(Py_None); resultobj = Py_None;
5163 {
5164 if (temp2)
5165 delete arg2;
5166 }
5167 return resultobj;
5168 fail:
5169 {
5170 if (temp2)
5171 delete arg2;
5172 }
5173 return NULL;
5174 }
5175
5176
5177 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxFrame *arg1 = (wxFrame *) 0 ;
5180 int arg2 ;
5181 int *arg3 = (int *) 0 ;
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "widths", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 {
5192 arg2 = PyList_Size(obj1);
5193 arg3 = int_LIST_helper(obj1);
5194 if (arg3 == NULL) SWIG_fail;
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 Py_INCREF(Py_None); resultobj = Py_None;
5204 {
5205 if (arg3) delete [] arg3;
5206 }
5207 return resultobj;
5208 fail:
5209 {
5210 if (arg3) delete [] arg3;
5211 }
5212 return NULL;
5213 }
5214
5215
5216 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxFrame *arg1 = (wxFrame *) 0 ;
5219 wxString *arg2 = 0 ;
5220 int arg3 = (int) 0 ;
5221 bool temp2 = false ;
5222 PyObject * obj0 = 0 ;
5223 PyObject * obj1 = 0 ;
5224 PyObject * obj2 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self",(char *) "text",(char *) "number", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5231 if (SWIG_arg_fail(1)) SWIG_fail;
5232 {
5233 arg2 = wxString_in_helper(obj1);
5234 if (arg2 == NULL) SWIG_fail;
5235 temp2 = true;
5236 }
5237 if (obj2) {
5238 {
5239 arg3 = (int)(SWIG_As_int(obj2));
5240 if (SWIG_arg_fail(3)) SWIG_fail;
5241 }
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 {
5252 if (temp2)
5253 delete arg2;
5254 }
5255 return resultobj;
5256 fail:
5257 {
5258 if (temp2)
5259 delete arg2;
5260 }
5261 return NULL;
5262 }
5263
5264
5265 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5266 PyObject *resultobj;
5267 wxFrame *arg1 = (wxFrame *) 0 ;
5268 int arg2 = (int) 0 ;
5269 PyObject * obj0 = 0 ;
5270 PyObject * obj1 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self",(char *) "number", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5277 if (SWIG_arg_fail(1)) SWIG_fail;
5278 if (obj1) {
5279 {
5280 arg2 = (int)(SWIG_As_int(obj1));
5281 if (SWIG_arg_fail(2)) SWIG_fail;
5282 }
5283 }
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 (arg1)->PopStatusText(arg2);
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 Py_INCREF(Py_None); resultobj = Py_None;
5292 return resultobj;
5293 fail:
5294 return NULL;
5295 }
5296
5297
5298 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxFrame *arg1 = (wxFrame *) 0 ;
5301 int arg2 ;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self",(char *) "n", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5310 if (SWIG_arg_fail(1)) SWIG_fail;
5311 {
5312 arg2 = (int)(SWIG_As_int(obj1));
5313 if (SWIG_arg_fail(2)) SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->SetStatusBarPane(arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326 }
5327
5328
5329 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxFrame *arg1 = (wxFrame *) 0 ;
5332 int result;
5333 PyObject * obj0 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail;
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
5349 resultobj = SWIG_From_int((int)(result));
5350 }
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxFrame *arg1 = (wxFrame *) 0 ;
5360 long arg2 = (long) -1 ;
5361 int arg3 = (int) -1 ;
5362 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5363 wxString *arg4 = (wxString *) &arg4_defvalue ;
5364 wxToolBar *result;
5365 bool temp4 = false ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 PyObject * obj2 = 0 ;
5369 PyObject * obj3 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail;
5377 if (obj1) {
5378 {
5379 arg2 = (long)(SWIG_As_long(obj1));
5380 if (SWIG_arg_fail(2)) SWIG_fail;
5381 }
5382 }
5383 if (obj2) {
5384 {
5385 arg3 = (int)(SWIG_As_int(obj2));
5386 if (SWIG_arg_fail(3)) SWIG_fail;
5387 }
5388 }
5389 if (obj3) {
5390 {
5391 arg4 = wxString_in_helper(obj3);
5392 if (arg4 == NULL) SWIG_fail;
5393 temp4 = true;
5394 }
5395 }
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 {
5404 resultobj = wxPyMake_wxObject(result, 0);
5405 }
5406 {
5407 if (temp4)
5408 delete arg4;
5409 }
5410 return resultobj;
5411 fail:
5412 {
5413 if (temp4)
5414 delete arg4;
5415 }
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxFrame *arg1 = (wxFrame *) 0 ;
5423 wxToolBar *result;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail;
5432 {
5433 PyThreadState* __tstate = wxPyBeginAllowThreads();
5434 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5435
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = wxPyMake_wxObject(result, 0);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxFrame *arg1 = (wxFrame *) 0 ;
5451 wxToolBar *arg2 = (wxToolBar *) 0 ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "toolbar", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail;
5461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5462 if (SWIG_arg_fail(2)) SWIG_fail;
5463 {
5464 PyThreadState* __tstate = wxPyBeginAllowThreads();
5465 (arg1)->SetToolBar(arg2);
5466
5467 wxPyEndAllowThreads(__tstate);
5468 if (PyErr_Occurred()) SWIG_fail;
5469 }
5470 Py_INCREF(Py_None); resultobj = Py_None;
5471 return resultobj;
5472 fail:
5473 return NULL;
5474 }
5475
5476
5477 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5478 PyObject *resultobj;
5479 wxFrame *arg1 = (wxFrame *) 0 ;
5480 wxString *arg2 = 0 ;
5481 bool arg3 ;
5482 bool temp2 = false ;
5483 PyObject * obj0 = 0 ;
5484 PyObject * obj1 = 0 ;
5485 PyObject * obj2 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self",(char *) "text",(char *) "show", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
5493 {
5494 arg2 = wxString_in_helper(obj1);
5495 if (arg2 == NULL) SWIG_fail;
5496 temp2 = true;
5497 }
5498 {
5499 arg3 = (bool)(SWIG_As_bool(obj2));
5500 if (SWIG_arg_fail(3)) SWIG_fail;
5501 }
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 Py_INCREF(Py_None); resultobj = Py_None;
5510 {
5511 if (temp2)
5512 delete arg2;
5513 }
5514 return resultobj;
5515 fail:
5516 {
5517 if (temp2)
5518 delete arg2;
5519 }
5520 return NULL;
5521 }
5522
5523
5524 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxFrame *arg1 = (wxFrame *) 0 ;
5527 wxMenu *arg2 = (wxMenu *) NULL ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "menu", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5539 if (SWIG_arg_fail(2)) SWIG_fail;
5540 }
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 (arg1)->DoMenuUpdates(arg2);
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 Py_INCREF(Py_None); resultobj = Py_None;
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5558 wxVisualAttributes result;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "variant", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5565 if (obj0) {
5566 {
5567 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5568 if (SWIG_arg_fail(1)) SWIG_fail;
5569 }
5570 }
5571 {
5572 if (!wxPyCheckForApp()) SWIG_fail;
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 {
5580 wxVisualAttributes * resultptr;
5581 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5583 }
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5591 PyObject *obj;
5592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5593 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5594 Py_INCREF(obj);
5595 return Py_BuildValue((char *)"");
5596 }
5597 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxWindow *arg1 = (wxWindow *) 0 ;
5600 int arg2 = (int) (int)-1 ;
5601 wxString const &arg3_defvalue = wxPyEmptyString ;
5602 wxString *arg3 = (wxString *) &arg3_defvalue ;
5603 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5604 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5605 wxSize const &arg5_defvalue = wxDefaultSize ;
5606 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5607 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5608 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5609 wxString *arg7 = (wxString *) &arg7_defvalue ;
5610 wxDialog *result;
5611 bool temp3 = false ;
5612 wxPoint temp4 ;
5613 wxSize temp5 ;
5614 bool temp7 = false ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 PyObject * obj3 = 0 ;
5619 PyObject * obj4 = 0 ;
5620 PyObject * obj5 = 0 ;
5621 PyObject * obj6 = 0 ;
5622 char *kwnames[] = {
5623 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5624 };
5625
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5628 if (SWIG_arg_fail(1)) SWIG_fail;
5629 if (obj1) {
5630 {
5631 arg2 = (int const)(SWIG_As_int(obj1));
5632 if (SWIG_arg_fail(2)) SWIG_fail;
5633 }
5634 }
5635 if (obj2) {
5636 {
5637 arg3 = wxString_in_helper(obj2);
5638 if (arg3 == NULL) SWIG_fail;
5639 temp3 = true;
5640 }
5641 }
5642 if (obj3) {
5643 {
5644 arg4 = &temp4;
5645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5646 }
5647 }
5648 if (obj4) {
5649 {
5650 arg5 = &temp5;
5651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5652 }
5653 }
5654 if (obj5) {
5655 {
5656 arg6 = (long)(SWIG_As_long(obj5));
5657 if (SWIG_arg_fail(6)) SWIG_fail;
5658 }
5659 }
5660 if (obj6) {
5661 {
5662 arg7 = wxString_in_helper(obj6);
5663 if (arg7 == NULL) SWIG_fail;
5664 temp7 = true;
5665 }
5666 }
5667 {
5668 if (!wxPyCheckForApp()) SWIG_fail;
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5676 {
5677 if (temp3)
5678 delete arg3;
5679 }
5680 {
5681 if (temp7)
5682 delete arg7;
5683 }
5684 return resultobj;
5685 fail:
5686 {
5687 if (temp3)
5688 delete arg3;
5689 }
5690 {
5691 if (temp7)
5692 delete arg7;
5693 }
5694 return NULL;
5695 }
5696
5697
5698 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5699 PyObject *resultobj;
5700 wxDialog *result;
5701 char *kwnames[] = {
5702 NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5706 {
5707 if (!wxPyCheckForApp()) SWIG_fail;
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (wxDialog *)new wxDialog();
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxDialog *arg1 = (wxDialog *) 0 ;
5724 wxWindow *arg2 = (wxWindow *) 0 ;
5725 int arg3 = (int) (int)-1 ;
5726 wxString const &arg4_defvalue = wxPyEmptyString ;
5727 wxString *arg4 = (wxString *) &arg4_defvalue ;
5728 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5729 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5730 wxSize const &arg6_defvalue = wxDefaultSize ;
5731 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5732 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5733 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5734 wxString *arg8 = (wxString *) &arg8_defvalue ;
5735 bool result;
5736 bool temp4 = false ;
5737 wxPoint temp5 ;
5738 wxSize temp6 ;
5739 bool temp8 = false ;
5740 PyObject * obj0 = 0 ;
5741 PyObject * obj1 = 0 ;
5742 PyObject * obj2 = 0 ;
5743 PyObject * obj3 = 0 ;
5744 PyObject * obj4 = 0 ;
5745 PyObject * obj5 = 0 ;
5746 PyObject * obj6 = 0 ;
5747 PyObject * obj7 = 0 ;
5748 char *kwnames[] = {
5749 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5750 };
5751
5752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5754 if (SWIG_arg_fail(1)) SWIG_fail;
5755 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5756 if (SWIG_arg_fail(2)) SWIG_fail;
5757 if (obj2) {
5758 {
5759 arg3 = (int const)(SWIG_As_int(obj2));
5760 if (SWIG_arg_fail(3)) SWIG_fail;
5761 }
5762 }
5763 if (obj3) {
5764 {
5765 arg4 = wxString_in_helper(obj3);
5766 if (arg4 == NULL) SWIG_fail;
5767 temp4 = true;
5768 }
5769 }
5770 if (obj4) {
5771 {
5772 arg5 = &temp5;
5773 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5774 }
5775 }
5776 if (obj5) {
5777 {
5778 arg6 = &temp6;
5779 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5780 }
5781 }
5782 if (obj6) {
5783 {
5784 arg7 = (long)(SWIG_As_long(obj6));
5785 if (SWIG_arg_fail(7)) SWIG_fail;
5786 }
5787 }
5788 if (obj7) {
5789 {
5790 arg8 = wxString_in_helper(obj7);
5791 if (arg8 == NULL) SWIG_fail;
5792 temp8 = true;
5793 }
5794 }
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 {
5803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5804 }
5805 {
5806 if (temp4)
5807 delete arg4;
5808 }
5809 {
5810 if (temp8)
5811 delete arg8;
5812 }
5813 return resultobj;
5814 fail:
5815 {
5816 if (temp4)
5817 delete arg4;
5818 }
5819 {
5820 if (temp8)
5821 delete arg8;
5822 }
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxDialog *arg1 = (wxDialog *) 0 ;
5830 int arg2 ;
5831 PyObject * obj0 = 0 ;
5832 PyObject * obj1 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self",(char *) "returnCode", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5839 if (SWIG_arg_fail(1)) SWIG_fail;
5840 {
5841 arg2 = (int)(SWIG_As_int(obj1));
5842 if (SWIG_arg_fail(2)) SWIG_fail;
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 (arg1)->SetReturnCode(arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 Py_INCREF(Py_None); resultobj = Py_None;
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxDialog *arg1 = (wxDialog *) 0 ;
5861 int result;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 {
5878 resultobj = SWIG_From_int((int)(result));
5879 }
5880 return resultobj;
5881 fail:
5882 return NULL;
5883 }
5884
5885
5886 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 wxDialog *arg1 = (wxDialog *) 0 ;
5889 wxString *arg2 = 0 ;
5890 wxSizer *result;
5891 bool temp2 = false ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "message", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail;
5901 {
5902 arg2 = wxString_in_helper(obj1);
5903 if (arg2 == NULL) SWIG_fail;
5904 temp2 = true;
5905 }
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5909
5910 wxPyEndAllowThreads(__tstate);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 resultobj = wxPyMake_wxSizer(result, 0);
5915 }
5916 {
5917 if (temp2)
5918 delete arg2;
5919 }
5920 return resultobj;
5921 fail:
5922 {
5923 if (temp2)
5924 delete arg2;
5925 }
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxDialog *arg1 = (wxDialog *) 0 ;
5933 long arg2 ;
5934 wxSizer *result;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self",(char *) "flags", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail;
5944 {
5945 arg2 = (long)(SWIG_As_long(obj1));
5946 if (SWIG_arg_fail(2)) SWIG_fail;
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 {
5956 resultobj = wxPyMake_wxSizer(result, 0);
5957 }
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxDialog *arg1 = (wxDialog *) 0 ;
5967 long arg2 ;
5968 wxStdDialogButtonSizer *result;
5969 PyObject * obj0 = 0 ;
5970 PyObject * obj1 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self",(char *) "flags", NULL
5973 };
5974
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail;
5978 {
5979 arg2 = (long)(SWIG_As_long(obj1));
5980 if (SWIG_arg_fail(2)) SWIG_fail;
5981 }
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxDialog *arg1 = (wxDialog *) 0 ;
5999 bool result;
6000 PyObject * obj0 = 0 ;
6001 char *kwnames[] = {
6002 (char *) "self", NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6007 if (SWIG_arg_fail(1)) SWIG_fail;
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (bool)((wxDialog const *)arg1)->IsModal();
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxDialog *arg1 = (wxDialog *) 0 ;
6027 int result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6035 if (SWIG_arg_fail(1)) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (int)(arg1)->ShowModal();
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 {
6044 resultobj = SWIG_From_int((int)(result));
6045 }
6046 return resultobj;
6047 fail:
6048 return NULL;
6049 }
6050
6051
6052 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxDialog *arg1 = (wxDialog *) 0 ;
6055 int arg2 ;
6056 PyObject * obj0 = 0 ;
6057 PyObject * obj1 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "retCode", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6064 if (SWIG_arg_fail(1)) SWIG_fail;
6065 {
6066 arg2 = (int)(SWIG_As_int(obj1));
6067 if (SWIG_arg_fail(2)) SWIG_fail;
6068 }
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 (arg1)->EndModal(arg2);
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 Py_INCREF(Py_None); resultobj = Py_None;
6077 return resultobj;
6078 fail:
6079 return NULL;
6080 }
6081
6082
6083 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6086 wxVisualAttributes result;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "variant", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6093 if (obj0) {
6094 {
6095 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6096 if (SWIG_arg_fail(1)) SWIG_fail;
6097 }
6098 }
6099 {
6100 if (!wxPyCheckForApp()) SWIG_fail;
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 wxVisualAttributes * resultptr;
6109 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6111 }
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6119 PyObject *obj;
6120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6121 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6122 Py_INCREF(obj);
6123 return Py_BuildValue((char *)"");
6124 }
6125 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxWindow *arg1 = (wxWindow *) 0 ;
6128 int arg2 = (int) (int)-1 ;
6129 wxString const &arg3_defvalue = wxPyEmptyString ;
6130 wxString *arg3 = (wxString *) &arg3_defvalue ;
6131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6133 wxSize const &arg5_defvalue = wxDefaultSize ;
6134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6135 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6136 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6137 wxString *arg7 = (wxString *) &arg7_defvalue ;
6138 wxMiniFrame *result;
6139 bool temp3 = false ;
6140 wxPoint temp4 ;
6141 wxSize temp5 ;
6142 bool temp7 = false ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 PyObject * obj2 = 0 ;
6146 PyObject * obj3 = 0 ;
6147 PyObject * obj4 = 0 ;
6148 PyObject * obj5 = 0 ;
6149 PyObject * obj6 = 0 ;
6150 char *kwnames[] = {
6151 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6156 if (SWIG_arg_fail(1)) SWIG_fail;
6157 if (obj1) {
6158 {
6159 arg2 = (int const)(SWIG_As_int(obj1));
6160 if (SWIG_arg_fail(2)) SWIG_fail;
6161 }
6162 }
6163 if (obj2) {
6164 {
6165 arg3 = wxString_in_helper(obj2);
6166 if (arg3 == NULL) SWIG_fail;
6167 temp3 = true;
6168 }
6169 }
6170 if (obj3) {
6171 {
6172 arg4 = &temp4;
6173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6174 }
6175 }
6176 if (obj4) {
6177 {
6178 arg5 = &temp5;
6179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6180 }
6181 }
6182 if (obj5) {
6183 {
6184 arg6 = (long)(SWIG_As_long(obj5));
6185 if (SWIG_arg_fail(6)) SWIG_fail;
6186 }
6187 }
6188 if (obj6) {
6189 {
6190 arg7 = wxString_in_helper(obj6);
6191 if (arg7 == NULL) SWIG_fail;
6192 temp7 = true;
6193 }
6194 }
6195 {
6196 if (!wxPyCheckForApp()) SWIG_fail;
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6204 {
6205 if (temp3)
6206 delete arg3;
6207 }
6208 {
6209 if (temp7)
6210 delete arg7;
6211 }
6212 return resultobj;
6213 fail:
6214 {
6215 if (temp3)
6216 delete arg3;
6217 }
6218 {
6219 if (temp7)
6220 delete arg7;
6221 }
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxMiniFrame *result;
6229 char *kwnames[] = {
6230 NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6234 {
6235 if (!wxPyCheckForApp()) SWIG_fail;
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxMiniFrame *)new wxMiniFrame();
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj;
6251 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6252 wxWindow *arg2 = (wxWindow *) 0 ;
6253 int arg3 = (int) (int)-1 ;
6254 wxString const &arg4_defvalue = wxPyEmptyString ;
6255 wxString *arg4 = (wxString *) &arg4_defvalue ;
6256 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6257 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6258 wxSize const &arg6_defvalue = wxDefaultSize ;
6259 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6260 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6261 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6262 wxString *arg8 = (wxString *) &arg8_defvalue ;
6263 bool result;
6264 bool temp4 = false ;
6265 wxPoint temp5 ;
6266 wxSize temp6 ;
6267 bool temp8 = false ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 PyObject * obj2 = 0 ;
6271 PyObject * obj3 = 0 ;
6272 PyObject * obj4 = 0 ;
6273 PyObject * obj5 = 0 ;
6274 PyObject * obj6 = 0 ;
6275 PyObject * obj7 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6282 if (SWIG_arg_fail(1)) SWIG_fail;
6283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6284 if (SWIG_arg_fail(2)) SWIG_fail;
6285 if (obj2) {
6286 {
6287 arg3 = (int const)(SWIG_As_int(obj2));
6288 if (SWIG_arg_fail(3)) SWIG_fail;
6289 }
6290 }
6291 if (obj3) {
6292 {
6293 arg4 = wxString_in_helper(obj3);
6294 if (arg4 == NULL) SWIG_fail;
6295 temp4 = true;
6296 }
6297 }
6298 if (obj4) {
6299 {
6300 arg5 = &temp5;
6301 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6302 }
6303 }
6304 if (obj5) {
6305 {
6306 arg6 = &temp6;
6307 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6308 }
6309 }
6310 if (obj6) {
6311 {
6312 arg7 = (long)(SWIG_As_long(obj6));
6313 if (SWIG_arg_fail(7)) SWIG_fail;
6314 }
6315 }
6316 if (obj7) {
6317 {
6318 arg8 = wxString_in_helper(obj7);
6319 if (arg8 == NULL) SWIG_fail;
6320 temp8 = true;
6321 }
6322 }
6323 {
6324 PyThreadState* __tstate = wxPyBeginAllowThreads();
6325 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6326
6327 wxPyEndAllowThreads(__tstate);
6328 if (PyErr_Occurred()) SWIG_fail;
6329 }
6330 {
6331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6332 }
6333 {
6334 if (temp4)
6335 delete arg4;
6336 }
6337 {
6338 if (temp8)
6339 delete arg8;
6340 }
6341 return resultobj;
6342 fail:
6343 {
6344 if (temp4)
6345 delete arg4;
6346 }
6347 {
6348 if (temp8)
6349 delete arg8;
6350 }
6351 return NULL;
6352 }
6353
6354
6355 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6356 PyObject *obj;
6357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6359 Py_INCREF(obj);
6360 return Py_BuildValue((char *)"");
6361 }
6362 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 wxBitmap *arg1 = 0 ;
6365 wxWindow *arg2 = (wxWindow *) 0 ;
6366 int arg3 ;
6367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6369 wxSize const &arg5_defvalue = wxDefaultSize ;
6370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6371 long arg6 = (long) wxNO_BORDER ;
6372 wxSplashScreenWindow *result;
6373 wxPoint temp4 ;
6374 wxSize temp5 ;
6375 PyObject * obj0 = 0 ;
6376 PyObject * obj1 = 0 ;
6377 PyObject * obj2 = 0 ;
6378 PyObject * obj3 = 0 ;
6379 PyObject * obj4 = 0 ;
6380 PyObject * obj5 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6386 {
6387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail;
6389 if (arg1 == NULL) {
6390 SWIG_null_ref("wxBitmap");
6391 }
6392 if (SWIG_arg_fail(1)) SWIG_fail;
6393 }
6394 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(2)) SWIG_fail;
6396 {
6397 arg3 = (int)(SWIG_As_int(obj2));
6398 if (SWIG_arg_fail(3)) SWIG_fail;
6399 }
6400 if (obj3) {
6401 {
6402 arg4 = &temp4;
6403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6404 }
6405 }
6406 if (obj4) {
6407 {
6408 arg5 = &temp5;
6409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6410 }
6411 }
6412 if (obj5) {
6413 {
6414 arg6 = (long)(SWIG_As_long(obj5));
6415 if (SWIG_arg_fail(6)) SWIG_fail;
6416 }
6417 }
6418 {
6419 if (!wxPyCheckForApp()) SWIG_fail;
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6427 return resultobj;
6428 fail:
6429 return NULL;
6430 }
6431
6432
6433 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj;
6435 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6436 wxBitmap *arg2 = 0 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self",(char *) "bitmap", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6445 if (SWIG_arg_fail(1)) SWIG_fail;
6446 {
6447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6448 if (SWIG_arg_fail(2)) SWIG_fail;
6449 if (arg2 == NULL) {
6450 SWIG_null_ref("wxBitmap");
6451 }
6452 if (SWIG_arg_fail(2)) SWIG_fail;
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
6461 Py_INCREF(Py_None); resultobj = Py_None;
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6471 wxBitmap *result;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6479 if (SWIG_arg_fail(1)) SWIG_fail;
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 {
6483 wxBitmap &_result_ref = (arg1)->GetBitmap();
6484 result = (wxBitmap *) &_result_ref;
6485 }
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 {
6491 wxBitmap* resultptr = new wxBitmap(*result);
6492 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6493 }
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6501 PyObject *obj;
6502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6503 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6504 Py_INCREF(obj);
6505 return Py_BuildValue((char *)"");
6506 }
6507 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6508 PyObject *resultobj;
6509 wxBitmap *arg1 = 0 ;
6510 long arg2 ;
6511 int arg3 ;
6512 wxWindow *arg4 = (wxWindow *) 0 ;
6513 int arg5 = (int) -1 ;
6514 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6515 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6516 wxSize const &arg7_defvalue = wxDefaultSize ;
6517 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6518 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6519 wxSplashScreen *result;
6520 wxPoint temp6 ;
6521 wxSize temp7 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 PyObject * obj2 = 0 ;
6525 PyObject * obj3 = 0 ;
6526 PyObject * obj4 = 0 ;
6527 PyObject * obj5 = 0 ;
6528 PyObject * obj6 = 0 ;
6529 PyObject * obj7 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6535 {
6536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail;
6538 if (arg1 == NULL) {
6539 SWIG_null_ref("wxBitmap");
6540 }
6541 if (SWIG_arg_fail(1)) SWIG_fail;
6542 }
6543 {
6544 arg2 = (long)(SWIG_As_long(obj1));
6545 if (SWIG_arg_fail(2)) SWIG_fail;
6546 }
6547 {
6548 arg3 = (int)(SWIG_As_int(obj2));
6549 if (SWIG_arg_fail(3)) SWIG_fail;
6550 }
6551 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6552 if (SWIG_arg_fail(4)) SWIG_fail;
6553 if (obj4) {
6554 {
6555 arg5 = (int)(SWIG_As_int(obj4));
6556 if (SWIG_arg_fail(5)) SWIG_fail;
6557 }
6558 }
6559 if (obj5) {
6560 {
6561 arg6 = &temp6;
6562 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6563 }
6564 }
6565 if (obj6) {
6566 {
6567 arg7 = &temp7;
6568 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6569 }
6570 }
6571 if (obj7) {
6572 {
6573 arg8 = (long)(SWIG_As_long(obj7));
6574 if (SWIG_arg_fail(8)) SWIG_fail;
6575 }
6576 }
6577 {
6578 if (!wxPyCheckForApp()) SWIG_fail;
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6586 return resultobj;
6587 fail:
6588 return NULL;
6589 }
6590
6591
6592 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6595 long result;
6596 PyObject * obj0 = 0 ;
6597 char *kwnames[] = {
6598 (char *) "self", NULL
6599 };
6600
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail;
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 {
6612 resultobj = SWIG_From_long((long)(result));
6613 }
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6623 wxSplashScreenWindow *result;
6624 PyObject * obj0 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6631 if (SWIG_arg_fail(1)) SWIG_fail;
6632 {
6633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6634 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6635
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6640 return resultobj;
6641 fail:
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6649 int result;
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6657 if (SWIG_arg_fail(1)) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = SWIG_From_int((int)(result));
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6675 PyObject *obj;
6676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6677 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6678 Py_INCREF(obj);
6679 return Py_BuildValue((char *)"");
6680 }
6681 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxWindow *arg1 = (wxWindow *) 0 ;
6684 int arg2 = (int) -1 ;
6685 long arg3 = (long) wxST_SIZEGRIP ;
6686 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6687 wxString *arg4 = (wxString *) &arg4_defvalue ;
6688 wxStatusBar *result;
6689 bool temp4 = false ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 PyObject * obj2 = 0 ;
6693 PyObject * obj3 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6700 if (SWIG_arg_fail(1)) SWIG_fail;
6701 if (obj1) {
6702 {
6703 arg2 = (int)(SWIG_As_int(obj1));
6704 if (SWIG_arg_fail(2)) SWIG_fail;
6705 }
6706 }
6707 if (obj2) {
6708 {
6709 arg3 = (long)(SWIG_As_long(obj2));
6710 if (SWIG_arg_fail(3)) SWIG_fail;
6711 }
6712 }
6713 if (obj3) {
6714 {
6715 arg4 = wxString_in_helper(obj3);
6716 if (arg4 == NULL) SWIG_fail;
6717 temp4 = true;
6718 }
6719 }
6720 {
6721 if (!wxPyCheckForApp()) SWIG_fail;
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6729 {
6730 if (temp4)
6731 delete arg4;
6732 }
6733 return resultobj;
6734 fail:
6735 {
6736 if (temp4)
6737 delete arg4;
6738 }
6739 return NULL;
6740 }
6741
6742
6743 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxStatusBar *result;
6746 char *kwnames[] = {
6747 NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6751 {
6752 if (!wxPyCheckForApp()) SWIG_fail;
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 result = (wxStatusBar *)new wxStatusBar();
6755
6756 wxPyEndAllowThreads(__tstate);
6757 if (PyErr_Occurred()) SWIG_fail;
6758 }
6759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6760 return resultobj;
6761 fail:
6762 return NULL;
6763 }
6764
6765
6766 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6767 PyObject *resultobj;
6768 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6769 wxWindow *arg2 = (wxWindow *) 0 ;
6770 int arg3 = (int) -1 ;
6771 long arg4 = (long) wxST_SIZEGRIP ;
6772 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6773 wxString *arg5 = (wxString *) &arg5_defvalue ;
6774 bool result;
6775 bool temp5 = false ;
6776 PyObject * obj0 = 0 ;
6777 PyObject * obj1 = 0 ;
6778 PyObject * obj2 = 0 ;
6779 PyObject * obj3 = 0 ;
6780 PyObject * obj4 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6787 if (SWIG_arg_fail(1)) SWIG_fail;
6788 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6789 if (SWIG_arg_fail(2)) SWIG_fail;
6790 if (obj2) {
6791 {
6792 arg3 = (int)(SWIG_As_int(obj2));
6793 if (SWIG_arg_fail(3)) SWIG_fail;
6794 }
6795 }
6796 if (obj3) {
6797 {
6798 arg4 = (long)(SWIG_As_long(obj3));
6799 if (SWIG_arg_fail(4)) SWIG_fail;
6800 }
6801 }
6802 if (obj4) {
6803 {
6804 arg5 = wxString_in_helper(obj4);
6805 if (arg5 == NULL) SWIG_fail;
6806 temp5 = true;
6807 }
6808 }
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 {
6817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6818 }
6819 {
6820 if (temp5)
6821 delete arg5;
6822 }
6823 return resultobj;
6824 fail:
6825 {
6826 if (temp5)
6827 delete arg5;
6828 }
6829 return NULL;
6830 }
6831
6832
6833 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6836 int arg2 = (int) 1 ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "self",(char *) "number", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
6846 if (obj1) {
6847 {
6848 arg2 = (int)(SWIG_As_int(obj1));
6849 if (SWIG_arg_fail(2)) SWIG_fail;
6850 }
6851 }
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 (arg1)->SetFieldsCount(arg2);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 Py_INCREF(Py_None); resultobj = Py_None;
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6869 int result;
6870 PyObject * obj0 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6877 if (SWIG_arg_fail(1)) SWIG_fail;
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 {
6886 resultobj = SWIG_From_int((int)(result));
6887 }
6888 return resultobj;
6889 fail:
6890 return NULL;
6891 }
6892
6893
6894 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj;
6896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6897 wxString *arg2 = 0 ;
6898 int arg3 = (int) 0 ;
6899 bool temp2 = false ;
6900 PyObject * obj0 = 0 ;
6901 PyObject * obj1 = 0 ;
6902 PyObject * obj2 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self",(char *) "text",(char *) "number", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6909 if (SWIG_arg_fail(1)) SWIG_fail;
6910 {
6911 arg2 = wxString_in_helper(obj1);
6912 if (arg2 == NULL) SWIG_fail;
6913 temp2 = true;
6914 }
6915 if (obj2) {
6916 {
6917 arg3 = (int)(SWIG_As_int(obj2));
6918 if (SWIG_arg_fail(3)) SWIG_fail;
6919 }
6920 }
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 {
6930 if (temp2)
6931 delete arg2;
6932 }
6933 return resultobj;
6934 fail:
6935 {
6936 if (temp2)
6937 delete arg2;
6938 }
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6946 int arg2 = (int) 0 ;
6947 wxString result;
6948 PyObject * obj0 = 0 ;
6949 PyObject * obj1 = 0 ;
6950 char *kwnames[] = {
6951 (char *) "self",(char *) "number", NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail;
6957 if (obj1) {
6958 {
6959 arg2 = (int)(SWIG_As_int(obj1));
6960 if (SWIG_arg_fail(2)) SWIG_fail;
6961 }
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
6971 #if wxUSE_UNICODE
6972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6973 #else
6974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6975 #endif
6976 }
6977 return resultobj;
6978 fail:
6979 return NULL;
6980 }
6981
6982
6983 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6986 wxString *arg2 = 0 ;
6987 int arg3 = (int) 0 ;
6988 bool temp2 = false ;
6989 PyObject * obj0 = 0 ;
6990 PyObject * obj1 = 0 ;
6991 PyObject * obj2 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self",(char *) "text",(char *) "number", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6998 if (SWIG_arg_fail(1)) SWIG_fail;
6999 {
7000 arg2 = wxString_in_helper(obj1);
7001 if (arg2 == NULL) SWIG_fail;
7002 temp2 = true;
7003 }
7004 if (obj2) {
7005 {
7006 arg3 = (int)(SWIG_As_int(obj2));
7007 if (SWIG_arg_fail(3)) SWIG_fail;
7008 }
7009 }
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 Py_INCREF(Py_None); resultobj = Py_None;
7018 {
7019 if (temp2)
7020 delete arg2;
7021 }
7022 return resultobj;
7023 fail:
7024 {
7025 if (temp2)
7026 delete arg2;
7027 }
7028 return NULL;
7029 }
7030
7031
7032 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7035 int arg2 = (int) 0 ;
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self",(char *) "number", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail;
7045 if (obj1) {
7046 {
7047 arg2 = (int)(SWIG_As_int(obj1));
7048 if (SWIG_arg_fail(2)) SWIG_fail;
7049 }
7050 }
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 (arg1)->PopStatusText(arg2);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7068 int arg2 ;
7069 int *arg3 = (int *) 0 ;
7070 PyObject * obj0 = 0 ;
7071 PyObject * obj1 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self",(char *) "widths", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail;
7079 {
7080 arg2 = PyList_Size(obj1);
7081 arg3 = int_LIST_helper(obj1);
7082 if (arg3 == NULL) SWIG_fail;
7083 }
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 {
7093 if (arg3) delete [] arg3;
7094 }
7095 return resultobj;
7096 fail:
7097 {
7098 if (arg3) delete [] arg3;
7099 }
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7107 int arg2 ;
7108 int *arg3 = (int *) 0 ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "styles", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7117 if (SWIG_arg_fail(1)) SWIG_fail;
7118 {
7119 arg2 = PyList_Size(obj1);
7120 arg3 = int_LIST_helper(obj1);
7121 if (arg3 == NULL) SWIG_fail;
7122 }
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 Py_INCREF(Py_None); resultobj = Py_None;
7131 {
7132 if (arg3) delete [] arg3;
7133 }
7134 return resultobj;
7135 fail:
7136 {
7137 if (arg3) delete [] arg3;
7138 }
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7146 int arg2 ;
7147 wxRect result;
7148 PyObject * obj0 = 0 ;
7149 PyObject * obj1 = 0 ;
7150 char *kwnames[] = {
7151 (char *) "self",(char *) "i", NULL
7152 };
7153
7154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail;
7157 {
7158 arg2 = (int)(SWIG_As_int(obj1));
7159 if (SWIG_arg_fail(2)) SWIG_fail;
7160 }
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = wxStatusBar_GetFieldRect(arg1,arg2);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 {
7169 wxRect * resultptr;
7170 resultptr = new wxRect((wxRect &)(result));
7171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7172 }
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj;
7181 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7182 int arg2 ;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 char *kwnames[] = {
7186 (char *) "self",(char *) "height", NULL
7187 };
7188
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7191 if (SWIG_arg_fail(1)) SWIG_fail;
7192 {
7193 arg2 = (int)(SWIG_As_int(obj1));
7194 if (SWIG_arg_fail(2)) SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 (arg1)->SetMinHeight(arg2);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 Py_INCREF(Py_None); resultobj = Py_None;
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7213 int result;
7214 PyObject * obj0 = 0 ;
7215 char *kwnames[] = {
7216 (char *) "self", NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7221 if (SWIG_arg_fail(1)) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 resultobj = SWIG_From_int((int)(result));
7231 }
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj;
7240 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7241 int result;
7242 PyObject * obj0 = 0 ;
7243 char *kwnames[] = {
7244 (char *) "self", NULL
7245 };
7246
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7249 if (SWIG_arg_fail(1)) SWIG_fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258 resultobj = SWIG_From_int((int)(result));
7259 }
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7269 wxVisualAttributes result;
7270 PyObject * obj0 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "variant", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7276 if (obj0) {
7277 {
7278 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7279 if (SWIG_arg_fail(1)) SWIG_fail;
7280 }
7281 }
7282 {
7283 if (!wxPyCheckForApp()) SWIG_fail;
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291 wxVisualAttributes * resultptr;
7292 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7294 }
7295 return resultobj;
7296 fail:
7297 return NULL;
7298 }
7299
7300
7301 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7302 PyObject *obj;
7303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7304 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7305 Py_INCREF(obj);
7306 return Py_BuildValue((char *)"");
7307 }
7308 static int _wrap_SplitterNameStr_set(PyObject *) {
7309 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7310 return 1;
7311 }
7312
7313
7314 static PyObject *_wrap_SplitterNameStr_get(void) {
7315 PyObject *pyobj;
7316
7317 {
7318 #if wxUSE_UNICODE
7319 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7320 #else
7321 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7322 #endif
7323 }
7324 return pyobj;
7325 }
7326
7327
7328 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxWindow *arg1 = (wxWindow *) 0 ;
7331 int arg2 = (int) -1 ;
7332 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7333 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7334 wxSize const &arg4_defvalue = wxDefaultSize ;
7335 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7336 long arg5 = (long) wxSP_3D ;
7337 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7338 wxString *arg6 = (wxString *) &arg6_defvalue ;
7339 wxSplitterWindow *result;
7340 wxPoint temp3 ;
7341 wxSize temp4 ;
7342 bool temp6 = false ;
7343 PyObject * obj0 = 0 ;
7344 PyObject * obj1 = 0 ;
7345 PyObject * obj2 = 0 ;
7346 PyObject * obj3 = 0 ;
7347 PyObject * obj4 = 0 ;
7348 PyObject * obj5 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail;
7356 if (obj1) {
7357 {
7358 arg2 = (int)(SWIG_As_int(obj1));
7359 if (SWIG_arg_fail(2)) SWIG_fail;
7360 }
7361 }
7362 if (obj2) {
7363 {
7364 arg3 = &temp3;
7365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7366 }
7367 }
7368 if (obj3) {
7369 {
7370 arg4 = &temp4;
7371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7372 }
7373 }
7374 if (obj4) {
7375 {
7376 arg5 = (long)(SWIG_As_long(obj4));
7377 if (SWIG_arg_fail(5)) SWIG_fail;
7378 }
7379 }
7380 if (obj5) {
7381 {
7382 arg6 = wxString_in_helper(obj5);
7383 if (arg6 == NULL) SWIG_fail;
7384 temp6 = true;
7385 }
7386 }
7387 {
7388 if (!wxPyCheckForApp()) SWIG_fail;
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7396 {
7397 if (temp6)
7398 delete arg6;
7399 }
7400 return resultobj;
7401 fail:
7402 {
7403 if (temp6)
7404 delete arg6;
7405 }
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxSplitterWindow *result;
7413 char *kwnames[] = {
7414 NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7418 {
7419 if (!wxPyCheckForApp()) SWIG_fail;
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxSplitterWindow *)new wxSplitterWindow();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7436 wxWindow *arg2 = (wxWindow *) 0 ;
7437 int arg3 = (int) -1 ;
7438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7440 wxSize const &arg5_defvalue = wxDefaultSize ;
7441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7442 long arg6 = (long) wxSP_3D ;
7443 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7444 wxString *arg7 = (wxString *) &arg7_defvalue ;
7445 bool result;
7446 wxPoint temp4 ;
7447 wxSize temp5 ;
7448 bool temp7 = false ;
7449 PyObject * obj0 = 0 ;
7450 PyObject * obj1 = 0 ;
7451 PyObject * obj2 = 0 ;
7452 PyObject * obj3 = 0 ;
7453 PyObject * obj4 = 0 ;
7454 PyObject * obj5 = 0 ;
7455 PyObject * obj6 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7462 if (SWIG_arg_fail(1)) SWIG_fail;
7463 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7464 if (SWIG_arg_fail(2)) SWIG_fail;
7465 if (obj2) {
7466 {
7467 arg3 = (int)(SWIG_As_int(obj2));
7468 if (SWIG_arg_fail(3)) SWIG_fail;
7469 }
7470 }
7471 if (obj3) {
7472 {
7473 arg4 = &temp4;
7474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7475 }
7476 }
7477 if (obj4) {
7478 {
7479 arg5 = &temp5;
7480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7481 }
7482 }
7483 if (obj5) {
7484 {
7485 arg6 = (long)(SWIG_As_long(obj5));
7486 if (SWIG_arg_fail(6)) SWIG_fail;
7487 }
7488 }
7489 if (obj6) {
7490 {
7491 arg7 = wxString_in_helper(obj6);
7492 if (arg7 == NULL) SWIG_fail;
7493 temp7 = true;
7494 }
7495 }
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 {
7504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7505 }
7506 {
7507 if (temp7)
7508 delete arg7;
7509 }
7510 return resultobj;
7511 fail:
7512 {
7513 if (temp7)
7514 delete arg7;
7515 }
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7523 wxWindow *result;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 {
7540 resultobj = wxPyMake_wxObject(result, 0);
7541 }
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7551 wxWindow *result;
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7559 if (SWIG_arg_fail(1)) SWIG_fail;
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 {
7568 resultobj = wxPyMake_wxObject(result, 0);
7569 }
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7579 int arg2 ;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "mode", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail;
7589 {
7590 arg2 = (int)(SWIG_As_int(obj1));
7591 if (SWIG_arg_fail(2)) SWIG_fail;
7592 }
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->SetSplitMode(arg2);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7610 wxSplitMode result;
7611 PyObject * obj0 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_From_int((result));
7627 return resultobj;
7628 fail:
7629 return NULL;
7630 }
7631
7632
7633 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7636 wxWindow *arg2 = (wxWindow *) 0 ;
7637 PyObject * obj0 = 0 ;
7638 PyObject * obj1 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "window", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail;
7646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7647 if (SWIG_arg_fail(2)) SWIG_fail;
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 (arg1)->Initialize(arg2);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 return resultobj;
7657 fail:
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7665 wxWindow *arg2 = (wxWindow *) 0 ;
7666 wxWindow *arg3 = (wxWindow *) 0 ;
7667 int arg4 = (int) 0 ;
7668 bool result;
7669 PyObject * obj0 = 0 ;
7670 PyObject * obj1 = 0 ;
7671 PyObject * obj2 = 0 ;
7672 PyObject * obj3 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
7680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7681 if (SWIG_arg_fail(2)) SWIG_fail;
7682 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7683 if (SWIG_arg_fail(3)) SWIG_fail;
7684 if (obj3) {
7685 {
7686 arg4 = (int)(SWIG_As_int(obj3));
7687 if (SWIG_arg_fail(4)) SWIG_fail;
7688 }
7689 }
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 {
7698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7699 }
7700 return resultobj;
7701 fail:
7702 return NULL;
7703 }
7704
7705
7706 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
7708 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7709 wxWindow *arg2 = (wxWindow *) 0 ;
7710 wxWindow *arg3 = (wxWindow *) 0 ;
7711 int arg4 = (int) 0 ;
7712 bool result;
7713 PyObject * obj0 = 0 ;
7714 PyObject * obj1 = 0 ;
7715 PyObject * obj2 = 0 ;
7716 PyObject * obj3 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail;
7724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7725 if (SWIG_arg_fail(2)) SWIG_fail;
7726 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7727 if (SWIG_arg_fail(3)) SWIG_fail;
7728 if (obj3) {
7729 {
7730 arg4 = (int)(SWIG_As_int(obj3));
7731 if (SWIG_arg_fail(4)) SWIG_fail;
7732 }
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 {
7742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7743 }
7744 return resultobj;
7745 fail:
7746 return NULL;
7747 }
7748
7749
7750 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7751 PyObject *resultobj;
7752 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7753 wxWindow *arg2 = (wxWindow *) NULL ;
7754 bool result;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "toRemove", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7763 if (SWIG_arg_fail(1)) SWIG_fail;
7764 if (obj1) {
7765 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7766 if (SWIG_arg_fail(2)) SWIG_fail;
7767 }
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 result = (bool)(arg1)->Unsplit(arg2);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 {
7776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7777 }
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7787 wxWindow *arg2 = (wxWindow *) 0 ;
7788 wxWindow *arg3 = (wxWindow *) 0 ;
7789 bool result;
7790 PyObject * obj0 = 0 ;
7791 PyObject * obj1 = 0 ;
7792 PyObject * obj2 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7799 if (SWIG_arg_fail(1)) SWIG_fail;
7800 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7801 if (SWIG_arg_fail(2)) SWIG_fail;
7802 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7803 if (SWIG_arg_fail(3)) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 {
7812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7813 }
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 (arg1)->UpdateSize();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 Py_INCREF(Py_None); resultobj = Py_None;
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7848 bool result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 {
7865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7866 }
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7876 int arg2 ;
7877 PyObject * obj0 = 0 ;
7878 PyObject * obj1 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self",(char *) "width", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7885 if (SWIG_arg_fail(1)) SWIG_fail;
7886 {
7887 arg2 = (int)(SWIG_As_int(obj1));
7888 if (SWIG_arg_fail(2)) SWIG_fail;
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 (arg1)->SetSashSize(arg2);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 Py_INCREF(Py_None); resultobj = Py_None;
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7907 int arg2 ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self",(char *) "width", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7916 if (SWIG_arg_fail(1)) SWIG_fail;
7917 {
7918 arg2 = (int)(SWIG_As_int(obj1));
7919 if (SWIG_arg_fail(2)) SWIG_fail;
7920 }
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 (arg1)->SetBorderSize(arg2);
7924
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 Py_INCREF(Py_None); resultobj = Py_None;
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7938 int result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 {
7955 resultobj = SWIG_From_int((int)(result));
7956 }
7957 return resultobj;
7958 fail:
7959 return NULL;
7960 }
7961
7962
7963 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7966 int result;
7967 PyObject * obj0 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7974 if (SWIG_arg_fail(1)) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983 resultobj = SWIG_From_int((int)(result));
7984 }
7985 return resultobj;
7986 fail:
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7994 int arg2 ;
7995 bool arg3 = (bool) true ;
7996 PyObject * obj0 = 0 ;
7997 PyObject * obj1 = 0 ;
7998 PyObject * obj2 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self",(char *) "position",(char *) "redraw", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8005 if (SWIG_arg_fail(1)) SWIG_fail;
8006 {
8007 arg2 = (int)(SWIG_As_int(obj1));
8008 if (SWIG_arg_fail(2)) SWIG_fail;
8009 }
8010 if (obj2) {
8011 {
8012 arg3 = (bool)(SWIG_As_bool(obj2));
8013 if (SWIG_arg_fail(3)) SWIG_fail;
8014 }
8015 }
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 (arg1)->SetSashPosition(arg2,arg3);
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 Py_INCREF(Py_None); resultobj = Py_None;
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8033 int result;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8041 if (SWIG_arg_fail(1)) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 {
8050 resultobj = SWIG_From_int((int)(result));
8051 }
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8061 double arg2 ;
8062 PyObject * obj0 = 0 ;
8063 PyObject * obj1 = 0 ;
8064 char *kwnames[] = {
8065 (char *) "self",(char *) "gravity", NULL
8066 };
8067
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8070 if (SWIG_arg_fail(1)) SWIG_fail;
8071 {
8072 arg2 = (double)(SWIG_As_double(obj1));
8073 if (SWIG_arg_fail(2)) SWIG_fail;
8074 }
8075 {
8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
8077 (arg1)->SetSashGravity(arg2);
8078
8079 wxPyEndAllowThreads(__tstate);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 Py_INCREF(Py_None); resultobj = Py_None;
8083 return resultobj;
8084 fail:
8085 return NULL;
8086 }
8087
8088
8089 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8090 PyObject *resultobj;
8091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8092 double result;
8093 PyObject * obj0 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "self", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8100 if (SWIG_arg_fail(1)) SWIG_fail;
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109 resultobj = SWIG_From_double((double)(result));
8110 }
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8120 int arg2 ;
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj1 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self",(char *) "min", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail;
8130 {
8131 arg2 = (int)(SWIG_As_int(obj1));
8132 if (SWIG_arg_fail(2)) SWIG_fail;
8133 }
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 (arg1)->SetMinimumPaneSize(arg2);
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 Py_INCREF(Py_None); resultobj = Py_None;
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj;
8150 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8151 int result;
8152 PyObject * obj0 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8159 if (SWIG_arg_fail(1)) SWIG_fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8163
8164 wxPyEndAllowThreads(__tstate);
8165 if (PyErr_Occurred()) SWIG_fail;
8166 }
8167 {
8168 resultobj = SWIG_From_int((int)(result));
8169 }
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8179 int arg2 ;
8180 int arg3 ;
8181 int arg4 = (int) 5 ;
8182 bool result;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj2 = 0 ;
8186 PyObject * obj3 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail;
8194 {
8195 arg2 = (int)(SWIG_As_int(obj1));
8196 if (SWIG_arg_fail(2)) SWIG_fail;
8197 }
8198 {
8199 arg3 = (int)(SWIG_As_int(obj2));
8200 if (SWIG_arg_fail(3)) SWIG_fail;
8201 }
8202 if (obj3) {
8203 {
8204 arg4 = (int)(SWIG_As_int(obj3));
8205 if (SWIG_arg_fail(4)) SWIG_fail;
8206 }
8207 }
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 {
8216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8217 }
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8227 PyObject * obj0 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8234 if (SWIG_arg_fail(1)) SWIG_fail;
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 (arg1)->SizeWindows();
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 Py_INCREF(Py_None); resultobj = Py_None;
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8252 bool arg2 ;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "needUpdating", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8261 if (SWIG_arg_fail(1)) SWIG_fail;
8262 {
8263 arg2 = (bool)(SWIG_As_bool(obj1));
8264 if (SWIG_arg_fail(2)) SWIG_fail;
8265 }
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 (arg1)->SetNeedUpdating(arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 return resultobj;
8275 fail:
8276 return NULL;
8277 }
8278
8279
8280 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj;
8282 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8283 bool result;
8284 PyObject * obj0 = 0 ;
8285 char *kwnames[] = {
8286 (char *) "self", NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail;
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8301 }
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8311 wxVisualAttributes result;
8312 PyObject * obj0 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "variant", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8318 if (obj0) {
8319 {
8320 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8321 if (SWIG_arg_fail(1)) SWIG_fail;
8322 }
8323 }
8324 {
8325 if (!wxPyCheckForApp()) SWIG_fail;
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 {
8333 wxVisualAttributes * resultptr;
8334 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8335 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8336 }
8337 return resultobj;
8338 fail:
8339 return NULL;
8340 }
8341
8342
8343 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8344 PyObject *obj;
8345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8346 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8347 Py_INCREF(obj);
8348 return Py_BuildValue((char *)"");
8349 }
8350 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8353 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8354 wxSplitterEvent *result;
8355 PyObject * obj0 = 0 ;
8356 PyObject * obj1 = 0 ;
8357 char *kwnames[] = {
8358 (char *) "type",(char *) "splitter", NULL
8359 };
8360
8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8362 if (obj0) {
8363 {
8364 arg1 = (wxEventType)(SWIG_As_int(obj0));
8365 if (SWIG_arg_fail(1)) SWIG_fail;
8366 }
8367 }
8368 if (obj1) {
8369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8370 if (SWIG_arg_fail(2)) SWIG_fail;
8371 }
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8380 return resultobj;
8381 fail:
8382 return NULL;
8383 }
8384
8385
8386 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj;
8388 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8389 int arg2 ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "pos", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8398 if (SWIG_arg_fail(1)) SWIG_fail;
8399 {
8400 arg2 = (int)(SWIG_As_int(obj1));
8401 if (SWIG_arg_fail(2)) SWIG_fail;
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 (arg1)->SetSashPosition(arg2);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 Py_INCREF(Py_None); resultobj = Py_None;
8411 return resultobj;
8412 fail:
8413 return NULL;
8414 }
8415
8416
8417 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8418 PyObject *resultobj;
8419 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8420 int result;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8428 if (SWIG_arg_fail(1)) SWIG_fail;
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
8436 {
8437 resultobj = SWIG_From_int((int)(result));
8438 }
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8448 wxWindow *result;
8449 PyObject * obj0 = 0 ;
8450 char *kwnames[] = {
8451 (char *) "self", NULL
8452 };
8453
8454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8456 if (SWIG_arg_fail(1)) SWIG_fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 {
8465 resultobj = wxPyMake_wxObject(result, 0);
8466 }
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8476 int result;
8477 PyObject * obj0 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8484 if (SWIG_arg_fail(1)) SWIG_fail;
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 resultobj = SWIG_From_int((int)(result));
8494 }
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8504 int result;
8505 PyObject * obj0 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8512 if (SWIG_arg_fail(1)) SWIG_fail;
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 {
8521 resultobj = SWIG_From_int((int)(result));
8522 }
8523 return resultobj;
8524 fail:
8525 return NULL;
8526 }
8527
8528
8529 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8530 PyObject *obj;
8531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8532 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8533 Py_INCREF(obj);
8534 return Py_BuildValue((char *)"");
8535 }
8536 static int _wrap_SashNameStr_set(PyObject *) {
8537 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8538 return 1;
8539 }
8540
8541
8542 static PyObject *_wrap_SashNameStr_get(void) {
8543 PyObject *pyobj;
8544
8545 {
8546 #if wxUSE_UNICODE
8547 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8548 #else
8549 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8550 #endif
8551 }
8552 return pyobj;
8553 }
8554
8555
8556 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8557 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8558 return 1;
8559 }
8560
8561
8562 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8563 PyObject *pyobj;
8564
8565 {
8566 #if wxUSE_UNICODE
8567 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8568 #else
8569 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8570 #endif
8571 }
8572 return pyobj;
8573 }
8574
8575
8576 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxWindow *arg1 = (wxWindow *) 0 ;
8579 int arg2 = (int) -1 ;
8580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8582 wxSize const &arg4_defvalue = wxDefaultSize ;
8583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8584 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8585 wxString const &arg6_defvalue = wxPySashNameStr ;
8586 wxString *arg6 = (wxString *) &arg6_defvalue ;
8587 wxSashWindow *result;
8588 wxPoint temp3 ;
8589 wxSize temp4 ;
8590 bool temp6 = false ;
8591 PyObject * obj0 = 0 ;
8592 PyObject * obj1 = 0 ;
8593 PyObject * obj2 = 0 ;
8594 PyObject * obj3 = 0 ;
8595 PyObject * obj4 = 0 ;
8596 PyObject * obj5 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail;
8604 if (obj1) {
8605 {
8606 arg2 = (int)(SWIG_As_int(obj1));
8607 if (SWIG_arg_fail(2)) SWIG_fail;
8608 }
8609 }
8610 if (obj2) {
8611 {
8612 arg3 = &temp3;
8613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8614 }
8615 }
8616 if (obj3) {
8617 {
8618 arg4 = &temp4;
8619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8620 }
8621 }
8622 if (obj4) {
8623 {
8624 arg5 = (long)(SWIG_As_long(obj4));
8625 if (SWIG_arg_fail(5)) SWIG_fail;
8626 }
8627 }
8628 if (obj5) {
8629 {
8630 arg6 = wxString_in_helper(obj5);
8631 if (arg6 == NULL) SWIG_fail;
8632 temp6 = true;
8633 }
8634 }
8635 {
8636 if (!wxPyCheckForApp()) SWIG_fail;
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8644 {
8645 if (temp6)
8646 delete arg6;
8647 }
8648 return resultobj;
8649 fail:
8650 {
8651 if (temp6)
8652 delete arg6;
8653 }
8654 return NULL;
8655 }
8656
8657
8658 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8659 PyObject *resultobj;
8660 wxSashWindow *result;
8661 char *kwnames[] = {
8662 NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8666 {
8667 if (!wxPyCheckForApp()) SWIG_fail;
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (wxSashWindow *)new wxSashWindow();
8670
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8675 return resultobj;
8676 fail:
8677 return NULL;
8678 }
8679
8680
8681 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8682 PyObject *resultobj;
8683 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8684 wxWindow *arg2 = (wxWindow *) 0 ;
8685 int arg3 = (int) -1 ;
8686 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8687 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8688 wxSize const &arg5_defvalue = wxDefaultSize ;
8689 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8690 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8691 wxString const &arg7_defvalue = wxPySashNameStr ;
8692 wxString *arg7 = (wxString *) &arg7_defvalue ;
8693 bool result;
8694 wxPoint temp4 ;
8695 wxSize temp5 ;
8696 bool temp7 = false ;
8697 PyObject * obj0 = 0 ;
8698 PyObject * obj1 = 0 ;
8699 PyObject * obj2 = 0 ;
8700 PyObject * obj3 = 0 ;
8701 PyObject * obj4 = 0 ;
8702 PyObject * obj5 = 0 ;
8703 PyObject * obj6 = 0 ;
8704 char *kwnames[] = {
8705 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8706 };
8707
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8710 if (SWIG_arg_fail(1)) SWIG_fail;
8711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8712 if (SWIG_arg_fail(2)) SWIG_fail;
8713 if (obj2) {
8714 {
8715 arg3 = (int)(SWIG_As_int(obj2));
8716 if (SWIG_arg_fail(3)) SWIG_fail;
8717 }
8718 }
8719 if (obj3) {
8720 {
8721 arg4 = &temp4;
8722 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8723 }
8724 }
8725 if (obj4) {
8726 {
8727 arg5 = &temp5;
8728 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8729 }
8730 }
8731 if (obj5) {
8732 {
8733 arg6 = (long)(SWIG_As_long(obj5));
8734 if (SWIG_arg_fail(6)) SWIG_fail;
8735 }
8736 }
8737 if (obj6) {
8738 {
8739 arg7 = wxString_in_helper(obj6);
8740 if (arg7 == NULL) SWIG_fail;
8741 temp7 = true;
8742 }
8743 }
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 {
8752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8753 }
8754 {
8755 if (temp7)
8756 delete arg7;
8757 }
8758 return resultobj;
8759 fail:
8760 {
8761 if (temp7)
8762 delete arg7;
8763 }
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8771 wxSashEdgePosition arg2 ;
8772 bool arg3 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "edge",(char *) "sash", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8782 if (SWIG_arg_fail(1)) SWIG_fail;
8783 {
8784 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8785 if (SWIG_arg_fail(2)) SWIG_fail;
8786 }
8787 {
8788 arg3 = (bool)(SWIG_As_bool(obj2));
8789 if (SWIG_arg_fail(3)) SWIG_fail;
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 return resultobj;
8800 fail:
8801 return NULL;
8802 }
8803
8804
8805 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8808 wxSashEdgePosition arg2 ;
8809 bool result;
8810 PyObject * obj0 = 0 ;
8811 PyObject * obj1 = 0 ;
8812 char *kwnames[] = {
8813 (char *) "self",(char *) "edge", NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail;
8819 {
8820 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8821 if (SWIG_arg_fail(2)) SWIG_fail;
8822 }
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 {
8831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8832 }
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8842 wxSashEdgePosition arg2 ;
8843 bool arg3 ;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8846 PyObject * obj2 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self",(char *) "edge",(char *) "border", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail;
8854 {
8855 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8856 if (SWIG_arg_fail(2)) SWIG_fail;
8857 }
8858 {
8859 arg3 = (bool)(SWIG_As_bool(obj2));
8860 if (SWIG_arg_fail(3)) SWIG_fail;
8861 }
8862 {
8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
8864 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8865
8866 wxPyEndAllowThreads(__tstate);
8867 if (PyErr_Occurred()) SWIG_fail;
8868 }
8869 Py_INCREF(Py_None); resultobj = Py_None;
8870 return resultobj;
8871 fail:
8872 return NULL;
8873 }
8874
8875
8876 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8877 PyObject *resultobj;
8878 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8879 wxSashEdgePosition arg2 ;
8880 bool result;
8881 PyObject * obj0 = 0 ;
8882 PyObject * obj1 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "edge", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8889 if (SWIG_arg_fail(1)) SWIG_fail;
8890 {
8891 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8892 if (SWIG_arg_fail(2)) SWIG_fail;
8893 }
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8903 }
8904 return resultobj;
8905 fail:
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8913 wxSashEdgePosition arg2 ;
8914 int result;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj1 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "edge", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8923 if (SWIG_arg_fail(1)) SWIG_fail;
8924 {
8925 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8926 if (SWIG_arg_fail(2)) SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 {
8936 resultobj = SWIG_From_int((int)(result));
8937 }
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8947 int arg2 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "width", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail;
8957 {
8958 arg2 = (int)(SWIG_As_int(obj1));
8959 if (SWIG_arg_fail(2)) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetDefaultBorderSize(arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8978 int result;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
8985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8986 if (SWIG_arg_fail(1)) SWIG_fail;
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 {
8995 resultobj = SWIG_From_int((int)(result));
8996 }
8997 return resultobj;
8998 fail:
8999 return NULL;
9000 }
9001
9002
9003 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj;
9005 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9006 int arg2 ;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "width", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9015 if (SWIG_arg_fail(1)) SWIG_fail;
9016 {
9017 arg2 = (int)(SWIG_As_int(obj1));
9018 if (SWIG_arg_fail(2)) SWIG_fail;
9019 }
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 (arg1)->SetExtraBorderSize(arg2);
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 Py_INCREF(Py_None); resultobj = Py_None;
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9037 int result;
9038 PyObject * obj0 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9045 if (SWIG_arg_fail(1)) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 {
9054 resultobj = SWIG_From_int((int)(result));
9055 }
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9065 int arg2 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self",(char *) "min", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9074 if (SWIG_arg_fail(1)) SWIG_fail;
9075 {
9076 arg2 = (int)(SWIG_As_int(obj1));
9077 if (SWIG_arg_fail(2)) SWIG_fail;
9078 }
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 (arg1)->SetMinimumSizeX(arg2);
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 Py_INCREF(Py_None); resultobj = Py_None;
9087 return resultobj;
9088 fail:
9089 return NULL;
9090 }
9091
9092
9093 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj;
9095 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9096 int arg2 ;
9097 PyObject * obj0 = 0 ;
9098 PyObject * obj1 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "min", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9105 if (SWIG_arg_fail(1)) SWIG_fail;
9106 {
9107 arg2 = (int)(SWIG_As_int(obj1));
9108 if (SWIG_arg_fail(2)) SWIG_fail;
9109 }
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 (arg1)->SetMinimumSizeY(arg2);
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121 }
9122
9123
9124 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9125 PyObject *resultobj;
9126 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9127 int result;
9128 PyObject * obj0 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail;
9136 {
9137 PyThreadState* __tstate = wxPyBeginAllowThreads();
9138 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9139
9140 wxPyEndAllowThreads(__tstate);
9141 if (PyErr_Occurred()) SWIG_fail;
9142 }
9143 {
9144 resultobj = SWIG_From_int((int)(result));
9145 }
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9155 int result;
9156 PyObject * obj0 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail;
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 {
9172 resultobj = SWIG_From_int((int)(result));
9173 }
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9183 int arg2 ;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "max", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail;
9193 {
9194 arg2 = (int)(SWIG_As_int(obj1));
9195 if (SWIG_arg_fail(2)) SWIG_fail;
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 (arg1)->SetMaximumSizeX(arg2);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 Py_INCREF(Py_None); resultobj = Py_None;
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9214 int arg2 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 char *kwnames[] = {
9218 (char *) "self",(char *) "max", NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9223 if (SWIG_arg_fail(1)) SWIG_fail;
9224 {
9225 arg2 = (int)(SWIG_As_int(obj1));
9226 if (SWIG_arg_fail(2)) SWIG_fail;
9227 }
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 (arg1)->SetMaximumSizeY(arg2);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 Py_INCREF(Py_None); resultobj = Py_None;
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9243 PyObject *resultobj;
9244 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9245 int result;
9246 PyObject * obj0 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 {
9262 resultobj = SWIG_From_int((int)(result));
9263 }
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj;
9272 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9273 int result;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 {
9290 resultobj = SWIG_From_int((int)(result));
9291 }
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9301 int arg2 ;
9302 int arg3 ;
9303 int arg4 = (int) 2 ;
9304 wxSashEdgePosition result;
9305 PyObject * obj0 = 0 ;
9306 PyObject * obj1 = 0 ;
9307 PyObject * obj2 = 0 ;
9308 PyObject * obj3 = 0 ;
9309 char *kwnames[] = {
9310 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9311 };
9312
9313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9315 if (SWIG_arg_fail(1)) SWIG_fail;
9316 {
9317 arg2 = (int)(SWIG_As_int(obj1));
9318 if (SWIG_arg_fail(2)) SWIG_fail;
9319 }
9320 {
9321 arg3 = (int)(SWIG_As_int(obj2));
9322 if (SWIG_arg_fail(3)) SWIG_fail;
9323 }
9324 if (obj3) {
9325 {
9326 arg4 = (int)(SWIG_As_int(obj3));
9327 if (SWIG_arg_fail(4)) SWIG_fail;
9328 }
9329 }
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 resultobj = SWIG_From_int((result));
9338 return resultobj;
9339 fail:
9340 return NULL;
9341 }
9342
9343
9344 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9345 PyObject *resultobj;
9346 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9347 PyObject * obj0 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self", NULL
9350 };
9351
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9354 if (SWIG_arg_fail(1)) SWIG_fail;
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 (arg1)->SizeWindows();
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 Py_INCREF(Py_None); resultobj = Py_None;
9363 return resultobj;
9364 fail:
9365 return NULL;
9366 }
9367
9368
9369 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9370 PyObject *obj;
9371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9372 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9373 Py_INCREF(obj);
9374 return Py_BuildValue((char *)"");
9375 }
9376 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9377 PyObject *resultobj;
9378 int arg1 = (int) 0 ;
9379 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9380 wxSashEvent *result;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "id",(char *) "edge", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9388 if (obj0) {
9389 {
9390 arg1 = (int)(SWIG_As_int(obj0));
9391 if (SWIG_arg_fail(1)) SWIG_fail;
9392 }
9393 }
9394 if (obj1) {
9395 {
9396 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9397 if (SWIG_arg_fail(2)) SWIG_fail;
9398 }
9399 }
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9403
9404 wxPyEndAllowThreads(__tstate);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9408 return resultobj;
9409 fail:
9410 return NULL;
9411 }
9412
9413
9414 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj;
9416 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9417 wxSashEdgePosition arg2 ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self",(char *) "edge", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail;
9427 {
9428 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9429 if (SWIG_arg_fail(2)) SWIG_fail;
9430 }
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 Py_INCREF(Py_None); resultobj = Py_None;
9439 return resultobj;
9440 fail:
9441 return NULL;
9442 }
9443
9444
9445 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9448 wxSashEdgePosition result;
9449 PyObject * obj0 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9456 if (SWIG_arg_fail(1)) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 resultobj = SWIG_From_int((result));
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9474 wxRect *arg2 = 0 ;
9475 wxRect temp2 ;
9476 PyObject * obj0 = 0 ;
9477 PyObject * obj1 = 0 ;
9478 char *kwnames[] = {
9479 (char *) "self",(char *) "rect", NULL
9480 };
9481
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
9485 {
9486 arg2 = &temp2;
9487 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9488 }
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 (arg1)->SetDragRect((wxRect const &)*arg2);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 Py_INCREF(Py_None); resultobj = Py_None;
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9504 PyObject *resultobj;
9505 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9506 wxRect result;
9507 PyObject * obj0 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9514 if (SWIG_arg_fail(1)) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 result = ((wxSashEvent const *)arg1)->GetDragRect();
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 {
9523 wxRect * resultptr;
9524 resultptr = new wxRect((wxRect &)(result));
9525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9526 }
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9536 wxSashDragStatus arg2 ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "status", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9545 if (SWIG_arg_fail(1)) SWIG_fail;
9546 {
9547 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9548 if (SWIG_arg_fail(2)) SWIG_fail;
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 Py_INCREF(Py_None); resultobj = Py_None;
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9567 wxSashDragStatus result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = SWIG_From_int((result));
9584 return resultobj;
9585 fail:
9586 return NULL;
9587 }
9588
9589
9590 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9591 PyObject *obj;
9592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9593 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9594 Py_INCREF(obj);
9595 return Py_BuildValue((char *)"");
9596 }
9597 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 int arg1 = (int) 0 ;
9600 wxQueryLayoutInfoEvent *result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "id", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9607 if (obj0) {
9608 {
9609 arg1 = (int)(SWIG_As_int(obj0));
9610 if (SWIG_arg_fail(1)) SWIG_fail;
9611 }
9612 }
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9616
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9628 PyObject *resultobj;
9629 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9630 int arg2 ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "length", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9639 if (SWIG_arg_fail(1)) SWIG_fail;
9640 {
9641 arg2 = (int)(SWIG_As_int(obj1));
9642 if (SWIG_arg_fail(2)) SWIG_fail;
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 (arg1)->SetRequestedLength(arg2);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 Py_INCREF(Py_None); resultobj = Py_None;
9652 return resultobj;
9653 fail:
9654 return NULL;
9655 }
9656
9657
9658 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9661 int result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9669 if (SWIG_arg_fail(1)) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 {
9678 resultobj = SWIG_From_int((int)(result));
9679 }
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9689 int arg2 ;
9690 PyObject * obj0 = 0 ;
9691 PyObject * obj1 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self",(char *) "flags", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail;
9699 {
9700 arg2 = (int)(SWIG_As_int(obj1));
9701 if (SWIG_arg_fail(2)) SWIG_fail;
9702 }
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 (arg1)->SetFlags(arg2);
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 Py_INCREF(Py_None); resultobj = Py_None;
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9720 int result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail;
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 {
9737 resultobj = SWIG_From_int((int)(result));
9738 }
9739 return resultobj;
9740 fail:
9741 return NULL;
9742 }
9743
9744
9745 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9746 PyObject *resultobj;
9747 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9748 wxSize *arg2 = 0 ;
9749 wxSize temp2 ;
9750 PyObject * obj0 = 0 ;
9751 PyObject * obj1 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "size", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9758 if (SWIG_arg_fail(1)) SWIG_fail;
9759 {
9760 arg2 = &temp2;
9761 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 (arg1)->SetSize((wxSize const &)*arg2);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 Py_INCREF(Py_None); resultobj = Py_None;
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9780 wxSize result;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9788 if (SWIG_arg_fail(1)) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 {
9797 wxSize * resultptr;
9798 resultptr = new wxSize((wxSize &)(result));
9799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9800 }
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9810 wxLayoutOrientation arg2 ;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "orient", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail;
9820 {
9821 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9822 if (SWIG_arg_fail(2)) SWIG_fail;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9841 wxLayoutOrientation result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 resultobj = SWIG_From_int((result));
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9867 wxLayoutAlignment arg2 ;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 char *kwnames[] = {
9871 (char *) "self",(char *) "align", NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9876 if (SWIG_arg_fail(1)) SWIG_fail;
9877 {
9878 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9879 if (SWIG_arg_fail(2)) SWIG_fail;
9880 }
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9898 wxLayoutAlignment result;
9899 PyObject * obj0 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9906 if (SWIG_arg_fail(1)) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 resultobj = SWIG_From_int((result));
9915 return resultobj;
9916 fail:
9917 return NULL;
9918 }
9919
9920
9921 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9922 PyObject *obj;
9923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9924 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9925 Py_INCREF(obj);
9926 return Py_BuildValue((char *)"");
9927 }
9928 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 int arg1 = (int) 0 ;
9931 wxCalculateLayoutEvent *result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "id", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9938 if (obj0) {
9939 {
9940 arg1 = (int)(SWIG_As_int(obj0));
9941 if (SWIG_arg_fail(1)) SWIG_fail;
9942 }
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) SWIG_fail;
9950 }
9951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9952 return resultobj;
9953 fail:
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9961 int arg2 ;
9962 PyObject * obj0 = 0 ;
9963 PyObject * obj1 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self",(char *) "flags", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9970 if (SWIG_arg_fail(1)) SWIG_fail;
9971 {
9972 arg2 = (int)(SWIG_As_int(obj1));
9973 if (SWIG_arg_fail(2)) SWIG_fail;
9974 }
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 (arg1)->SetFlags(arg2);
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 Py_INCREF(Py_None); resultobj = Py_None;
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9992 int result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "self", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
9999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10000 if (SWIG_arg_fail(1)) SWIG_fail;
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 {
10009 resultobj = SWIG_From_int((int)(result));
10010 }
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10020 wxRect *arg2 = 0 ;
10021 wxRect temp2 ;
10022 PyObject * obj0 = 0 ;
10023 PyObject * obj1 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self",(char *) "rect", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10030 if (SWIG_arg_fail(1)) SWIG_fail;
10031 {
10032 arg2 = &temp2;
10033 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10034 }
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetRect((wxRect const &)*arg2);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 Py_INCREF(Py_None); resultobj = Py_None;
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj;
10051 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10052 wxRect result;
10053 PyObject * obj0 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10060 if (SWIG_arg_fail(1)) SWIG_fail;
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 {
10069 wxRect * resultptr;
10070 resultptr = new wxRect((wxRect &)(result));
10071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10072 }
10073 return resultobj;
10074 fail:
10075 return NULL;
10076 }
10077
10078
10079 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10080 PyObject *obj;
10081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10082 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10083 Py_INCREF(obj);
10084 return Py_BuildValue((char *)"");
10085 }
10086 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxWindow *arg1 = (wxWindow *) 0 ;
10089 int arg2 = (int) -1 ;
10090 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10091 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10092 wxSize const &arg4_defvalue = wxDefaultSize ;
10093 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10094 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10095 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10096 wxString *arg6 = (wxString *) &arg6_defvalue ;
10097 wxSashLayoutWindow *result;
10098 wxPoint temp3 ;
10099 wxSize temp4 ;
10100 bool temp6 = false ;
10101 PyObject * obj0 = 0 ;
10102 PyObject * obj1 = 0 ;
10103 PyObject * obj2 = 0 ;
10104 PyObject * obj3 = 0 ;
10105 PyObject * obj4 = 0 ;
10106 PyObject * obj5 = 0 ;
10107 char *kwnames[] = {
10108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10113 if (SWIG_arg_fail(1)) SWIG_fail;
10114 if (obj1) {
10115 {
10116 arg2 = (int)(SWIG_As_int(obj1));
10117 if (SWIG_arg_fail(2)) SWIG_fail;
10118 }
10119 }
10120 if (obj2) {
10121 {
10122 arg3 = &temp3;
10123 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10124 }
10125 }
10126 if (obj3) {
10127 {
10128 arg4 = &temp4;
10129 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10130 }
10131 }
10132 if (obj4) {
10133 {
10134 arg5 = (long)(SWIG_As_long(obj4));
10135 if (SWIG_arg_fail(5)) SWIG_fail;
10136 }
10137 }
10138 if (obj5) {
10139 {
10140 arg6 = wxString_in_helper(obj5);
10141 if (arg6 == NULL) SWIG_fail;
10142 temp6 = true;
10143 }
10144 }
10145 {
10146 if (!wxPyCheckForApp()) SWIG_fail;
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10154 {
10155 if (temp6)
10156 delete arg6;
10157 }
10158 return resultobj;
10159 fail:
10160 {
10161 if (temp6)
10162 delete arg6;
10163 }
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxSashLayoutWindow *result;
10171 char *kwnames[] = {
10172 NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10176 {
10177 if (!wxPyCheckForApp()) SWIG_fail;
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10194 wxWindow *arg2 = (wxWindow *) 0 ;
10195 int arg3 = (int) -1 ;
10196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10198 wxSize const &arg5_defvalue = wxDefaultSize ;
10199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10200 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10201 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10202 wxString *arg7 = (wxString *) &arg7_defvalue ;
10203 bool result;
10204 wxPoint temp4 ;
10205 wxSize temp5 ;
10206 bool temp7 = false ;
10207 PyObject * obj0 = 0 ;
10208 PyObject * obj1 = 0 ;
10209 PyObject * obj2 = 0 ;
10210 PyObject * obj3 = 0 ;
10211 PyObject * obj4 = 0 ;
10212 PyObject * obj5 = 0 ;
10213 PyObject * obj6 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10220 if (SWIG_arg_fail(1)) SWIG_fail;
10221 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10222 if (SWIG_arg_fail(2)) SWIG_fail;
10223 if (obj2) {
10224 {
10225 arg3 = (int)(SWIG_As_int(obj2));
10226 if (SWIG_arg_fail(3)) SWIG_fail;
10227 }
10228 }
10229 if (obj3) {
10230 {
10231 arg4 = &temp4;
10232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10233 }
10234 }
10235 if (obj4) {
10236 {
10237 arg5 = &temp5;
10238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10239 }
10240 }
10241 if (obj5) {
10242 {
10243 arg6 = (long)(SWIG_As_long(obj5));
10244 if (SWIG_arg_fail(6)) SWIG_fail;
10245 }
10246 }
10247 if (obj6) {
10248 {
10249 arg7 = wxString_in_helper(obj6);
10250 if (arg7 == NULL) SWIG_fail;
10251 temp7 = true;
10252 }
10253 }
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 {
10262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10263 }
10264 {
10265 if (temp7)
10266 delete arg7;
10267 }
10268 return resultobj;
10269 fail:
10270 {
10271 if (temp7)
10272 delete arg7;
10273 }
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10281 wxLayoutAlignment result;
10282 PyObject * obj0 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail;
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10293
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = SWIG_From_int((result));
10298 return resultobj;
10299 fail:
10300 return NULL;
10301 }
10302
10303
10304 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj;
10306 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10307 wxLayoutOrientation result;
10308 PyObject * obj0 = 0 ;
10309 char *kwnames[] = {
10310 (char *) "self", NULL
10311 };
10312
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10315 if (SWIG_arg_fail(1)) SWIG_fail;
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10319
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_From_int((result));
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10333 wxLayoutAlignment arg2 ;
10334 PyObject * obj0 = 0 ;
10335 PyObject * obj1 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "alignment", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10342 if (SWIG_arg_fail(1)) SWIG_fail;
10343 {
10344 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10345 if (SWIG_arg_fail(2)) SWIG_fail;
10346 }
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10350
10351 wxPyEndAllowThreads(__tstate);
10352 if (PyErr_Occurred()) SWIG_fail;
10353 }
10354 Py_INCREF(Py_None); resultobj = Py_None;
10355 return resultobj;
10356 fail:
10357 return NULL;
10358 }
10359
10360
10361 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10364 wxSize *arg2 = 0 ;
10365 wxSize temp2 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "size", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail;
10375 {
10376 arg2 = &temp2;
10377 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10378 }
10379 {
10380 PyThreadState* __tstate = wxPyBeginAllowThreads();
10381 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10382
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10396 wxLayoutOrientation arg2 ;
10397 PyObject * obj0 = 0 ;
10398 PyObject * obj1 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self",(char *) "orientation", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail;
10406 {
10407 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10408 if (SWIG_arg_fail(2)) SWIG_fail;
10409 }
10410 {
10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
10412 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10413
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 Py_INCREF(Py_None); resultobj = Py_None;
10418 return resultobj;
10419 fail:
10420 return NULL;
10421 }
10422
10423
10424 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10425 PyObject *obj;
10426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10427 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10428 Py_INCREF(obj);
10429 return Py_BuildValue((char *)"");
10430 }
10431 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj;
10433 wxLayoutAlgorithm *result;
10434 char *kwnames[] = {
10435 NULL
10436 };
10437
10438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) SWIG_fail;
10445 }
10446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10447 return resultobj;
10448 fail:
10449 return NULL;
10450 }
10451
10452
10453 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10454 PyObject *resultobj;
10455 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10463 if (SWIG_arg_fail(1)) SWIG_fail;
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 delete arg1;
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 Py_INCREF(Py_None); resultobj = Py_None;
10472 return resultobj;
10473 fail:
10474 return NULL;
10475 }
10476
10477
10478 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj;
10480 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10481 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10482 wxRect *arg3 = (wxRect *) NULL ;
10483 bool result;
10484 PyObject * obj0 = 0 ;
10485 PyObject * obj1 = 0 ;
10486 PyObject * obj2 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "frame",(char *) "rect", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10493 if (SWIG_arg_fail(1)) SWIG_fail;
10494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10495 if (SWIG_arg_fail(2)) SWIG_fail;
10496 if (obj2) {
10497 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10498 if (SWIG_arg_fail(3)) SWIG_fail;
10499 }
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 {
10508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10509 }
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10519 wxFrame *arg2 = (wxFrame *) 0 ;
10520 wxWindow *arg3 = (wxWindow *) NULL ;
10521 bool result;
10522 PyObject * obj0 = 0 ;
10523 PyObject * obj1 = 0 ;
10524 PyObject * obj2 = 0 ;
10525 char *kwnames[] = {
10526 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10527 };
10528
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10531 if (SWIG_arg_fail(1)) SWIG_fail;
10532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10533 if (SWIG_arg_fail(2)) SWIG_fail;
10534 if (obj2) {
10535 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10536 if (SWIG_arg_fail(3)) SWIG_fail;
10537 }
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10547 }
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10557 wxWindow *arg2 = (wxWindow *) 0 ;
10558 wxWindow *arg3 = (wxWindow *) NULL ;
10559 bool result;
10560 PyObject * obj0 = 0 ;
10561 PyObject * obj1 = 0 ;
10562 PyObject * obj2 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10569 if (SWIG_arg_fail(1)) SWIG_fail;
10570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10571 if (SWIG_arg_fail(2)) SWIG_fail;
10572 if (obj2) {
10573 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10574 if (SWIG_arg_fail(3)) SWIG_fail;
10575 }
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 {
10584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10585 }
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10593 PyObject *obj;
10594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10595 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10596 Py_INCREF(obj);
10597 return Py_BuildValue((char *)"");
10598 }
10599 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxWindow *arg1 = (wxWindow *) 0 ;
10602 int arg2 = (int) wxBORDER_NONE ;
10603 wxPopupWindow *result;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "parent",(char *) "flags", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail;
10613 if (obj1) {
10614 {
10615 arg2 = (int)(SWIG_As_int(obj1));
10616 if (SWIG_arg_fail(2)) SWIG_fail;
10617 }
10618 }
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxPopupWindow *result;
10636 char *kwnames[] = {
10637 NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = (wxPopupWindow *)new wxPopupWindow();
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10649 return resultobj;
10650 fail:
10651 return NULL;
10652 }
10653
10654
10655 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10656 PyObject *obj;
10657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10659 Py_INCREF(obj);
10660 return Py_BuildValue((char *)"");
10661 }
10662 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxWindow *arg1 = (wxWindow *) 0 ;
10665 int arg2 = (int) wxBORDER_NONE ;
10666 wxPyPopupTransientWindow *result;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "parent",(char *) "style", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10675 if (SWIG_arg_fail(1)) SWIG_fail;
10676 if (obj1) {
10677 {
10678 arg2 = (int)(SWIG_As_int(obj1));
10679 if (SWIG_arg_fail(2)) SWIG_fail;
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPyPopupTransientWindow *result;
10699 char *kwnames[] = {
10700 NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10719 PyObject *obj;
10720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10721 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10722 Py_INCREF(obj);
10723 return Py_BuildValue((char *)"");
10724 }
10725 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxWindow *arg1 = (wxWindow *) 0 ;
10728 wxString *arg2 = 0 ;
10729 int arg3 = (int) 100 ;
10730 wxRect *arg4 = (wxRect *) NULL ;
10731 wxTipWindow *result;
10732 bool temp2 = false ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 PyObject * obj2 = 0 ;
10736 PyObject * obj3 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail;
10744 {
10745 arg2 = wxString_in_helper(obj1);
10746 if (arg2 == NULL) SWIG_fail;
10747 temp2 = true;
10748 }
10749 if (obj2) {
10750 {
10751 arg3 = (int)(SWIG_As_int(obj2));
10752 if (SWIG_arg_fail(3)) SWIG_fail;
10753 }
10754 }
10755 if (obj3) {
10756 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10757 if (SWIG_arg_fail(4)) SWIG_fail;
10758 }
10759 {
10760 if (!wxPyCheckForApp()) SWIG_fail;
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10768 {
10769 if (temp2)
10770 delete arg2;
10771 }
10772 return resultobj;
10773 fail:
10774 {
10775 if (temp2)
10776 delete arg2;
10777 }
10778 return NULL;
10779 }
10780
10781
10782 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10785 wxRect *arg2 = 0 ;
10786 wxRect temp2 ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self",(char *) "rectBound", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail;
10796 {
10797 arg2 = &temp2;
10798 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 Py_INCREF(Py_None); resultobj = Py_None;
10808 return resultobj;
10809 fail:
10810 return NULL;
10811 }
10812
10813
10814 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10817 PyObject * obj0 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->Close();
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 Py_INCREF(Py_None); resultobj = Py_None;
10833 return resultobj;
10834 fail:
10835 return NULL;
10836 }
10837
10838
10839 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10840 PyObject *obj;
10841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10842 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10843 Py_INCREF(obj);
10844 return Py_BuildValue((char *)"");
10845 }
10846 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxWindow *arg1 = (wxWindow *) 0 ;
10849 int arg2 = (int) wxID_ANY ;
10850 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10851 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10852 wxSize const &arg4_defvalue = wxDefaultSize ;
10853 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10854 long arg5 = (long) 0 ;
10855 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10856 wxString *arg6 = (wxString *) &arg6_defvalue ;
10857 wxPyVScrolledWindow *result;
10858 wxPoint temp3 ;
10859 wxSize temp4 ;
10860 bool temp6 = false ;
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 PyObject * obj2 = 0 ;
10864 PyObject * obj3 = 0 ;
10865 PyObject * obj4 = 0 ;
10866 PyObject * obj5 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail;
10874 if (obj1) {
10875 {
10876 arg2 = (int)(SWIG_As_int(obj1));
10877 if (SWIG_arg_fail(2)) SWIG_fail;
10878 }
10879 }
10880 if (obj2) {
10881 {
10882 arg3 = &temp3;
10883 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10884 }
10885 }
10886 if (obj3) {
10887 {
10888 arg4 = &temp4;
10889 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10890 }
10891 }
10892 if (obj4) {
10893 {
10894 arg5 = (long)(SWIG_As_long(obj4));
10895 if (SWIG_arg_fail(5)) SWIG_fail;
10896 }
10897 }
10898 if (obj5) {
10899 {
10900 arg6 = wxString_in_helper(obj5);
10901 if (arg6 == NULL) SWIG_fail;
10902 temp6 = true;
10903 }
10904 }
10905 {
10906 if (!wxPyCheckForApp()) SWIG_fail;
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10914 {
10915 if (temp6)
10916 delete arg6;
10917 }
10918 return resultobj;
10919 fail:
10920 {
10921 if (temp6)
10922 delete arg6;
10923 }
10924 return NULL;
10925 }
10926
10927
10928 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10929 PyObject *resultobj;
10930 wxPyVScrolledWindow *result;
10931 char *kwnames[] = {
10932 NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
10936 {
10937 if (!wxPyCheckForApp()) SWIG_fail;
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10945 return resultobj;
10946 fail:
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10954 PyObject *arg2 = (PyObject *) 0 ;
10955 PyObject *arg3 = (PyObject *) 0 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 PyObject * obj2 = 0 ;
10959 char *kwnames[] = {
10960 (char *) "self",(char *) "self",(char *) "_class", NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
10965 if (SWIG_arg_fail(1)) SWIG_fail;
10966 arg2 = obj1;
10967 arg3 = obj2;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 (arg1)->_setCallbackInfo(arg2,arg3);
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 Py_INCREF(Py_None); resultobj = Py_None;
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10985 wxWindow *arg2 = (wxWindow *) 0 ;
10986 int arg3 = (int) wxID_ANY ;
10987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10989 wxSize const &arg5_defvalue = wxDefaultSize ;
10990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10991 long arg6 = (long) 0 ;
10992 wxString const &arg7_defvalue = wxPyPanelNameStr ;
10993 wxString *arg7 = (wxString *) &arg7_defvalue ;
10994 bool result;
10995 wxPoint temp4 ;
10996 wxSize temp5 ;
10997 bool temp7 = false ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 PyObject * obj2 = 0 ;
11001 PyObject * obj3 = 0 ;
11002 PyObject * obj4 = 0 ;
11003 PyObject * obj5 = 0 ;
11004 PyObject * obj6 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail;
11012 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11013 if (SWIG_arg_fail(2)) SWIG_fail;
11014 if (obj2) {
11015 {
11016 arg3 = (int)(SWIG_As_int(obj2));
11017 if (SWIG_arg_fail(3)) SWIG_fail;
11018 }
11019 }
11020 if (obj3) {
11021 {
11022 arg4 = &temp4;
11023 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11024 }
11025 }
11026 if (obj4) {
11027 {
11028 arg5 = &temp5;
11029 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11030 }
11031 }
11032 if (obj5) {
11033 {
11034 arg6 = (long)(SWIG_As_long(obj5));
11035 if (SWIG_arg_fail(6)) SWIG_fail;
11036 }
11037 }
11038 if (obj6) {
11039 {
11040 arg7 = wxString_in_helper(obj6);
11041 if (arg7 == NULL) SWIG_fail;
11042 temp7 = true;
11043 }
11044 }
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 {
11053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11054 }
11055 {
11056 if (temp7)
11057 delete arg7;
11058 }
11059 return resultobj;
11060 fail:
11061 {
11062 if (temp7)
11063 delete arg7;
11064 }
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11072 size_t arg2 ;
11073 PyObject * obj0 = 0 ;
11074 PyObject * obj1 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "count", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail;
11082 {
11083 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11084 if (SWIG_arg_fail(2)) SWIG_fail;
11085 }
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 (arg1)->SetLineCount(arg2);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 Py_INCREF(Py_None); resultobj = Py_None;
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11103 size_t arg2 ;
11104 bool result;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj1 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self",(char *) "line", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11113 if (SWIG_arg_fail(1)) SWIG_fail;
11114 {
11115 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11116 if (SWIG_arg_fail(2)) SWIG_fail;
11117 }
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 result = (bool)(arg1)->ScrollToLine(arg2);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 {
11126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11127 }
11128 return resultobj;
11129 fail:
11130 return NULL;
11131 }
11132
11133
11134 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11135 PyObject *resultobj;
11136 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11137 int arg2 ;
11138 bool result;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 char *kwnames[] = {
11142 (char *) "self",(char *) "lines", NULL
11143 };
11144
11145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail;
11148 {
11149 arg2 = (int)(SWIG_As_int(obj1));
11150 if (SWIG_arg_fail(2)) SWIG_fail;
11151 }
11152 {
11153 PyThreadState* __tstate = wxPyBeginAllowThreads();
11154 result = (bool)(arg1)->ScrollLines(arg2);
11155
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11161 }
11162 return resultobj;
11163 fail:
11164 return NULL;
11165 }
11166
11167
11168 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11171 int arg2 ;
11172 bool result;
11173 PyObject * obj0 = 0 ;
11174 PyObject * obj1 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self",(char *) "pages", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail;
11182 {
11183 arg2 = (int)(SWIG_As_int(obj1));
11184 if (SWIG_arg_fail(2)) SWIG_fail;
11185 }
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 result = (bool)(arg1)->ScrollPages(arg2);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 {
11194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11195 }
11196 return resultobj;
11197 fail:
11198 return NULL;
11199 }
11200
11201
11202 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11203 PyObject *resultobj;
11204 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11205 size_t arg2 ;
11206 PyObject * obj0 = 0 ;
11207 PyObject * obj1 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self",(char *) "line", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11214 if (SWIG_arg_fail(1)) SWIG_fail;
11215 {
11216 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11217 if (SWIG_arg_fail(2)) SWIG_fail;
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 (arg1)->RefreshLine(arg2);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11236 size_t arg2 ;
11237 size_t arg3 ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 PyObject * obj2 = 0 ;
11241 char *kwnames[] = {
11242 (char *) "self",(char *) "from",(char *) "to", NULL
11243 };
11244
11245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11247 if (SWIG_arg_fail(1)) SWIG_fail;
11248 {
11249 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11250 if (SWIG_arg_fail(2)) SWIG_fail;
11251 }
11252 {
11253 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11254 if (SWIG_arg_fail(3)) SWIG_fail;
11255 }
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 (arg1)->RefreshLines(arg2,arg3);
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 Py_INCREF(Py_None); resultobj = Py_None;
11264 return resultobj;
11265 fail:
11266 return NULL;
11267 }
11268
11269
11270 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11273 int arg2 ;
11274 int arg3 ;
11275 int result;
11276 PyObject * obj0 = 0 ;
11277 PyObject * obj1 = 0 ;
11278 PyObject * obj2 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "x",(char *) "y", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11285 if (SWIG_arg_fail(1)) SWIG_fail;
11286 {
11287 arg2 = (int)(SWIG_As_int(obj1));
11288 if (SWIG_arg_fail(2)) SWIG_fail;
11289 }
11290 {
11291 arg3 = (int)(SWIG_As_int(obj2));
11292 if (SWIG_arg_fail(3)) SWIG_fail;
11293 }
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 {
11302 resultobj = SWIG_From_int((int)(result));
11303 }
11304 return resultobj;
11305 fail:
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11313 wxPoint *arg2 = 0 ;
11314 int result;
11315 wxPoint temp2 ;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "pt", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail;
11325 {
11326 arg2 = &temp2;
11327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11328 }
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 {
11337 resultobj = SWIG_From_int((int)(result));
11338 }
11339 return resultobj;
11340 fail:
11341 return NULL;
11342 }
11343
11344
11345 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11348 PyObject * obj0 = 0 ;
11349 char *kwnames[] = {
11350 (char *) "self", NULL
11351 };
11352
11353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11355 if (SWIG_arg_fail(1)) SWIG_fail;
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 (arg1)->RefreshAll();
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 Py_INCREF(Py_None); resultobj = Py_None;
11364 return resultobj;
11365 fail:
11366 return NULL;
11367 }
11368
11369
11370 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11371 PyObject *resultobj;
11372 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11373 size_t result;
11374 PyObject * obj0 = 0 ;
11375 char *kwnames[] = {
11376 (char *) "self", NULL
11377 };
11378
11379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11381 if (SWIG_arg_fail(1)) SWIG_fail;
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11385
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 {
11390 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11391 }
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11401 size_t result;
11402 PyObject * obj0 = 0 ;
11403 char *kwnames[] = {
11404 (char *) "self", NULL
11405 };
11406
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11409 if (SWIG_arg_fail(1)) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 {
11418 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11429 size_t result;
11430 PyObject * obj0 = 0 ;
11431 char *kwnames[] = {
11432 (char *) "self", NULL
11433 };
11434
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11437 if (SWIG_arg_fail(1)) SWIG_fail;
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 {
11446 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11447 }
11448 return resultobj;
11449 fail:
11450 return NULL;
11451 }
11452
11453
11454 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11457 size_t arg2 ;
11458 bool result;
11459 PyObject * obj0 = 0 ;
11460 PyObject * obj1 = 0 ;
11461 char *kwnames[] = {
11462 (char *) "self",(char *) "line", NULL
11463 };
11464
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail;
11468 {
11469 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11470 if (SWIG_arg_fail(2)) SWIG_fail;
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 {
11480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11481 }
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11489 PyObject *obj;
11490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11492 Py_INCREF(obj);
11493 return Py_BuildValue((char *)"");
11494 }
11495 static int _wrap_VListBoxNameStr_set(PyObject *) {
11496 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11497 return 1;
11498 }
11499
11500
11501 static PyObject *_wrap_VListBoxNameStr_get(void) {
11502 PyObject *pyobj;
11503
11504 {
11505 #if wxUSE_UNICODE
11506 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11507 #else
11508 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11509 #endif
11510 }
11511 return pyobj;
11512 }
11513
11514
11515 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxWindow *arg1 = (wxWindow *) 0 ;
11518 int arg2 = (int) wxID_ANY ;
11519 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11520 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11521 wxSize const &arg4_defvalue = wxDefaultSize ;
11522 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11523 long arg5 = (long) 0 ;
11524 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11525 wxString *arg6 = (wxString *) &arg6_defvalue ;
11526 wxPyVListBox *result;
11527 wxPoint temp3 ;
11528 wxSize temp4 ;
11529 bool temp6 = false ;
11530 PyObject * obj0 = 0 ;
11531 PyObject * obj1 = 0 ;
11532 PyObject * obj2 = 0 ;
11533 PyObject * obj3 = 0 ;
11534 PyObject * obj4 = 0 ;
11535 PyObject * obj5 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11542 if (SWIG_arg_fail(1)) SWIG_fail;
11543 if (obj1) {
11544 {
11545 arg2 = (int)(SWIG_As_int(obj1));
11546 if (SWIG_arg_fail(2)) SWIG_fail;
11547 }
11548 }
11549 if (obj2) {
11550 {
11551 arg3 = &temp3;
11552 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11553 }
11554 }
11555 if (obj3) {
11556 {
11557 arg4 = &temp4;
11558 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11559 }
11560 }
11561 if (obj4) {
11562 {
11563 arg5 = (long)(SWIG_As_long(obj4));
11564 if (SWIG_arg_fail(5)) SWIG_fail;
11565 }
11566 }
11567 if (obj5) {
11568 {
11569 arg6 = wxString_in_helper(obj5);
11570 if (arg6 == NULL) SWIG_fail;
11571 temp6 = true;
11572 }
11573 }
11574 {
11575 if (!wxPyCheckForApp()) SWIG_fail;
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11583 {
11584 if (temp6)
11585 delete arg6;
11586 }
11587 return resultobj;
11588 fail:
11589 {
11590 if (temp6)
11591 delete arg6;
11592 }
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxPyVListBox *result;
11600 char *kwnames[] = {
11601 NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11605 {
11606 if (!wxPyCheckForApp()) SWIG_fail;
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 result = (wxPyVListBox *)new wxPyVListBox();
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11614 return resultobj;
11615 fail:
11616 return NULL;
11617 }
11618
11619
11620 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11621 PyObject *resultobj;
11622 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11623 PyObject *arg2 = (PyObject *) 0 ;
11624 PyObject *arg3 = (PyObject *) 0 ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 PyObject * obj2 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self",(char *) "self",(char *) "_class", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11634 if (SWIG_arg_fail(1)) SWIG_fail;
11635 arg2 = obj1;
11636 arg3 = obj2;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 (arg1)->_setCallbackInfo(arg2,arg3);
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 Py_INCREF(Py_None); resultobj = Py_None;
11645 return resultobj;
11646 fail:
11647 return NULL;
11648 }
11649
11650
11651 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11652 PyObject *resultobj;
11653 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11654 wxWindow *arg2 = (wxWindow *) 0 ;
11655 int arg3 = (int) wxID_ANY ;
11656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11658 wxSize const &arg5_defvalue = wxDefaultSize ;
11659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11660 long arg6 = (long) 0 ;
11661 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11662 wxString *arg7 = (wxString *) &arg7_defvalue ;
11663 bool result;
11664 wxPoint temp4 ;
11665 wxSize temp5 ;
11666 bool temp7 = false ;
11667 PyObject * obj0 = 0 ;
11668 PyObject * obj1 = 0 ;
11669 PyObject * obj2 = 0 ;
11670 PyObject * obj3 = 0 ;
11671 PyObject * obj4 = 0 ;
11672 PyObject * obj5 = 0 ;
11673 PyObject * obj6 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11680 if (SWIG_arg_fail(1)) SWIG_fail;
11681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11682 if (SWIG_arg_fail(2)) SWIG_fail;
11683 if (obj2) {
11684 {
11685 arg3 = (int)(SWIG_As_int(obj2));
11686 if (SWIG_arg_fail(3)) SWIG_fail;
11687 }
11688 }
11689 if (obj3) {
11690 {
11691 arg4 = &temp4;
11692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11693 }
11694 }
11695 if (obj4) {
11696 {
11697 arg5 = &temp5;
11698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11699 }
11700 }
11701 if (obj5) {
11702 {
11703 arg6 = (long)(SWIG_As_long(obj5));
11704 if (SWIG_arg_fail(6)) SWIG_fail;
11705 }
11706 }
11707 if (obj6) {
11708 {
11709 arg7 = wxString_in_helper(obj6);
11710 if (arg7 == NULL) SWIG_fail;
11711 temp7 = true;
11712 }
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 {
11722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11723 }
11724 {
11725 if (temp7)
11726 delete arg7;
11727 }
11728 return resultobj;
11729 fail:
11730 {
11731 if (temp7)
11732 delete arg7;
11733 }
11734 return NULL;
11735 }
11736
11737
11738 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11739 PyObject *resultobj;
11740 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11741 size_t result;
11742 PyObject * obj0 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 {
11758 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11759 }
11760 return resultobj;
11761 fail:
11762 return NULL;
11763 }
11764
11765
11766 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11769 bool result;
11770 PyObject * obj0 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self", NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11777 if (SWIG_arg_fail(1)) SWIG_fail;
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 {
11786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11787 }
11788 return resultobj;
11789 fail:
11790 return NULL;
11791 }
11792
11793
11794 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11795 PyObject *resultobj;
11796 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11797 int result;
11798 PyObject * obj0 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
11804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11805 if (SWIG_arg_fail(1)) SWIG_fail;
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 resultobj = SWIG_From_int((int)(result));
11815 }
11816 return resultobj;
11817 fail:
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11825 size_t arg2 ;
11826 bool result;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self",(char *) "item", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
11834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11835 if (SWIG_arg_fail(1)) SWIG_fail;
11836 {
11837 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11838 if (SWIG_arg_fail(2)) SWIG_fail;
11839 }
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 {
11848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11849 }
11850 return resultobj;
11851 fail:
11852 return NULL;
11853 }
11854
11855
11856 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj;
11858 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11859 size_t arg2 ;
11860 bool result;
11861 PyObject * obj0 = 0 ;
11862 PyObject * obj1 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self",(char *) "item", NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
11868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11869 if (SWIG_arg_fail(1)) SWIG_fail;
11870 {
11871 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11872 if (SWIG_arg_fail(2)) SWIG_fail;
11873 }
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11883 }
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj;
11892 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11893 size_t result;
11894 PyObject * obj0 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
11900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail;
11902 {
11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
11904 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
11905
11906 wxPyEndAllowThreads(__tstate);
11907 if (PyErr_Occurred()) SWIG_fail;
11908 }
11909 {
11910 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11911 }
11912 return resultobj;
11913 fail:
11914 return NULL;
11915 }
11916
11917
11918 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11919 PyObject *resultobj;
11920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11921 PyObject *result;
11922 PyObject * obj0 = 0 ;
11923 char *kwnames[] = {
11924 (char *) "self", NULL
11925 };
11926
11927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
11928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11929 if (SWIG_arg_fail(1)) SWIG_fail;
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 resultobj = result;
11938 return resultobj;
11939 fail:
11940 return NULL;
11941 }
11942
11943
11944 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11945 PyObject *resultobj;
11946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11947 unsigned long arg2 ;
11948 PyObject *result;
11949 PyObject * obj0 = 0 ;
11950 PyObject * obj1 = 0 ;
11951 char *kwnames[] = {
11952 (char *) "self",(char *) "cookie", NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
11956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11957 if (SWIG_arg_fail(1)) SWIG_fail;
11958 {
11959 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
11960 if (SWIG_arg_fail(2)) SWIG_fail;
11961 }
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 resultobj = result;
11970 return resultobj;
11971 fail:
11972 return NULL;
11973 }
11974
11975
11976 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj;
11978 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11979 wxPoint result;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
11986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11987 if (SWIG_arg_fail(1)) SWIG_fail;
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = ((wxPyVListBox const *)arg1)->GetMargins();
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 {
11996 wxPoint * resultptr;
11997 resultptr = new wxPoint((wxPoint &)(result));
11998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11999 }
12000 return resultobj;
12001 fail:
12002 return NULL;
12003 }
12004
12005
12006 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12007 PyObject *resultobj;
12008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12009 wxColour *result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail;
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 {
12021 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12022 result = (wxColour *) &_result_ref;
12023 }
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12038 size_t arg2 ;
12039 PyObject * obj0 = 0 ;
12040 PyObject * obj1 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self",(char *) "count", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12047 if (SWIG_arg_fail(1)) SWIG_fail;
12048 {
12049 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12050 if (SWIG_arg_fail(2)) SWIG_fail;
12051 }
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 (arg1)->SetItemCount(arg2);
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 Py_INCREF(Py_None); resultobj = Py_None;
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->Clear();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 Py_INCREF(Py_None); resultobj = Py_None;
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12094 int arg2 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "selection", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12103 if (SWIG_arg_fail(1)) SWIG_fail;
12104 {
12105 arg2 = (int)(SWIG_As_int(obj1));
12106 if (SWIG_arg_fail(2)) SWIG_fail;
12107 }
12108 {
12109 PyThreadState* __tstate = wxPyBeginAllowThreads();
12110 (arg1)->SetSelection(arg2);
12111
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 Py_INCREF(Py_None); resultobj = Py_None;
12116 return resultobj;
12117 fail:
12118 return NULL;
12119 }
12120
12121
12122 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12123 PyObject *resultobj;
12124 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12125 size_t arg2 ;
12126 bool arg3 = (bool) true ;
12127 bool result;
12128 PyObject * obj0 = 0 ;
12129 PyObject * obj1 = 0 ;
12130 PyObject * obj2 = 0 ;
12131 char *kwnames[] = {
12132 (char *) "self",(char *) "item",(char *) "select", NULL
12133 };
12134
12135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail;
12138 {
12139 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12140 if (SWIG_arg_fail(2)) SWIG_fail;
12141 }
12142 if (obj2) {
12143 {
12144 arg3 = (bool)(SWIG_As_bool(obj2));
12145 if (SWIG_arg_fail(3)) SWIG_fail;
12146 }
12147 }
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (bool)(arg1)->Select(arg2,arg3);
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 {
12156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12157 }
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12165 PyObject *resultobj;
12166 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12167 size_t arg2 ;
12168 size_t arg3 ;
12169 bool result;
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 PyObject * obj2 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self",(char *) "from",(char *) "to", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12182 if (SWIG_arg_fail(2)) SWIG_fail;
12183 }
12184 {
12185 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12186 if (SWIG_arg_fail(3)) SWIG_fail;
12187 }
12188 {
12189 PyThreadState* __tstate = wxPyBeginAllowThreads();
12190 result = (bool)(arg1)->SelectRange(arg2,arg3);
12191
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 {
12196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12197 }
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj;
12206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12207 size_t arg2 ;
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self",(char *) "item", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
12217 {
12218 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12219 if (SWIG_arg_fail(2)) SWIG_fail;
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->Toggle(arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 Py_INCREF(Py_None); resultobj = Py_None;
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj;
12237 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12238 bool result;
12239 PyObject * obj0 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12246 if (SWIG_arg_fail(1)) SWIG_fail;
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 result = (bool)(arg1)->SelectAll();
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 {
12255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12256 }
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 bool result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = (bool)(arg1)->DeselectAll();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12284 }
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12294 wxPoint *arg2 = 0 ;
12295 wxPoint temp2 ;
12296 PyObject * obj0 = 0 ;
12297 PyObject * obj1 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self",(char *) "pt", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
12305 {
12306 arg2 = &temp2;
12307 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12308 }
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 (arg1)->SetMargins((wxPoint const &)*arg2);
12312
12313 wxPyEndAllowThreads(__tstate);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 Py_INCREF(Py_None); resultobj = Py_None;
12317 return resultobj;
12318 fail:
12319 return NULL;
12320 }
12321
12322
12323 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12326 int arg2 ;
12327 int arg3 ;
12328 PyObject * obj0 = 0 ;
12329 PyObject * obj1 = 0 ;
12330 PyObject * obj2 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self",(char *) "x",(char *) "y", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12337 if (SWIG_arg_fail(1)) SWIG_fail;
12338 {
12339 arg2 = (int)(SWIG_As_int(obj1));
12340 if (SWIG_arg_fail(2)) SWIG_fail;
12341 }
12342 {
12343 arg3 = (int)(SWIG_As_int(obj2));
12344 if (SWIG_arg_fail(3)) SWIG_fail;
12345 }
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 (arg1)->SetMargins(arg2,arg3);
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 Py_INCREF(Py_None); resultobj = Py_None;
12354 return resultobj;
12355 fail:
12356 return NULL;
12357 }
12358
12359
12360 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12361 PyObject *resultobj;
12362 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12363 wxColour *arg2 = 0 ;
12364 wxColour temp2 ;
12365 PyObject * obj0 = 0 ;
12366 PyObject * obj1 = 0 ;
12367 char *kwnames[] = {
12368 (char *) "self",(char *) "col", NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12373 if (SWIG_arg_fail(1)) SWIG_fail;
12374 {
12375 arg2 = &temp2;
12376 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12377 }
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12393 PyObject *obj;
12394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12396 Py_INCREF(obj);
12397 return Py_BuildValue((char *)"");
12398 }
12399 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj;
12401 wxWindow *arg1 = (wxWindow *) 0 ;
12402 int arg2 = (int) wxID_ANY ;
12403 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12404 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12405 wxSize const &arg4_defvalue = wxDefaultSize ;
12406 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12407 long arg5 = (long) 0 ;
12408 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12409 wxString *arg6 = (wxString *) &arg6_defvalue ;
12410 wxPyHtmlListBox *result;
12411 wxPoint temp3 ;
12412 wxSize temp4 ;
12413 bool temp6 = false ;
12414 PyObject * obj0 = 0 ;
12415 PyObject * obj1 = 0 ;
12416 PyObject * obj2 = 0 ;
12417 PyObject * obj3 = 0 ;
12418 PyObject * obj4 = 0 ;
12419 PyObject * obj5 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12426 if (SWIG_arg_fail(1)) SWIG_fail;
12427 if (obj1) {
12428 {
12429 arg2 = (int)(SWIG_As_int(obj1));
12430 if (SWIG_arg_fail(2)) SWIG_fail;
12431 }
12432 }
12433 if (obj2) {
12434 {
12435 arg3 = &temp3;
12436 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12437 }
12438 }
12439 if (obj3) {
12440 {
12441 arg4 = &temp4;
12442 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12443 }
12444 }
12445 if (obj4) {
12446 {
12447 arg5 = (long)(SWIG_As_long(obj4));
12448 if (SWIG_arg_fail(5)) SWIG_fail;
12449 }
12450 }
12451 if (obj5) {
12452 {
12453 arg6 = wxString_in_helper(obj5);
12454 if (arg6 == NULL) SWIG_fail;
12455 temp6 = true;
12456 }
12457 }
12458 {
12459 if (!wxPyCheckForApp()) SWIG_fail;
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12467 {
12468 if (temp6)
12469 delete arg6;
12470 }
12471 return resultobj;
12472 fail:
12473 {
12474 if (temp6)
12475 delete arg6;
12476 }
12477 return NULL;
12478 }
12479
12480
12481 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj;
12483 wxPyHtmlListBox *result;
12484 char *kwnames[] = {
12485 NULL
12486 };
12487
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12489 {
12490 if (!wxPyCheckForApp()) SWIG_fail;
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12493
12494 wxPyEndAllowThreads(__tstate);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 }
12497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12498 return resultobj;
12499 fail:
12500 return NULL;
12501 }
12502
12503
12504 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj;
12506 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12507 PyObject *arg2 = (PyObject *) 0 ;
12508 PyObject *arg3 = (PyObject *) 0 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 PyObject * obj2 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self",(char *) "self",(char *) "_class", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail;
12519 arg2 = obj1;
12520 arg3 = obj2;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 (arg1)->_setCallbackInfo(arg2,arg3);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 Py_INCREF(Py_None); resultobj = Py_None;
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12538 wxWindow *arg2 = (wxWindow *) 0 ;
12539 int arg3 = (int) wxID_ANY ;
12540 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12541 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12542 wxSize const &arg5_defvalue = wxDefaultSize ;
12543 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12544 long arg6 = (long) 0 ;
12545 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12546 wxString *arg7 = (wxString *) &arg7_defvalue ;
12547 bool result;
12548 wxPoint temp4 ;
12549 wxSize temp5 ;
12550 bool temp7 = false ;
12551 PyObject * obj0 = 0 ;
12552 PyObject * obj1 = 0 ;
12553 PyObject * obj2 = 0 ;
12554 PyObject * obj3 = 0 ;
12555 PyObject * obj4 = 0 ;
12556 PyObject * obj5 = 0 ;
12557 PyObject * obj6 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail;
12565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12566 if (SWIG_arg_fail(2)) SWIG_fail;
12567 if (obj2) {
12568 {
12569 arg3 = (int)(SWIG_As_int(obj2));
12570 if (SWIG_arg_fail(3)) SWIG_fail;
12571 }
12572 }
12573 if (obj3) {
12574 {
12575 arg4 = &temp4;
12576 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12577 }
12578 }
12579 if (obj4) {
12580 {
12581 arg5 = &temp5;
12582 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12583 }
12584 }
12585 if (obj5) {
12586 {
12587 arg6 = (long)(SWIG_As_long(obj5));
12588 if (SWIG_arg_fail(6)) SWIG_fail;
12589 }
12590 }
12591 if (obj6) {
12592 {
12593 arg7 = wxString_in_helper(obj6);
12594 if (arg7 == NULL) SWIG_fail;
12595 temp7 = true;
12596 }
12597 }
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12607 }
12608 {
12609 if (temp7)
12610 delete arg7;
12611 }
12612 return resultobj;
12613 fail:
12614 {
12615 if (temp7)
12616 delete arg7;
12617 }
12618 return NULL;
12619 }
12620
12621
12622 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12632 if (SWIG_arg_fail(1)) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->RefreshAll();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12650 size_t arg2 ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 char *kwnames[] = {
12654 (char *) "self",(char *) "count", NULL
12655 };
12656
12657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12659 if (SWIG_arg_fail(1)) SWIG_fail;
12660 {
12661 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12662 if (SWIG_arg_fail(2)) SWIG_fail;
12663 }
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 (arg1)->SetItemCount(arg2);
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 Py_INCREF(Py_None); resultobj = Py_None;
12672 return resultobj;
12673 fail:
12674 return NULL;
12675 }
12676
12677
12678 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12681 wxFileSystem *result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail;
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 {
12693 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12694 result = (wxFileSystem *) &_result_ref;
12695 }
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12708 PyObject *obj;
12709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12711 Py_INCREF(obj);
12712 return Py_BuildValue((char *)"");
12713 }
12714 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12715 PyObject *resultobj;
12716 wxPyTaskBarIcon *result;
12717 char *kwnames[] = {
12718 NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12722 {
12723 if (!wxPyCheckForApp()) SWIG_fail;
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
12730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12740 PyObject *arg2 = (PyObject *) 0 ;
12741 PyObject *arg3 = (PyObject *) 0 ;
12742 int arg4 ;
12743 PyObject * obj0 = 0 ;
12744 PyObject * obj1 = 0 ;
12745 PyObject * obj2 = 0 ;
12746 PyObject * obj3 = 0 ;
12747 char *kwnames[] = {
12748 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12749 };
12750
12751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12753 if (SWIG_arg_fail(1)) SWIG_fail;
12754 arg2 = obj1;
12755 arg3 = obj2;
12756 {
12757 arg4 = (int)(SWIG_As_int(obj3));
12758 if (SWIG_arg_fail(4)) SWIG_fail;
12759 }
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 Py_INCREF(Py_None); resultobj = Py_None;
12768 return resultobj;
12769 fail:
12770 return NULL;
12771 }
12772
12773
12774 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12775 PyObject *resultobj;
12776 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12777 PyObject * obj0 = 0 ;
12778 char *kwnames[] = {
12779 (char *) "self", NULL
12780 };
12781
12782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12784 if (SWIG_arg_fail(1)) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 wxPyTaskBarIcon_Destroy(arg1);
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 Py_INCREF(Py_None); resultobj = Py_None;
12793 return resultobj;
12794 fail:
12795 return NULL;
12796 }
12797
12798
12799 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12800 PyObject *resultobj;
12801 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12802 bool result;
12803 PyObject * obj0 = 0 ;
12804 char *kwnames[] = {
12805 (char *) "self", NULL
12806 };
12807
12808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12810 if (SWIG_arg_fail(1)) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 {
12819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12820 }
12821 return resultobj;
12822 fail:
12823 return NULL;
12824 }
12825
12826
12827 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
12828 PyObject *resultobj;
12829 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12830 bool result;
12831 PyObject * obj0 = 0 ;
12832 char *kwnames[] = {
12833 (char *) "self", NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
12837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12838 if (SWIG_arg_fail(1)) SWIG_fail;
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
12842
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 {
12847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12848 }
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12858 wxIcon *arg2 = 0 ;
12859 wxString const &arg3_defvalue = wxPyEmptyString ;
12860 wxString *arg3 = (wxString *) &arg3_defvalue ;
12861 bool result;
12862 bool temp3 = false ;
12863 PyObject * obj0 = 0 ;
12864 PyObject * obj1 = 0 ;
12865 PyObject * obj2 = 0 ;
12866 char *kwnames[] = {
12867 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12868 };
12869
12870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail;
12873 {
12874 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12875 if (SWIG_arg_fail(2)) SWIG_fail;
12876 if (arg2 == NULL) {
12877 SWIG_null_ref("wxIcon");
12878 }
12879 if (SWIG_arg_fail(2)) SWIG_fail;
12880 }
12881 if (obj2) {
12882 {
12883 arg3 = wxString_in_helper(obj2);
12884 if (arg3 == NULL) SWIG_fail;
12885 temp3 = true;
12886 }
12887 }
12888 {
12889 PyThreadState* __tstate = wxPyBeginAllowThreads();
12890 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
12891
12892 wxPyEndAllowThreads(__tstate);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 }
12895 {
12896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12897 }
12898 {
12899 if (temp3)
12900 delete arg3;
12901 }
12902 return resultobj;
12903 fail:
12904 {
12905 if (temp3)
12906 delete arg3;
12907 }
12908 return NULL;
12909 }
12910
12911
12912 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12913 PyObject *resultobj;
12914 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12915 bool result;
12916 PyObject * obj0 = 0 ;
12917 char *kwnames[] = {
12918 (char *) "self", NULL
12919 };
12920
12921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
12922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12923 if (SWIG_arg_fail(1)) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (bool)(arg1)->RemoveIcon();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 {
12932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12933 }
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12943 wxMenu *arg2 = (wxMenu *) 0 ;
12944 bool result;
12945 PyObject * obj0 = 0 ;
12946 PyObject * obj1 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self",(char *) "menu", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
12952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail;
12954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
12955 if (SWIG_arg_fail(2)) SWIG_fail;
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (bool)(arg1)->PopupMenu(arg2);
12959
12960 wxPyEndAllowThreads(__tstate);
12961 if (PyErr_Occurred()) SWIG_fail;
12962 }
12963 {
12964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12965 }
12966 return resultobj;
12967 fail:
12968 return NULL;
12969 }
12970
12971
12972 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
12973 PyObject *obj;
12974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12975 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
12976 Py_INCREF(obj);
12977 return Py_BuildValue((char *)"");
12978 }
12979 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12980 PyObject *resultobj;
12981 wxEventType arg1 ;
12982 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
12983 wxTaskBarIconEvent *result;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "evtType",(char *) "tbIcon", NULL
12988 };
12989
12990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
12991 {
12992 arg1 = (wxEventType)(SWIG_As_int(obj0));
12993 if (SWIG_arg_fail(1)) SWIG_fail;
12994 }
12995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13005 return resultobj;
13006 fail:
13007 return NULL;
13008 }
13009
13010
13011 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13012 PyObject *obj;
13013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13014 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13015 Py_INCREF(obj);
13016 return Py_BuildValue((char *)"");
13017 }
13018 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13019 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13020 return 1;
13021 }
13022
13023
13024 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13025 PyObject *pyobj;
13026
13027 {
13028 #if wxUSE_UNICODE
13029 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13030 #else
13031 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13032 #endif
13033 }
13034 return pyobj;
13035 }
13036
13037
13038 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13039 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13040 return 1;
13041 }
13042
13043
13044 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13045 PyObject *pyobj;
13046
13047 {
13048 #if wxUSE_UNICODE
13049 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13050 #else
13051 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13052 #endif
13053 }
13054 return pyobj;
13055 }
13056
13057
13058 static int _wrap_DirDialogNameStr_set(PyObject *) {
13059 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13060 return 1;
13061 }
13062
13063
13064 static PyObject *_wrap_DirDialogNameStr_get(void) {
13065 PyObject *pyobj;
13066
13067 {
13068 #if wxUSE_UNICODE
13069 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13070 #else
13071 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13072 #endif
13073 }
13074 return pyobj;
13075 }
13076
13077
13078 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13079 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13080 return 1;
13081 }
13082
13083
13084 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13085 PyObject *pyobj;
13086
13087 {
13088 #if wxUSE_UNICODE
13089 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13090 #else
13091 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13092 #endif
13093 }
13094 return pyobj;
13095 }
13096
13097
13098 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13099 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13100 return 1;
13101 }
13102
13103
13104 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13105 PyObject *pyobj;
13106
13107 {
13108 #if wxUSE_UNICODE
13109 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13110 #else
13111 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13112 #endif
13113 }
13114 return pyobj;
13115 }
13116
13117
13118 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13119 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13120 return 1;
13121 }
13122
13123
13124 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13125 PyObject *pyobj;
13126
13127 {
13128 #if wxUSE_UNICODE
13129 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13130 #else
13131 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13132 #endif
13133 }
13134 return pyobj;
13135 }
13136
13137
13138 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj;
13140 wxColourData *result;
13141 char *kwnames[] = {
13142 NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 result = (wxColourData *)new wxColourData();
13149
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj;
13162 wxColourData *arg1 = (wxColourData *) 0 ;
13163 PyObject * obj0 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail;
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 delete arg1;
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 Py_INCREF(Py_None); resultobj = Py_None;
13179 return resultobj;
13180 fail:
13181 return NULL;
13182 }
13183
13184
13185 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13186 PyObject *resultobj;
13187 wxColourData *arg1 = (wxColourData *) 0 ;
13188 bool result;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13196 if (SWIG_arg_fail(1)) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 result = (bool)(arg1)->GetChooseFull();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 {
13205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13206 }
13207 return resultobj;
13208 fail:
13209 return NULL;
13210 }
13211
13212
13213 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj;
13215 wxColourData *arg1 = (wxColourData *) 0 ;
13216 wxColour result;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13224 if (SWIG_arg_fail(1)) SWIG_fail;
13225 {
13226 PyThreadState* __tstate = wxPyBeginAllowThreads();
13227 result = (arg1)->GetColour();
13228
13229 wxPyEndAllowThreads(__tstate);
13230 if (PyErr_Occurred()) SWIG_fail;
13231 }
13232 {
13233 wxColour * resultptr;
13234 resultptr = new wxColour((wxColour &)(result));
13235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13236 }
13237 return resultobj;
13238 fail:
13239 return NULL;
13240 }
13241
13242
13243 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxColourData *arg1 = (wxColourData *) 0 ;
13246 int arg2 ;
13247 wxColour result;
13248 PyObject * obj0 = 0 ;
13249 PyObject * obj1 = 0 ;
13250 char *kwnames[] = {
13251 (char *) "self",(char *) "i", NULL
13252 };
13253
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail;
13257 {
13258 arg2 = (int)(SWIG_As_int(obj1));
13259 if (SWIG_arg_fail(2)) SWIG_fail;
13260 }
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (arg1)->GetCustomColour(arg2);
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 {
13269 wxColour * resultptr;
13270 resultptr = new wxColour((wxColour &)(result));
13271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13272 }
13273 return resultobj;
13274 fail:
13275 return NULL;
13276 }
13277
13278
13279 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxColourData *arg1 = (wxColourData *) 0 ;
13282 int arg2 ;
13283 PyObject * obj0 = 0 ;
13284 PyObject * obj1 = 0 ;
13285 char *kwnames[] = {
13286 (char *) "self",(char *) "flag", NULL
13287 };
13288
13289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail;
13292 {
13293 arg2 = (int)(SWIG_As_int(obj1));
13294 if (SWIG_arg_fail(2)) SWIG_fail;
13295 }
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 (arg1)->SetChooseFull(arg2);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 Py_INCREF(Py_None); resultobj = Py_None;
13304 return resultobj;
13305 fail:
13306 return NULL;
13307 }
13308
13309
13310 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxColourData *arg1 = (wxColourData *) 0 ;
13313 wxColour *arg2 = 0 ;
13314 wxColour temp2 ;
13315 PyObject * obj0 = 0 ;
13316 PyObject * obj1 = 0 ;
13317 char *kwnames[] = {
13318 (char *) "self",(char *) "colour", NULL
13319 };
13320
13321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail;
13324 {
13325 arg2 = &temp2;
13326 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13327 }
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 (arg1)->SetColour((wxColour const &)*arg2);
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 Py_INCREF(Py_None); resultobj = Py_None;
13336 return resultobj;
13337 fail:
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxColourData *arg1 = (wxColourData *) 0 ;
13345 int arg2 ;
13346 wxColour *arg3 = 0 ;
13347 wxColour temp3 ;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 PyObject * obj2 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "i",(char *) "colour", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13357 if (SWIG_arg_fail(1)) SWIG_fail;
13358 {
13359 arg2 = (int)(SWIG_As_int(obj1));
13360 if (SWIG_arg_fail(2)) SWIG_fail;
13361 }
13362 {
13363 arg3 = &temp3;
13364 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13365 }
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 Py_INCREF(Py_None); resultobj = Py_None;
13374 return resultobj;
13375 fail:
13376 return NULL;
13377 }
13378
13379
13380 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13381 PyObject *obj;
13382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13383 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13384 Py_INCREF(obj);
13385 return Py_BuildValue((char *)"");
13386 }
13387 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxWindow *arg1 = (wxWindow *) 0 ;
13390 wxColourData *arg2 = (wxColourData *) NULL ;
13391 wxColourDialog *result;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "parent",(char *) "data", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
13401 if (obj1) {
13402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13403 if (SWIG_arg_fail(2)) SWIG_fail;
13404 }
13405 {
13406 if (!wxPyCheckForApp()) SWIG_fail;
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13423 wxColourData *result;
13424 PyObject * obj0 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13431 if (SWIG_arg_fail(1)) SWIG_fail;
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 {
13435 wxColourData &_result_ref = (arg1)->GetColourData();
13436 result = (wxColourData *) &_result_ref;
13437 }
13438
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13450 PyObject *obj;
13451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13452 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13453 Py_INCREF(obj);
13454 return Py_BuildValue((char *)"");
13455 }
13456 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxWindow *arg1 = (wxWindow *) 0 ;
13459 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13460 wxString *arg2 = (wxString *) &arg2_defvalue ;
13461 wxString const &arg3_defvalue = wxPyEmptyString ;
13462 wxString *arg3 = (wxString *) &arg3_defvalue ;
13463 long arg4 = (long) 0 ;
13464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13466 wxSize const &arg6_defvalue = wxDefaultSize ;
13467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13468 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13469 wxString *arg7 = (wxString *) &arg7_defvalue ;
13470 wxDirDialog *result;
13471 bool temp2 = false ;
13472 bool temp3 = false ;
13473 wxPoint temp5 ;
13474 wxSize temp6 ;
13475 bool temp7 = false ;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 PyObject * obj2 = 0 ;
13479 PyObject * obj3 = 0 ;
13480 PyObject * obj4 = 0 ;
13481 PyObject * obj5 = 0 ;
13482 PyObject * obj6 = 0 ;
13483 char *kwnames[] = {
13484 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13485 };
13486
13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13489 if (SWIG_arg_fail(1)) SWIG_fail;
13490 if (obj1) {
13491 {
13492 arg2 = wxString_in_helper(obj1);
13493 if (arg2 == NULL) SWIG_fail;
13494 temp2 = true;
13495 }
13496 }
13497 if (obj2) {
13498 {
13499 arg3 = wxString_in_helper(obj2);
13500 if (arg3 == NULL) SWIG_fail;
13501 temp3 = true;
13502 }
13503 }
13504 if (obj3) {
13505 {
13506 arg4 = (long)(SWIG_As_long(obj3));
13507 if (SWIG_arg_fail(4)) SWIG_fail;
13508 }
13509 }
13510 if (obj4) {
13511 {
13512 arg5 = &temp5;
13513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13514 }
13515 }
13516 if (obj5) {
13517 {
13518 arg6 = &temp6;
13519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13520 }
13521 }
13522 if (obj6) {
13523 {
13524 arg7 = wxString_in_helper(obj6);
13525 if (arg7 == NULL) SWIG_fail;
13526 temp7 = true;
13527 }
13528 }
13529 {
13530 if (!wxPyCheckForApp()) SWIG_fail;
13531 PyThreadState* __tstate = wxPyBeginAllowThreads();
13532 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13533
13534 wxPyEndAllowThreads(__tstate);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 }
13537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13538 {
13539 if (temp2)
13540 delete arg2;
13541 }
13542 {
13543 if (temp3)
13544 delete arg3;
13545 }
13546 {
13547 if (temp7)
13548 delete arg7;
13549 }
13550 return resultobj;
13551 fail:
13552 {
13553 if (temp2)
13554 delete arg2;
13555 }
13556 {
13557 if (temp3)
13558 delete arg3;
13559 }
13560 {
13561 if (temp7)
13562 delete arg7;
13563 }
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13571 wxString result;
13572 PyObject * obj0 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13579 if (SWIG_arg_fail(1)) SWIG_fail;
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (arg1)->GetPath();
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 {
13588 #if wxUSE_UNICODE
13589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13590 #else
13591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13592 #endif
13593 }
13594 return resultobj;
13595 fail:
13596 return NULL;
13597 }
13598
13599
13600 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13603 wxString result;
13604 PyObject * obj0 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail;
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = (arg1)->GetMessage();
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 {
13620 #if wxUSE_UNICODE
13621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13622 #else
13623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13624 #endif
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13635 long result;
13636 PyObject * obj0 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "self", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13643 if (SWIG_arg_fail(1)) SWIG_fail;
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (long)(arg1)->GetStyle();
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
13651 {
13652 resultobj = SWIG_From_long((long)(result));
13653 }
13654 return resultobj;
13655 fail:
13656 return NULL;
13657 }
13658
13659
13660 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13663 wxString *arg2 = 0 ;
13664 bool temp2 = false ;
13665 PyObject * obj0 = 0 ;
13666 PyObject * obj1 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self",(char *) "message", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13673 if (SWIG_arg_fail(1)) SWIG_fail;
13674 {
13675 arg2 = wxString_in_helper(obj1);
13676 if (arg2 == NULL) SWIG_fail;
13677 temp2 = true;
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 (arg1)->SetMessage((wxString const &)*arg2);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 Py_INCREF(Py_None); resultobj = Py_None;
13687 {
13688 if (temp2)
13689 delete arg2;
13690 }
13691 return resultobj;
13692 fail:
13693 {
13694 if (temp2)
13695 delete arg2;
13696 }
13697 return NULL;
13698 }
13699
13700
13701 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13704 wxString *arg2 = 0 ;
13705 bool temp2 = false ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self",(char *) "path", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail;
13715 {
13716 arg2 = wxString_in_helper(obj1);
13717 if (arg2 == NULL) SWIG_fail;
13718 temp2 = true;
13719 }
13720 {
13721 PyThreadState* __tstate = wxPyBeginAllowThreads();
13722 (arg1)->SetPath((wxString const &)*arg2);
13723
13724 wxPyEndAllowThreads(__tstate);
13725 if (PyErr_Occurred()) SWIG_fail;
13726 }
13727 Py_INCREF(Py_None); resultobj = Py_None;
13728 {
13729 if (temp2)
13730 delete arg2;
13731 }
13732 return resultobj;
13733 fail:
13734 {
13735 if (temp2)
13736 delete arg2;
13737 }
13738 return NULL;
13739 }
13740
13741
13742 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13743 PyObject *obj;
13744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13745 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13746 Py_INCREF(obj);
13747 return Py_BuildValue((char *)"");
13748 }
13749 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxWindow *arg1 = (wxWindow *) 0 ;
13752 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13753 wxString *arg2 = (wxString *) &arg2_defvalue ;
13754 wxString const &arg3_defvalue = wxPyEmptyString ;
13755 wxString *arg3 = (wxString *) &arg3_defvalue ;
13756 wxString const &arg4_defvalue = wxPyEmptyString ;
13757 wxString *arg4 = (wxString *) &arg4_defvalue ;
13758 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13759 wxString *arg5 = (wxString *) &arg5_defvalue ;
13760 long arg6 = (long) 0 ;
13761 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13762 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13763 wxFileDialog *result;
13764 bool temp2 = false ;
13765 bool temp3 = false ;
13766 bool temp4 = false ;
13767 bool temp5 = false ;
13768 wxPoint temp7 ;
13769 PyObject * obj0 = 0 ;
13770 PyObject * obj1 = 0 ;
13771 PyObject * obj2 = 0 ;
13772 PyObject * obj3 = 0 ;
13773 PyObject * obj4 = 0 ;
13774 PyObject * obj5 = 0 ;
13775 PyObject * obj6 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13782 if (SWIG_arg_fail(1)) SWIG_fail;
13783 if (obj1) {
13784 {
13785 arg2 = wxString_in_helper(obj1);
13786 if (arg2 == NULL) SWIG_fail;
13787 temp2 = true;
13788 }
13789 }
13790 if (obj2) {
13791 {
13792 arg3 = wxString_in_helper(obj2);
13793 if (arg3 == NULL) SWIG_fail;
13794 temp3 = true;
13795 }
13796 }
13797 if (obj3) {
13798 {
13799 arg4 = wxString_in_helper(obj3);
13800 if (arg4 == NULL) SWIG_fail;
13801 temp4 = true;
13802 }
13803 }
13804 if (obj4) {
13805 {
13806 arg5 = wxString_in_helper(obj4);
13807 if (arg5 == NULL) SWIG_fail;
13808 temp5 = true;
13809 }
13810 }
13811 if (obj5) {
13812 {
13813 arg6 = (long)(SWIG_As_long(obj5));
13814 if (SWIG_arg_fail(6)) SWIG_fail;
13815 }
13816 }
13817 if (obj6) {
13818 {
13819 arg7 = &temp7;
13820 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13821 }
13822 }
13823 {
13824 if (!wxPyCheckForApp()) SWIG_fail;
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
13832 {
13833 if (temp2)
13834 delete arg2;
13835 }
13836 {
13837 if (temp3)
13838 delete arg3;
13839 }
13840 {
13841 if (temp4)
13842 delete arg4;
13843 }
13844 {
13845 if (temp5)
13846 delete arg5;
13847 }
13848 return resultobj;
13849 fail:
13850 {
13851 if (temp2)
13852 delete arg2;
13853 }
13854 {
13855 if (temp3)
13856 delete arg3;
13857 }
13858 {
13859 if (temp4)
13860 delete arg4;
13861 }
13862 {
13863 if (temp5)
13864 delete arg5;
13865 }
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13873 wxString *arg2 = 0 ;
13874 bool temp2 = false ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self",(char *) "message", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13883 if (SWIG_arg_fail(1)) SWIG_fail;
13884 {
13885 arg2 = wxString_in_helper(obj1);
13886 if (arg2 == NULL) SWIG_fail;
13887 temp2 = true;
13888 }
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 (arg1)->SetMessage((wxString const &)*arg2);
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 Py_INCREF(Py_None); resultobj = Py_None;
13897 {
13898 if (temp2)
13899 delete arg2;
13900 }
13901 return resultobj;
13902 fail:
13903 {
13904 if (temp2)
13905 delete arg2;
13906 }
13907 return NULL;
13908 }
13909
13910
13911 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13912 PyObject *resultobj;
13913 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13914 wxString *arg2 = 0 ;
13915 bool temp2 = false ;
13916 PyObject * obj0 = 0 ;
13917 PyObject * obj1 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self",(char *) "path", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13924 if (SWIG_arg_fail(1)) SWIG_fail;
13925 {
13926 arg2 = wxString_in_helper(obj1);
13927 if (arg2 == NULL) SWIG_fail;
13928 temp2 = true;
13929 }
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 (arg1)->SetPath((wxString const &)*arg2);
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 Py_INCREF(Py_None); resultobj = Py_None;
13938 {
13939 if (temp2)
13940 delete arg2;
13941 }
13942 return resultobj;
13943 fail:
13944 {
13945 if (temp2)
13946 delete arg2;
13947 }
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13955 wxString *arg2 = 0 ;
13956 bool temp2 = false ;
13957 PyObject * obj0 = 0 ;
13958 PyObject * obj1 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self",(char *) "dir", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
13964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13965 if (SWIG_arg_fail(1)) SWIG_fail;
13966 {
13967 arg2 = wxString_in_helper(obj1);
13968 if (arg2 == NULL) SWIG_fail;
13969 temp2 = true;
13970 }
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 (arg1)->SetDirectory((wxString const &)*arg2);
13974
13975 wxPyEndAllowThreads(__tstate);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 }
13978 Py_INCREF(Py_None); resultobj = Py_None;
13979 {
13980 if (temp2)
13981 delete arg2;
13982 }
13983 return resultobj;
13984 fail:
13985 {
13986 if (temp2)
13987 delete arg2;
13988 }
13989 return NULL;
13990 }
13991
13992
13993 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
13994 PyObject *resultobj;
13995 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13996 wxString *arg2 = 0 ;
13997 bool temp2 = false ;
13998 PyObject * obj0 = 0 ;
13999 PyObject * obj1 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "name", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14006 if (SWIG_arg_fail(1)) SWIG_fail;
14007 {
14008 arg2 = wxString_in_helper(obj1);
14009 if (arg2 == NULL) SWIG_fail;
14010 temp2 = true;
14011 }
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 (arg1)->SetFilename((wxString const &)*arg2);
14015
14016 wxPyEndAllowThreads(__tstate);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
14019 Py_INCREF(Py_None); resultobj = Py_None;
14020 {
14021 if (temp2)
14022 delete arg2;
14023 }
14024 return resultobj;
14025 fail:
14026 {
14027 if (temp2)
14028 delete arg2;
14029 }
14030 return NULL;
14031 }
14032
14033
14034 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14035 PyObject *resultobj;
14036 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14037 wxString *arg2 = 0 ;
14038 bool temp2 = false ;
14039 PyObject * obj0 = 0 ;
14040 PyObject * obj1 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self",(char *) "wildCard", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14047 if (SWIG_arg_fail(1)) SWIG_fail;
14048 {
14049 arg2 = wxString_in_helper(obj1);
14050 if (arg2 == NULL) SWIG_fail;
14051 temp2 = true;
14052 }
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->SetWildcard((wxString const &)*arg2);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 {
14062 if (temp2)
14063 delete arg2;
14064 }
14065 return resultobj;
14066 fail:
14067 {
14068 if (temp2)
14069 delete arg2;
14070 }
14071 return NULL;
14072 }
14073
14074
14075 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj;
14077 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14078 long arg2 ;
14079 PyObject * obj0 = 0 ;
14080 PyObject * obj1 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self",(char *) "style", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail;
14088 {
14089 arg2 = (long)(SWIG_As_long(obj1));
14090 if (SWIG_arg_fail(2)) SWIG_fail;
14091 }
14092 {
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 (arg1)->SetStyle(arg2);
14095
14096 wxPyEndAllowThreads(__tstate);
14097 if (PyErr_Occurred()) SWIG_fail;
14098 }
14099 Py_INCREF(Py_None); resultobj = Py_None;
14100 return resultobj;
14101 fail:
14102 return NULL;
14103 }
14104
14105
14106 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14107 PyObject *resultobj;
14108 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14109 int arg2 ;
14110 PyObject * obj0 = 0 ;
14111 PyObject * obj1 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self",(char *) "filterIndex", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14118 if (SWIG_arg_fail(1)) SWIG_fail;
14119 {
14120 arg2 = (int)(SWIG_As_int(obj1));
14121 if (SWIG_arg_fail(2)) SWIG_fail;
14122 }
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 (arg1)->SetFilterIndex(arg2);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 Py_INCREF(Py_None); resultobj = Py_None;
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14140 wxString result;
14141 PyObject * obj0 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "self", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail;
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = ((wxFileDialog const *)arg1)->GetMessage();
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 {
14157 #if wxUSE_UNICODE
14158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14159 #else
14160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14161 #endif
14162 }
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14170 PyObject *resultobj;
14171 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14172 wxString result;
14173 PyObject * obj0 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail;
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = ((wxFileDialog const *)arg1)->GetPath();
14184
14185 wxPyEndAllowThreads(__tstate);
14186 if (PyErr_Occurred()) SWIG_fail;
14187 }
14188 {
14189 #if wxUSE_UNICODE
14190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14191 #else
14192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14193 #endif
14194 }
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14204 wxString result;
14205 PyObject * obj0 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14212 if (SWIG_arg_fail(1)) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = ((wxFileDialog const *)arg1)->GetDirectory();
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 {
14221 #if wxUSE_UNICODE
14222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14223 #else
14224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14225 #endif
14226 }
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14236 wxString result;
14237 PyObject * obj0 = 0 ;
14238 char *kwnames[] = {
14239 (char *) "self", NULL
14240 };
14241
14242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14244 if (SWIG_arg_fail(1)) SWIG_fail;
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = ((wxFileDialog const *)arg1)->GetFilename();
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 {
14253 #if wxUSE_UNICODE
14254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14255 #else
14256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14257 #endif
14258 }
14259 return resultobj;
14260 fail:
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14268 wxString result;
14269 PyObject * obj0 = 0 ;
14270 char *kwnames[] = {
14271 (char *) "self", NULL
14272 };
14273
14274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14276 if (SWIG_arg_fail(1)) SWIG_fail;
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = ((wxFileDialog const *)arg1)->GetWildcard();
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 {
14285 #if wxUSE_UNICODE
14286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14287 #else
14288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14289 #endif
14290 }
14291 return resultobj;
14292 fail:
14293 return NULL;
14294 }
14295
14296
14297 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14300 long result;
14301 PyObject * obj0 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "self", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14308 if (SWIG_arg_fail(1)) SWIG_fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 {
14317 resultobj = SWIG_From_long((long)(result));
14318 }
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj;
14327 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14328 int result;
14329 PyObject * obj0 = 0 ;
14330 char *kwnames[] = {
14331 (char *) "self", NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14336 if (SWIG_arg_fail(1)) SWIG_fail;
14337 {
14338 PyThreadState* __tstate = wxPyBeginAllowThreads();
14339 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14340
14341 wxPyEndAllowThreads(__tstate);
14342 if (PyErr_Occurred()) SWIG_fail;
14343 }
14344 {
14345 resultobj = SWIG_From_int((int)(result));
14346 }
14347 return resultobj;
14348 fail:
14349 return NULL;
14350 }
14351
14352
14353 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14356 PyObject *result;
14357 PyObject * obj0 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail;
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 resultobj = result;
14373 return resultobj;
14374 fail:
14375 return NULL;
14376 }
14377
14378
14379 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14380 PyObject *resultobj;
14381 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14382 PyObject *result;
14383 PyObject * obj0 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "self", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14390 if (SWIG_arg_fail(1)) SWIG_fail;
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = result;
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14406 PyObject *obj;
14407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14408 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14409 Py_INCREF(obj);
14410 return Py_BuildValue((char *)"");
14411 }
14412 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj;
14414 wxWindow *arg1 = (wxWindow *) 0 ;
14415 wxString *arg2 = 0 ;
14416 wxString *arg3 = 0 ;
14417 int arg4 = (int) 0 ;
14418 wxString *arg5 = (wxString *) NULL ;
14419 long arg6 = (long) wxCHOICEDLG_STYLE ;
14420 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14421 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14422 wxMultiChoiceDialog *result;
14423 bool temp2 = false ;
14424 bool temp3 = false ;
14425 wxPoint temp7 ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 PyObject * obj2 = 0 ;
14429 PyObject * obj3 = 0 ;
14430 PyObject * obj4 = 0 ;
14431 PyObject * obj5 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14438 if (SWIG_arg_fail(1)) SWIG_fail;
14439 {
14440 arg2 = wxString_in_helper(obj1);
14441 if (arg2 == NULL) SWIG_fail;
14442 temp2 = true;
14443 }
14444 {
14445 arg3 = wxString_in_helper(obj2);
14446 if (arg3 == NULL) SWIG_fail;
14447 temp3 = true;
14448 }
14449 if (obj3) {
14450 {
14451 arg4 = PyList_Size(obj3);
14452 arg5 = wxString_LIST_helper(obj3);
14453 if (arg5 == NULL) SWIG_fail;
14454 }
14455 }
14456 if (obj4) {
14457 {
14458 arg6 = (long)(SWIG_As_long(obj4));
14459 if (SWIG_arg_fail(6)) SWIG_fail;
14460 }
14461 }
14462 if (obj5) {
14463 {
14464 arg7 = &temp7;
14465 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14466 }
14467 }
14468 {
14469 if (!wxPyCheckForApp()) SWIG_fail;
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14477 {
14478 if (temp2)
14479 delete arg2;
14480 }
14481 {
14482 if (temp3)
14483 delete arg3;
14484 }
14485 {
14486 if (arg5) delete [] arg5;
14487 }
14488 return resultobj;
14489 fail:
14490 {
14491 if (temp2)
14492 delete arg2;
14493 }
14494 {
14495 if (temp3)
14496 delete arg3;
14497 }
14498 {
14499 if (arg5) delete [] arg5;
14500 }
14501 return NULL;
14502 }
14503
14504
14505 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj;
14507 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14508 wxArrayInt *arg2 = 0 ;
14509 bool temp2 = false ;
14510 PyObject * obj0 = 0 ;
14511 PyObject * obj1 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "selections", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14518 if (SWIG_arg_fail(1)) SWIG_fail;
14519 {
14520 if (! PySequence_Check(obj1)) {
14521 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14522 SWIG_fail;
14523 }
14524 arg2 = new wxArrayInt;
14525 temp2 = true;
14526 int i, len=PySequence_Length(obj1);
14527 for (i=0; i<len; i++) {
14528 PyObject* item = PySequence_GetItem(obj1, i);
14529 PyObject* number = PyNumber_Int(item);
14530 arg2->Add(PyInt_AS_LONG(number));
14531 Py_DECREF(item);
14532 Py_DECREF(number);
14533 }
14534 }
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 Py_INCREF(Py_None); resultobj = Py_None;
14543 {
14544 if (temp2) delete arg2;
14545 }
14546 return resultobj;
14547 fail:
14548 {
14549 if (temp2) delete arg2;
14550 }
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14558 PyObject *result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14566 if (SWIG_arg_fail(1)) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = result;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14582 PyObject *obj;
14583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14585 Py_INCREF(obj);
14586 return Py_BuildValue((char *)"");
14587 }
14588 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxWindow *arg1 = (wxWindow *) 0 ;
14591 wxString *arg2 = 0 ;
14592 wxString *arg3 = 0 ;
14593 int arg4 ;
14594 wxString *arg5 = (wxString *) 0 ;
14595 long arg6 = (long) wxCHOICEDLG_STYLE ;
14596 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14597 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14598 wxSingleChoiceDialog *result;
14599 bool temp2 = false ;
14600 bool temp3 = false ;
14601 wxPoint temp7 ;
14602 PyObject * obj0 = 0 ;
14603 PyObject * obj1 = 0 ;
14604 PyObject * obj2 = 0 ;
14605 PyObject * obj3 = 0 ;
14606 PyObject * obj4 = 0 ;
14607 PyObject * obj5 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14614 if (SWIG_arg_fail(1)) SWIG_fail;
14615 {
14616 arg2 = wxString_in_helper(obj1);
14617 if (arg2 == NULL) SWIG_fail;
14618 temp2 = true;
14619 }
14620 {
14621 arg3 = wxString_in_helper(obj2);
14622 if (arg3 == NULL) SWIG_fail;
14623 temp3 = true;
14624 }
14625 {
14626 arg4 = PyList_Size(obj3);
14627 arg5 = wxString_LIST_helper(obj3);
14628 if (arg5 == NULL) SWIG_fail;
14629 }
14630 if (obj4) {
14631 {
14632 arg6 = (long)(SWIG_As_long(obj4));
14633 if (SWIG_arg_fail(6)) SWIG_fail;
14634 }
14635 }
14636 if (obj5) {
14637 {
14638 arg7 = &temp7;
14639 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14640 }
14641 }
14642 {
14643 if (!wxPyCheckForApp()) SWIG_fail;
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14651 {
14652 if (temp2)
14653 delete arg2;
14654 }
14655 {
14656 if (temp3)
14657 delete arg3;
14658 }
14659 {
14660 if (arg5) delete [] arg5;
14661 }
14662 return resultobj;
14663 fail:
14664 {
14665 if (temp2)
14666 delete arg2;
14667 }
14668 {
14669 if (temp3)
14670 delete arg3;
14671 }
14672 {
14673 if (arg5) delete [] arg5;
14674 }
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14682 int result;
14683 PyObject * obj0 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail;
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (int)(arg1)->GetSelection();
14694
14695 wxPyEndAllowThreads(__tstate);
14696 if (PyErr_Occurred()) SWIG_fail;
14697 }
14698 {
14699 resultobj = SWIG_From_int((int)(result));
14700 }
14701 return resultobj;
14702 fail:
14703 return NULL;
14704 }
14705
14706
14707 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj;
14709 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14710 wxString result;
14711 PyObject * obj0 = 0 ;
14712 char *kwnames[] = {
14713 (char *) "self", NULL
14714 };
14715
14716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14718 if (SWIG_arg_fail(1)) SWIG_fail;
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 result = (arg1)->GetStringSelection();
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 {
14727 #if wxUSE_UNICODE
14728 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14729 #else
14730 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14731 #endif
14732 }
14733 return resultobj;
14734 fail:
14735 return NULL;
14736 }
14737
14738
14739 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj;
14741 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14742 int arg2 ;
14743 PyObject * obj0 = 0 ;
14744 PyObject * obj1 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self",(char *) "sel", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail;
14752 {
14753 arg2 = (int)(SWIG_As_int(obj1));
14754 if (SWIG_arg_fail(2)) SWIG_fail;
14755 }
14756 {
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 (arg1)->SetSelection(arg2);
14759
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 Py_INCREF(Py_None); resultobj = Py_None;
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14771 PyObject *obj;
14772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14773 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14774 Py_INCREF(obj);
14775 return Py_BuildValue((char *)"");
14776 }
14777 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj;
14779 wxWindow *arg1 = (wxWindow *) 0 ;
14780 wxString *arg2 = 0 ;
14781 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14782 wxString *arg3 = (wxString *) &arg3_defvalue ;
14783 wxString const &arg4_defvalue = wxPyEmptyString ;
14784 wxString *arg4 = (wxString *) &arg4_defvalue ;
14785 long arg5 = (long) wxTextEntryDialogStyle ;
14786 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14787 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14788 wxTextEntryDialog *result;
14789 bool temp2 = false ;
14790 bool temp3 = false ;
14791 bool temp4 = false ;
14792 wxPoint temp6 ;
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 PyObject * obj2 = 0 ;
14796 PyObject * obj3 = 0 ;
14797 PyObject * obj4 = 0 ;
14798 PyObject * obj5 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail;
14806 {
14807 arg2 = wxString_in_helper(obj1);
14808 if (arg2 == NULL) SWIG_fail;
14809 temp2 = true;
14810 }
14811 if (obj2) {
14812 {
14813 arg3 = wxString_in_helper(obj2);
14814 if (arg3 == NULL) SWIG_fail;
14815 temp3 = true;
14816 }
14817 }
14818 if (obj3) {
14819 {
14820 arg4 = wxString_in_helper(obj3);
14821 if (arg4 == NULL) SWIG_fail;
14822 temp4 = true;
14823 }
14824 }
14825 if (obj4) {
14826 {
14827 arg5 = (long)(SWIG_As_long(obj4));
14828 if (SWIG_arg_fail(5)) SWIG_fail;
14829 }
14830 }
14831 if (obj5) {
14832 {
14833 arg6 = &temp6;
14834 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14835 }
14836 }
14837 {
14838 if (!wxPyCheckForApp()) SWIG_fail;
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
14846 {
14847 if (temp2)
14848 delete arg2;
14849 }
14850 {
14851 if (temp3)
14852 delete arg3;
14853 }
14854 {
14855 if (temp4)
14856 delete arg4;
14857 }
14858 return resultobj;
14859 fail:
14860 {
14861 if (temp2)
14862 delete arg2;
14863 }
14864 {
14865 if (temp3)
14866 delete arg3;
14867 }
14868 {
14869 if (temp4)
14870 delete arg4;
14871 }
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14879 wxString result;
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
14886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14887 if (SWIG_arg_fail(1)) SWIG_fail;
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (arg1)->GetValue();
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 {
14896 #if wxUSE_UNICODE
14897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14898 #else
14899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14900 #endif
14901 }
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14911 wxString *arg2 = 0 ;
14912 bool temp2 = false ;
14913 PyObject * obj0 = 0 ;
14914 PyObject * obj1 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self",(char *) "value", NULL
14917 };
14918
14919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
14920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14921 if (SWIG_arg_fail(1)) SWIG_fail;
14922 {
14923 arg2 = wxString_in_helper(obj1);
14924 if (arg2 == NULL) SWIG_fail;
14925 temp2 = true;
14926 }
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 (arg1)->SetValue((wxString const &)*arg2);
14930
14931 wxPyEndAllowThreads(__tstate);
14932 if (PyErr_Occurred()) SWIG_fail;
14933 }
14934 Py_INCREF(Py_None); resultobj = Py_None;
14935 {
14936 if (temp2)
14937 delete arg2;
14938 }
14939 return resultobj;
14940 fail:
14941 {
14942 if (temp2)
14943 delete arg2;
14944 }
14945 return NULL;
14946 }
14947
14948
14949 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
14950 PyObject *obj;
14951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14952 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
14953 Py_INCREF(obj);
14954 return Py_BuildValue((char *)"");
14955 }
14956 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
14957 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
14958 return 1;
14959 }
14960
14961
14962 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
14963 PyObject *pyobj;
14964
14965 {
14966 #if wxUSE_UNICODE
14967 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14968 #else
14969 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14970 #endif
14971 }
14972 return pyobj;
14973 }
14974
14975
14976 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxWindow *arg1 = (wxWindow *) 0 ;
14979 wxString *arg2 = 0 ;
14980 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
14981 wxString *arg3 = (wxString *) &arg3_defvalue ;
14982 wxString const &arg4_defvalue = wxPyEmptyString ;
14983 wxString *arg4 = (wxString *) &arg4_defvalue ;
14984 long arg5 = (long) wxTextEntryDialogStyle ;
14985 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14986 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14987 wxPasswordEntryDialog *result;
14988 bool temp2 = false ;
14989 bool temp3 = false ;
14990 bool temp4 = false ;
14991 wxPoint temp6 ;
14992 PyObject * obj0 = 0 ;
14993 PyObject * obj1 = 0 ;
14994 PyObject * obj2 = 0 ;
14995 PyObject * obj3 = 0 ;
14996 PyObject * obj4 = 0 ;
14997 PyObject * obj5 = 0 ;
14998 char *kwnames[] = {
14999 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15000 };
15001
15002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15004 if (SWIG_arg_fail(1)) SWIG_fail;
15005 {
15006 arg2 = wxString_in_helper(obj1);
15007 if (arg2 == NULL) SWIG_fail;
15008 temp2 = true;
15009 }
15010 if (obj2) {
15011 {
15012 arg3 = wxString_in_helper(obj2);
15013 if (arg3 == NULL) SWIG_fail;
15014 temp3 = true;
15015 }
15016 }
15017 if (obj3) {
15018 {
15019 arg4 = wxString_in_helper(obj3);
15020 if (arg4 == NULL) SWIG_fail;
15021 temp4 = true;
15022 }
15023 }
15024 if (obj4) {
15025 {
15026 arg5 = (long)(SWIG_As_long(obj4));
15027 if (SWIG_arg_fail(5)) SWIG_fail;
15028 }
15029 }
15030 if (obj5) {
15031 {
15032 arg6 = &temp6;
15033 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15034 }
15035 }
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15044 {
15045 if (temp2)
15046 delete arg2;
15047 }
15048 {
15049 if (temp3)
15050 delete arg3;
15051 }
15052 {
15053 if (temp4)
15054 delete arg4;
15055 }
15056 return resultobj;
15057 fail:
15058 {
15059 if (temp2)
15060 delete arg2;
15061 }
15062 {
15063 if (temp3)
15064 delete arg3;
15065 }
15066 {
15067 if (temp4)
15068 delete arg4;
15069 }
15070 return NULL;
15071 }
15072
15073
15074 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15075 PyObject *obj;
15076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15077 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15078 Py_INCREF(obj);
15079 return Py_BuildValue((char *)"");
15080 }
15081 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj;
15083 wxFontData *result;
15084 char *kwnames[] = {
15085 NULL
15086 };
15087
15088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (wxFontData *)new wxFontData();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxFontData *arg1 = (wxFontData *) 0 ;
15106 PyObject * obj0 = 0 ;
15107 char *kwnames[] = {
15108 (char *) "self", NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15113 if (SWIG_arg_fail(1)) SWIG_fail;
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 delete arg1;
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 Py_INCREF(Py_None); resultobj = Py_None;
15122 return resultobj;
15123 fail:
15124 return NULL;
15125 }
15126
15127
15128 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxFontData *arg1 = (wxFontData *) 0 ;
15131 bool arg2 ;
15132 PyObject * obj0 = 0 ;
15133 PyObject * obj1 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "self",(char *) "enable", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15140 if (SWIG_arg_fail(1)) SWIG_fail;
15141 {
15142 arg2 = (bool)(SWIG_As_bool(obj1));
15143 if (SWIG_arg_fail(2)) SWIG_fail;
15144 }
15145 {
15146 PyThreadState* __tstate = wxPyBeginAllowThreads();
15147 (arg1)->EnableEffects(arg2);
15148
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 Py_INCREF(Py_None); resultobj = Py_None;
15153 return resultobj;
15154 fail:
15155 return NULL;
15156 }
15157
15158
15159 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15160 PyObject *resultobj;
15161 wxFontData *arg1 = (wxFontData *) 0 ;
15162 bool result;
15163 PyObject * obj0 = 0 ;
15164 char *kwnames[] = {
15165 (char *) "self", NULL
15166 };
15167
15168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15170 if (SWIG_arg_fail(1)) SWIG_fail;
15171 {
15172 PyThreadState* __tstate = wxPyBeginAllowThreads();
15173 result = (bool)(arg1)->GetAllowSymbols();
15174
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 {
15179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15180 }
15181 return resultobj;
15182 fail:
15183 return NULL;
15184 }
15185
15186
15187 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxFontData *arg1 = (wxFontData *) 0 ;
15190 wxColour result;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15198 if (SWIG_arg_fail(1)) SWIG_fail;
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (arg1)->GetColour();
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 {
15207 wxColour * resultptr;
15208 resultptr = new wxColour((wxColour &)(result));
15209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15210 }
15211 return resultobj;
15212 fail:
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxFontData *arg1 = (wxFontData *) 0 ;
15220 wxFont result;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (arg1)->GetChosenFont();
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 {
15237 wxFont * resultptr;
15238 resultptr = new wxFont((wxFont &)(result));
15239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15240 }
15241 return resultobj;
15242 fail:
15243 return NULL;
15244 }
15245
15246
15247 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj;
15249 wxFontData *arg1 = (wxFontData *) 0 ;
15250 bool result;
15251 PyObject * obj0 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15258 if (SWIG_arg_fail(1)) SWIG_fail;
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (bool)(arg1)->GetEnableEffects();
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 {
15267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15268 }
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxFontData *arg1 = (wxFontData *) 0 ;
15278 wxFont result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (arg1)->GetInitialFont();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 {
15295 wxFont * resultptr;
15296 resultptr = new wxFont((wxFont &)(result));
15297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15298 }
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxFontData *arg1 = (wxFontData *) 0 ;
15308 bool result;
15309 PyObject * obj0 = 0 ;
15310 char *kwnames[] = {
15311 (char *) "self", NULL
15312 };
15313
15314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15316 if (SWIG_arg_fail(1)) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (bool)(arg1)->GetShowHelp();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 {
15325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15326 }
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxFontData *arg1 = (wxFontData *) 0 ;
15336 bool arg2 ;
15337 PyObject * obj0 = 0 ;
15338 PyObject * obj1 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self",(char *) "allowSymbols", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15345 if (SWIG_arg_fail(1)) SWIG_fail;
15346 {
15347 arg2 = (bool)(SWIG_As_bool(obj1));
15348 if (SWIG_arg_fail(2)) SWIG_fail;
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->SetAllowSymbols(arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15365 PyObject *resultobj;
15366 wxFontData *arg1 = (wxFontData *) 0 ;
15367 wxFont *arg2 = 0 ;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "font", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15376 if (SWIG_arg_fail(1)) SWIG_fail;
15377 {
15378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15379 if (SWIG_arg_fail(2)) SWIG_fail;
15380 if (arg2 == NULL) {
15381 SWIG_null_ref("wxFont");
15382 }
15383 if (SWIG_arg_fail(2)) SWIG_fail;
15384 }
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 (arg1)->SetChosenFont((wxFont const &)*arg2);
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 Py_INCREF(Py_None); resultobj = Py_None;
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxFontData *arg1 = (wxFontData *) 0 ;
15402 wxColour *arg2 = 0 ;
15403 wxColour temp2 ;
15404 PyObject * obj0 = 0 ;
15405 PyObject * obj1 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self",(char *) "colour", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail;
15413 {
15414 arg2 = &temp2;
15415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15416 }
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 (arg1)->SetColour((wxColour const &)*arg2);
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
15424 Py_INCREF(Py_None); resultobj = Py_None;
15425 return resultobj;
15426 fail:
15427 return NULL;
15428 }
15429
15430
15431 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxFontData *arg1 = (wxFontData *) 0 ;
15434 wxFont *arg2 = 0 ;
15435 PyObject * obj0 = 0 ;
15436 PyObject * obj1 = 0 ;
15437 char *kwnames[] = {
15438 (char *) "self",(char *) "font", NULL
15439 };
15440
15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail;
15444 {
15445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15446 if (SWIG_arg_fail(2)) SWIG_fail;
15447 if (arg2 == NULL) {
15448 SWIG_null_ref("wxFont");
15449 }
15450 if (SWIG_arg_fail(2)) SWIG_fail;
15451 }
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 (arg1)->SetInitialFont((wxFont const &)*arg2);
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 Py_INCREF(Py_None); resultobj = Py_None;
15460 return resultobj;
15461 fail:
15462 return NULL;
15463 }
15464
15465
15466 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15467 PyObject *resultobj;
15468 wxFontData *arg1 = (wxFontData *) 0 ;
15469 int arg2 ;
15470 int arg3 ;
15471 PyObject * obj0 = 0 ;
15472 PyObject * obj1 = 0 ;
15473 PyObject * obj2 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self",(char *) "min",(char *) "max", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail;
15481 {
15482 arg2 = (int)(SWIG_As_int(obj1));
15483 if (SWIG_arg_fail(2)) SWIG_fail;
15484 }
15485 {
15486 arg3 = (int)(SWIG_As_int(obj2));
15487 if (SWIG_arg_fail(3)) SWIG_fail;
15488 }
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->SetRange(arg2,arg3);
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 Py_INCREF(Py_None); resultobj = Py_None;
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxFontData *arg1 = (wxFontData *) 0 ;
15506 bool arg2 ;
15507 PyObject * obj0 = 0 ;
15508 PyObject * obj1 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self",(char *) "showHelp", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail;
15516 {
15517 arg2 = (bool)(SWIG_As_bool(obj1));
15518 if (SWIG_arg_fail(2)) SWIG_fail;
15519 }
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 (arg1)->SetShowHelp(arg2);
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 Py_INCREF(Py_None); resultobj = Py_None;
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15535 PyObject *obj;
15536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15537 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15538 Py_INCREF(obj);
15539 return Py_BuildValue((char *)"");
15540 }
15541 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15542 PyObject *resultobj;
15543 wxWindow *arg1 = (wxWindow *) 0 ;
15544 wxFontData *arg2 = 0 ;
15545 wxFontDialog *result;
15546 PyObject * obj0 = 0 ;
15547 PyObject * obj1 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "parent",(char *) "data", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15554 if (SWIG_arg_fail(1)) SWIG_fail;
15555 {
15556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15557 if (SWIG_arg_fail(2)) SWIG_fail;
15558 if (arg2 == NULL) {
15559 SWIG_null_ref("wxFontData");
15560 }
15561 if (SWIG_arg_fail(2)) SWIG_fail;
15562 }
15563 {
15564 if (!wxPyCheckForApp()) SWIG_fail;
15565 PyThreadState* __tstate = wxPyBeginAllowThreads();
15566 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15567
15568 wxPyEndAllowThreads(__tstate);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15572 return resultobj;
15573 fail:
15574 return NULL;
15575 }
15576
15577
15578 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15579 PyObject *resultobj;
15580 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15581 wxFontData *result;
15582 PyObject * obj0 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 {
15593 wxFontData &_result_ref = (arg1)->GetFontData();
15594 result = (wxFontData *) &_result_ref;
15595 }
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15608 PyObject *obj;
15609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15610 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15611 Py_INCREF(obj);
15612 return Py_BuildValue((char *)"");
15613 }
15614 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxWindow *arg1 = (wxWindow *) 0 ;
15617 wxString *arg2 = 0 ;
15618 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15619 wxString *arg3 = (wxString *) &arg3_defvalue ;
15620 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15621 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15622 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15623 wxMessageDialog *result;
15624 bool temp2 = false ;
15625 bool temp3 = false ;
15626 wxPoint temp5 ;
15627 PyObject * obj0 = 0 ;
15628 PyObject * obj1 = 0 ;
15629 PyObject * obj2 = 0 ;
15630 PyObject * obj3 = 0 ;
15631 PyObject * obj4 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15638 if (SWIG_arg_fail(1)) SWIG_fail;
15639 {
15640 arg2 = wxString_in_helper(obj1);
15641 if (arg2 == NULL) SWIG_fail;
15642 temp2 = true;
15643 }
15644 if (obj2) {
15645 {
15646 arg3 = wxString_in_helper(obj2);
15647 if (arg3 == NULL) SWIG_fail;
15648 temp3 = true;
15649 }
15650 }
15651 if (obj3) {
15652 {
15653 arg4 = (long)(SWIG_As_long(obj3));
15654 if (SWIG_arg_fail(4)) SWIG_fail;
15655 }
15656 }
15657 if (obj4) {
15658 {
15659 arg5 = &temp5;
15660 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15661 }
15662 }
15663 {
15664 if (!wxPyCheckForApp()) SWIG_fail;
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15672 {
15673 if (temp2)
15674 delete arg2;
15675 }
15676 {
15677 if (temp3)
15678 delete arg3;
15679 }
15680 return resultobj;
15681 fail:
15682 {
15683 if (temp2)
15684 delete arg2;
15685 }
15686 {
15687 if (temp3)
15688 delete arg3;
15689 }
15690 return NULL;
15691 }
15692
15693
15694 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15695 PyObject *obj;
15696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15697 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15698 Py_INCREF(obj);
15699 return Py_BuildValue((char *)"");
15700 }
15701 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxString *arg1 = 0 ;
15704 wxString *arg2 = 0 ;
15705 int arg3 = (int) 100 ;
15706 wxWindow *arg4 = (wxWindow *) NULL ;
15707 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15708 wxProgressDialog *result;
15709 bool temp1 = false ;
15710 bool temp2 = false ;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15713 PyObject * obj2 = 0 ;
15714 PyObject * obj3 = 0 ;
15715 PyObject * obj4 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15721 {
15722 arg1 = wxString_in_helper(obj0);
15723 if (arg1 == NULL) SWIG_fail;
15724 temp1 = true;
15725 }
15726 {
15727 arg2 = wxString_in_helper(obj1);
15728 if (arg2 == NULL) SWIG_fail;
15729 temp2 = true;
15730 }
15731 if (obj2) {
15732 {
15733 arg3 = (int)(SWIG_As_int(obj2));
15734 if (SWIG_arg_fail(3)) SWIG_fail;
15735 }
15736 }
15737 if (obj3) {
15738 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15739 if (SWIG_arg_fail(4)) SWIG_fail;
15740 }
15741 if (obj4) {
15742 {
15743 arg5 = (int)(SWIG_As_int(obj4));
15744 if (SWIG_arg_fail(5)) SWIG_fail;
15745 }
15746 }
15747 {
15748 if (!wxPyCheckForApp()) SWIG_fail;
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15756 {
15757 if (temp1)
15758 delete arg1;
15759 }
15760 {
15761 if (temp2)
15762 delete arg2;
15763 }
15764 return resultobj;
15765 fail:
15766 {
15767 if (temp1)
15768 delete arg1;
15769 }
15770 {
15771 if (temp2)
15772 delete arg2;
15773 }
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15781 int arg2 ;
15782 wxString const &arg3_defvalue = wxPyEmptyString ;
15783 wxString *arg3 = (wxString *) &arg3_defvalue ;
15784 bool result;
15785 bool temp3 = false ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 PyObject * obj2 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15795 if (SWIG_arg_fail(1)) SWIG_fail;
15796 {
15797 arg2 = (int)(SWIG_As_int(obj1));
15798 if (SWIG_arg_fail(2)) SWIG_fail;
15799 }
15800 if (obj2) {
15801 {
15802 arg3 = wxString_in_helper(obj2);
15803 if (arg3 == NULL) SWIG_fail;
15804 temp3 = true;
15805 }
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15816 }
15817 {
15818 if (temp3)
15819 delete arg3;
15820 }
15821 return resultobj;
15822 fail:
15823 {
15824 if (temp3)
15825 delete arg3;
15826 }
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15834 PyObject * obj0 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "self", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail;
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 (arg1)->Resume();
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 Py_INCREF(Py_None); resultobj = Py_None;
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
15857 PyObject *obj;
15858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15860 Py_INCREF(obj);
15861 return Py_BuildValue((char *)"");
15862 }
15863 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15866 int arg2 = (int) 0 ;
15867 wxFindDialogEvent *result;
15868 PyObject * obj0 = 0 ;
15869 PyObject * obj1 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "commandType",(char *) "id", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15875 if (obj0) {
15876 {
15877 arg1 = (wxEventType)(SWIG_As_int(obj0));
15878 if (SWIG_arg_fail(1)) SWIG_fail;
15879 }
15880 }
15881 if (obj1) {
15882 {
15883 arg2 = (int)(SWIG_As_int(obj1));
15884 if (SWIG_arg_fail(2)) SWIG_fail;
15885 }
15886 }
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15904 int result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15912 if (SWIG_arg_fail(1)) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (int)(arg1)->GetFlags();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 {
15921 resultobj = SWIG_From_int((int)(result));
15922 }
15923 return resultobj;
15924 fail:
15925 return NULL;
15926 }
15927
15928
15929 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15932 wxString *result;
15933 PyObject * obj0 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15940 if (SWIG_arg_fail(1)) SWIG_fail;
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 {
15944 wxString const &_result_ref = (arg1)->GetFindString();
15945 result = (wxString *) &_result_ref;
15946 }
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 {
15952 #if wxUSE_UNICODE
15953 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15954 #else
15955 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15956 #endif
15957 }
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15967 wxString *result;
15968 PyObject * obj0 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15975 if (SWIG_arg_fail(1)) SWIG_fail;
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 {
15979 wxString const &_result_ref = (arg1)->GetReplaceString();
15980 result = (wxString *) &_result_ref;
15981 }
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 {
15987 #if wxUSE_UNICODE
15988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15989 #else
15990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15991 #endif
15992 }
15993 return resultobj;
15994 fail:
15995 return NULL;
15996 }
15997
15998
15999 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16002 wxFindReplaceDialog *result;
16003 PyObject * obj0 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail;
16011 {
16012 PyThreadState* __tstate = wxPyBeginAllowThreads();
16013 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16014
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16019 return resultobj;
16020 fail:
16021 return NULL;
16022 }
16023
16024
16025 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16026 PyObject *resultobj;
16027 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16028 int arg2 ;
16029 PyObject * obj0 = 0 ;
16030 PyObject * obj1 = 0 ;
16031 char *kwnames[] = {
16032 (char *) "self",(char *) "flags", NULL
16033 };
16034
16035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16037 if (SWIG_arg_fail(1)) SWIG_fail;
16038 {
16039 arg2 = (int)(SWIG_As_int(obj1));
16040 if (SWIG_arg_fail(2)) SWIG_fail;
16041 }
16042 {
16043 PyThreadState* __tstate = wxPyBeginAllowThreads();
16044 (arg1)->SetFlags(arg2);
16045
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
16049 Py_INCREF(Py_None); resultobj = Py_None;
16050 return resultobj;
16051 fail:
16052 return NULL;
16053 }
16054
16055
16056 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16059 wxString *arg2 = 0 ;
16060 bool temp2 = false ;
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 char *kwnames[] = {
16064 (char *) "self",(char *) "str", NULL
16065 };
16066
16067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16069 if (SWIG_arg_fail(1)) SWIG_fail;
16070 {
16071 arg2 = wxString_in_helper(obj1);
16072 if (arg2 == NULL) SWIG_fail;
16073 temp2 = true;
16074 }
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
16077 (arg1)->SetFindString((wxString const &)*arg2);
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 Py_INCREF(Py_None); resultobj = Py_None;
16083 {
16084 if (temp2)
16085 delete arg2;
16086 }
16087 return resultobj;
16088 fail:
16089 {
16090 if (temp2)
16091 delete arg2;
16092 }
16093 return NULL;
16094 }
16095
16096
16097 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16098 PyObject *resultobj;
16099 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16100 wxString *arg2 = 0 ;
16101 bool temp2 = false ;
16102 PyObject * obj0 = 0 ;
16103 PyObject * obj1 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self",(char *) "str", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail;
16111 {
16112 arg2 = wxString_in_helper(obj1);
16113 if (arg2 == NULL) SWIG_fail;
16114 temp2 = true;
16115 }
16116 {
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 (arg1)->SetReplaceString((wxString const &)*arg2);
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 Py_INCREF(Py_None); resultobj = Py_None;
16124 {
16125 if (temp2)
16126 delete arg2;
16127 }
16128 return resultobj;
16129 fail:
16130 {
16131 if (temp2)
16132 delete arg2;
16133 }
16134 return NULL;
16135 }
16136
16137
16138 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16139 PyObject *obj;
16140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16142 Py_INCREF(obj);
16143 return Py_BuildValue((char *)"");
16144 }
16145 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16146 PyObject *resultobj;
16147 int arg1 = (int) 0 ;
16148 wxFindReplaceData *result;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "flags", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16155 if (obj0) {
16156 {
16157 arg1 = (int)(SWIG_As_int(obj0));
16158 if (SWIG_arg_fail(1)) SWIG_fail;
16159 }
16160 }
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16169 return resultobj;
16170 fail:
16171 return NULL;
16172 }
16173
16174
16175 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16176 PyObject *resultobj;
16177 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16185 if (SWIG_arg_fail(1)) SWIG_fail;
16186 {
16187 PyThreadState* __tstate = wxPyBeginAllowThreads();
16188 delete arg1;
16189
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16203 wxString *result;
16204 PyObject * obj0 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16211 if (SWIG_arg_fail(1)) SWIG_fail;
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 {
16215 wxString const &_result_ref = (arg1)->GetFindString();
16216 result = (wxString *) &_result_ref;
16217 }
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 {
16223 #if wxUSE_UNICODE
16224 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16225 #else
16226 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16227 #endif
16228 }
16229 return resultobj;
16230 fail:
16231 return NULL;
16232 }
16233
16234
16235 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16238 wxString *result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail;
16247 {
16248 PyThreadState* __tstate = wxPyBeginAllowThreads();
16249 {
16250 wxString const &_result_ref = (arg1)->GetReplaceString();
16251 result = (wxString *) &_result_ref;
16252 }
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 #if wxUSE_UNICODE
16259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16260 #else
16261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16262 #endif
16263 }
16264 return resultobj;
16265 fail:
16266 return NULL;
16267 }
16268
16269
16270 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16273 int result;
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16281 if (SWIG_arg_fail(1)) SWIG_fail;
16282 {
16283 PyThreadState* __tstate = wxPyBeginAllowThreads();
16284 result = (int)(arg1)->GetFlags();
16285
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 {
16290 resultobj = SWIG_From_int((int)(result));
16291 }
16292 return resultobj;
16293 fail:
16294 return NULL;
16295 }
16296
16297
16298 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16299 PyObject *resultobj;
16300 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16301 int arg2 ;
16302 PyObject * obj0 = 0 ;
16303 PyObject * obj1 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "flags", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16310 if (SWIG_arg_fail(1)) SWIG_fail;
16311 {
16312 arg2 = (int)(SWIG_As_int(obj1));
16313 if (SWIG_arg_fail(2)) SWIG_fail;
16314 }
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->SetFlags(arg2);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16332 wxString *arg2 = 0 ;
16333 bool temp2 = false ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "str", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail;
16343 {
16344 arg2 = wxString_in_helper(obj1);
16345 if (arg2 == NULL) SWIG_fail;
16346 temp2 = true;
16347 }
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 (arg1)->SetFindString((wxString const &)*arg2);
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 Py_INCREF(Py_None); resultobj = Py_None;
16356 {
16357 if (temp2)
16358 delete arg2;
16359 }
16360 return resultobj;
16361 fail:
16362 {
16363 if (temp2)
16364 delete arg2;
16365 }
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16373 wxString *arg2 = 0 ;
16374 bool temp2 = false ;
16375 PyObject * obj0 = 0 ;
16376 PyObject * obj1 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self",(char *) "str", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16383 if (SWIG_arg_fail(1)) SWIG_fail;
16384 {
16385 arg2 = wxString_in_helper(obj1);
16386 if (arg2 == NULL) SWIG_fail;
16387 temp2 = true;
16388 }
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 (arg1)->SetReplaceString((wxString const &)*arg2);
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 Py_INCREF(Py_None); resultobj = Py_None;
16397 {
16398 if (temp2)
16399 delete arg2;
16400 }
16401 return resultobj;
16402 fail:
16403 {
16404 if (temp2)
16405 delete arg2;
16406 }
16407 return NULL;
16408 }
16409
16410
16411 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16412 PyObject *obj;
16413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16414 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16415 Py_INCREF(obj);
16416 return Py_BuildValue((char *)"");
16417 }
16418 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxWindow *arg1 = (wxWindow *) 0 ;
16421 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16422 wxString *arg3 = 0 ;
16423 int arg4 = (int) 0 ;
16424 wxFindReplaceDialog *result;
16425 bool temp3 = false ;
16426 PyObject * obj0 = 0 ;
16427 PyObject * obj1 = 0 ;
16428 PyObject * obj2 = 0 ;
16429 PyObject * obj3 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail;
16437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16438 if (SWIG_arg_fail(2)) SWIG_fail;
16439 {
16440 arg3 = wxString_in_helper(obj2);
16441 if (arg3 == NULL) SWIG_fail;
16442 temp3 = true;
16443 }
16444 if (obj3) {
16445 {
16446 arg4 = (int)(SWIG_As_int(obj3));
16447 if (SWIG_arg_fail(4)) SWIG_fail;
16448 }
16449 }
16450 {
16451 if (!wxPyCheckForApp()) SWIG_fail;
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16459 {
16460 if (temp3)
16461 delete arg3;
16462 }
16463 return resultobj;
16464 fail:
16465 {
16466 if (temp3)
16467 delete arg3;
16468 }
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxFindReplaceDialog *result;
16476 char *kwnames[] = {
16477 NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16481 {
16482 if (!wxPyCheckForApp()) SWIG_fail;
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16499 wxWindow *arg2 = (wxWindow *) 0 ;
16500 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16501 wxString *arg4 = 0 ;
16502 int arg5 = (int) 0 ;
16503 bool result;
16504 bool temp4 = false ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 PyObject * obj2 = 0 ;
16508 PyObject * obj3 = 0 ;
16509 PyObject * obj4 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail;
16517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16518 if (SWIG_arg_fail(2)) SWIG_fail;
16519 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16520 if (SWIG_arg_fail(3)) SWIG_fail;
16521 {
16522 arg4 = wxString_in_helper(obj3);
16523 if (arg4 == NULL) SWIG_fail;
16524 temp4 = true;
16525 }
16526 if (obj4) {
16527 {
16528 arg5 = (int)(SWIG_As_int(obj4));
16529 if (SWIG_arg_fail(5)) SWIG_fail;
16530 }
16531 }
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 {
16540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16541 }
16542 {
16543 if (temp4)
16544 delete arg4;
16545 }
16546 return resultobj;
16547 fail:
16548 {
16549 if (temp4)
16550 delete arg4;
16551 }
16552 return NULL;
16553 }
16554
16555
16556 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16557 PyObject *resultobj;
16558 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16559 wxFindReplaceData *result;
16560 PyObject * obj0 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail;
16568 {
16569 PyThreadState* __tstate = wxPyBeginAllowThreads();
16570 result = (wxFindReplaceData *)(arg1)->GetData();
16571
16572 wxPyEndAllowThreads(__tstate);
16573 if (PyErr_Occurred()) SWIG_fail;
16574 }
16575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16585 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16586 PyObject * obj0 = 0 ;
16587 PyObject * obj1 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self",(char *) "data", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16594 if (SWIG_arg_fail(1)) SWIG_fail;
16595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16596 if (SWIG_arg_fail(2)) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 (arg1)->SetData(arg2);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16612 PyObject *obj;
16613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16615 Py_INCREF(obj);
16616 return Py_BuildValue((char *)"");
16617 }
16618 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxWindow *arg1 = (wxWindow *) 0 ;
16621 int arg2 = (int) (int)-1 ;
16622 wxString const &arg3_defvalue = wxPyEmptyString ;
16623 wxString *arg3 = (wxString *) &arg3_defvalue ;
16624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16626 wxSize const &arg5_defvalue = wxDefaultSize ;
16627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16628 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16629 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16630 wxString *arg7 = (wxString *) &arg7_defvalue ;
16631 wxMDIParentFrame *result;
16632 bool temp3 = false ;
16633 wxPoint temp4 ;
16634 wxSize temp5 ;
16635 bool temp7 = false ;
16636 PyObject * obj0 = 0 ;
16637 PyObject * obj1 = 0 ;
16638 PyObject * obj2 = 0 ;
16639 PyObject * obj3 = 0 ;
16640 PyObject * obj4 = 0 ;
16641 PyObject * obj5 = 0 ;
16642 PyObject * obj6 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail;
16650 if (obj1) {
16651 {
16652 arg2 = (int const)(SWIG_As_int(obj1));
16653 if (SWIG_arg_fail(2)) SWIG_fail;
16654 }
16655 }
16656 if (obj2) {
16657 {
16658 arg3 = wxString_in_helper(obj2);
16659 if (arg3 == NULL) SWIG_fail;
16660 temp3 = true;
16661 }
16662 }
16663 if (obj3) {
16664 {
16665 arg4 = &temp4;
16666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16667 }
16668 }
16669 if (obj4) {
16670 {
16671 arg5 = &temp5;
16672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16673 }
16674 }
16675 if (obj5) {
16676 {
16677 arg6 = (long)(SWIG_As_long(obj5));
16678 if (SWIG_arg_fail(6)) SWIG_fail;
16679 }
16680 }
16681 if (obj6) {
16682 {
16683 arg7 = wxString_in_helper(obj6);
16684 if (arg7 == NULL) SWIG_fail;
16685 temp7 = true;
16686 }
16687 }
16688 {
16689 if (!wxPyCheckForApp()) SWIG_fail;
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16697 {
16698 if (temp3)
16699 delete arg3;
16700 }
16701 {
16702 if (temp7)
16703 delete arg7;
16704 }
16705 return resultobj;
16706 fail:
16707 {
16708 if (temp3)
16709 delete arg3;
16710 }
16711 {
16712 if (temp7)
16713 delete arg7;
16714 }
16715 return NULL;
16716 }
16717
16718
16719 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxMDIParentFrame *result;
16722 char *kwnames[] = {
16723 NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16727 {
16728 if (!wxPyCheckForApp()) SWIG_fail;
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
16735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16736 return resultobj;
16737 fail:
16738 return NULL;
16739 }
16740
16741
16742 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16745 wxWindow *arg2 = (wxWindow *) 0 ;
16746 int arg3 = (int) (int)-1 ;
16747 wxString const &arg4_defvalue = wxPyEmptyString ;
16748 wxString *arg4 = (wxString *) &arg4_defvalue ;
16749 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16750 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16751 wxSize const &arg6_defvalue = wxDefaultSize ;
16752 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16753 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16754 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16755 wxString *arg8 = (wxString *) &arg8_defvalue ;
16756 bool result;
16757 bool temp4 = false ;
16758 wxPoint temp5 ;
16759 wxSize temp6 ;
16760 bool temp8 = false ;
16761 PyObject * obj0 = 0 ;
16762 PyObject * obj1 = 0 ;
16763 PyObject * obj2 = 0 ;
16764 PyObject * obj3 = 0 ;
16765 PyObject * obj4 = 0 ;
16766 PyObject * obj5 = 0 ;
16767 PyObject * obj6 = 0 ;
16768 PyObject * obj7 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16775 if (SWIG_arg_fail(1)) SWIG_fail;
16776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16777 if (SWIG_arg_fail(2)) SWIG_fail;
16778 if (obj2) {
16779 {
16780 arg3 = (int const)(SWIG_As_int(obj2));
16781 if (SWIG_arg_fail(3)) SWIG_fail;
16782 }
16783 }
16784 if (obj3) {
16785 {
16786 arg4 = wxString_in_helper(obj3);
16787 if (arg4 == NULL) SWIG_fail;
16788 temp4 = true;
16789 }
16790 }
16791 if (obj4) {
16792 {
16793 arg5 = &temp5;
16794 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16795 }
16796 }
16797 if (obj5) {
16798 {
16799 arg6 = &temp6;
16800 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16801 }
16802 }
16803 if (obj6) {
16804 {
16805 arg7 = (long)(SWIG_As_long(obj6));
16806 if (SWIG_arg_fail(7)) SWIG_fail;
16807 }
16808 }
16809 if (obj7) {
16810 {
16811 arg8 = wxString_in_helper(obj7);
16812 if (arg8 == NULL) SWIG_fail;
16813 temp8 = true;
16814 }
16815 }
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 {
16824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16825 }
16826 {
16827 if (temp4)
16828 delete arg4;
16829 }
16830 {
16831 if (temp8)
16832 delete arg8;
16833 }
16834 return resultobj;
16835 fail:
16836 {
16837 if (temp4)
16838 delete arg4;
16839 }
16840 {
16841 if (temp8)
16842 delete arg8;
16843 }
16844 return NULL;
16845 }
16846
16847
16848 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
16857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16858 if (SWIG_arg_fail(1)) SWIG_fail;
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
16861 (arg1)->ActivateNext();
16862
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 Py_INCREF(Py_None); resultobj = Py_None;
16867 return resultobj;
16868 fail:
16869 return NULL;
16870 }
16871
16872
16873 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16876 PyObject * obj0 = 0 ;
16877 char *kwnames[] = {
16878 (char *) "self", NULL
16879 };
16880
16881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
16882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(1)) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->ActivatePrevious();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
16907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16908 if (SWIG_arg_fail(1)) SWIG_fail;
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 (arg1)->ArrangeIcons();
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 Py_INCREF(Py_None); resultobj = Py_None;
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16926 PyObject * obj0 = 0 ;
16927 char *kwnames[] = {
16928 (char *) "self", NULL
16929 };
16930
16931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
16932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail;
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 (arg1)->Cascade();
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 Py_INCREF(Py_None); resultobj = Py_None;
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16951 wxMDIChildFrame *result;
16952 PyObject * obj0 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
16958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16959 if (SWIG_arg_fail(1)) SWIG_fail;
16960 {
16961 PyThreadState* __tstate = wxPyBeginAllowThreads();
16962 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
16963
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 resultobj = wxPyMake_wxObject(result, 0);
16969 }
16970 return resultobj;
16971 fail:
16972 return NULL;
16973 }
16974
16975
16976 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16977 PyObject *resultobj;
16978 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16979 wxMDIClientWindow *result;
16980 PyObject * obj0 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
16986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16987 if (SWIG_arg_fail(1)) SWIG_fail;
16988 {
16989 PyThreadState* __tstate = wxPyBeginAllowThreads();
16990 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
16991
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 {
16996 resultobj = wxPyMake_wxObject(result, 0);
16997 }
16998 return resultobj;
16999 fail:
17000 return NULL;
17001 }
17002
17003
17004 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17005 PyObject *resultobj;
17006 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17007 wxWindow *result;
17008 PyObject * obj0 = 0 ;
17009 char *kwnames[] = {
17010 (char *) "self", NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17015 if (SWIG_arg_fail(1)) SWIG_fail;
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 result = (wxWindow *)(arg1)->GetToolBar();
17019
17020 wxPyEndAllowThreads(__tstate);
17021 if (PyErr_Occurred()) SWIG_fail;
17022 }
17023 {
17024 resultobj = wxPyMake_wxObject(result, 0);
17025 }
17026 return resultobj;
17027 fail:
17028 return NULL;
17029 }
17030
17031
17032 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17033 PyObject *resultobj;
17034 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17035 PyObject * obj0 = 0 ;
17036 char *kwnames[] = {
17037 (char *) "self", NULL
17038 };
17039
17040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
17041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17042 if (SWIG_arg_fail(1)) SWIG_fail;
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->Tile();
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17058 PyObject *obj;
17059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17060 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17061 Py_INCREF(obj);
17062 return Py_BuildValue((char *)"");
17063 }
17064 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj;
17066 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17067 int arg2 = (int) (int)-1 ;
17068 wxString const &arg3_defvalue = wxPyEmptyString ;
17069 wxString *arg3 = (wxString *) &arg3_defvalue ;
17070 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17071 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17072 wxSize const &arg5_defvalue = wxDefaultSize ;
17073 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17074 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17075 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17076 wxString *arg7 = (wxString *) &arg7_defvalue ;
17077 wxMDIChildFrame *result;
17078 bool temp3 = false ;
17079 wxPoint temp4 ;
17080 wxSize temp5 ;
17081 bool temp7 = false ;
17082 PyObject * obj0 = 0 ;
17083 PyObject * obj1 = 0 ;
17084 PyObject * obj2 = 0 ;
17085 PyObject * obj3 = 0 ;
17086 PyObject * obj4 = 0 ;
17087 PyObject * obj5 = 0 ;
17088 PyObject * obj6 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail;
17096 if (obj1) {
17097 {
17098 arg2 = (int const)(SWIG_As_int(obj1));
17099 if (SWIG_arg_fail(2)) SWIG_fail;
17100 }
17101 }
17102 if (obj2) {
17103 {
17104 arg3 = wxString_in_helper(obj2);
17105 if (arg3 == NULL) SWIG_fail;
17106 temp3 = true;
17107 }
17108 }
17109 if (obj3) {
17110 {
17111 arg4 = &temp4;
17112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17113 }
17114 }
17115 if (obj4) {
17116 {
17117 arg5 = &temp5;
17118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17119 }
17120 }
17121 if (obj5) {
17122 {
17123 arg6 = (long)(SWIG_As_long(obj5));
17124 if (SWIG_arg_fail(6)) SWIG_fail;
17125 }
17126 }
17127 if (obj6) {
17128 {
17129 arg7 = wxString_in_helper(obj6);
17130 if (arg7 == NULL) SWIG_fail;
17131 temp7 = true;
17132 }
17133 }
17134 {
17135 if (!wxPyCheckForApp()) SWIG_fail;
17136 PyThreadState* __tstate = wxPyBeginAllowThreads();
17137 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17138
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17143 {
17144 if (temp3)
17145 delete arg3;
17146 }
17147 {
17148 if (temp7)
17149 delete arg7;
17150 }
17151 return resultobj;
17152 fail:
17153 {
17154 if (temp3)
17155 delete arg3;
17156 }
17157 {
17158 if (temp7)
17159 delete arg7;
17160 }
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxMDIChildFrame *result;
17168 char *kwnames[] = {
17169 NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17173 {
17174 if (!wxPyCheckForApp()) SWIG_fail;
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17191 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17192 int arg3 = (int) (int)-1 ;
17193 wxString const &arg4_defvalue = wxPyEmptyString ;
17194 wxString *arg4 = (wxString *) &arg4_defvalue ;
17195 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17196 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17197 wxSize const &arg6_defvalue = wxDefaultSize ;
17198 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17199 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17200 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17201 wxString *arg8 = (wxString *) &arg8_defvalue ;
17202 bool result;
17203 bool temp4 = false ;
17204 wxPoint temp5 ;
17205 wxSize temp6 ;
17206 bool temp8 = false ;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 PyObject * obj2 = 0 ;
17210 PyObject * obj3 = 0 ;
17211 PyObject * obj4 = 0 ;
17212 PyObject * obj5 = 0 ;
17213 PyObject * obj6 = 0 ;
17214 PyObject * obj7 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail;
17222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17223 if (SWIG_arg_fail(2)) SWIG_fail;
17224 if (obj2) {
17225 {
17226 arg3 = (int const)(SWIG_As_int(obj2));
17227 if (SWIG_arg_fail(3)) SWIG_fail;
17228 }
17229 }
17230 if (obj3) {
17231 {
17232 arg4 = wxString_in_helper(obj3);
17233 if (arg4 == NULL) SWIG_fail;
17234 temp4 = true;
17235 }
17236 }
17237 if (obj4) {
17238 {
17239 arg5 = &temp5;
17240 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17241 }
17242 }
17243 if (obj5) {
17244 {
17245 arg6 = &temp6;
17246 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17247 }
17248 }
17249 if (obj6) {
17250 {
17251 arg7 = (long)(SWIG_As_long(obj6));
17252 if (SWIG_arg_fail(7)) SWIG_fail;
17253 }
17254 }
17255 if (obj7) {
17256 {
17257 arg8 = wxString_in_helper(obj7);
17258 if (arg8 == NULL) SWIG_fail;
17259 temp8 = true;
17260 }
17261 }
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 {
17270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17271 }
17272 {
17273 if (temp4)
17274 delete arg4;
17275 }
17276 {
17277 if (temp8)
17278 delete arg8;
17279 }
17280 return resultobj;
17281 fail:
17282 {
17283 if (temp4)
17284 delete arg4;
17285 }
17286 {
17287 if (temp8)
17288 delete arg8;
17289 }
17290 return NULL;
17291 }
17292
17293
17294 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj;
17296 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17304 if (SWIG_arg_fail(1)) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->Activate();
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 Py_INCREF(Py_None); resultobj = Py_None;
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17322 bool arg2 = (bool) true ;
17323 PyObject * obj0 = 0 ;
17324 PyObject * obj1 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self",(char *) "maximize", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
17332 if (obj1) {
17333 {
17334 arg2 = (bool)(SWIG_As_bool(obj1));
17335 if (SWIG_arg_fail(2)) SWIG_fail;
17336 }
17337 }
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 (arg1)->Maximize(arg2);
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 Py_INCREF(Py_None); resultobj = Py_None;
17346 return resultobj;
17347 fail:
17348 return NULL;
17349 }
17350
17351
17352 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17353 PyObject *resultobj;
17354 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17355 PyObject * obj0 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail;
17363 {
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 (arg1)->Restore();
17366
17367 wxPyEndAllowThreads(__tstate);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 Py_INCREF(Py_None); resultobj = Py_None;
17371 return resultobj;
17372 fail:
17373 return NULL;
17374 }
17375
17376
17377 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17378 PyObject *obj;
17379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17380 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17381 Py_INCREF(obj);
17382 return Py_BuildValue((char *)"");
17383 }
17384 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17387 long arg2 = (long) 0 ;
17388 wxMDIClientWindow *result;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 char *kwnames[] = {
17392 (char *) "parent",(char *) "style", NULL
17393 };
17394
17395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17397 if (SWIG_arg_fail(1)) SWIG_fail;
17398 if (obj1) {
17399 {
17400 arg2 = (long)(SWIG_As_long(obj1));
17401 if (SWIG_arg_fail(2)) SWIG_fail;
17402 }
17403 }
17404 {
17405 if (!wxPyCheckForApp()) SWIG_fail;
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17413 return resultobj;
17414 fail:
17415 return NULL;
17416 }
17417
17418
17419 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17420 PyObject *resultobj;
17421 wxMDIClientWindow *result;
17422 char *kwnames[] = {
17423 NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17427 {
17428 if (!wxPyCheckForApp()) SWIG_fail;
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17445 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17446 long arg3 = (long) 0 ;
17447 bool result;
17448 PyObject * obj0 = 0 ;
17449 PyObject * obj1 = 0 ;
17450 PyObject * obj2 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self",(char *) "parent",(char *) "style", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17457 if (SWIG_arg_fail(1)) SWIG_fail;
17458 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17459 if (SWIG_arg_fail(2)) SWIG_fail;
17460 if (obj2) {
17461 {
17462 arg3 = (long)(SWIG_As_long(obj2));
17463 if (SWIG_arg_fail(3)) SWIG_fail;
17464 }
17465 }
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (bool)(arg1)->Create(arg2,arg3);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17475 }
17476 return resultobj;
17477 fail:
17478 return NULL;
17479 }
17480
17481
17482 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17483 PyObject *obj;
17484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17485 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17486 Py_INCREF(obj);
17487 return Py_BuildValue((char *)"");
17488 }
17489 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxWindow *arg1 = (wxWindow *) 0 ;
17492 int arg2 = (int) (int)-1 ;
17493 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17494 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17495 wxSize const &arg4_defvalue = wxDefaultSize ;
17496 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17497 long arg5 = (long) 0 ;
17498 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17499 wxString *arg6 = (wxString *) &arg6_defvalue ;
17500 wxPyWindow *result;
17501 wxPoint temp3 ;
17502 wxSize temp4 ;
17503 bool temp6 = false ;
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj1 = 0 ;
17506 PyObject * obj2 = 0 ;
17507 PyObject * obj3 = 0 ;
17508 PyObject * obj4 = 0 ;
17509 PyObject * obj5 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17516 if (SWIG_arg_fail(1)) SWIG_fail;
17517 if (obj1) {
17518 {
17519 arg2 = (int const)(SWIG_As_int(obj1));
17520 if (SWIG_arg_fail(2)) SWIG_fail;
17521 }
17522 }
17523 if (obj2) {
17524 {
17525 arg3 = &temp3;
17526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17527 }
17528 }
17529 if (obj3) {
17530 {
17531 arg4 = &temp4;
17532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17533 }
17534 }
17535 if (obj4) {
17536 {
17537 arg5 = (long)(SWIG_As_long(obj4));
17538 if (SWIG_arg_fail(5)) SWIG_fail;
17539 }
17540 }
17541 if (obj5) {
17542 {
17543 arg6 = wxString_in_helper(obj5);
17544 if (arg6 == NULL) SWIG_fail;
17545 temp6 = true;
17546 }
17547 }
17548 {
17549 if (!wxPyCheckForApp()) SWIG_fail;
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17557 {
17558 if (temp6)
17559 delete arg6;
17560 }
17561 return resultobj;
17562 fail:
17563 {
17564 if (temp6)
17565 delete arg6;
17566 }
17567 return NULL;
17568 }
17569
17570
17571 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxPyWindow *result;
17574 char *kwnames[] = {
17575 NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17579 {
17580 if (!wxPyCheckForApp()) SWIG_fail;
17581 PyThreadState* __tstate = wxPyBeginAllowThreads();
17582 result = (wxPyWindow *)new wxPyWindow();
17583
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17588 return resultobj;
17589 fail:
17590 return NULL;
17591 }
17592
17593
17594 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17597 PyObject *arg2 = (PyObject *) 0 ;
17598 PyObject *arg3 = (PyObject *) 0 ;
17599 PyObject * obj0 = 0 ;
17600 PyObject * obj1 = 0 ;
17601 PyObject * obj2 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "self",(char *) "_class", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail;
17609 arg2 = obj1;
17610 arg3 = obj2;
17611 {
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 (arg1)->_setCallbackInfo(arg2,arg3);
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 Py_INCREF(Py_None); resultobj = Py_None;
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17628 wxSize *arg2 = 0 ;
17629 wxSize temp2 ;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "size", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17638 if (SWIG_arg_fail(1)) SWIG_fail;
17639 {
17640 arg2 = &temp2;
17641 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17642 }
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 (arg1)->SetBestSize((wxSize const &)*arg2);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 Py_INCREF(Py_None); resultobj = Py_None;
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17660 int arg2 ;
17661 int arg3 ;
17662 int arg4 ;
17663 int arg5 ;
17664 PyObject * obj0 = 0 ;
17665 PyObject * obj1 = 0 ;
17666 PyObject * obj2 = 0 ;
17667 PyObject * obj3 = 0 ;
17668 PyObject * obj4 = 0 ;
17669 char *kwnames[] = {
17670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17671 };
17672
17673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17675 if (SWIG_arg_fail(1)) SWIG_fail;
17676 {
17677 arg2 = (int)(SWIG_As_int(obj1));
17678 if (SWIG_arg_fail(2)) SWIG_fail;
17679 }
17680 {
17681 arg3 = (int)(SWIG_As_int(obj2));
17682 if (SWIG_arg_fail(3)) SWIG_fail;
17683 }
17684 {
17685 arg4 = (int)(SWIG_As_int(obj3));
17686 if (SWIG_arg_fail(4)) SWIG_fail;
17687 }
17688 {
17689 arg5 = (int)(SWIG_As_int(obj4));
17690 if (SWIG_arg_fail(5)) SWIG_fail;
17691 }
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 Py_INCREF(Py_None); resultobj = Py_None;
17700 return resultobj;
17701 fail:
17702 return NULL;
17703 }
17704
17705
17706 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17709 int arg2 ;
17710 int arg3 ;
17711 int arg4 ;
17712 int arg5 ;
17713 int arg6 = (int) wxSIZE_AUTO ;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 PyObject * obj2 = 0 ;
17717 PyObject * obj3 = 0 ;
17718 PyObject * obj4 = 0 ;
17719 PyObject * obj5 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail;
17727 {
17728 arg2 = (int)(SWIG_As_int(obj1));
17729 if (SWIG_arg_fail(2)) SWIG_fail;
17730 }
17731 {
17732 arg3 = (int)(SWIG_As_int(obj2));
17733 if (SWIG_arg_fail(3)) SWIG_fail;
17734 }
17735 {
17736 arg4 = (int)(SWIG_As_int(obj3));
17737 if (SWIG_arg_fail(4)) SWIG_fail;
17738 }
17739 {
17740 arg5 = (int)(SWIG_As_int(obj4));
17741 if (SWIG_arg_fail(5)) SWIG_fail;
17742 }
17743 if (obj5) {
17744 {
17745 arg6 = (int)(SWIG_As_int(obj5));
17746 if (SWIG_arg_fail(6)) SWIG_fail;
17747 }
17748 }
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 Py_INCREF(Py_None); resultobj = Py_None;
17757 return resultobj;
17758 fail:
17759 return NULL;
17760 }
17761
17762
17763 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17766 int arg2 ;
17767 int arg3 ;
17768 PyObject * obj0 = 0 ;
17769 PyObject * obj1 = 0 ;
17770 PyObject * obj2 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self",(char *) "width",(char *) "height", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17777 if (SWIG_arg_fail(1)) SWIG_fail;
17778 {
17779 arg2 = (int)(SWIG_As_int(obj1));
17780 if (SWIG_arg_fail(2)) SWIG_fail;
17781 }
17782 {
17783 arg3 = (int)(SWIG_As_int(obj2));
17784 if (SWIG_arg_fail(3)) SWIG_fail;
17785 }
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 (arg1)->base_DoSetClientSize(arg2,arg3);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 Py_INCREF(Py_None); resultobj = Py_None;
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17803 int arg2 ;
17804 int arg3 ;
17805 PyObject * obj0 = 0 ;
17806 PyObject * obj1 = 0 ;
17807 PyObject * obj2 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "x",(char *) "y", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17814 if (SWIG_arg_fail(1)) SWIG_fail;
17815 {
17816 arg2 = (int)(SWIG_As_int(obj1));
17817 if (SWIG_arg_fail(2)) SWIG_fail;
17818 }
17819 {
17820 arg3 = (int)(SWIG_As_int(obj2));
17821 if (SWIG_arg_fail(3)) SWIG_fail;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17840 int *arg2 = (int *) 0 ;
17841 int *arg3 = (int *) 0 ;
17842 int temp2 ;
17843 int res2 = 0 ;
17844 int temp3 ;
17845 int res3 = 0 ;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self", NULL
17849 };
17850
17851 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17852 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 Py_INCREF(Py_None); resultobj = Py_None;
17864 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17865 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17866 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17867 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17868 return resultobj;
17869 fail:
17870 return NULL;
17871 }
17872
17873
17874 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17875 PyObject *resultobj;
17876 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17877 int *arg2 = (int *) 0 ;
17878 int *arg3 = (int *) 0 ;
17879 int temp2 ;
17880 int res2 = 0 ;
17881 int temp3 ;
17882 int res3 = 0 ;
17883 PyObject * obj0 = 0 ;
17884 char *kwnames[] = {
17885 (char *) "self", NULL
17886 };
17887
17888 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17889 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 Py_INCREF(Py_None); resultobj = Py_None;
17901 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17902 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17903 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17904 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17905 return resultobj;
17906 fail:
17907 return NULL;
17908 }
17909
17910
17911 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17912 PyObject *resultobj;
17913 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17914 int *arg2 = (int *) 0 ;
17915 int *arg3 = (int *) 0 ;
17916 int temp2 ;
17917 int res2 = 0 ;
17918 int temp3 ;
17919 int res3 = 0 ;
17920 PyObject * obj0 = 0 ;
17921 char *kwnames[] = {
17922 (char *) "self", NULL
17923 };
17924
17925 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17926 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 Py_INCREF(Py_None); resultobj = Py_None;
17938 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17939 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17940 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17941 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17951 wxSize result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17959 if (SWIG_arg_fail(1)) SWIG_fail;
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 {
17968 wxSize * resultptr;
17969 resultptr = new wxSize((wxSize &)(result));
17970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17971 }
17972 return resultobj;
17973 fail:
17974 return NULL;
17975 }
17976
17977
17978 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17981 wxSize result;
17982 PyObject * obj0 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 {
17998 wxSize * resultptr;
17999 resultptr = new wxSize((wxSize &)(result));
18000 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18001 }
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18018 if (SWIG_arg_fail(1)) SWIG_fail;
18019 {
18020 PyThreadState* __tstate = wxPyBeginAllowThreads();
18021 (arg1)->base_InitDialog();
18022
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 Py_INCREF(Py_None); resultobj = Py_None;
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18034 PyObject *resultobj;
18035 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18036 bool result;
18037 PyObject * obj0 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (bool)(arg1)->base_TransferDataToWindow();
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 {
18053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18054 }
18055 return resultobj;
18056 fail:
18057 return NULL;
18058 }
18059
18060
18061 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18064 bool result;
18065 PyObject * obj0 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self", NULL
18068 };
18069
18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail;
18073 {
18074 PyThreadState* __tstate = wxPyBeginAllowThreads();
18075 result = (bool)(arg1)->base_TransferDataFromWindow();
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 {
18081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18082 }
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18092 bool result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail;
18101 {
18102 PyThreadState* __tstate = wxPyBeginAllowThreads();
18103 result = (bool)(arg1)->base_Validate();
18104
18105 wxPyEndAllowThreads(__tstate);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 {
18109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18110 }
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18120 bool result;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18128 if (SWIG_arg_fail(1)) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 {
18137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18138 }
18139 return resultobj;
18140 fail:
18141 return NULL;
18142 }
18143
18144
18145 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18146 PyObject *resultobj;
18147 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18148 bool result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 {
18165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18166 }
18167 return resultobj;
18168 fail:
18169 return NULL;
18170 }
18171
18172
18173 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18176 wxSize result;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail;
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 {
18193 wxSize * resultptr;
18194 resultptr = new wxSize((wxSize &)(result));
18195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18196 }
18197 return resultobj;
18198 fail:
18199 return NULL;
18200 }
18201
18202
18203 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18204 PyObject *resultobj;
18205 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18206 wxWindow *arg2 = (wxWindow *) 0 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "child", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
18216 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18217 if (SWIG_arg_fail(2)) SWIG_fail;
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 (arg1)->base_AddChild(arg2);
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 Py_INCREF(Py_None); resultobj = Py_None;
18226 return resultobj;
18227 fail:
18228 return NULL;
18229 }
18230
18231
18232 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18233 PyObject *resultobj;
18234 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18235 wxWindow *arg2 = (wxWindow *) 0 ;
18236 PyObject * obj0 = 0 ;
18237 PyObject * obj1 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self",(char *) "child", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail;
18245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18246 if (SWIG_arg_fail(2)) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 (arg1)->base_RemoveChild(arg2);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 Py_INCREF(Py_None); resultobj = Py_None;
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18264 bool result;
18265 PyObject * obj0 = 0 ;
18266 char *kwnames[] = {
18267 (char *) "self", NULL
18268 };
18269
18270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18272 if (SWIG_arg_fail(1)) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 {
18281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18282 }
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18292 wxColour *arg2 = 0 ;
18293 wxColour temp2 ;
18294 PyObject * obj0 = 0 ;
18295 PyObject * obj1 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "c", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18302 if (SWIG_arg_fail(1)) SWIG_fail;
18303 {
18304 arg2 = &temp2;
18305 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18306 }
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 Py_INCREF(Py_None); resultobj = Py_None;
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18324 wxVisualAttributes result;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 result = (arg1)->base_GetDefaultAttributes();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 {
18341 wxVisualAttributes * resultptr;
18342 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18344 }
18345 return resultobj;
18346 fail:
18347 return NULL;
18348 }
18349
18350
18351 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18352 PyObject *obj;
18353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18354 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18355 Py_INCREF(obj);
18356 return Py_BuildValue((char *)"");
18357 }
18358 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxWindow *arg1 = (wxWindow *) 0 ;
18361 int arg2 = (int) (int)-1 ;
18362 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18363 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18364 wxSize const &arg4_defvalue = wxDefaultSize ;
18365 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18366 long arg5 = (long) 0 ;
18367 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18368 wxString *arg6 = (wxString *) &arg6_defvalue ;
18369 wxPyPanel *result;
18370 wxPoint temp3 ;
18371 wxSize temp4 ;
18372 bool temp6 = false ;
18373 PyObject * obj0 = 0 ;
18374 PyObject * obj1 = 0 ;
18375 PyObject * obj2 = 0 ;
18376 PyObject * obj3 = 0 ;
18377 PyObject * obj4 = 0 ;
18378 PyObject * obj5 = 0 ;
18379 char *kwnames[] = {
18380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18385 if (SWIG_arg_fail(1)) SWIG_fail;
18386 if (obj1) {
18387 {
18388 arg2 = (int const)(SWIG_As_int(obj1));
18389 if (SWIG_arg_fail(2)) SWIG_fail;
18390 }
18391 }
18392 if (obj2) {
18393 {
18394 arg3 = &temp3;
18395 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18396 }
18397 }
18398 if (obj3) {
18399 {
18400 arg4 = &temp4;
18401 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18402 }
18403 }
18404 if (obj4) {
18405 {
18406 arg5 = (long)(SWIG_As_long(obj4));
18407 if (SWIG_arg_fail(5)) SWIG_fail;
18408 }
18409 }
18410 if (obj5) {
18411 {
18412 arg6 = wxString_in_helper(obj5);
18413 if (arg6 == NULL) SWIG_fail;
18414 temp6 = true;
18415 }
18416 }
18417 {
18418 if (!wxPyCheckForApp()) SWIG_fail;
18419 PyThreadState* __tstate = wxPyBeginAllowThreads();
18420 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18426 {
18427 if (temp6)
18428 delete arg6;
18429 }
18430 return resultobj;
18431 fail:
18432 {
18433 if (temp6)
18434 delete arg6;
18435 }
18436 return NULL;
18437 }
18438
18439
18440 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18441 PyObject *resultobj;
18442 wxPyPanel *result;
18443 char *kwnames[] = {
18444 NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18448 {
18449 if (!wxPyCheckForApp()) SWIG_fail;
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 result = (wxPyPanel *)new wxPyPanel();
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18457 return resultobj;
18458 fail:
18459 return NULL;
18460 }
18461
18462
18463 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18466 PyObject *arg2 = (PyObject *) 0 ;
18467 PyObject *arg3 = (PyObject *) 0 ;
18468 PyObject * obj0 = 0 ;
18469 PyObject * obj1 = 0 ;
18470 PyObject * obj2 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "self",(char *) "_class", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18477 if (SWIG_arg_fail(1)) SWIG_fail;
18478 arg2 = obj1;
18479 arg3 = obj2;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 (arg1)->_setCallbackInfo(arg2,arg3);
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 Py_INCREF(Py_None); resultobj = Py_None;
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18497 wxSize *arg2 = 0 ;
18498 wxSize temp2 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "size", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
18508 {
18509 arg2 = &temp2;
18510 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18511 }
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 (arg1)->SetBestSize((wxSize const &)*arg2);
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 Py_INCREF(Py_None); resultobj = Py_None;
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18529 int arg2 ;
18530 int arg3 ;
18531 int arg4 ;
18532 int arg5 ;
18533 PyObject * obj0 = 0 ;
18534 PyObject * obj1 = 0 ;
18535 PyObject * obj2 = 0 ;
18536 PyObject * obj3 = 0 ;
18537 PyObject * obj4 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18544 if (SWIG_arg_fail(1)) SWIG_fail;
18545 {
18546 arg2 = (int)(SWIG_As_int(obj1));
18547 if (SWIG_arg_fail(2)) SWIG_fail;
18548 }
18549 {
18550 arg3 = (int)(SWIG_As_int(obj2));
18551 if (SWIG_arg_fail(3)) SWIG_fail;
18552 }
18553 {
18554 arg4 = (int)(SWIG_As_int(obj3));
18555 if (SWIG_arg_fail(4)) SWIG_fail;
18556 }
18557 {
18558 arg5 = (int)(SWIG_As_int(obj4));
18559 if (SWIG_arg_fail(5)) SWIG_fail;
18560 }
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18564
18565 wxPyEndAllowThreads(__tstate);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 }
18568 Py_INCREF(Py_None); resultobj = Py_None;
18569 return resultobj;
18570 fail:
18571 return NULL;
18572 }
18573
18574
18575 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18578 int arg2 ;
18579 int arg3 ;
18580 int arg4 ;
18581 int arg5 ;
18582 int arg6 = (int) wxSIZE_AUTO ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 PyObject * obj2 = 0 ;
18586 PyObject * obj3 = 0 ;
18587 PyObject * obj4 = 0 ;
18588 PyObject * obj5 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail;
18596 {
18597 arg2 = (int)(SWIG_As_int(obj1));
18598 if (SWIG_arg_fail(2)) SWIG_fail;
18599 }
18600 {
18601 arg3 = (int)(SWIG_As_int(obj2));
18602 if (SWIG_arg_fail(3)) SWIG_fail;
18603 }
18604 {
18605 arg4 = (int)(SWIG_As_int(obj3));
18606 if (SWIG_arg_fail(4)) SWIG_fail;
18607 }
18608 {
18609 arg5 = (int)(SWIG_As_int(obj4));
18610 if (SWIG_arg_fail(5)) SWIG_fail;
18611 }
18612 if (obj5) {
18613 {
18614 arg6 = (int)(SWIG_As_int(obj5));
18615 if (SWIG_arg_fail(6)) SWIG_fail;
18616 }
18617 }
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 return resultobj;
18627 fail:
18628 return NULL;
18629 }
18630
18631
18632 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18635 int arg2 ;
18636 int arg3 ;
18637 PyObject * obj0 = 0 ;
18638 PyObject * obj1 = 0 ;
18639 PyObject * obj2 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self",(char *) "width",(char *) "height", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18646 if (SWIG_arg_fail(1)) SWIG_fail;
18647 {
18648 arg2 = (int)(SWIG_As_int(obj1));
18649 if (SWIG_arg_fail(2)) SWIG_fail;
18650 }
18651 {
18652 arg3 = (int)(SWIG_As_int(obj2));
18653 if (SWIG_arg_fail(3)) SWIG_fail;
18654 }
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->base_DoSetClientSize(arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18672 int arg2 ;
18673 int arg3 ;
18674 PyObject * obj0 = 0 ;
18675 PyObject * obj1 = 0 ;
18676 PyObject * obj2 = 0 ;
18677 char *kwnames[] = {
18678 (char *) "self",(char *) "x",(char *) "y", NULL
18679 };
18680
18681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18683 if (SWIG_arg_fail(1)) SWIG_fail;
18684 {
18685 arg2 = (int)(SWIG_As_int(obj1));
18686 if (SWIG_arg_fail(2)) SWIG_fail;
18687 }
18688 {
18689 arg3 = (int)(SWIG_As_int(obj2));
18690 if (SWIG_arg_fail(3)) SWIG_fail;
18691 }
18692 {
18693 PyThreadState* __tstate = wxPyBeginAllowThreads();
18694 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18695
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 Py_INCREF(Py_None); resultobj = Py_None;
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18709 int *arg2 = (int *) 0 ;
18710 int *arg3 = (int *) 0 ;
18711 int temp2 ;
18712 int res2 = 0 ;
18713 int temp3 ;
18714 int res3 = 0 ;
18715 PyObject * obj0 = 0 ;
18716 char *kwnames[] = {
18717 (char *) "self", NULL
18718 };
18719
18720 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18721 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 Py_INCREF(Py_None); resultobj = Py_None;
18733 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18734 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18735 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18736 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18737 return resultobj;
18738 fail:
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18746 int *arg2 = (int *) 0 ;
18747 int *arg3 = (int *) 0 ;
18748 int temp2 ;
18749 int res2 = 0 ;
18750 int temp3 ;
18751 int res3 = 0 ;
18752 PyObject * obj0 = 0 ;
18753 char *kwnames[] = {
18754 (char *) "self", NULL
18755 };
18756
18757 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18758 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
18769 Py_INCREF(Py_None); resultobj = Py_None;
18770 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18771 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18772 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18773 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18774 return resultobj;
18775 fail:
18776 return NULL;
18777 }
18778
18779
18780 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18783 int *arg2 = (int *) 0 ;
18784 int *arg3 = (int *) 0 ;
18785 int temp2 ;
18786 int res2 = 0 ;
18787 int temp3 ;
18788 int res3 = 0 ;
18789 PyObject * obj0 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self", NULL
18792 };
18793
18794 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18795 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 Py_INCREF(Py_None); resultobj = Py_None;
18807 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18808 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18809 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18810 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18811 return resultobj;
18812 fail:
18813 return NULL;
18814 }
18815
18816
18817 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18818 PyObject *resultobj;
18819 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18820 wxSize result;
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
18826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail;
18829 {
18830 PyThreadState* __tstate = wxPyBeginAllowThreads();
18831 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18832
18833 wxPyEndAllowThreads(__tstate);
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 {
18837 wxSize * resultptr;
18838 resultptr = new wxSize((wxSize &)(result));
18839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18840 }
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18850 wxSize result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 {
18867 wxSize * resultptr;
18868 resultptr = new wxSize((wxSize &)(result));
18869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18870 }
18871 return resultobj;
18872 fail:
18873 return NULL;
18874 }
18875
18876
18877 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18880 PyObject * obj0 = 0 ;
18881 char *kwnames[] = {
18882 (char *) "self", NULL
18883 };
18884
18885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
18886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18887 if (SWIG_arg_fail(1)) SWIG_fail;
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 (arg1)->base_InitDialog();
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 Py_INCREF(Py_None); resultobj = Py_None;
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18905 bool result;
18906 PyObject * obj0 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail;
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (bool)(arg1)->base_TransferDataToWindow();
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18923 }
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18933 bool result;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18941 if (SWIG_arg_fail(1)) SWIG_fail;
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (bool)(arg1)->base_TransferDataFromWindow();
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
18950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18951 }
18952 return resultobj;
18953 fail:
18954 return NULL;
18955 }
18956
18957
18958 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18961 bool result;
18962 PyObject * obj0 = 0 ;
18963 char *kwnames[] = {
18964 (char *) "self", NULL
18965 };
18966
18967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
18968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18969 if (SWIG_arg_fail(1)) SWIG_fail;
18970 {
18971 PyThreadState* __tstate = wxPyBeginAllowThreads();
18972 result = (bool)(arg1)->base_Validate();
18973
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 {
18978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18979 }
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18989 bool result;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail;
18998 {
18999 PyThreadState* __tstate = wxPyBeginAllowThreads();
19000 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19001
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 {
19006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19007 }
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19017 bool result;
19018 PyObject * obj0 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19025 if (SWIG_arg_fail(1)) SWIG_fail;
19026 {
19027 PyThreadState* __tstate = wxPyBeginAllowThreads();
19028 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19029
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 {
19034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19035 }
19036 return resultobj;
19037 fail:
19038 return NULL;
19039 }
19040
19041
19042 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19043 PyObject *resultobj;
19044 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19045 wxSize result;
19046 PyObject * obj0 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail;
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 {
19062 wxSize * resultptr;
19063 resultptr = new wxSize((wxSize &)(result));
19064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19065 }
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19075 wxWindow *arg2 = (wxWindow *) 0 ;
19076 PyObject * obj0 = 0 ;
19077 PyObject * obj1 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "child", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19086 if (SWIG_arg_fail(2)) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 (arg1)->base_AddChild(arg2);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 Py_INCREF(Py_None); resultobj = Py_None;
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19104 wxWindow *arg2 = (wxWindow *) 0 ;
19105 PyObject * obj0 = 0 ;
19106 PyObject * obj1 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "self",(char *) "child", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19113 if (SWIG_arg_fail(1)) SWIG_fail;
19114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19115 if (SWIG_arg_fail(2)) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 (arg1)->base_RemoveChild(arg2);
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 Py_INCREF(Py_None); resultobj = Py_None;
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19133 bool result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 {
19150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19151 }
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19161 wxColour *arg2 = 0 ;
19162 wxColour temp2 ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self",(char *) "c", NULL
19167 };
19168
19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
19170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19171 if (SWIG_arg_fail(1)) SWIG_fail;
19172 {
19173 arg2 = &temp2;
19174 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19175 }
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 Py_INCREF(Py_None); resultobj = Py_None;
19184 return resultobj;
19185 fail:
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19193 wxVisualAttributes result;
19194 PyObject * obj0 = 0 ;
19195 char *kwnames[] = {
19196 (char *) "self", NULL
19197 };
19198
19199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(1)) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (arg1)->base_GetDefaultAttributes();
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 {
19210 wxVisualAttributes * resultptr;
19211 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19213 }
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19221 PyObject *obj;
19222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19223 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19224 Py_INCREF(obj);
19225 return Py_BuildValue((char *)"");
19226 }
19227 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19228 PyObject *resultobj;
19229 wxWindow *arg1 = (wxWindow *) 0 ;
19230 int arg2 = (int) (int)-1 ;
19231 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19232 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19233 wxSize const &arg4_defvalue = wxDefaultSize ;
19234 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19235 long arg5 = (long) 0 ;
19236 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19237 wxString *arg6 = (wxString *) &arg6_defvalue ;
19238 wxPyScrolledWindow *result;
19239 wxPoint temp3 ;
19240 wxSize temp4 ;
19241 bool temp6 = false ;
19242 PyObject * obj0 = 0 ;
19243 PyObject * obj1 = 0 ;
19244 PyObject * obj2 = 0 ;
19245 PyObject * obj3 = 0 ;
19246 PyObject * obj4 = 0 ;
19247 PyObject * obj5 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19254 if (SWIG_arg_fail(1)) SWIG_fail;
19255 if (obj1) {
19256 {
19257 arg2 = (int const)(SWIG_As_int(obj1));
19258 if (SWIG_arg_fail(2)) SWIG_fail;
19259 }
19260 }
19261 if (obj2) {
19262 {
19263 arg3 = &temp3;
19264 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19265 }
19266 }
19267 if (obj3) {
19268 {
19269 arg4 = &temp4;
19270 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19271 }
19272 }
19273 if (obj4) {
19274 {
19275 arg5 = (long)(SWIG_As_long(obj4));
19276 if (SWIG_arg_fail(5)) SWIG_fail;
19277 }
19278 }
19279 if (obj5) {
19280 {
19281 arg6 = wxString_in_helper(obj5);
19282 if (arg6 == NULL) SWIG_fail;
19283 temp6 = true;
19284 }
19285 }
19286 {
19287 if (!wxPyCheckForApp()) SWIG_fail;
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19295 {
19296 if (temp6)
19297 delete arg6;
19298 }
19299 return resultobj;
19300 fail:
19301 {
19302 if (temp6)
19303 delete arg6;
19304 }
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPyScrolledWindow *result;
19312 char *kwnames[] = {
19313 NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19317 {
19318 if (!wxPyCheckForApp()) SWIG_fail;
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19335 PyObject *arg2 = (PyObject *) 0 ;
19336 PyObject *arg3 = (PyObject *) 0 ;
19337 PyObject * obj0 = 0 ;
19338 PyObject * obj1 = 0 ;
19339 PyObject * obj2 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self",(char *) "self",(char *) "_class", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19346 if (SWIG_arg_fail(1)) SWIG_fail;
19347 arg2 = obj1;
19348 arg3 = obj2;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 (arg1)->_setCallbackInfo(arg2,arg3);
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 Py_INCREF(Py_None); resultobj = Py_None;
19357 return resultobj;
19358 fail:
19359 return NULL;
19360 }
19361
19362
19363 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19366 wxSize *arg2 = 0 ;
19367 wxSize temp2 ;
19368 PyObject * obj0 = 0 ;
19369 PyObject * obj1 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self",(char *) "size", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(1)) SWIG_fail;
19377 {
19378 arg2 = &temp2;
19379 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19380 }
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->SetBestSize((wxSize const &)*arg2);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 Py_INCREF(Py_None); resultobj = Py_None;
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19398 int arg2 ;
19399 int arg3 ;
19400 int arg4 ;
19401 int arg5 ;
19402 PyObject * obj0 = 0 ;
19403 PyObject * obj1 = 0 ;
19404 PyObject * obj2 = 0 ;
19405 PyObject * obj3 = 0 ;
19406 PyObject * obj4 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19413 if (SWIG_arg_fail(1)) SWIG_fail;
19414 {
19415 arg2 = (int)(SWIG_As_int(obj1));
19416 if (SWIG_arg_fail(2)) SWIG_fail;
19417 }
19418 {
19419 arg3 = (int)(SWIG_As_int(obj2));
19420 if (SWIG_arg_fail(3)) SWIG_fail;
19421 }
19422 {
19423 arg4 = (int)(SWIG_As_int(obj3));
19424 if (SWIG_arg_fail(4)) SWIG_fail;
19425 }
19426 {
19427 arg5 = (int)(SWIG_As_int(obj4));
19428 if (SWIG_arg_fail(5)) SWIG_fail;
19429 }
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 Py_INCREF(Py_None); resultobj = Py_None;
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19447 int arg2 ;
19448 int arg3 ;
19449 int arg4 ;
19450 int arg5 ;
19451 int arg6 = (int) wxSIZE_AUTO ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 PyObject * obj2 = 0 ;
19455 PyObject * obj3 = 0 ;
19456 PyObject * obj4 = 0 ;
19457 PyObject * obj5 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail;
19465 {
19466 arg2 = (int)(SWIG_As_int(obj1));
19467 if (SWIG_arg_fail(2)) SWIG_fail;
19468 }
19469 {
19470 arg3 = (int)(SWIG_As_int(obj2));
19471 if (SWIG_arg_fail(3)) SWIG_fail;
19472 }
19473 {
19474 arg4 = (int)(SWIG_As_int(obj3));
19475 if (SWIG_arg_fail(4)) SWIG_fail;
19476 }
19477 {
19478 arg5 = (int)(SWIG_As_int(obj4));
19479 if (SWIG_arg_fail(5)) SWIG_fail;
19480 }
19481 if (obj5) {
19482 {
19483 arg6 = (int)(SWIG_As_int(obj5));
19484 if (SWIG_arg_fail(6)) SWIG_fail;
19485 }
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19504 int arg2 ;
19505 int arg3 ;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 PyObject * obj2 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self",(char *) "width",(char *) "height", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19515 if (SWIG_arg_fail(1)) SWIG_fail;
19516 {
19517 arg2 = (int)(SWIG_As_int(obj1));
19518 if (SWIG_arg_fail(2)) SWIG_fail;
19519 }
19520 {
19521 arg3 = (int)(SWIG_As_int(obj2));
19522 if (SWIG_arg_fail(3)) SWIG_fail;
19523 }
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 (arg1)->base_DoSetClientSize(arg2,arg3);
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 Py_INCREF(Py_None); resultobj = Py_None;
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19541 int arg2 ;
19542 int arg3 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 PyObject * obj2 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "x",(char *) "y", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19552 if (SWIG_arg_fail(1)) SWIG_fail;
19553 {
19554 arg2 = (int)(SWIG_As_int(obj1));
19555 if (SWIG_arg_fail(2)) SWIG_fail;
19556 }
19557 {
19558 arg3 = (int)(SWIG_As_int(obj2));
19559 if (SWIG_arg_fail(3)) SWIG_fail;
19560 }
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 Py_INCREF(Py_None); resultobj = Py_None;
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19578 int *arg2 = (int *) 0 ;
19579 int *arg3 = (int *) 0 ;
19580 int temp2 ;
19581 int res2 = 0 ;
19582 int temp3 ;
19583 int res3 = 0 ;
19584 PyObject * obj0 = 0 ;
19585 char *kwnames[] = {
19586 (char *) "self", NULL
19587 };
19588
19589 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19590 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 Py_INCREF(Py_None); resultobj = Py_None;
19602 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19603 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19604 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19605 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19615 int *arg2 = (int *) 0 ;
19616 int *arg3 = (int *) 0 ;
19617 int temp2 ;
19618 int res2 = 0 ;
19619 int temp3 ;
19620 int res3 = 0 ;
19621 PyObject * obj0 = 0 ;
19622 char *kwnames[] = {
19623 (char *) "self", NULL
19624 };
19625
19626 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19627 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail;
19631 {
19632 PyThreadState* __tstate = wxPyBeginAllowThreads();
19633 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19634
19635 wxPyEndAllowThreads(__tstate);
19636 if (PyErr_Occurred()) SWIG_fail;
19637 }
19638 Py_INCREF(Py_None); resultobj = Py_None;
19639 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19640 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19641 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19642 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19652 int *arg2 = (int *) 0 ;
19653 int *arg3 = (int *) 0 ;
19654 int temp2 ;
19655 int res2 = 0 ;
19656 int temp3 ;
19657 int res3 = 0 ;
19658 PyObject * obj0 = 0 ;
19659 char *kwnames[] = {
19660 (char *) "self", NULL
19661 };
19662
19663 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19664 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail;
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19677 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19678 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19679 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19680 return resultobj;
19681 fail:
19682 return NULL;
19683 }
19684
19685
19686 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19687 PyObject *resultobj;
19688 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19689 wxSize result;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19697 if (SWIG_arg_fail(1)) SWIG_fail;
19698 {
19699 PyThreadState* __tstate = wxPyBeginAllowThreads();
19700 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19701
19702 wxPyEndAllowThreads(__tstate);
19703 if (PyErr_Occurred()) SWIG_fail;
19704 }
19705 {
19706 wxSize * resultptr;
19707 resultptr = new wxSize((wxSize &)(result));
19708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19709 }
19710 return resultobj;
19711 fail:
19712 return NULL;
19713 }
19714
19715
19716 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19717 PyObject *resultobj;
19718 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19719 wxSize result;
19720 PyObject * obj0 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail;
19728 {
19729 PyThreadState* __tstate = wxPyBeginAllowThreads();
19730 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19731
19732 wxPyEndAllowThreads(__tstate);
19733 if (PyErr_Occurred()) SWIG_fail;
19734 }
19735 {
19736 wxSize * resultptr;
19737 resultptr = new wxSize((wxSize &)(result));
19738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19739 }
19740 return resultobj;
19741 fail:
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19749 PyObject * obj0 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19756 if (SWIG_arg_fail(1)) SWIG_fail;
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 (arg1)->base_InitDialog();
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 Py_INCREF(Py_None); resultobj = Py_None;
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19772 PyObject *resultobj;
19773 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19774 bool result;
19775 PyObject * obj0 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19782 if (SWIG_arg_fail(1)) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (bool)(arg1)->base_TransferDataToWindow();
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 {
19791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19792 }
19793 return resultobj;
19794 fail:
19795 return NULL;
19796 }
19797
19798
19799 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19802 bool result;
19803 PyObject * obj0 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19810 if (SWIG_arg_fail(1)) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 result = (bool)(arg1)->base_TransferDataFromWindow();
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 {
19819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19820 }
19821 return resultobj;
19822 fail:
19823 return NULL;
19824 }
19825
19826
19827 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19838 if (SWIG_arg_fail(1)) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (bool)(arg1)->base_Validate();
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 {
19847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19848 }
19849 return resultobj;
19850 fail:
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail;
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19886 bool result;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19894 if (SWIG_arg_fail(1)) SWIG_fail;
19895 {
19896 PyThreadState* __tstate = wxPyBeginAllowThreads();
19897 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
19898
19899 wxPyEndAllowThreads(__tstate);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
19903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19904 }
19905 return resultobj;
19906 fail:
19907 return NULL;
19908 }
19909
19910
19911 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19914 wxSize result;
19915 PyObject * obj0 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
19921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19922 if (SWIG_arg_fail(1)) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 {
19931 wxSize * resultptr;
19932 resultptr = new wxSize((wxSize &)(result));
19933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19934 }
19935 return resultobj;
19936 fail:
19937 return NULL;
19938 }
19939
19940
19941 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19942 PyObject *resultobj;
19943 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19944 wxWindow *arg2 = (wxWindow *) 0 ;
19945 PyObject * obj0 = 0 ;
19946 PyObject * obj1 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self",(char *) "child", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail;
19954 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19955 if (SWIG_arg_fail(2)) SWIG_fail;
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 (arg1)->base_AddChild(arg2);
19959
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 Py_INCREF(Py_None); resultobj = Py_None;
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19973 wxWindow *arg2 = (wxWindow *) 0 ;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 char *kwnames[] = {
19977 (char *) "self",(char *) "child", NULL
19978 };
19979
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19982 if (SWIG_arg_fail(1)) SWIG_fail;
19983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19984 if (SWIG_arg_fail(2)) SWIG_fail;
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 (arg1)->base_RemoveChild(arg2);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 return resultobj;
19994 fail:
19995 return NULL;
19996 }
19997
19998
19999 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20000 PyObject *resultobj;
20001 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20002 bool result;
20003 PyObject * obj0 = 0 ;
20004 char *kwnames[] = {
20005 (char *) "self", NULL
20006 };
20007
20008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20010 if (SWIG_arg_fail(1)) SWIG_fail;
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 {
20019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20020 }
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj;
20029 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20030 wxColour *arg2 = 0 ;
20031 wxColour temp2 ;
20032 PyObject * obj0 = 0 ;
20033 PyObject * obj1 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self",(char *) "c", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
20039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20040 if (SWIG_arg_fail(1)) SWIG_fail;
20041 {
20042 arg2 = &temp2;
20043 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20044 }
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 Py_INCREF(Py_None); resultobj = Py_None;
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20060 PyObject *resultobj;
20061 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20062 wxVisualAttributes result;
20063 PyObject * obj0 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20070 if (SWIG_arg_fail(1)) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = (arg1)->base_GetDefaultAttributes();
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 wxVisualAttributes * resultptr;
20080 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20082 }
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20090 PyObject *obj;
20091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20092 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20093 Py_INCREF(obj);
20094 return Py_BuildValue((char *)"");
20095 }
20096 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20097 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20098 return 1;
20099 }
20100
20101
20102 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20103 PyObject *pyobj;
20104
20105 {
20106 #if wxUSE_UNICODE
20107 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20108 #else
20109 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20110 #endif
20111 }
20112 return pyobj;
20113 }
20114
20115
20116 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20117 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20118 return 1;
20119 }
20120
20121
20122 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20123 PyObject *pyobj;
20124
20125 {
20126 #if wxUSE_UNICODE
20127 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20128 #else
20129 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20130 #endif
20131 }
20132 return pyobj;
20133 }
20134
20135
20136 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20137 PyObject *resultobj;
20138 wxPrintData *result;
20139
20140 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20141 {
20142 PyThreadState* __tstate = wxPyBeginAllowThreads();
20143 result = (wxPrintData *)new wxPrintData();
20144
20145 wxPyEndAllowThreads(__tstate);
20146 if (PyErr_Occurred()) SWIG_fail;
20147 }
20148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20149 return resultobj;
20150 fail:
20151 return NULL;
20152 }
20153
20154
20155 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20156 PyObject *resultobj;
20157 wxPrintData *arg1 = 0 ;
20158 wxPrintData *result;
20159 PyObject * obj0 = 0 ;
20160
20161 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20162 {
20163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20164 if (SWIG_arg_fail(1)) SWIG_fail;
20165 if (arg1 == NULL) {
20166 SWIG_null_ref("wxPrintData");
20167 }
20168 if (SWIG_arg_fail(1)) SWIG_fail;
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20185 int argc;
20186 PyObject *argv[2];
20187 int ii;
20188
20189 argc = PyObject_Length(args);
20190 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20191 argv[ii] = PyTuple_GetItem(args,ii);
20192 }
20193 if (argc == 0) {
20194 return _wrap_new_PrintData__SWIG_0(self,args);
20195 }
20196 if (argc == 1) {
20197 int _v;
20198 {
20199 void *ptr = 0;
20200 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20201 _v = 0;
20202 PyErr_Clear();
20203 } else {
20204 _v = (ptr != 0);
20205 }
20206 }
20207 if (_v) {
20208 return _wrap_new_PrintData__SWIG_1(self,args);
20209 }
20210 }
20211
20212 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxPrintData *arg1 = (wxPrintData *) 0 ;
20220 PyObject * obj0 = 0 ;
20221 char *kwnames[] = {
20222 (char *) "self", NULL
20223 };
20224
20225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20227 if (SWIG_arg_fail(1)) SWIG_fail;
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 delete arg1;
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 Py_INCREF(Py_None); resultobj = Py_None;
20236 return resultobj;
20237 fail:
20238 return NULL;
20239 }
20240
20241
20242 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20243 PyObject *resultobj;
20244 wxPrintData *arg1 = (wxPrintData *) 0 ;
20245 int result;
20246 PyObject * obj0 = 0 ;
20247 char *kwnames[] = {
20248 (char *) "self", NULL
20249 };
20250
20251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail;
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 result = (int)(arg1)->GetNoCopies();
20257
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
20261 {
20262 resultobj = SWIG_From_int((int)(result));
20263 }
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20271 PyObject *resultobj;
20272 wxPrintData *arg1 = (wxPrintData *) 0 ;
20273 bool result;
20274 PyObject * obj0 = 0 ;
20275 char *kwnames[] = {
20276 (char *) "self", NULL
20277 };
20278
20279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20281 if (SWIG_arg_fail(1)) SWIG_fail;
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 result = (bool)(arg1)->GetCollate();
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 {
20290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20291 }
20292 return resultobj;
20293 fail:
20294 return NULL;
20295 }
20296
20297
20298 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20299 PyObject *resultobj;
20300 wxPrintData *arg1 = (wxPrintData *) 0 ;
20301 int result;
20302 PyObject * obj0 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "self", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (int)(arg1)->GetOrientation();
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 {
20318 resultobj = SWIG_From_int((int)(result));
20319 }
20320 return resultobj;
20321 fail:
20322 return NULL;
20323 }
20324
20325
20326 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20327 PyObject *resultobj;
20328 wxPrintData *arg1 = (wxPrintData *) 0 ;
20329 bool result;
20330 PyObject * obj0 = 0 ;
20331 char *kwnames[] = {
20332 (char *) "self", NULL
20333 };
20334
20335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail;
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 result = (bool)(arg1)->Ok();
20341
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 {
20346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20347 }
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPrintData *arg1 = (wxPrintData *) 0 ;
20357 wxString *result;
20358 PyObject * obj0 = 0 ;
20359 char *kwnames[] = {
20360 (char *) "self", NULL
20361 };
20362
20363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail;
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 {
20369 wxString const &_result_ref = (arg1)->GetPrinterName();
20370 result = (wxString *) &_result_ref;
20371 }
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 {
20377 #if wxUSE_UNICODE
20378 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20379 #else
20380 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20381 #endif
20382 }
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxPrintData *arg1 = (wxPrintData *) 0 ;
20392 bool result;
20393 PyObject * obj0 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20400 if (SWIG_arg_fail(1)) SWIG_fail;
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 result = (bool)(arg1)->GetColour();
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20410 }
20411 return resultobj;
20412 fail:
20413 return NULL;
20414 }
20415
20416
20417 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20418 PyObject *resultobj;
20419 wxPrintData *arg1 = (wxPrintData *) 0 ;
20420 wxDuplexMode result;
20421 PyObject * obj0 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail;
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 result = (wxDuplexMode)(arg1)->GetDuplex();
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 resultobj = SWIG_From_int((result));
20437 return resultobj;
20438 fail:
20439 return NULL;
20440 }
20441
20442
20443 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 wxPrintData *arg1 = (wxPrintData *) 0 ;
20446 wxPaperSize result;
20447 PyObject * obj0 = 0 ;
20448 char *kwnames[] = {
20449 (char *) "self", NULL
20450 };
20451
20452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20454 if (SWIG_arg_fail(1)) SWIG_fail;
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 result = (wxPaperSize)(arg1)->GetPaperId();
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 resultobj = SWIG_From_int((result));
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPrintData *arg1 = (wxPrintData *) 0 ;
20472 wxSize *result;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 {
20484 wxSize const &_result_ref = (arg1)->GetPaperSize();
20485 result = (wxSize *) &_result_ref;
20486 }
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20492 return resultobj;
20493 fail:
20494 return NULL;
20495 }
20496
20497
20498 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj;
20500 wxPrintData *arg1 = (wxPrintData *) 0 ;
20501 int result;
20502 PyObject * obj0 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail;
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 result = (int)(arg1)->GetQuality();
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
20518 resultobj = SWIG_From_int((int)(result));
20519 }
20520 return resultobj;
20521 fail:
20522 return NULL;
20523 }
20524
20525
20526 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20527 PyObject *resultobj;
20528 wxPrintData *arg1 = (wxPrintData *) 0 ;
20529 wxPrintBin result;
20530 PyObject * obj0 = 0 ;
20531 char *kwnames[] = {
20532 (char *) "self", NULL
20533 };
20534
20535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 result = (wxPrintBin)(arg1)->GetBin();
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_From_int((result));
20546 return resultobj;
20547 fail:
20548 return NULL;
20549 }
20550
20551
20552 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20553 PyObject *resultobj;
20554 wxPrintData *arg1 = (wxPrintData *) 0 ;
20555 wxPrintMode result;
20556 PyObject * obj0 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 resultobj = SWIG_From_int((result));
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxPrintData *arg1 = (wxPrintData *) 0 ;
20581 int arg2 ;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self",(char *) "v", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail;
20591 {
20592 arg2 = (int)(SWIG_As_int(obj1));
20593 if (SWIG_arg_fail(2)) SWIG_fail;
20594 }
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->SetNoCopies(arg2);
20598
20599 wxPyEndAllowThreads(__tstate);
20600 if (PyErr_Occurred()) SWIG_fail;
20601 }
20602 Py_INCREF(Py_None); resultobj = Py_None;
20603 return resultobj;
20604 fail:
20605 return NULL;
20606 }
20607
20608
20609 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20610 PyObject *resultobj;
20611 wxPrintData *arg1 = (wxPrintData *) 0 ;
20612 bool arg2 ;
20613 PyObject * obj0 = 0 ;
20614 PyObject * obj1 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "flag", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail;
20622 {
20623 arg2 = (bool)(SWIG_As_bool(obj1));
20624 if (SWIG_arg_fail(2)) SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 (arg1)->SetCollate(arg2);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 Py_INCREF(Py_None); resultobj = Py_None;
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj;
20642 wxPrintData *arg1 = (wxPrintData *) 0 ;
20643 int arg2 ;
20644 PyObject * obj0 = 0 ;
20645 PyObject * obj1 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self",(char *) "orient", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail;
20653 {
20654 arg2 = (int)(SWIG_As_int(obj1));
20655 if (SWIG_arg_fail(2)) SWIG_fail;
20656 }
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 (arg1)->SetOrientation(arg2);
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 Py_INCREF(Py_None); resultobj = Py_None;
20665 return resultobj;
20666 fail:
20667 return NULL;
20668 }
20669
20670
20671 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20672 PyObject *resultobj;
20673 wxPrintData *arg1 = (wxPrintData *) 0 ;
20674 wxString *arg2 = 0 ;
20675 bool temp2 = false ;
20676 PyObject * obj0 = 0 ;
20677 PyObject * obj1 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self",(char *) "name", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 {
20686 arg2 = wxString_in_helper(obj1);
20687 if (arg2 == NULL) SWIG_fail;
20688 temp2 = true;
20689 }
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 (arg1)->SetPrinterName((wxString const &)*arg2);
20693
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 Py_INCREF(Py_None); resultobj = Py_None;
20698 {
20699 if (temp2)
20700 delete arg2;
20701 }
20702 return resultobj;
20703 fail:
20704 {
20705 if (temp2)
20706 delete arg2;
20707 }
20708 return NULL;
20709 }
20710
20711
20712 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20713 PyObject *resultobj;
20714 wxPrintData *arg1 = (wxPrintData *) 0 ;
20715 bool arg2 ;
20716 PyObject * obj0 = 0 ;
20717 PyObject * obj1 = 0 ;
20718 char *kwnames[] = {
20719 (char *) "self",(char *) "colour", NULL
20720 };
20721
20722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20724 if (SWIG_arg_fail(1)) SWIG_fail;
20725 {
20726 arg2 = (bool)(SWIG_As_bool(obj1));
20727 if (SWIG_arg_fail(2)) SWIG_fail;
20728 }
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 (arg1)->SetColour(arg2);
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 Py_INCREF(Py_None); resultobj = Py_None;
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxPrintData *arg1 = (wxPrintData *) 0 ;
20746 wxDuplexMode arg2 ;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self",(char *) "duplex", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20755 if (SWIG_arg_fail(1)) SWIG_fail;
20756 {
20757 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20758 if (SWIG_arg_fail(2)) SWIG_fail;
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 (arg1)->SetDuplex((wxDuplexMode )arg2);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 Py_INCREF(Py_None); resultobj = Py_None;
20768 return resultobj;
20769 fail:
20770 return NULL;
20771 }
20772
20773
20774 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20775 PyObject *resultobj;
20776 wxPrintData *arg1 = (wxPrintData *) 0 ;
20777 wxPaperSize arg2 ;
20778 PyObject * obj0 = 0 ;
20779 PyObject * obj1 = 0 ;
20780 char *kwnames[] = {
20781 (char *) "self",(char *) "sizeId", NULL
20782 };
20783
20784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20786 if (SWIG_arg_fail(1)) SWIG_fail;
20787 {
20788 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20789 if (SWIG_arg_fail(2)) SWIG_fail;
20790 }
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 (arg1)->SetPaperId((wxPaperSize )arg2);
20794
20795 wxPyEndAllowThreads(__tstate);
20796 if (PyErr_Occurred()) SWIG_fail;
20797 }
20798 Py_INCREF(Py_None); resultobj = Py_None;
20799 return resultobj;
20800 fail:
20801 return NULL;
20802 }
20803
20804
20805 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20806 PyObject *resultobj;
20807 wxPrintData *arg1 = (wxPrintData *) 0 ;
20808 wxSize *arg2 = 0 ;
20809 wxSize temp2 ;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self",(char *) "sz", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20818 if (SWIG_arg_fail(1)) SWIG_fail;
20819 {
20820 arg2 = &temp2;
20821 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20822 }
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 (arg1)->SetPaperSize((wxSize const &)*arg2);
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 Py_INCREF(Py_None); resultobj = Py_None;
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPrintData *arg1 = (wxPrintData *) 0 ;
20840 int arg2 ;
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self",(char *) "quality", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail;
20850 {
20851 arg2 = (int)(SWIG_As_int(obj1));
20852 if (SWIG_arg_fail(2)) SWIG_fail;
20853 }
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 (arg1)->SetQuality(arg2);
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
20861 Py_INCREF(Py_None); resultobj = Py_None;
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxPrintData *arg1 = (wxPrintData *) 0 ;
20871 wxPrintBin arg2 ;
20872 PyObject * obj0 = 0 ;
20873 PyObject * obj1 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self",(char *) "bin", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20880 if (SWIG_arg_fail(1)) SWIG_fail;
20881 {
20882 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20883 if (SWIG_arg_fail(2)) SWIG_fail;
20884 }
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 (arg1)->SetBin((wxPrintBin )arg2);
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 Py_INCREF(Py_None); resultobj = Py_None;
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxPrintData *arg1 = (wxPrintData *) 0 ;
20902 wxPrintMode arg2 ;
20903 PyObject * obj0 = 0 ;
20904 PyObject * obj1 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "self",(char *) "printMode", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20911 if (SWIG_arg_fail(1)) SWIG_fail;
20912 {
20913 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
20914 if (SWIG_arg_fail(2)) SWIG_fail;
20915 }
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 (arg1)->SetPrintMode((wxPrintMode )arg2);
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 Py_INCREF(Py_None); resultobj = Py_None;
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxPrintData *arg1 = (wxPrintData *) 0 ;
20933 wxString result;
20934 PyObject * obj0 = 0 ;
20935 char *kwnames[] = {
20936 (char *) "self", NULL
20937 };
20938
20939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
20940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail;
20942 {
20943 PyThreadState* __tstate = wxPyBeginAllowThreads();
20944 result = ((wxPrintData const *)arg1)->GetFilename();
20945
20946 wxPyEndAllowThreads(__tstate);
20947 if (PyErr_Occurred()) SWIG_fail;
20948 }
20949 {
20950 #if wxUSE_UNICODE
20951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20952 #else
20953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20954 #endif
20955 }
20956 return resultobj;
20957 fail:
20958 return NULL;
20959 }
20960
20961
20962 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxPrintData *arg1 = (wxPrintData *) 0 ;
20965 wxString *arg2 = 0 ;
20966 bool temp2 = false ;
20967 PyObject * obj0 = 0 ;
20968 PyObject * obj1 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self",(char *) "filename", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
20978 if (arg2 == NULL) SWIG_fail;
20979 temp2 = true;
20980 }
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 (arg1)->SetFilename((wxString const &)*arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 {
20990 if (temp2)
20991 delete arg2;
20992 }
20993 return resultobj;
20994 fail:
20995 {
20996 if (temp2)
20997 delete arg2;
20998 }
20999 return NULL;
21000 }
21001
21002
21003 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21004 PyObject *resultobj;
21005 wxPrintData *arg1 = (wxPrintData *) 0 ;
21006 wxString *result;
21007 PyObject * obj0 = 0 ;
21008 char *kwnames[] = {
21009 (char *) "self", NULL
21010 };
21011
21012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21014 if (SWIG_arg_fail(1)) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 {
21018 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21019 result = (wxString *) &_result_ref;
21020 }
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 #if wxUSE_UNICODE
21027 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21028 #else
21029 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21030 #endif
21031 }
21032 return resultobj;
21033 fail:
21034 return NULL;
21035 }
21036
21037
21038 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21039 PyObject *resultobj;
21040 wxPrintData *arg1 = (wxPrintData *) 0 ;
21041 wxString *result;
21042 PyObject * obj0 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail;
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 {
21053 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21054 result = (wxString *) &_result_ref;
21055 }
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 {
21061 #if wxUSE_UNICODE
21062 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21063 #else
21064 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21065 #endif
21066 }
21067 return resultobj;
21068 fail:
21069 return NULL;
21070 }
21071
21072
21073 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21074 PyObject *resultobj;
21075 wxPrintData *arg1 = (wxPrintData *) 0 ;
21076 wxString *result;
21077 PyObject * obj0 = 0 ;
21078 char *kwnames[] = {
21079 (char *) "self", NULL
21080 };
21081
21082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21084 if (SWIG_arg_fail(1)) SWIG_fail;
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 {
21088 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21089 result = (wxString *) &_result_ref;
21090 }
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 {
21096 #if wxUSE_UNICODE
21097 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21098 #else
21099 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21100 #endif
21101 }
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPrintData *arg1 = (wxPrintData *) 0 ;
21111 wxString *result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",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 {
21123 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21124 result = (wxString *) &_result_ref;
21125 }
21126
21127 wxPyEndAllowThreads(__tstate);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 }
21130 {
21131 #if wxUSE_UNICODE
21132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21133 #else
21134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21135 #endif
21136 }
21137 return resultobj;
21138 fail:
21139 return NULL;
21140 }
21141
21142
21143 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21144 PyObject *resultobj;
21145 wxPrintData *arg1 = (wxPrintData *) 0 ;
21146 double result;
21147 PyObject * obj0 = 0 ;
21148 char *kwnames[] = {
21149 (char *) "self", NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21154 if (SWIG_arg_fail(1)) SWIG_fail;
21155 {
21156 PyThreadState* __tstate = wxPyBeginAllowThreads();
21157 result = (double)(arg1)->GetPrinterScaleX();
21158
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 {
21163 resultobj = SWIG_From_double((double)(result));
21164 }
21165 return resultobj;
21166 fail:
21167 return NULL;
21168 }
21169
21170
21171 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21172 PyObject *resultobj;
21173 wxPrintData *arg1 = (wxPrintData *) 0 ;
21174 double result;
21175 PyObject * obj0 = 0 ;
21176 char *kwnames[] = {
21177 (char *) "self", NULL
21178 };
21179
21180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail;
21183 {
21184 PyThreadState* __tstate = wxPyBeginAllowThreads();
21185 result = (double)(arg1)->GetPrinterScaleY();
21186
21187 wxPyEndAllowThreads(__tstate);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 {
21191 resultobj = SWIG_From_double((double)(result));
21192 }
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxPrintData *arg1 = (wxPrintData *) 0 ;
21202 long result;
21203 PyObject * obj0 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21210 if (SWIG_arg_fail(1)) SWIG_fail;
21211 {
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = (long)(arg1)->GetPrinterTranslateX();
21214
21215 wxPyEndAllowThreads(__tstate);
21216 if (PyErr_Occurred()) SWIG_fail;
21217 }
21218 {
21219 resultobj = SWIG_From_long((long)(result));
21220 }
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPrintData *arg1 = (wxPrintData *) 0 ;
21230 long result;
21231 PyObject * obj0 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 result = (long)(arg1)->GetPrinterTranslateY();
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 {
21247 resultobj = SWIG_From_long((long)(result));
21248 }
21249 return resultobj;
21250 fail:
21251 return NULL;
21252 }
21253
21254
21255 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21256 PyObject *resultobj;
21257 wxPrintData *arg1 = (wxPrintData *) 0 ;
21258 wxString *arg2 = 0 ;
21259 bool temp2 = false ;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "command", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail;
21269 {
21270 arg2 = wxString_in_helper(obj1);
21271 if (arg2 == NULL) SWIG_fail;
21272 temp2 = true;
21273 }
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21277
21278 wxPyEndAllowThreads(__tstate);
21279 if (PyErr_Occurred()) SWIG_fail;
21280 }
21281 Py_INCREF(Py_None); resultobj = Py_None;
21282 {
21283 if (temp2)
21284 delete arg2;
21285 }
21286 return resultobj;
21287 fail:
21288 {
21289 if (temp2)
21290 delete arg2;
21291 }
21292 return NULL;
21293 }
21294
21295
21296 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21297 PyObject *resultobj;
21298 wxPrintData *arg1 = (wxPrintData *) 0 ;
21299 wxString *arg2 = 0 ;
21300 bool temp2 = false ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj1 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self",(char *) "options", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21309 if (SWIG_arg_fail(1)) SWIG_fail;
21310 {
21311 arg2 = wxString_in_helper(obj1);
21312 if (arg2 == NULL) SWIG_fail;
21313 temp2 = true;
21314 }
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 Py_INCREF(Py_None); resultobj = Py_None;
21323 {
21324 if (temp2)
21325 delete arg2;
21326 }
21327 return resultobj;
21328 fail:
21329 {
21330 if (temp2)
21331 delete arg2;
21332 }
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPrintData *arg1 = (wxPrintData *) 0 ;
21340 wxString *arg2 = 0 ;
21341 bool temp2 = false ;
21342 PyObject * obj0 = 0 ;
21343 PyObject * obj1 = 0 ;
21344 char *kwnames[] = {
21345 (char *) "self",(char *) "command", NULL
21346 };
21347
21348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21350 if (SWIG_arg_fail(1)) SWIG_fail;
21351 {
21352 arg2 = wxString_in_helper(obj1);
21353 if (arg2 == NULL) SWIG_fail;
21354 temp2 = true;
21355 }
21356 {
21357 PyThreadState* __tstate = wxPyBeginAllowThreads();
21358 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21359
21360 wxPyEndAllowThreads(__tstate);
21361 if (PyErr_Occurred()) SWIG_fail;
21362 }
21363 Py_INCREF(Py_None); resultobj = Py_None;
21364 {
21365 if (temp2)
21366 delete arg2;
21367 }
21368 return resultobj;
21369 fail:
21370 {
21371 if (temp2)
21372 delete arg2;
21373 }
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPrintData *arg1 = (wxPrintData *) 0 ;
21381 wxString *arg2 = 0 ;
21382 bool temp2 = false ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "path", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail;
21392 {
21393 arg2 = wxString_in_helper(obj1);
21394 if (arg2 == NULL) SWIG_fail;
21395 temp2 = true;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 {
21406 if (temp2)
21407 delete arg2;
21408 }
21409 return resultobj;
21410 fail:
21411 {
21412 if (temp2)
21413 delete arg2;
21414 }
21415 return NULL;
21416 }
21417
21418
21419 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 wxPrintData *arg1 = (wxPrintData *) 0 ;
21422 double arg2 ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "x", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 arg2 = (double)(SWIG_As_double(obj1));
21434 if (SWIG_arg_fail(2)) SWIG_fail;
21435 }
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 (arg1)->SetPrinterScaleX(arg2);
21439
21440 wxPyEndAllowThreads(__tstate);
21441 if (PyErr_Occurred()) SWIG_fail;
21442 }
21443 Py_INCREF(Py_None); resultobj = Py_None;
21444 return resultobj;
21445 fail:
21446 return NULL;
21447 }
21448
21449
21450 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21451 PyObject *resultobj;
21452 wxPrintData *arg1 = (wxPrintData *) 0 ;
21453 double arg2 ;
21454 PyObject * obj0 = 0 ;
21455 PyObject * obj1 = 0 ;
21456 char *kwnames[] = {
21457 (char *) "self",(char *) "y", NULL
21458 };
21459
21460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail;
21463 {
21464 arg2 = (double)(SWIG_As_double(obj1));
21465 if (SWIG_arg_fail(2)) SWIG_fail;
21466 }
21467 {
21468 PyThreadState* __tstate = wxPyBeginAllowThreads();
21469 (arg1)->SetPrinterScaleY(arg2);
21470
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 Py_INCREF(Py_None); resultobj = Py_None;
21475 return resultobj;
21476 fail:
21477 return NULL;
21478 }
21479
21480
21481 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21482 PyObject *resultobj;
21483 wxPrintData *arg1 = (wxPrintData *) 0 ;
21484 double arg2 ;
21485 double arg3 ;
21486 PyObject * obj0 = 0 ;
21487 PyObject * obj1 = 0 ;
21488 PyObject * obj2 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "x",(char *) "y", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail;
21496 {
21497 arg2 = (double)(SWIG_As_double(obj1));
21498 if (SWIG_arg_fail(2)) SWIG_fail;
21499 }
21500 {
21501 arg3 = (double)(SWIG_As_double(obj2));
21502 if (SWIG_arg_fail(3)) SWIG_fail;
21503 }
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 (arg1)->SetPrinterScaling(arg2,arg3);
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 Py_INCREF(Py_None); resultobj = Py_None;
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPrintData *arg1 = (wxPrintData *) 0 ;
21521 long arg2 ;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "x", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail;
21531 {
21532 arg2 = (long)(SWIG_As_long(obj1));
21533 if (SWIG_arg_fail(2)) SWIG_fail;
21534 }
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 (arg1)->SetPrinterTranslateX(arg2);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 Py_INCREF(Py_None); resultobj = Py_None;
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj;
21551 wxPrintData *arg1 = (wxPrintData *) 0 ;
21552 long arg2 ;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "y", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail;
21562 {
21563 arg2 = (long)(SWIG_As_long(obj1));
21564 if (SWIG_arg_fail(2)) SWIG_fail;
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 (arg1)->SetPrinterTranslateY(arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 Py_INCREF(Py_None); resultobj = Py_None;
21574 return resultobj;
21575 fail:
21576 return NULL;
21577 }
21578
21579
21580 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21581 PyObject *resultobj;
21582 wxPrintData *arg1 = (wxPrintData *) 0 ;
21583 long arg2 ;
21584 long arg3 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 PyObject * obj2 = 0 ;
21588 char *kwnames[] = {
21589 (char *) "self",(char *) "x",(char *) "y", NULL
21590 };
21591
21592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail;
21595 {
21596 arg2 = (long)(SWIG_As_long(obj1));
21597 if (SWIG_arg_fail(2)) SWIG_fail;
21598 }
21599 {
21600 arg3 = (long)(SWIG_As_long(obj2));
21601 if (SWIG_arg_fail(3)) SWIG_fail;
21602 }
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 (arg1)->SetPrinterTranslation(arg2,arg3);
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 Py_INCREF(Py_None); resultobj = Py_None;
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21618 PyObject *obj;
21619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21620 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21621 Py_INCREF(obj);
21622 return Py_BuildValue((char *)"");
21623 }
21624 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21625 PyObject *resultobj;
21626 wxPageSetupDialogData *result;
21627
21628 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21644 PyObject *resultobj;
21645 wxPageSetupDialogData *arg1 = 0 ;
21646 wxPageSetupDialogData *result;
21647 PyObject * obj0 = 0 ;
21648
21649 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21650 {
21651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21652 if (SWIG_arg_fail(1)) SWIG_fail;
21653 if (arg1 == NULL) {
21654 SWIG_null_ref("wxPageSetupDialogData");
21655 }
21656 if (SWIG_arg_fail(1)) SWIG_fail;
21657 }
21658 {
21659 PyThreadState* __tstate = wxPyBeginAllowThreads();
21660 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21661
21662 wxPyEndAllowThreads(__tstate);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21666 return resultobj;
21667 fail:
21668 return NULL;
21669 }
21670
21671
21672 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21673 PyObject *resultobj;
21674 wxPrintData *arg1 = 0 ;
21675 wxPageSetupDialogData *result;
21676 PyObject * obj0 = 0 ;
21677
21678 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21679 {
21680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail;
21682 if (arg1 == NULL) {
21683 SWIG_null_ref("wxPrintData");
21684 }
21685 if (SWIG_arg_fail(1)) SWIG_fail;
21686 }
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21702 int argc;
21703 PyObject *argv[2];
21704 int ii;
21705
21706 argc = PyObject_Length(args);
21707 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21708 argv[ii] = PyTuple_GetItem(args,ii);
21709 }
21710 if (argc == 0) {
21711 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21712 }
21713 if (argc == 1) {
21714 int _v;
21715 {
21716 void *ptr = 0;
21717 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21718 _v = 0;
21719 PyErr_Clear();
21720 } else {
21721 _v = (ptr != 0);
21722 }
21723 }
21724 if (_v) {
21725 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21726 }
21727 }
21728 if (argc == 1) {
21729 int _v;
21730 {
21731 void *ptr = 0;
21732 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21733 _v = 0;
21734 PyErr_Clear();
21735 } else {
21736 _v = (ptr != 0);
21737 }
21738 }
21739 if (_v) {
21740 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21741 }
21742 }
21743
21744 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21752 PyObject * obj0 = 0 ;
21753 char *kwnames[] = {
21754 (char *) "self", NULL
21755 };
21756
21757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21759 if (SWIG_arg_fail(1)) SWIG_fail;
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 delete arg1;
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 Py_INCREF(Py_None); resultobj = Py_None;
21768 return resultobj;
21769 fail:
21770 return NULL;
21771 }
21772
21773
21774 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21775 PyObject *resultobj;
21776 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21777 bool arg2 ;
21778 PyObject * obj0 = 0 ;
21779 PyObject * obj1 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "self",(char *) "flag", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21786 if (SWIG_arg_fail(1)) SWIG_fail;
21787 {
21788 arg2 = (bool)(SWIG_As_bool(obj1));
21789 if (SWIG_arg_fail(2)) SWIG_fail;
21790 }
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 (arg1)->EnableHelp(arg2);
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 Py_INCREF(Py_None); resultobj = Py_None;
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21808 bool arg2 ;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "flag", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail;
21818 {
21819 arg2 = (bool)(SWIG_As_bool(obj1));
21820 if (SWIG_arg_fail(2)) SWIG_fail;
21821 }
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 (arg1)->EnableMargins(arg2);
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 Py_INCREF(Py_None); resultobj = Py_None;
21830 return resultobj;
21831 fail:
21832 return NULL;
21833 }
21834
21835
21836 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj;
21838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21839 bool arg2 ;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self",(char *) "flag", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail;
21849 {
21850 arg2 = (bool)(SWIG_As_bool(obj1));
21851 if (SWIG_arg_fail(2)) SWIG_fail;
21852 }
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 (arg1)->EnableOrientation(arg2);
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 Py_INCREF(Py_None); resultobj = Py_None;
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21870 bool arg2 ;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "flag", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail;
21880 {
21881 arg2 = (bool)(SWIG_As_bool(obj1));
21882 if (SWIG_arg_fail(2)) SWIG_fail;
21883 }
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 (arg1)->EnablePaper(arg2);
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 Py_INCREF(Py_None); resultobj = Py_None;
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21901 bool arg2 ;
21902 PyObject * obj0 = 0 ;
21903 PyObject * obj1 = 0 ;
21904 char *kwnames[] = {
21905 (char *) "self",(char *) "flag", NULL
21906 };
21907
21908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail;
21911 {
21912 arg2 = (bool)(SWIG_As_bool(obj1));
21913 if (SWIG_arg_fail(2)) SWIG_fail;
21914 }
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 (arg1)->EnablePrinter(arg2);
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 Py_INCREF(Py_None); resultobj = Py_None;
21923 return resultobj;
21924 fail:
21925 return NULL;
21926 }
21927
21928
21929 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21930 PyObject *resultobj;
21931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21932 bool result;
21933 PyObject * obj0 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
21939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail;
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = (bool)(arg1)->GetDefaultMinMargins();
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 {
21949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21950 }
21951 return resultobj;
21952 fail:
21953 return NULL;
21954 }
21955
21956
21957 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21958 PyObject *resultobj;
21959 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21960 bool result;
21961 PyObject * obj0 = 0 ;
21962 char *kwnames[] = {
21963 (char *) "self", NULL
21964 };
21965
21966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
21967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail;
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = (bool)(arg1)->GetEnableMargins();
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21978 }
21979 return resultobj;
21980 fail:
21981 return NULL;
21982 }
21983
21984
21985 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21988 bool result;
21989 PyObject * obj0 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "self", NULL
21992 };
21993
21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
21995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21996 if (SWIG_arg_fail(1)) SWIG_fail;
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 result = (bool)(arg1)->GetEnableOrientation();
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 {
22005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22006 }
22007 return resultobj;
22008 fail:
22009 return NULL;
22010 }
22011
22012
22013 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22014 PyObject *resultobj;
22015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22016 bool result;
22017 PyObject * obj0 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22024 if (SWIG_arg_fail(1)) SWIG_fail;
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 result = (bool)(arg1)->GetEnablePaper();
22028
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 {
22033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22034 }
22035 return resultobj;
22036 fail:
22037 return NULL;
22038 }
22039
22040
22041 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22044 bool result;
22045 PyObject * obj0 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail;
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (bool)(arg1)->GetEnablePrinter();
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 {
22061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22062 }
22063 return resultobj;
22064 fail:
22065 return NULL;
22066 }
22067
22068
22069 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22072 bool result;
22073 PyObject * obj0 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail;
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 result = (bool)(arg1)->GetEnableHelp();
22084
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 {
22089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22090 }
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22100 bool result;
22101 PyObject * obj0 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail;
22109 {
22110 PyThreadState* __tstate = wxPyBeginAllowThreads();
22111 result = (bool)(arg1)->GetDefaultInfo();
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 {
22117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22118 }
22119 return resultobj;
22120 fail:
22121 return NULL;
22122 }
22123
22124
22125 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22128 wxPoint result;
22129 PyObject * obj0 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22136 if (SWIG_arg_fail(1)) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (arg1)->GetMarginTopLeft();
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 {
22145 wxPoint * resultptr;
22146 resultptr = new wxPoint((wxPoint &)(result));
22147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22148 }
22149 return resultobj;
22150 fail:
22151 return NULL;
22152 }
22153
22154
22155 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22158 wxPoint result;
22159 PyObject * obj0 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail;
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 result = (arg1)->GetMarginBottomRight();
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 wxPoint * resultptr;
22176 resultptr = new wxPoint((wxPoint &)(result));
22177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22188 wxPoint result;
22189 PyObject * obj0 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22196 if (SWIG_arg_fail(1)) SWIG_fail;
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (arg1)->GetMinMarginTopLeft();
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 {
22205 wxPoint * resultptr;
22206 resultptr = new wxPoint((wxPoint &)(result));
22207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22208 }
22209 return resultobj;
22210 fail:
22211 return NULL;
22212 }
22213
22214
22215 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22216 PyObject *resultobj;
22217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22218 wxPoint result;
22219 PyObject * obj0 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22226 if (SWIG_arg_fail(1)) SWIG_fail;
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 result = (arg1)->GetMinMarginBottomRight();
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 {
22235 wxPoint * resultptr;
22236 resultptr = new wxPoint((wxPoint &)(result));
22237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22238 }
22239 return resultobj;
22240 fail:
22241 return NULL;
22242 }
22243
22244
22245 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22248 wxPaperSize result;
22249 PyObject * obj0 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22256 if (SWIG_arg_fail(1)) SWIG_fail;
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 result = (wxPaperSize)(arg1)->GetPaperId();
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 resultobj = SWIG_From_int((result));
22265 return resultobj;
22266 fail:
22267 return NULL;
22268 }
22269
22270
22271 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22274 wxSize result;
22275 PyObject * obj0 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22282 if (SWIG_arg_fail(1)) SWIG_fail;
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = (arg1)->GetPaperSize();
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 {
22291 wxSize * resultptr;
22292 resultptr = new wxSize((wxSize &)(result));
22293 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22294 }
22295 return resultobj;
22296 fail:
22297 return NULL;
22298 }
22299
22300
22301 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22302 PyObject *resultobj;
22303 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22304 wxPrintData *result;
22305 PyObject * obj0 = 0 ;
22306 char *kwnames[] = {
22307 (char *) "self", NULL
22308 };
22309
22310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail;
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 {
22316 wxPrintData &_result_ref = (arg1)->GetPrintData();
22317 result = (wxPrintData *) &_result_ref;
22318 }
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22331 PyObject *resultobj;
22332 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22333 bool result;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail;
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (bool)(arg1)->Ok();
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 {
22350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22351 }
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22361 bool arg2 ;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self",(char *) "flag", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22370 if (SWIG_arg_fail(1)) SWIG_fail;
22371 {
22372 arg2 = (bool)(SWIG_As_bool(obj1));
22373 if (SWIG_arg_fail(2)) SWIG_fail;
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 (arg1)->SetDefaultInfo(arg2);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 Py_INCREF(Py_None); resultobj = Py_None;
22383 return resultobj;
22384 fail:
22385 return NULL;
22386 }
22387
22388
22389 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22390 PyObject *resultobj;
22391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22392 bool arg2 ;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "self",(char *) "flag", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail;
22402 {
22403 arg2 = (bool)(SWIG_As_bool(obj1));
22404 if (SWIG_arg_fail(2)) SWIG_fail;
22405 }
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 (arg1)->SetDefaultMinMargins(arg2);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 Py_INCREF(Py_None); resultobj = Py_None;
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22423 wxPoint *arg2 = 0 ;
22424 wxPoint temp2 ;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self",(char *) "pt", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail;
22434 {
22435 arg2 = &temp2;
22436 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22437 }
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 Py_INCREF(Py_None); resultobj = Py_None;
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22455 wxPoint *arg2 = 0 ;
22456 wxPoint temp2 ;
22457 PyObject * obj0 = 0 ;
22458 PyObject * obj1 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self",(char *) "pt", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22465 if (SWIG_arg_fail(1)) SWIG_fail;
22466 {
22467 arg2 = &temp2;
22468 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22469 }
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 Py_INCREF(Py_None); resultobj = Py_None;
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22487 wxPoint *arg2 = 0 ;
22488 wxPoint temp2 ;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "pt", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22497 if (SWIG_arg_fail(1)) SWIG_fail;
22498 {
22499 arg2 = &temp2;
22500 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22501 }
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 Py_INCREF(Py_None); resultobj = Py_None;
22510 return resultobj;
22511 fail:
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22519 wxPoint *arg2 = 0 ;
22520 wxPoint temp2 ;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self",(char *) "pt", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22529 if (SWIG_arg_fail(1)) SWIG_fail;
22530 {
22531 arg2 = &temp2;
22532 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22533 }
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 Py_INCREF(Py_None); resultobj = Py_None;
22542 return resultobj;
22543 fail:
22544 return NULL;
22545 }
22546
22547
22548 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22551 wxPaperSize arg2 ;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self",(char *) "id", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail;
22561 {
22562 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22563 if (SWIG_arg_fail(2)) SWIG_fail;
22564 }
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 (arg1)->SetPaperId((wxPaperSize )arg2);
22568
22569 wxPyEndAllowThreads(__tstate);
22570 if (PyErr_Occurred()) SWIG_fail;
22571 }
22572 Py_INCREF(Py_None); resultobj = Py_None;
22573 return resultobj;
22574 fail:
22575 return NULL;
22576 }
22577
22578
22579 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22580 PyObject *resultobj;
22581 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22582 wxSize *arg2 = 0 ;
22583 wxSize temp2 ;
22584 PyObject * obj0 = 0 ;
22585 PyObject * obj1 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self",(char *) "size", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail;
22593 {
22594 arg2 = &temp2;
22595 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22596 }
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 (arg1)->SetPaperSize((wxSize const &)*arg2);
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 Py_INCREF(Py_None); resultobj = Py_None;
22605 return resultobj;
22606 fail:
22607 return NULL;
22608 }
22609
22610
22611 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22612 PyObject *resultobj;
22613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22614 wxPrintData *arg2 = 0 ;
22615 PyObject * obj0 = 0 ;
22616 PyObject * obj1 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self",(char *) "printData", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22623 if (SWIG_arg_fail(1)) SWIG_fail;
22624 {
22625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22626 if (SWIG_arg_fail(2)) SWIG_fail;
22627 if (arg2 == NULL) {
22628 SWIG_null_ref("wxPrintData");
22629 }
22630 if (SWIG_arg_fail(2)) SWIG_fail;
22631 }
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22649 PyObject * obj0 = 0 ;
22650 char *kwnames[] = {
22651 (char *) "self", NULL
22652 };
22653
22654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22656 if (SWIG_arg_fail(1)) SWIG_fail;
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 (arg1)->CalculateIdFromPaperSize();
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 Py_INCREF(Py_None); resultobj = Py_None;
22665 return resultobj;
22666 fail:
22667 return NULL;
22668 }
22669
22670
22671 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22672 PyObject *resultobj;
22673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail;
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->CalculatePaperSizeFromId();
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 * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22697 PyObject *obj;
22698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22699 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22700 Py_INCREF(obj);
22701 return Py_BuildValue((char *)"");
22702 }
22703 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22704 PyObject *resultobj;
22705 wxWindow *arg1 = (wxWindow *) 0 ;
22706 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22707 wxPageSetupDialog *result;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "parent",(char *) "data", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail;
22717 if (obj1) {
22718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22719 if (SWIG_arg_fail(2)) SWIG_fail;
22720 }
22721 {
22722 if (!wxPyCheckForApp()) SWIG_fail;
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22725
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22739 wxPageSetupDialogData *result;
22740 PyObject * obj0 = 0 ;
22741 char *kwnames[] = {
22742 (char *) "self", NULL
22743 };
22744
22745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22747 if (SWIG_arg_fail(1)) SWIG_fail;
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 {
22751 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22752 result = (wxPageSetupDialogData *) &_result_ref;
22753 }
22754
22755 wxPyEndAllowThreads(__tstate);
22756 if (PyErr_Occurred()) SWIG_fail;
22757 }
22758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22759 return resultobj;
22760 fail:
22761 return NULL;
22762 }
22763
22764
22765 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22766 PyObject *resultobj;
22767 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22768 wxPageSetupDialogData *result;
22769 PyObject * obj0 = 0 ;
22770 char *kwnames[] = {
22771 (char *) "self", NULL
22772 };
22773
22774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail;
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 {
22780 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22781 result = (wxPageSetupDialogData *) &_result_ref;
22782 }
22783
22784 wxPyEndAllowThreads(__tstate);
22785 if (PyErr_Occurred()) SWIG_fail;
22786 }
22787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22788 return resultobj;
22789 fail:
22790 return NULL;
22791 }
22792
22793
22794 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22795 PyObject *resultobj;
22796 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22797 int result;
22798 PyObject * obj0 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22805 if (SWIG_arg_fail(1)) SWIG_fail;
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (int)(arg1)->ShowModal();
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 {
22814 resultobj = SWIG_From_int((int)(result));
22815 }
22816 return resultobj;
22817 fail:
22818 return NULL;
22819 }
22820
22821
22822 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22823 PyObject *obj;
22824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22826 Py_INCREF(obj);
22827 return Py_BuildValue((char *)"");
22828 }
22829 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22830 PyObject *resultobj;
22831 wxPrintDialogData *result;
22832
22833 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22834 {
22835 PyThreadState* __tstate = wxPyBeginAllowThreads();
22836 result = (wxPrintDialogData *)new wxPrintDialogData();
22837
22838 wxPyEndAllowThreads(__tstate);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 }
22841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22842 return resultobj;
22843 fail:
22844 return NULL;
22845 }
22846
22847
22848 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22849 PyObject *resultobj;
22850 wxPrintData *arg1 = 0 ;
22851 wxPrintDialogData *result;
22852 PyObject * obj0 = 0 ;
22853
22854 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22855 {
22856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail;
22858 if (arg1 == NULL) {
22859 SWIG_null_ref("wxPrintData");
22860 }
22861 if (SWIG_arg_fail(1)) SWIG_fail;
22862 }
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22866
22867 wxPyEndAllowThreads(__tstate);
22868 if (PyErr_Occurred()) SWIG_fail;
22869 }
22870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22878 PyObject *resultobj;
22879 wxPrintDialogData *arg1 = 0 ;
22880 wxPrintDialogData *result;
22881 PyObject * obj0 = 0 ;
22882
22883 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22884 {
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 if (arg1 == NULL) {
22888 SWIG_null_ref("wxPrintDialogData");
22889 }
22890 if (SWIG_arg_fail(1)) SWIG_fail;
22891 }
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22900 return resultobj;
22901 fail:
22902 return NULL;
22903 }
22904
22905
22906 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22907 int argc;
22908 PyObject *argv[2];
22909 int ii;
22910
22911 argc = PyObject_Length(args);
22912 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22913 argv[ii] = PyTuple_GetItem(args,ii);
22914 }
22915 if (argc == 0) {
22916 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22917 }
22918 if (argc == 1) {
22919 int _v;
22920 {
22921 void *ptr = 0;
22922 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22923 _v = 0;
22924 PyErr_Clear();
22925 } else {
22926 _v = (ptr != 0);
22927 }
22928 }
22929 if (_v) {
22930 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22931 }
22932 }
22933 if (argc == 1) {
22934 int _v;
22935 {
22936 void *ptr = 0;
22937 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22938 _v = 0;
22939 PyErr_Clear();
22940 } else {
22941 _v = (ptr != 0);
22942 }
22943 }
22944 if (_v) {
22945 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22946 }
22947 }
22948
22949 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
22950 return NULL;
22951 }
22952
22953
22954 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22955 PyObject *resultobj;
22956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22957 PyObject * obj0 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
22963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22964 if (SWIG_arg_fail(1)) SWIG_fail;
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 delete arg1;
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 Py_INCREF(Py_None); resultobj = Py_None;
22973 return resultobj;
22974 fail:
22975 return NULL;
22976 }
22977
22978
22979 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
22980 PyObject *resultobj;
22981 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22982 int result;
22983 PyObject * obj0 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
22989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22990 if (SWIG_arg_fail(1)) SWIG_fail;
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22994
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 {
22999 resultobj = SWIG_From_int((int)(result));
23000 }
23001 return resultobj;
23002 fail:
23003 return NULL;
23004 }
23005
23006
23007 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23008 PyObject *resultobj;
23009 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23010 int result;
23011 PyObject * obj0 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail;
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 {
23027 resultobj = SWIG_From_int((int)(result));
23028 }
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23038 int result;
23039 PyObject * obj0 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
23047 {
23048 PyThreadState* __tstate = wxPyBeginAllowThreads();
23049 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23050
23051 wxPyEndAllowThreads(__tstate);
23052 if (PyErr_Occurred()) SWIG_fail;
23053 }
23054 {
23055 resultobj = SWIG_From_int((int)(result));
23056 }
23057 return resultobj;
23058 fail:
23059 return NULL;
23060 }
23061
23062
23063 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23064 PyObject *resultobj;
23065 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23066 int result;
23067 PyObject * obj0 = 0 ;
23068 char *kwnames[] = {
23069 (char *) "self", NULL
23070 };
23071
23072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail;
23075 {
23076 PyThreadState* __tstate = wxPyBeginAllowThreads();
23077 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23078
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 {
23083 resultobj = SWIG_From_int((int)(result));
23084 }
23085 return resultobj;
23086 fail:
23087 return NULL;
23088 }
23089
23090
23091 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23092 PyObject *resultobj;
23093 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23094 int result;
23095 PyObject * obj0 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail;
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 {
23111 resultobj = SWIG_From_int((int)(result));
23112 }
23113 return resultobj;
23114 fail:
23115 return NULL;
23116 }
23117
23118
23119 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23120 PyObject *resultobj;
23121 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23122 bool result;
23123 PyObject * obj0 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23130 if (SWIG_arg_fail(1)) SWIG_fail;
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 {
23139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23140 }
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23150 bool result;
23151 PyObject * obj0 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23158 if (SWIG_arg_fail(1)) SWIG_fail;
23159 {
23160 PyThreadState* __tstate = wxPyBeginAllowThreads();
23161 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23162
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 {
23167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23168 }
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23176 PyObject *resultobj;
23177 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23178 bool result;
23179 PyObject * obj0 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail;
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23190
23191 wxPyEndAllowThreads(__tstate);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 }
23194 {
23195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23196 }
23197 return resultobj;
23198 fail:
23199 return NULL;
23200 }
23201
23202
23203 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23204 PyObject *resultobj;
23205 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23206 bool result;
23207 PyObject * obj0 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail;
23215 {
23216 PyThreadState* __tstate = wxPyBeginAllowThreads();
23217 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23218
23219 wxPyEndAllowThreads(__tstate);
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 {
23223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23224 }
23225 return resultobj;
23226 fail:
23227 return NULL;
23228 }
23229
23230
23231 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23232 PyObject *resultobj;
23233 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23234 bool result;
23235 PyObject * obj0 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23242 if (SWIG_arg_fail(1)) SWIG_fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 {
23251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23252 }
23253 return resultobj;
23254 fail:
23255 return NULL;
23256 }
23257
23258
23259 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23260 PyObject *resultobj;
23261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23262 bool arg2 ;
23263 PyObject * obj0 = 0 ;
23264 PyObject * obj1 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self",(char *) "flag", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23271 if (SWIG_arg_fail(1)) SWIG_fail;
23272 {
23273 arg2 = (bool)(SWIG_As_bool(obj1));
23274 if (SWIG_arg_fail(2)) SWIG_fail;
23275 }
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->SetSetupDialog(arg2);
23279
23280 wxPyEndAllowThreads(__tstate);
23281 if (PyErr_Occurred()) SWIG_fail;
23282 }
23283 Py_INCREF(Py_None); resultobj = Py_None;
23284 return resultobj;
23285 fail:
23286 return NULL;
23287 }
23288
23289
23290 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23291 PyObject *resultobj;
23292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23293 int arg2 ;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "v", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 {
23304 arg2 = (int)(SWIG_As_int(obj1));
23305 if (SWIG_arg_fail(2)) SWIG_fail;
23306 }
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->SetFromPage(arg2);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 Py_INCREF(Py_None); resultobj = Py_None;
23315 return resultobj;
23316 fail:
23317 return NULL;
23318 }
23319
23320
23321 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj;
23323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23324 int arg2 ;
23325 PyObject * obj0 = 0 ;
23326 PyObject * obj1 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self",(char *) "v", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23333 if (SWIG_arg_fail(1)) SWIG_fail;
23334 {
23335 arg2 = (int)(SWIG_As_int(obj1));
23336 if (SWIG_arg_fail(2)) SWIG_fail;
23337 }
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 (arg1)->SetToPage(arg2);
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
23345 Py_INCREF(Py_None); resultobj = Py_None;
23346 return resultobj;
23347 fail:
23348 return NULL;
23349 }
23350
23351
23352 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23355 int arg2 ;
23356 PyObject * obj0 = 0 ;
23357 PyObject * obj1 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self",(char *) "v", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23364 if (SWIG_arg_fail(1)) SWIG_fail;
23365 {
23366 arg2 = (int)(SWIG_As_int(obj1));
23367 if (SWIG_arg_fail(2)) SWIG_fail;
23368 }
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 (arg1)->SetMinPage(arg2);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 Py_INCREF(Py_None); resultobj = Py_None;
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23386 int arg2 ;
23387 PyObject * obj0 = 0 ;
23388 PyObject * obj1 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self",(char *) "v", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23395 if (SWIG_arg_fail(1)) SWIG_fail;
23396 {
23397 arg2 = (int)(SWIG_As_int(obj1));
23398 if (SWIG_arg_fail(2)) SWIG_fail;
23399 }
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 (arg1)->SetMaxPage(arg2);
23403
23404 wxPyEndAllowThreads(__tstate);
23405 if (PyErr_Occurred()) SWIG_fail;
23406 }
23407 Py_INCREF(Py_None); resultobj = Py_None;
23408 return resultobj;
23409 fail:
23410 return NULL;
23411 }
23412
23413
23414 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23415 PyObject *resultobj;
23416 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23417 int arg2 ;
23418 PyObject * obj0 = 0 ;
23419 PyObject * obj1 = 0 ;
23420 char *kwnames[] = {
23421 (char *) "self",(char *) "v", NULL
23422 };
23423
23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(1)) SWIG_fail;
23427 {
23428 arg2 = (int)(SWIG_As_int(obj1));
23429 if (SWIG_arg_fail(2)) SWIG_fail;
23430 }
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 (arg1)->SetNoCopies(arg2);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23448 bool arg2 ;
23449 PyObject * obj0 = 0 ;
23450 PyObject * obj1 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self",(char *) "flag", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23457 if (SWIG_arg_fail(1)) SWIG_fail;
23458 {
23459 arg2 = (bool)(SWIG_As_bool(obj1));
23460 if (SWIG_arg_fail(2)) SWIG_fail;
23461 }
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 (arg1)->SetAllPages(arg2);
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
23469 Py_INCREF(Py_None); resultobj = Py_None;
23470 return resultobj;
23471 fail:
23472 return NULL;
23473 }
23474
23475
23476 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23477 PyObject *resultobj;
23478 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23479 bool arg2 ;
23480 PyObject * obj0 = 0 ;
23481 PyObject * obj1 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self",(char *) "flag", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23488 if (SWIG_arg_fail(1)) SWIG_fail;
23489 {
23490 arg2 = (bool)(SWIG_As_bool(obj1));
23491 if (SWIG_arg_fail(2)) SWIG_fail;
23492 }
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 (arg1)->SetSelection(arg2);
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 Py_INCREF(Py_None); resultobj = Py_None;
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23510 bool arg2 ;
23511 PyObject * obj0 = 0 ;
23512 PyObject * obj1 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self",(char *) "flag", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23519 if (SWIG_arg_fail(1)) SWIG_fail;
23520 {
23521 arg2 = (bool)(SWIG_As_bool(obj1));
23522 if (SWIG_arg_fail(2)) SWIG_fail;
23523 }
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 (arg1)->SetCollate(arg2);
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 Py_INCREF(Py_None); resultobj = Py_None;
23532 return resultobj;
23533 fail:
23534 return NULL;
23535 }
23536
23537
23538 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23539 PyObject *resultobj;
23540 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23541 bool arg2 ;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self",(char *) "flag", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(1)) SWIG_fail;
23551 {
23552 arg2 = (bool)(SWIG_As_bool(obj1));
23553 if (SWIG_arg_fail(2)) SWIG_fail;
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 (arg1)->SetPrintToFile(arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 Py_INCREF(Py_None); resultobj = Py_None;
23563 return resultobj;
23564 fail:
23565 return NULL;
23566 }
23567
23568
23569 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23570 PyObject *resultobj;
23571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23572 bool arg2 ;
23573 PyObject * obj0 = 0 ;
23574 PyObject * obj1 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self",(char *) "flag", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail;
23582 {
23583 arg2 = (bool)(SWIG_As_bool(obj1));
23584 if (SWIG_arg_fail(2)) SWIG_fail;
23585 }
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 (arg1)->EnablePrintToFile(arg2);
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 Py_INCREF(Py_None); resultobj = Py_None;
23594 return resultobj;
23595 fail:
23596 return NULL;
23597 }
23598
23599
23600 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23601 PyObject *resultobj;
23602 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23603 bool arg2 ;
23604 PyObject * obj0 = 0 ;
23605 PyObject * obj1 = 0 ;
23606 char *kwnames[] = {
23607 (char *) "self",(char *) "flag", NULL
23608 };
23609
23610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23612 if (SWIG_arg_fail(1)) SWIG_fail;
23613 {
23614 arg2 = (bool)(SWIG_As_bool(obj1));
23615 if (SWIG_arg_fail(2)) SWIG_fail;
23616 }
23617 {
23618 PyThreadState* __tstate = wxPyBeginAllowThreads();
23619 (arg1)->EnableSelection(arg2);
23620
23621 wxPyEndAllowThreads(__tstate);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 Py_INCREF(Py_None); resultobj = Py_None;
23625 return resultobj;
23626 fail:
23627 return NULL;
23628 }
23629
23630
23631 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23632 PyObject *resultobj;
23633 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23634 bool arg2 ;
23635 PyObject * obj0 = 0 ;
23636 PyObject * obj1 = 0 ;
23637 char *kwnames[] = {
23638 (char *) "self",(char *) "flag", NULL
23639 };
23640
23641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23643 if (SWIG_arg_fail(1)) SWIG_fail;
23644 {
23645 arg2 = (bool)(SWIG_As_bool(obj1));
23646 if (SWIG_arg_fail(2)) SWIG_fail;
23647 }
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->EnablePageNumbers(arg2);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23665 bool arg2 ;
23666 PyObject * obj0 = 0 ;
23667 PyObject * obj1 = 0 ;
23668 char *kwnames[] = {
23669 (char *) "self",(char *) "flag", NULL
23670 };
23671
23672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23674 if (SWIG_arg_fail(1)) SWIG_fail;
23675 {
23676 arg2 = (bool)(SWIG_As_bool(obj1));
23677 if (SWIG_arg_fail(2)) SWIG_fail;
23678 }
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 (arg1)->EnableHelp(arg2);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 Py_INCREF(Py_None); resultobj = Py_None;
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23696 bool result;
23697 PyObject * obj0 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23704 if (SWIG_arg_fail(1)) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 {
23713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23714 }
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23724 bool result;
23725 PyObject * obj0 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail;
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 {
23741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23742 }
23743 return resultobj;
23744 fail:
23745 return NULL;
23746 }
23747
23748
23749 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23750 PyObject *resultobj;
23751 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23752 bool result;
23753 PyObject * obj0 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23760 if (SWIG_arg_fail(1)) SWIG_fail;
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 {
23769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23770 }
23771 return resultobj;
23772 fail:
23773 return NULL;
23774 }
23775
23776
23777 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23780 bool result;
23781 PyObject * obj0 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail;
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 {
23797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23798 }
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23808 bool result;
23809 PyObject * obj0 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "self", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23816 if (SWIG_arg_fail(1)) SWIG_fail;
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 {
23825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23826 }
23827 return resultobj;
23828 fail:
23829 return NULL;
23830 }
23831
23832
23833 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23836 wxPrintData *result;
23837 PyObject * obj0 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "self", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23844 if (SWIG_arg_fail(1)) SWIG_fail;
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 {
23848 wxPrintData &_result_ref = (arg1)->GetPrintData();
23849 result = (wxPrintData *) &_result_ref;
23850 }
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23865 wxPrintData *arg2 = 0 ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "printData", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23874 if (SWIG_arg_fail(1)) SWIG_fail;
23875 {
23876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23877 if (SWIG_arg_fail(2)) SWIG_fail;
23878 if (arg2 == NULL) {
23879 SWIG_null_ref("wxPrintData");
23880 }
23881 if (SWIG_arg_fail(2)) SWIG_fail;
23882 }
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 Py_INCREF(Py_None); resultobj = Py_None;
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23898 PyObject *obj;
23899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23900 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23901 Py_INCREF(obj);
23902 return Py_BuildValue((char *)"");
23903 }
23904 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23905 PyObject *resultobj;
23906 wxWindow *arg1 = (wxWindow *) 0 ;
23907 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23908 wxPrintDialog *result;
23909 PyObject * obj0 = 0 ;
23910 PyObject * obj1 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "parent",(char *) "data", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail;
23918 if (obj1) {
23919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23920 if (SWIG_arg_fail(2)) SWIG_fail;
23921 }
23922 {
23923 if (!wxPyCheckForApp()) SWIG_fail;
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23940 int result;
23941 PyObject * obj0 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23948 if (SWIG_arg_fail(1)) SWIG_fail;
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 result = (int)(arg1)->ShowModal();
23952
23953 wxPyEndAllowThreads(__tstate);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 {
23957 resultobj = SWIG_From_int((int)(result));
23958 }
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23968 wxPrintDialogData *result;
23969 PyObject * obj0 = 0 ;
23970 char *kwnames[] = {
23971 (char *) "self", NULL
23972 };
23973
23974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23976 if (SWIG_arg_fail(1)) SWIG_fail;
23977 {
23978 PyThreadState* __tstate = wxPyBeginAllowThreads();
23979 {
23980 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23981 result = (wxPrintDialogData *) &_result_ref;
23982 }
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23997 wxPrintData *result;
23998 PyObject * obj0 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail;
24006 {
24007 PyThreadState* __tstate = wxPyBeginAllowThreads();
24008 {
24009 wxPrintData &_result_ref = (arg1)->GetPrintData();
24010 result = (wxPrintData *) &_result_ref;
24011 }
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24017 return resultobj;
24018 fail:
24019 return NULL;
24020 }
24021
24022
24023 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24024 PyObject *resultobj;
24025 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24026 wxDC *result;
24027 PyObject * obj0 = 0 ;
24028 char *kwnames[] = {
24029 (char *) "self", NULL
24030 };
24031
24032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24034 if (SWIG_arg_fail(1)) SWIG_fail;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = (wxDC *)(arg1)->GetPrintDC();
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 {
24043 resultobj = wxPyMake_wxObject(result, 1);
24044 }
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24052 PyObject *obj;
24053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24054 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24055 Py_INCREF(obj);
24056 return Py_BuildValue((char *)"");
24057 }
24058 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24061 wxPrinter *result;
24062 PyObject * obj0 = 0 ;
24063 char *kwnames[] = {
24064 (char *) "data", NULL
24065 };
24066
24067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24068 if (obj0) {
24069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail;
24071 }
24072 {
24073 if (!wxPyCheckForApp()) SWIG_fail;
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (wxPrinter *)new wxPrinter(arg1);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24081 return resultobj;
24082 fail:
24083 return NULL;
24084 }
24085
24086
24087 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24088 PyObject *resultobj;
24089 wxPrinter *arg1 = (wxPrinter *) 0 ;
24090 PyObject * obj0 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail;
24098 {
24099 PyThreadState* __tstate = wxPyBeginAllowThreads();
24100 delete arg1;
24101
24102 wxPyEndAllowThreads(__tstate);
24103 if (PyErr_Occurred()) SWIG_fail;
24104 }
24105 Py_INCREF(Py_None); resultobj = Py_None;
24106 return resultobj;
24107 fail:
24108 return NULL;
24109 }
24110
24111
24112 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxPrinter *arg1 = (wxPrinter *) 0 ;
24115 wxWindow *arg2 = (wxWindow *) 0 ;
24116 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24117 wxWindow *result;
24118 PyObject * obj0 = 0 ;
24119 PyObject * obj1 = 0 ;
24120 PyObject * obj2 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self",(char *) "parent",(char *) "printout", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail;
24128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24129 if (SWIG_arg_fail(2)) SWIG_fail;
24130 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24131 if (SWIG_arg_fail(3)) SWIG_fail;
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
24134 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
24139 {
24140 resultobj = wxPyMake_wxObject(result, 0);
24141 }
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxPrinter *arg1 = (wxPrinter *) 0 ;
24151 wxWindow *arg2 = (wxWindow *) 0 ;
24152 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24153 wxString *arg4 = 0 ;
24154 bool temp4 = false ;
24155 PyObject * obj0 = 0 ;
24156 PyObject * obj1 = 0 ;
24157 PyObject * obj2 = 0 ;
24158 PyObject * obj3 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24165 if (SWIG_arg_fail(1)) SWIG_fail;
24166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24167 if (SWIG_arg_fail(2)) SWIG_fail;
24168 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24169 if (SWIG_arg_fail(3)) SWIG_fail;
24170 {
24171 arg4 = wxString_in_helper(obj3);
24172 if (arg4 == NULL) SWIG_fail;
24173 temp4 = true;
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 Py_INCREF(Py_None); resultobj = Py_None;
24183 {
24184 if (temp4)
24185 delete arg4;
24186 }
24187 return resultobj;
24188 fail:
24189 {
24190 if (temp4)
24191 delete arg4;
24192 }
24193 return NULL;
24194 }
24195
24196
24197 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24198 PyObject *resultobj;
24199 wxPrinter *arg1 = (wxPrinter *) 0 ;
24200 wxWindow *arg2 = (wxWindow *) 0 ;
24201 bool result;
24202 PyObject * obj0 = 0 ;
24203 PyObject * obj1 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self",(char *) "parent", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail;
24211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24212 if (SWIG_arg_fail(2)) SWIG_fail;
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 result = (bool)(arg1)->Setup(arg2);
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 {
24221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24222 }
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxPrinter *arg1 = (wxPrinter *) 0 ;
24232 wxWindow *arg2 = (wxWindow *) 0 ;
24233 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24234 bool arg4 = (bool) true ;
24235 bool result;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 PyObject * obj2 = 0 ;
24239 PyObject * obj3 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail;
24247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail;
24249 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24250 if (SWIG_arg_fail(3)) SWIG_fail;
24251 if (obj3) {
24252 {
24253 arg4 = (bool)(SWIG_As_bool(obj3));
24254 if (SWIG_arg_fail(4)) SWIG_fail;
24255 }
24256 }
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
24265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24266 }
24267 return resultobj;
24268 fail:
24269 return NULL;
24270 }
24271
24272
24273 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24274 PyObject *resultobj;
24275 wxPrinter *arg1 = (wxPrinter *) 0 ;
24276 wxWindow *arg2 = (wxWindow *) 0 ;
24277 wxDC *result;
24278 PyObject * obj0 = 0 ;
24279 PyObject * obj1 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "parent", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail;
24287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24288 if (SWIG_arg_fail(2)) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (wxDC *)(arg1)->PrintDialog(arg2);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 resultobj = wxPyMake_wxObject(result, 0);
24298 }
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxPrinter *arg1 = (wxPrinter *) 0 ;
24308 wxPrintDialogData *result;
24309 PyObject * obj0 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail;
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 {
24320 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24321 result = (wxPrintDialogData *) &_result_ref;
24322 }
24323
24324 wxPyEndAllowThreads(__tstate);
24325 if (PyErr_Occurred()) SWIG_fail;
24326 }
24327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24328 return resultobj;
24329 fail:
24330 return NULL;
24331 }
24332
24333
24334 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxPrinter *arg1 = (wxPrinter *) 0 ;
24337 bool result;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24345 if (SWIG_arg_fail(1)) SWIG_fail;
24346 {
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (bool)(arg1)->GetAbort();
24349
24350 wxPyEndAllowThreads(__tstate);
24351 if (PyErr_Occurred()) SWIG_fail;
24352 }
24353 {
24354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24355 }
24356 return resultobj;
24357 fail:
24358 return NULL;
24359 }
24360
24361
24362 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj;
24364 wxPrinterError result;
24365 char *kwnames[] = {
24366 NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 result = (wxPrinterError)wxPrinter::GetLastError();
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 resultobj = SWIG_From_int((result));
24378 return resultobj;
24379 fail:
24380 return NULL;
24381 }
24382
24383
24384 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24385 PyObject *obj;
24386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24387 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24388 Py_INCREF(obj);
24389 return Py_BuildValue((char *)"");
24390 }
24391 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24394 wxString *arg1 = (wxString *) &arg1_defvalue ;
24395 wxPyPrintout *result;
24396 bool temp1 = false ;
24397 PyObject * obj0 = 0 ;
24398 char *kwnames[] = {
24399 (char *) "title", NULL
24400 };
24401
24402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24403 if (obj0) {
24404 {
24405 arg1 = wxString_in_helper(obj0);
24406 if (arg1 == NULL) SWIG_fail;
24407 temp1 = true;
24408 }
24409 }
24410 {
24411 if (!wxPyCheckForApp()) SWIG_fail;
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
24419 resultobj = wxPyMake_wxObject(result, 1);
24420 }
24421 {
24422 if (temp1)
24423 delete arg1;
24424 }
24425 return resultobj;
24426 fail:
24427 {
24428 if (temp1)
24429 delete arg1;
24430 }
24431 return NULL;
24432 }
24433
24434
24435 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj;
24437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24438 PyObject *arg2 = (PyObject *) 0 ;
24439 PyObject *arg3 = (PyObject *) 0 ;
24440 PyObject * obj0 = 0 ;
24441 PyObject * obj1 = 0 ;
24442 PyObject * obj2 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self",(char *) "self",(char *) "_class", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24449 if (SWIG_arg_fail(1)) SWIG_fail;
24450 arg2 = obj1;
24451 arg3 = obj2;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 (arg1)->_setCallbackInfo(arg2,arg3);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 Py_INCREF(Py_None); resultobj = Py_None;
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24469 wxString result;
24470 PyObject * obj0 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail;
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = ((wxPyPrintout const *)arg1)->GetTitle();
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 #if wxUSE_UNICODE
24487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24488 #else
24489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24490 #endif
24491 }
24492 return resultobj;
24493 fail:
24494 return NULL;
24495 }
24496
24497
24498 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24501 wxDC *result;
24502 PyObject * obj0 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (wxDC *)(arg1)->GetDC();
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 {
24518 resultobj = wxPyMake_wxObject(result, 0);
24519 }
24520 return resultobj;
24521 fail:
24522 return NULL;
24523 }
24524
24525
24526 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24527 PyObject *resultobj;
24528 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24529 wxDC *arg2 = (wxDC *) 0 ;
24530 PyObject * obj0 = 0 ;
24531 PyObject * obj1 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self",(char *) "dc", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail;
24539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24540 if (SWIG_arg_fail(2)) SWIG_fail;
24541 {
24542 PyThreadState* __tstate = wxPyBeginAllowThreads();
24543 (arg1)->SetDC(arg2);
24544
24545 wxPyEndAllowThreads(__tstate);
24546 if (PyErr_Occurred()) SWIG_fail;
24547 }
24548 Py_INCREF(Py_None); resultobj = Py_None;
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24558 int arg2 ;
24559 int arg3 ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 PyObject * obj2 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "w",(char *) "h", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24569 if (SWIG_arg_fail(1)) SWIG_fail;
24570 {
24571 arg2 = (int)(SWIG_As_int(obj1));
24572 if (SWIG_arg_fail(2)) SWIG_fail;
24573 }
24574 {
24575 arg3 = (int)(SWIG_As_int(obj2));
24576 if (SWIG_arg_fail(3)) SWIG_fail;
24577 }
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 (arg1)->SetPageSizePixels(arg2,arg3);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 Py_INCREF(Py_None); resultobj = Py_None;
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24595 int *arg2 = (int *) 0 ;
24596 int *arg3 = (int *) 0 ;
24597 int temp2 ;
24598 int res2 = 0 ;
24599 int temp3 ;
24600 int res3 = 0 ;
24601 PyObject * obj0 = 0 ;
24602 char *kwnames[] = {
24603 (char *) "self", NULL
24604 };
24605
24606 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24607 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail;
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 (arg1)->GetPageSizePixels(arg2,arg3);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 Py_INCREF(Py_None); resultobj = Py_None;
24619 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24620 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24621 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24622 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24623 return resultobj;
24624 fail:
24625 return NULL;
24626 }
24627
24628
24629 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24630 PyObject *resultobj;
24631 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24632 int arg2 ;
24633 int arg3 ;
24634 PyObject * obj0 = 0 ;
24635 PyObject * obj1 = 0 ;
24636 PyObject * obj2 = 0 ;
24637 char *kwnames[] = {
24638 (char *) "self",(char *) "w",(char *) "h", NULL
24639 };
24640
24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail;
24644 {
24645 arg2 = (int)(SWIG_As_int(obj1));
24646 if (SWIG_arg_fail(2)) SWIG_fail;
24647 }
24648 {
24649 arg3 = (int)(SWIG_As_int(obj2));
24650 if (SWIG_arg_fail(3)) SWIG_fail;
24651 }
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 (arg1)->SetPageSizeMM(arg2,arg3);
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 Py_INCREF(Py_None); resultobj = Py_None;
24660 return resultobj;
24661 fail:
24662 return NULL;
24663 }
24664
24665
24666 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24667 PyObject *resultobj;
24668 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24669 int *arg2 = (int *) 0 ;
24670 int *arg3 = (int *) 0 ;
24671 int temp2 ;
24672 int res2 = 0 ;
24673 int temp3 ;
24674 int res3 = 0 ;
24675 PyObject * obj0 = 0 ;
24676 char *kwnames[] = {
24677 (char *) "self", NULL
24678 };
24679
24680 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24681 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 (arg1)->GetPageSizeMM(arg2,arg3);
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 Py_INCREF(Py_None); resultobj = Py_None;
24693 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24694 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24695 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24696 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24697 return resultobj;
24698 fail:
24699 return NULL;
24700 }
24701
24702
24703 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj;
24705 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24706 int arg2 ;
24707 int arg3 ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 PyObject * obj2 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self",(char *) "x",(char *) "y", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24717 if (SWIG_arg_fail(1)) SWIG_fail;
24718 {
24719 arg2 = (int)(SWIG_As_int(obj1));
24720 if (SWIG_arg_fail(2)) SWIG_fail;
24721 }
24722 {
24723 arg3 = (int)(SWIG_As_int(obj2));
24724 if (SWIG_arg_fail(3)) SWIG_fail;
24725 }
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
24728 (arg1)->SetPPIScreen(arg2,arg3);
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj;
24742 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24743 int *arg2 = (int *) 0 ;
24744 int *arg3 = (int *) 0 ;
24745 int temp2 ;
24746 int res2 = 0 ;
24747 int temp3 ;
24748 int res3 = 0 ;
24749 PyObject * obj0 = 0 ;
24750 char *kwnames[] = {
24751 (char *) "self", NULL
24752 };
24753
24754 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24755 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 (arg1)->GetPPIScreen(arg2,arg3);
24762
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 Py_INCREF(Py_None); resultobj = Py_None;
24767 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24768 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24769 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24770 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24771 return resultobj;
24772 fail:
24773 return NULL;
24774 }
24775
24776
24777 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24778 PyObject *resultobj;
24779 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24780 int arg2 ;
24781 int arg3 ;
24782 PyObject * obj0 = 0 ;
24783 PyObject * obj1 = 0 ;
24784 PyObject * obj2 = 0 ;
24785 char *kwnames[] = {
24786 (char *) "self",(char *) "x",(char *) "y", NULL
24787 };
24788
24789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24791 if (SWIG_arg_fail(1)) SWIG_fail;
24792 {
24793 arg2 = (int)(SWIG_As_int(obj1));
24794 if (SWIG_arg_fail(2)) SWIG_fail;
24795 }
24796 {
24797 arg3 = (int)(SWIG_As_int(obj2));
24798 if (SWIG_arg_fail(3)) SWIG_fail;
24799 }
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->SetPPIPrinter(arg2,arg3);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 Py_INCREF(Py_None); resultobj = Py_None;
24808 return resultobj;
24809 fail:
24810 return NULL;
24811 }
24812
24813
24814 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24815 PyObject *resultobj;
24816 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24817 int *arg2 = (int *) 0 ;
24818 int *arg3 = (int *) 0 ;
24819 int temp2 ;
24820 int res2 = 0 ;
24821 int temp3 ;
24822 int res3 = 0 ;
24823 PyObject * obj0 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self", NULL
24826 };
24827
24828 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24829 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail;
24833 {
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 (arg1)->GetPPIPrinter(arg2,arg3);
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 Py_INCREF(Py_None); resultobj = Py_None;
24841 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24842 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24843 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24844 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24845 return resultobj;
24846 fail:
24847 return NULL;
24848 }
24849
24850
24851 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24852 PyObject *resultobj;
24853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24854 bool result;
24855 PyObject * obj0 = 0 ;
24856 char *kwnames[] = {
24857 (char *) "self", NULL
24858 };
24859
24860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24862 if (SWIG_arg_fail(1)) SWIG_fail;
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 result = (bool)(arg1)->IsPreview();
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 {
24871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24872 }
24873 return resultobj;
24874 fail:
24875 return NULL;
24876 }
24877
24878
24879 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24880 PyObject *resultobj;
24881 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24882 bool arg2 ;
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 char *kwnames[] = {
24886 (char *) "self",(char *) "p", NULL
24887 };
24888
24889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail;
24892 {
24893 arg2 = (bool)(SWIG_As_bool(obj1));
24894 if (SWIG_arg_fail(2)) SWIG_fail;
24895 }
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 (arg1)->SetIsPreview(arg2);
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 Py_INCREF(Py_None); resultobj = Py_None;
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24911 PyObject *resultobj;
24912 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24913 int arg2 ;
24914 int arg3 ;
24915 bool result;
24916 PyObject * obj0 = 0 ;
24917 PyObject * obj1 = 0 ;
24918 PyObject * obj2 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24925 if (SWIG_arg_fail(1)) SWIG_fail;
24926 {
24927 arg2 = (int)(SWIG_As_int(obj1));
24928 if (SWIG_arg_fail(2)) SWIG_fail;
24929 }
24930 {
24931 arg3 = (int)(SWIG_As_int(obj2));
24932 if (SWIG_arg_fail(3)) SWIG_fail;
24933 }
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24937
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 {
24942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24943 }
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
24959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail;
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 (arg1)->base_OnEndDocument();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 Py_INCREF(Py_None); resultobj = Py_None;
24969 return resultobj;
24970 fail:
24971 return NULL;
24972 }
24973
24974
24975 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24978 PyObject * obj0 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
24984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24985 if (SWIG_arg_fail(1)) SWIG_fail;
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 (arg1)->base_OnBeginPrinting();
24989
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 Py_INCREF(Py_None); resultobj = Py_None;
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25001 PyObject *resultobj;
25002 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25003 PyObject * obj0 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail;
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 (arg1)->base_OnEndPrinting();
25014
25015 wxPyEndAllowThreads(__tstate);
25016 if (PyErr_Occurred()) SWIG_fail;
25017 }
25018 Py_INCREF(Py_None); resultobj = Py_None;
25019 return resultobj;
25020 fail:
25021 return NULL;
25022 }
25023
25024
25025 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25026 PyObject *resultobj;
25027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25028 PyObject * obj0 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "self", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail;
25036 {
25037 PyThreadState* __tstate = wxPyBeginAllowThreads();
25038 (arg1)->base_OnPreparePrinting();
25039
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
25043 Py_INCREF(Py_None); resultobj = Py_None;
25044 return resultobj;
25045 fail:
25046 return NULL;
25047 }
25048
25049
25050 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25051 PyObject *resultobj;
25052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25053 int arg2 ;
25054 bool result;
25055 PyObject * obj0 = 0 ;
25056 PyObject * obj1 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "self",(char *) "page", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25063 if (SWIG_arg_fail(1)) SWIG_fail;
25064 {
25065 arg2 = (int)(SWIG_As_int(obj1));
25066 if (SWIG_arg_fail(2)) SWIG_fail;
25067 }
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 result = (bool)(arg1)->base_HasPage(arg2);
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 {
25076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25077 }
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25087 int *arg2 = (int *) 0 ;
25088 int *arg3 = (int *) 0 ;
25089 int *arg4 = (int *) 0 ;
25090 int *arg5 = (int *) 0 ;
25091 int temp2 ;
25092 int res2 = 0 ;
25093 int temp3 ;
25094 int res3 = 0 ;
25095 int temp4 ;
25096 int res4 = 0 ;
25097 int temp5 ;
25098 int res5 = 0 ;
25099 PyObject * obj0 = 0 ;
25100 char *kwnames[] = {
25101 (char *) "self", NULL
25102 };
25103
25104 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25105 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25106 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25107 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25120 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25121 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25122 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25123 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25124 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25125 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25126 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25134 PyObject *obj;
25135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25137 Py_INCREF(obj);
25138 return Py_BuildValue((char *)"");
25139 }
25140 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj;
25142 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25143 wxWindow *arg2 = (wxWindow *) 0 ;
25144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25146 wxSize const &arg4_defvalue = wxDefaultSize ;
25147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25148 long arg5 = (long) 0 ;
25149 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25150 wxString *arg6 = (wxString *) &arg6_defvalue ;
25151 wxPreviewCanvas *result;
25152 wxPoint temp3 ;
25153 wxSize temp4 ;
25154 bool temp6 = false ;
25155 PyObject * obj0 = 0 ;
25156 PyObject * obj1 = 0 ;
25157 PyObject * obj2 = 0 ;
25158 PyObject * obj3 = 0 ;
25159 PyObject * obj4 = 0 ;
25160 PyObject * obj5 = 0 ;
25161 char *kwnames[] = {
25162 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25163 };
25164
25165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail;
25168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25169 if (SWIG_arg_fail(2)) SWIG_fail;
25170 if (obj2) {
25171 {
25172 arg3 = &temp3;
25173 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25174 }
25175 }
25176 if (obj3) {
25177 {
25178 arg4 = &temp4;
25179 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25180 }
25181 }
25182 if (obj4) {
25183 {
25184 arg5 = (long)(SWIG_As_long(obj4));
25185 if (SWIG_arg_fail(5)) SWIG_fail;
25186 }
25187 }
25188 if (obj5) {
25189 {
25190 arg6 = wxString_in_helper(obj5);
25191 if (arg6 == NULL) SWIG_fail;
25192 temp6 = true;
25193 }
25194 }
25195 {
25196 if (!wxPyCheckForApp()) SWIG_fail;
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25199
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25204 {
25205 if (temp6)
25206 delete arg6;
25207 }
25208 return resultobj;
25209 fail:
25210 {
25211 if (temp6)
25212 delete arg6;
25213 }
25214 return NULL;
25215 }
25216
25217
25218 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25219 PyObject *obj;
25220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25221 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25222 Py_INCREF(obj);
25223 return Py_BuildValue((char *)"");
25224 }
25225 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25226 PyObject *resultobj;
25227 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25228 wxFrame *arg2 = (wxFrame *) 0 ;
25229 wxString *arg3 = 0 ;
25230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25232 wxSize const &arg5_defvalue = wxDefaultSize ;
25233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25234 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25235 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25236 wxString *arg7 = (wxString *) &arg7_defvalue ;
25237 wxPreviewFrame *result;
25238 bool temp3 = false ;
25239 wxPoint temp4 ;
25240 wxSize temp5 ;
25241 bool temp7 = false ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 PyObject * obj2 = 0 ;
25245 PyObject * obj3 = 0 ;
25246 PyObject * obj4 = 0 ;
25247 PyObject * obj5 = 0 ;
25248 PyObject * obj6 = 0 ;
25249 char *kwnames[] = {
25250 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail;
25256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25257 if (SWIG_arg_fail(2)) SWIG_fail;
25258 {
25259 arg3 = wxString_in_helper(obj2);
25260 if (arg3 == NULL) SWIG_fail;
25261 temp3 = true;
25262 }
25263 if (obj3) {
25264 {
25265 arg4 = &temp4;
25266 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25267 }
25268 }
25269 if (obj4) {
25270 {
25271 arg5 = &temp5;
25272 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25273 }
25274 }
25275 if (obj5) {
25276 {
25277 arg6 = (long)(SWIG_As_long(obj5));
25278 if (SWIG_arg_fail(6)) SWIG_fail;
25279 }
25280 }
25281 if (obj6) {
25282 {
25283 arg7 = wxString_in_helper(obj6);
25284 if (arg7 == NULL) SWIG_fail;
25285 temp7 = true;
25286 }
25287 }
25288 {
25289 if (!wxPyCheckForApp()) SWIG_fail;
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25297 {
25298 if (temp3)
25299 delete arg3;
25300 }
25301 {
25302 if (temp7)
25303 delete arg7;
25304 }
25305 return resultobj;
25306 fail:
25307 {
25308 if (temp3)
25309 delete arg3;
25310 }
25311 {
25312 if (temp7)
25313 delete arg7;
25314 }
25315 return NULL;
25316 }
25317
25318
25319 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25320 PyObject *resultobj;
25321 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25322 PyObject * obj0 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25329 if (SWIG_arg_fail(1)) SWIG_fail;
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 (arg1)->Initialize();
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 Py_INCREF(Py_None); resultobj = Py_None;
25338 return resultobj;
25339 fail:
25340 return NULL;
25341 }
25342
25343
25344 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25345 PyObject *resultobj;
25346 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25347 PyObject * obj0 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail;
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 (arg1)->CreateControlBar();
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 Py_INCREF(Py_None); resultobj = Py_None;
25363 return resultobj;
25364 fail:
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25379 if (SWIG_arg_fail(1)) SWIG_fail;
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 (arg1)->CreateCanvas();
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 Py_INCREF(Py_None); resultobj = Py_None;
25388 return resultobj;
25389 fail:
25390 return NULL;
25391 }
25392
25393
25394 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25395 PyObject *resultobj;
25396 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25397 wxPreviewControlBar *result;
25398 PyObject * obj0 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "self", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25405 if (SWIG_arg_fail(1)) SWIG_fail;
25406 {
25407 PyThreadState* __tstate = wxPyBeginAllowThreads();
25408 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25409
25410 wxPyEndAllowThreads(__tstate);
25411 if (PyErr_Occurred()) SWIG_fail;
25412 }
25413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25414 return resultobj;
25415 fail:
25416 return NULL;
25417 }
25418
25419
25420 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25421 PyObject *obj;
25422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25423 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25424 Py_INCREF(obj);
25425 return Py_BuildValue((char *)"");
25426 }
25427 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25430 long arg2 ;
25431 wxWindow *arg3 = (wxWindow *) 0 ;
25432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25434 wxSize const &arg5_defvalue = wxDefaultSize ;
25435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25436 long arg6 = (long) wxTAB_TRAVERSAL ;
25437 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25438 wxString *arg7 = (wxString *) &arg7_defvalue ;
25439 wxPreviewControlBar *result;
25440 wxPoint temp4 ;
25441 wxSize temp5 ;
25442 bool temp7 = false ;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 PyObject * obj2 = 0 ;
25446 PyObject * obj3 = 0 ;
25447 PyObject * obj4 = 0 ;
25448 PyObject * obj5 = 0 ;
25449 PyObject * obj6 = 0 ;
25450 char *kwnames[] = {
25451 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25452 };
25453
25454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25456 if (SWIG_arg_fail(1)) SWIG_fail;
25457 {
25458 arg2 = (long)(SWIG_As_long(obj1));
25459 if (SWIG_arg_fail(2)) SWIG_fail;
25460 }
25461 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25462 if (SWIG_arg_fail(3)) SWIG_fail;
25463 if (obj3) {
25464 {
25465 arg4 = &temp4;
25466 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25467 }
25468 }
25469 if (obj4) {
25470 {
25471 arg5 = &temp5;
25472 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25473 }
25474 }
25475 if (obj5) {
25476 {
25477 arg6 = (long)(SWIG_As_long(obj5));
25478 if (SWIG_arg_fail(6)) SWIG_fail;
25479 }
25480 }
25481 if (obj6) {
25482 {
25483 arg7 = wxString_in_helper(obj6);
25484 if (arg7 == NULL) SWIG_fail;
25485 temp7 = true;
25486 }
25487 }
25488 {
25489 if (!wxPyCheckForApp()) SWIG_fail;
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25497 {
25498 if (temp7)
25499 delete arg7;
25500 }
25501 return resultobj;
25502 fail:
25503 {
25504 if (temp7)
25505 delete arg7;
25506 }
25507 return NULL;
25508 }
25509
25510
25511 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25512 PyObject *resultobj;
25513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25514 int result;
25515 PyObject * obj0 = 0 ;
25516 char *kwnames[] = {
25517 (char *) "self", NULL
25518 };
25519
25520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25522 if (SWIG_arg_fail(1)) SWIG_fail;
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 result = (int)(arg1)->GetZoomControl();
25526
25527 wxPyEndAllowThreads(__tstate);
25528 if (PyErr_Occurred()) SWIG_fail;
25529 }
25530 {
25531 resultobj = SWIG_From_int((int)(result));
25532 }
25533 return resultobj;
25534 fail:
25535 return NULL;
25536 }
25537
25538
25539 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25542 int arg2 ;
25543 PyObject * obj0 = 0 ;
25544 PyObject * obj1 = 0 ;
25545 char *kwnames[] = {
25546 (char *) "self",(char *) "zoom", NULL
25547 };
25548
25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25551 if (SWIG_arg_fail(1)) SWIG_fail;
25552 {
25553 arg2 = (int)(SWIG_As_int(obj1));
25554 if (SWIG_arg_fail(2)) SWIG_fail;
25555 }
25556 {
25557 PyThreadState* __tstate = wxPyBeginAllowThreads();
25558 (arg1)->SetZoomControl(arg2);
25559
25560 wxPyEndAllowThreads(__tstate);
25561 if (PyErr_Occurred()) SWIG_fail;
25562 }
25563 Py_INCREF(Py_None); resultobj = Py_None;
25564 return resultobj;
25565 fail:
25566 return NULL;
25567 }
25568
25569
25570 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25571 PyObject *resultobj;
25572 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25573 wxPrintPreview *result;
25574 PyObject * obj0 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25581 if (SWIG_arg_fail(1)) SWIG_fail;
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25599 PyObject * obj0 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail;
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 (arg1)->OnNext();
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 Py_INCREF(Py_None); resultobj = Py_None;
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj;
25623 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25624 PyObject * obj0 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25631 if (SWIG_arg_fail(1)) SWIG_fail;
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 (arg1)->OnPrevious();
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 Py_INCREF(Py_None); resultobj = Py_None;
25640 return resultobj;
25641 fail:
25642 return NULL;
25643 }
25644
25645
25646 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25647 PyObject *resultobj;
25648 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25649 PyObject * obj0 = 0 ;
25650 char *kwnames[] = {
25651 (char *) "self", NULL
25652 };
25653
25654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25656 if (SWIG_arg_fail(1)) SWIG_fail;
25657 {
25658 PyThreadState* __tstate = wxPyBeginAllowThreads();
25659 (arg1)->OnFirst();
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 Py_INCREF(Py_None); resultobj = Py_None;
25665 return resultobj;
25666 fail:
25667 return NULL;
25668 }
25669
25670
25671 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25674 PyObject * obj0 = 0 ;
25675 char *kwnames[] = {
25676 (char *) "self", NULL
25677 };
25678
25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail;
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 (arg1)->OnLast();
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 Py_INCREF(Py_None); resultobj = Py_None;
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25699 PyObject * obj0 = 0 ;
25700 char *kwnames[] = {
25701 (char *) "self", NULL
25702 };
25703
25704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail;
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 (arg1)->OnGoto();
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 Py_INCREF(Py_None); resultobj = Py_None;
25715 return resultobj;
25716 fail:
25717 return NULL;
25718 }
25719
25720
25721 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25722 PyObject *obj;
25723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25724 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25725 Py_INCREF(obj);
25726 return Py_BuildValue((char *)"");
25727 }
25728 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25729 PyObject *resultobj;
25730 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25731 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25732 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25733 wxPrintPreview *result;
25734 PyObject * obj0 = 0 ;
25735 PyObject * obj1 = 0 ;
25736 PyObject * obj2 = 0 ;
25737
25738 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail;
25741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25742 if (SWIG_arg_fail(2)) SWIG_fail;
25743 if (obj2) {
25744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25745 if (SWIG_arg_fail(3)) SWIG_fail;
25746 }
25747 {
25748 if (!wxPyCheckForApp()) SWIG_fail;
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25751
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25756 return resultobj;
25757 fail:
25758 return NULL;
25759 }
25760
25761
25762 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25763 PyObject *resultobj;
25764 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25765 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25766 wxPrintData *arg3 = (wxPrintData *) 0 ;
25767 wxPrintPreview *result;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 PyObject * obj2 = 0 ;
25771
25772 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25774 if (SWIG_arg_fail(1)) SWIG_fail;
25775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25776 if (SWIG_arg_fail(2)) SWIG_fail;
25777 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25778 if (SWIG_arg_fail(3)) SWIG_fail;
25779 {
25780 if (!wxPyCheckForApp()) SWIG_fail;
25781 PyThreadState* __tstate = wxPyBeginAllowThreads();
25782 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25783
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25795 int argc;
25796 PyObject *argv[4];
25797 int ii;
25798
25799 argc = PyObject_Length(args);
25800 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25801 argv[ii] = PyTuple_GetItem(args,ii);
25802 }
25803 if ((argc >= 2) && (argc <= 3)) {
25804 int _v;
25805 {
25806 void *ptr;
25807 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25808 _v = 0;
25809 PyErr_Clear();
25810 } else {
25811 _v = 1;
25812 }
25813 }
25814 if (_v) {
25815 {
25816 void *ptr;
25817 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25818 _v = 0;
25819 PyErr_Clear();
25820 } else {
25821 _v = 1;
25822 }
25823 }
25824 if (_v) {
25825 if (argc <= 2) {
25826 return _wrap_new_PrintPreview__SWIG_0(self,args);
25827 }
25828 {
25829 void *ptr;
25830 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25831 _v = 0;
25832 PyErr_Clear();
25833 } else {
25834 _v = 1;
25835 }
25836 }
25837 if (_v) {
25838 return _wrap_new_PrintPreview__SWIG_0(self,args);
25839 }
25840 }
25841 }
25842 }
25843 if (argc == 3) {
25844 int _v;
25845 {
25846 void *ptr;
25847 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25848 _v = 0;
25849 PyErr_Clear();
25850 } else {
25851 _v = 1;
25852 }
25853 }
25854 if (_v) {
25855 {
25856 void *ptr;
25857 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25858 _v = 0;
25859 PyErr_Clear();
25860 } else {
25861 _v = 1;
25862 }
25863 }
25864 if (_v) {
25865 {
25866 void *ptr;
25867 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25868 _v = 0;
25869 PyErr_Clear();
25870 } else {
25871 _v = 1;
25872 }
25873 }
25874 if (_v) {
25875 return _wrap_new_PrintPreview__SWIG_1(self,args);
25876 }
25877 }
25878 }
25879 }
25880
25881 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25882 return NULL;
25883 }
25884
25885
25886 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25887 PyObject *resultobj;
25888 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25889 int arg2 ;
25890 bool result;
25891 PyObject * obj0 = 0 ;
25892 PyObject * obj1 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self",(char *) "pageNum", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail;
25900 {
25901 arg2 = (int)(SWIG_As_int(obj1));
25902 if (SWIG_arg_fail(2)) SWIG_fail;
25903 }
25904 {
25905 PyThreadState* __tstate = wxPyBeginAllowThreads();
25906 result = (bool)(arg1)->SetCurrentPage(arg2);
25907
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 {
25912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25913 }
25914 return resultobj;
25915 fail:
25916 return NULL;
25917 }
25918
25919
25920 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25923 int result;
25924 PyObject * obj0 = 0 ;
25925 char *kwnames[] = {
25926 (char *) "self", NULL
25927 };
25928
25929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail;
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 result = (int)(arg1)->GetCurrentPage();
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 {
25940 resultobj = SWIG_From_int((int)(result));
25941 }
25942 return resultobj;
25943 fail:
25944 return NULL;
25945 }
25946
25947
25948 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25949 PyObject *resultobj;
25950 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25951 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 char *kwnames[] = {
25955 (char *) "self",(char *) "printout", NULL
25956 };
25957
25958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25960 if (SWIG_arg_fail(1)) SWIG_fail;
25961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25962 if (SWIG_arg_fail(2)) SWIG_fail;
25963 {
25964 PyThreadState* __tstate = wxPyBeginAllowThreads();
25965 (arg1)->SetPrintout(arg2);
25966
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 Py_INCREF(Py_None); resultobj = Py_None;
25971 return resultobj;
25972 fail:
25973 return NULL;
25974 }
25975
25976
25977 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25978 PyObject *resultobj;
25979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25980 wxPyPrintout *result;
25981 PyObject * obj0 = 0 ;
25982 char *kwnames[] = {
25983 (char *) "self", NULL
25984 };
25985
25986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
25987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail;
25989 {
25990 PyThreadState* __tstate = wxPyBeginAllowThreads();
25991 result = (wxPyPrintout *)(arg1)->GetPrintout();
25992
25993 wxPyEndAllowThreads(__tstate);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 {
25997 resultobj = wxPyMake_wxObject(result, 0);
25998 }
25999 return resultobj;
26000 fail:
26001 return NULL;
26002 }
26003
26004
26005 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26006 PyObject *resultobj;
26007 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26008 wxPyPrintout *result;
26009 PyObject * obj0 = 0 ;
26010 char *kwnames[] = {
26011 (char *) "self", NULL
26012 };
26013
26014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26016 if (SWIG_arg_fail(1)) SWIG_fail;
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26020
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
26024 {
26025 resultobj = wxPyMake_wxObject(result, 0);
26026 }
26027 return resultobj;
26028 fail:
26029 return NULL;
26030 }
26031
26032
26033 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26034 PyObject *resultobj;
26035 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26036 wxFrame *arg2 = (wxFrame *) 0 ;
26037 PyObject * obj0 = 0 ;
26038 PyObject * obj1 = 0 ;
26039 char *kwnames[] = {
26040 (char *) "self",(char *) "frame", NULL
26041 };
26042
26043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26045 if (SWIG_arg_fail(1)) SWIG_fail;
26046 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26047 if (SWIG_arg_fail(2)) SWIG_fail;
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 (arg1)->SetFrame(arg2);
26051
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
26055 Py_INCREF(Py_None); resultobj = Py_None;
26056 return resultobj;
26057 fail:
26058 return NULL;
26059 }
26060
26061
26062 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26063 PyObject *resultobj;
26064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26065 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26066 PyObject * obj0 = 0 ;
26067 PyObject * obj1 = 0 ;
26068 char *kwnames[] = {
26069 (char *) "self",(char *) "canvas", NULL
26070 };
26071
26072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26074 if (SWIG_arg_fail(1)) SWIG_fail;
26075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26076 if (SWIG_arg_fail(2)) SWIG_fail;
26077 {
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 (arg1)->SetCanvas(arg2);
26080
26081 wxPyEndAllowThreads(__tstate);
26082 if (PyErr_Occurred()) SWIG_fail;
26083 }
26084 Py_INCREF(Py_None); resultobj = Py_None;
26085 return resultobj;
26086 fail:
26087 return NULL;
26088 }
26089
26090
26091 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26092 PyObject *resultobj;
26093 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26094 wxFrame *result;
26095 PyObject * obj0 = 0 ;
26096 char *kwnames[] = {
26097 (char *) "self", NULL
26098 };
26099
26100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26102 if (SWIG_arg_fail(1)) SWIG_fail;
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 result = (wxFrame *)(arg1)->GetFrame();
26106
26107 wxPyEndAllowThreads(__tstate);
26108 if (PyErr_Occurred()) SWIG_fail;
26109 }
26110 {
26111 resultobj = wxPyMake_wxObject(result, 0);
26112 }
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26122 wxPreviewCanvas *result;
26123 PyObject * obj0 = 0 ;
26124 char *kwnames[] = {
26125 (char *) "self", NULL
26126 };
26127
26128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26130 if (SWIG_arg_fail(1)) SWIG_fail;
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26134
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26139 return resultobj;
26140 fail:
26141 return NULL;
26142 }
26143
26144
26145 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26146 PyObject *resultobj;
26147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26148 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26149 wxDC *arg3 = 0 ;
26150 bool result;
26151 PyObject * obj0 = 0 ;
26152 PyObject * obj1 = 0 ;
26153 PyObject * obj2 = 0 ;
26154 char *kwnames[] = {
26155 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26156 };
26157
26158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail;
26161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26162 if (SWIG_arg_fail(2)) SWIG_fail;
26163 {
26164 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26165 if (SWIG_arg_fail(3)) SWIG_fail;
26166 if (arg3 == NULL) {
26167 SWIG_null_ref("wxDC");
26168 }
26169 if (SWIG_arg_fail(3)) SWIG_fail;
26170 }
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26174
26175 wxPyEndAllowThreads(__tstate);
26176 if (PyErr_Occurred()) SWIG_fail;
26177 }
26178 {
26179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26180 }
26181 return resultobj;
26182 fail:
26183 return NULL;
26184 }
26185
26186
26187 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26188 PyObject *resultobj;
26189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26190 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26191 wxDC *arg3 = 0 ;
26192 bool result;
26193 PyObject * obj0 = 0 ;
26194 PyObject * obj1 = 0 ;
26195 PyObject * obj2 = 0 ;
26196 char *kwnames[] = {
26197 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26198 };
26199
26200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail;
26203 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26204 if (SWIG_arg_fail(2)) SWIG_fail;
26205 {
26206 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26207 if (SWIG_arg_fail(3)) SWIG_fail;
26208 if (arg3 == NULL) {
26209 SWIG_null_ref("wxDC");
26210 }
26211 if (SWIG_arg_fail(3)) SWIG_fail;
26212 }
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 {
26221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26222 }
26223 return resultobj;
26224 fail:
26225 return NULL;
26226 }
26227
26228
26229 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26232 int arg2 ;
26233 bool result;
26234 PyObject * obj0 = 0 ;
26235 PyObject * obj1 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "pageNum", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) 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 {
26244 arg2 = (int)(SWIG_As_int(obj1));
26245 if (SWIG_arg_fail(2)) SWIG_fail;
26246 }
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (bool)(arg1)->RenderPage(arg2);
26250
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 {
26255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26256 }
26257 return resultobj;
26258 fail:
26259 return NULL;
26260 }
26261
26262
26263 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj;
26265 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26266 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26267 PyObject * obj0 = 0 ;
26268 PyObject * obj1 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "canvas", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail;
26276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26277 if (SWIG_arg_fail(2)) SWIG_fail;
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 (arg1)->AdjustScrollbars(arg2);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 Py_INCREF(Py_None); resultobj = Py_None;
26286 return resultobj;
26287 fail:
26288 return NULL;
26289 }
26290
26291
26292 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26295 wxPrintDialogData *result;
26296 PyObject * obj0 = 0 ;
26297 char *kwnames[] = {
26298 (char *) "self", NULL
26299 };
26300
26301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26303 if (SWIG_arg_fail(1)) SWIG_fail;
26304 {
26305 PyThreadState* __tstate = wxPyBeginAllowThreads();
26306 {
26307 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26308 result = (wxPrintDialogData *) &_result_ref;
26309 }
26310
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26315 return resultobj;
26316 fail:
26317 return NULL;
26318 }
26319
26320
26321 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26322 PyObject *resultobj;
26323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26324 int arg2 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self",(char *) "percent", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26333 if (SWIG_arg_fail(1)) SWIG_fail;
26334 {
26335 arg2 = (int)(SWIG_As_int(obj1));
26336 if (SWIG_arg_fail(2)) SWIG_fail;
26337 }
26338 {
26339 PyThreadState* __tstate = wxPyBeginAllowThreads();
26340 (arg1)->SetZoom(arg2);
26341
26342 wxPyEndAllowThreads(__tstate);
26343 if (PyErr_Occurred()) SWIG_fail;
26344 }
26345 Py_INCREF(Py_None); resultobj = Py_None;
26346 return resultobj;
26347 fail:
26348 return NULL;
26349 }
26350
26351
26352 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26353 PyObject *resultobj;
26354 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26355 int result;
26356 PyObject * obj0 = 0 ;
26357 char *kwnames[] = {
26358 (char *) "self", NULL
26359 };
26360
26361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26363 if (SWIG_arg_fail(1)) SWIG_fail;
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (int)(arg1)->GetZoom();
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 {
26372 resultobj = SWIG_From_int((int)(result));
26373 }
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26383 int result;
26384 PyObject * obj0 = 0 ;
26385 char *kwnames[] = {
26386 (char *) "self", NULL
26387 };
26388
26389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26391 if (SWIG_arg_fail(1)) SWIG_fail;
26392 {
26393 PyThreadState* __tstate = wxPyBeginAllowThreads();
26394 result = (int)(arg1)->GetMaxPage();
26395
26396 wxPyEndAllowThreads(__tstate);
26397 if (PyErr_Occurred()) SWIG_fail;
26398 }
26399 {
26400 resultobj = SWIG_From_int((int)(result));
26401 }
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj;
26410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26411 int result;
26412 PyObject * obj0 = 0 ;
26413 char *kwnames[] = {
26414 (char *) "self", NULL
26415 };
26416
26417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26419 if (SWIG_arg_fail(1)) SWIG_fail;
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 result = (int)(arg1)->GetMinPage();
26423
26424 wxPyEndAllowThreads(__tstate);
26425 if (PyErr_Occurred()) SWIG_fail;
26426 }
26427 {
26428 resultobj = SWIG_From_int((int)(result));
26429 }
26430 return resultobj;
26431 fail:
26432 return NULL;
26433 }
26434
26435
26436 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26437 PyObject *resultobj;
26438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26439 bool result;
26440 PyObject * obj0 = 0 ;
26441 char *kwnames[] = {
26442 (char *) "self", NULL
26443 };
26444
26445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26447 if (SWIG_arg_fail(1)) SWIG_fail;
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = (bool)(arg1)->Ok();
26451
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 {
26456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26457 }
26458 return resultobj;
26459 fail:
26460 return NULL;
26461 }
26462
26463
26464 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26465 PyObject *resultobj;
26466 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26467 bool arg2 ;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 char *kwnames[] = {
26471 (char *) "self",(char *) "ok", NULL
26472 };
26473
26474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail;
26477 {
26478 arg2 = (bool)(SWIG_As_bool(obj1));
26479 if (SWIG_arg_fail(2)) SWIG_fail;
26480 }
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 (arg1)->SetOk(arg2);
26484
26485 wxPyEndAllowThreads(__tstate);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 }
26488 Py_INCREF(Py_None); resultobj = Py_None;
26489 return resultobj;
26490 fail:
26491 return NULL;
26492 }
26493
26494
26495 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26496 PyObject *resultobj;
26497 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26498 bool arg2 ;
26499 bool result;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 char *kwnames[] = {
26503 (char *) "self",(char *) "interactive", NULL
26504 };
26505
26506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail;
26509 {
26510 arg2 = (bool)(SWIG_As_bool(obj1));
26511 if (SWIG_arg_fail(2)) SWIG_fail;
26512 }
26513 {
26514 PyThreadState* __tstate = wxPyBeginAllowThreads();
26515 result = (bool)(arg1)->Print(arg2);
26516
26517 wxPyEndAllowThreads(__tstate);
26518 if (PyErr_Occurred()) SWIG_fail;
26519 }
26520 {
26521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26522 }
26523 return resultobj;
26524 fail:
26525 return NULL;
26526 }
26527
26528
26529 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26530 PyObject *resultobj;
26531 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26532 PyObject * obj0 = 0 ;
26533 char *kwnames[] = {
26534 (char *) "self", NULL
26535 };
26536
26537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26539 if (SWIG_arg_fail(1)) SWIG_fail;
26540 {
26541 PyThreadState* __tstate = wxPyBeginAllowThreads();
26542 (arg1)->DetermineScaling();
26543
26544 wxPyEndAllowThreads(__tstate);
26545 if (PyErr_Occurred()) SWIG_fail;
26546 }
26547 Py_INCREF(Py_None); resultobj = Py_None;
26548 return resultobj;
26549 fail:
26550 return NULL;
26551 }
26552
26553
26554 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26555 PyObject *obj;
26556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26557 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26558 Py_INCREF(obj);
26559 return Py_BuildValue((char *)"");
26560 }
26561 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26562 PyObject *resultobj;
26563 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26564 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26565 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26566 wxPyPrintPreview *result;
26567 PyObject * obj0 = 0 ;
26568 PyObject * obj1 = 0 ;
26569 PyObject * obj2 = 0 ;
26570
26571 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail;
26574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26575 if (SWIG_arg_fail(2)) SWIG_fail;
26576 if (obj2) {
26577 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26578 if (SWIG_arg_fail(3)) SWIG_fail;
26579 }
26580 {
26581 if (!wxPyCheckForApp()) SWIG_fail;
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26589 return resultobj;
26590 fail:
26591 return NULL;
26592 }
26593
26594
26595 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26596 PyObject *resultobj;
26597 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26598 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26599 wxPrintData *arg3 = (wxPrintData *) 0 ;
26600 wxPyPrintPreview *result;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 PyObject * obj2 = 0 ;
26604
26605 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26607 if (SWIG_arg_fail(1)) SWIG_fail;
26608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26609 if (SWIG_arg_fail(2)) SWIG_fail;
26610 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26611 if (SWIG_arg_fail(3)) SWIG_fail;
26612 {
26613 if (!wxPyCheckForApp()) SWIG_fail;
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26621 return resultobj;
26622 fail:
26623 return NULL;
26624 }
26625
26626
26627 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26628 int argc;
26629 PyObject *argv[4];
26630 int ii;
26631
26632 argc = PyObject_Length(args);
26633 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26634 argv[ii] = PyTuple_GetItem(args,ii);
26635 }
26636 if ((argc >= 2) && (argc <= 3)) {
26637 int _v;
26638 {
26639 void *ptr;
26640 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26641 _v = 0;
26642 PyErr_Clear();
26643 } else {
26644 _v = 1;
26645 }
26646 }
26647 if (_v) {
26648 {
26649 void *ptr;
26650 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26651 _v = 0;
26652 PyErr_Clear();
26653 } else {
26654 _v = 1;
26655 }
26656 }
26657 if (_v) {
26658 if (argc <= 2) {
26659 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26660 }
26661 {
26662 void *ptr;
26663 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26664 _v = 0;
26665 PyErr_Clear();
26666 } else {
26667 _v = 1;
26668 }
26669 }
26670 if (_v) {
26671 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26672 }
26673 }
26674 }
26675 }
26676 if (argc == 3) {
26677 int _v;
26678 {
26679 void *ptr;
26680 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26681 _v = 0;
26682 PyErr_Clear();
26683 } else {
26684 _v = 1;
26685 }
26686 }
26687 if (_v) {
26688 {
26689 void *ptr;
26690 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26691 _v = 0;
26692 PyErr_Clear();
26693 } else {
26694 _v = 1;
26695 }
26696 }
26697 if (_v) {
26698 {
26699 void *ptr;
26700 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26701 _v = 0;
26702 PyErr_Clear();
26703 } else {
26704 _v = 1;
26705 }
26706 }
26707 if (_v) {
26708 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26709 }
26710 }
26711 }
26712 }
26713
26714 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26715 return NULL;
26716 }
26717
26718
26719 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26720 PyObject *resultobj;
26721 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26722 PyObject *arg2 = (PyObject *) 0 ;
26723 PyObject *arg3 = (PyObject *) 0 ;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 PyObject * obj2 = 0 ;
26727 char *kwnames[] = {
26728 (char *) "self",(char *) "self",(char *) "_class", NULL
26729 };
26730
26731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26733 if (SWIG_arg_fail(1)) SWIG_fail;
26734 arg2 = obj1;
26735 arg3 = obj2;
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 (arg1)->_setCallbackInfo(arg2,arg3);
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
26743 Py_INCREF(Py_None); resultobj = Py_None;
26744 return resultobj;
26745 fail:
26746 return NULL;
26747 }
26748
26749
26750 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26751 PyObject *resultobj;
26752 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26753 int arg2 ;
26754 bool result;
26755 PyObject * obj0 = 0 ;
26756 PyObject * obj1 = 0 ;
26757 char *kwnames[] = {
26758 (char *) "self",(char *) "pageNum", NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26763 if (SWIG_arg_fail(1)) SWIG_fail;
26764 {
26765 arg2 = (int)(SWIG_As_int(obj1));
26766 if (SWIG_arg_fail(2)) SWIG_fail;
26767 }
26768 {
26769 PyThreadState* __tstate = wxPyBeginAllowThreads();
26770 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26771
26772 wxPyEndAllowThreads(__tstate);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 }
26775 {
26776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26777 }
26778 return resultobj;
26779 fail:
26780 return NULL;
26781 }
26782
26783
26784 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26785 PyObject *resultobj;
26786 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26787 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26788 wxDC *arg3 = 0 ;
26789 bool result;
26790 PyObject * obj0 = 0 ;
26791 PyObject * obj1 = 0 ;
26792 PyObject * obj2 = 0 ;
26793 char *kwnames[] = {
26794 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26795 };
26796
26797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail;
26800 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26801 if (SWIG_arg_fail(2)) SWIG_fail;
26802 {
26803 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26804 if (SWIG_arg_fail(3)) SWIG_fail;
26805 if (arg3 == NULL) {
26806 SWIG_null_ref("wxDC");
26807 }
26808 if (SWIG_arg_fail(3)) SWIG_fail;
26809 }
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26813
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 {
26818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26819 }
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj;
26828 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26829 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26830 wxDC *arg3 = 0 ;
26831 bool result;
26832 PyObject * obj0 = 0 ;
26833 PyObject * obj1 = 0 ;
26834 PyObject * obj2 = 0 ;
26835 char *kwnames[] = {
26836 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26837 };
26838
26839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26841 if (SWIG_arg_fail(1)) SWIG_fail;
26842 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26843 if (SWIG_arg_fail(2)) SWIG_fail;
26844 {
26845 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26846 if (SWIG_arg_fail(3)) SWIG_fail;
26847 if (arg3 == NULL) {
26848 SWIG_null_ref("wxDC");
26849 }
26850 if (SWIG_arg_fail(3)) SWIG_fail;
26851 }
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26855
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 {
26860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26861 }
26862 return resultobj;
26863 fail:
26864 return NULL;
26865 }
26866
26867
26868 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26869 PyObject *resultobj;
26870 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26871 int arg2 ;
26872 bool result;
26873 PyObject * obj0 = 0 ;
26874 PyObject * obj1 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "pageNum", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26881 if (SWIG_arg_fail(1)) SWIG_fail;
26882 {
26883 arg2 = (int)(SWIG_As_int(obj1));
26884 if (SWIG_arg_fail(2)) SWIG_fail;
26885 }
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 result = (bool)(arg1)->base_RenderPage(arg2);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 {
26894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26895 }
26896 return resultobj;
26897 fail:
26898 return NULL;
26899 }
26900
26901
26902 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj;
26904 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26905 int arg2 ;
26906 PyObject * obj0 = 0 ;
26907 PyObject * obj1 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "percent", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail;
26915 {
26916 arg2 = (int)(SWIG_As_int(obj1));
26917 if (SWIG_arg_fail(2)) SWIG_fail;
26918 }
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 (arg1)->base_SetZoom(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 Py_INCREF(Py_None); resultobj = Py_None;
26927 return resultobj;
26928 fail:
26929 return NULL;
26930 }
26931
26932
26933 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26934 PyObject *resultobj;
26935 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26936 bool arg2 ;
26937 bool result;
26938 PyObject * obj0 = 0 ;
26939 PyObject * obj1 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "self",(char *) "interactive", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
26945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail;
26947 {
26948 arg2 = (bool)(SWIG_As_bool(obj1));
26949 if (SWIG_arg_fail(2)) SWIG_fail;
26950 }
26951 {
26952 PyThreadState* __tstate = wxPyBeginAllowThreads();
26953 result = (bool)(arg1)->base_Print(arg2);
26954
26955 wxPyEndAllowThreads(__tstate);
26956 if (PyErr_Occurred()) SWIG_fail;
26957 }
26958 {
26959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26960 }
26961 return resultobj;
26962 fail:
26963 return NULL;
26964 }
26965
26966
26967 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26968 PyObject *resultobj;
26969 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26970 PyObject * obj0 = 0 ;
26971 char *kwnames[] = {
26972 (char *) "self", NULL
26973 };
26974
26975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
26976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26977 if (SWIG_arg_fail(1)) SWIG_fail;
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 (arg1)->base_DetermineScaling();
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 Py_INCREF(Py_None); resultobj = Py_None;
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
26993 PyObject *obj;
26994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26995 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26996 Py_INCREF(obj);
26997 return Py_BuildValue((char *)"");
26998 }
26999 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27000 PyObject *resultobj;
27001 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27002 wxFrame *arg2 = (wxFrame *) 0 ;
27003 wxString *arg3 = 0 ;
27004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27006 wxSize const &arg5_defvalue = wxDefaultSize ;
27007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27008 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27009 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27010 wxString *arg7 = (wxString *) &arg7_defvalue ;
27011 wxPyPreviewFrame *result;
27012 bool temp3 = false ;
27013 wxPoint temp4 ;
27014 wxSize temp5 ;
27015 bool temp7 = false ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 PyObject * obj2 = 0 ;
27019 PyObject * obj3 = 0 ;
27020 PyObject * obj4 = 0 ;
27021 PyObject * obj5 = 0 ;
27022 PyObject * obj6 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail;
27030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27031 if (SWIG_arg_fail(2)) SWIG_fail;
27032 {
27033 arg3 = wxString_in_helper(obj2);
27034 if (arg3 == NULL) SWIG_fail;
27035 temp3 = true;
27036 }
27037 if (obj3) {
27038 {
27039 arg4 = &temp4;
27040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27041 }
27042 }
27043 if (obj4) {
27044 {
27045 arg5 = &temp5;
27046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27047 }
27048 }
27049 if (obj5) {
27050 {
27051 arg6 = (long)(SWIG_As_long(obj5));
27052 if (SWIG_arg_fail(6)) SWIG_fail;
27053 }
27054 }
27055 if (obj6) {
27056 {
27057 arg7 = wxString_in_helper(obj6);
27058 if (arg7 == NULL) SWIG_fail;
27059 temp7 = true;
27060 }
27061 }
27062 {
27063 if (!wxPyCheckForApp()) SWIG_fail;
27064 PyThreadState* __tstate = wxPyBeginAllowThreads();
27065 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27066
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27071 {
27072 if (temp3)
27073 delete arg3;
27074 }
27075 {
27076 if (temp7)
27077 delete arg7;
27078 }
27079 return resultobj;
27080 fail:
27081 {
27082 if (temp3)
27083 delete arg3;
27084 }
27085 {
27086 if (temp7)
27087 delete arg7;
27088 }
27089 return NULL;
27090 }
27091
27092
27093 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27094 PyObject *resultobj;
27095 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27096 PyObject *arg2 = (PyObject *) 0 ;
27097 PyObject *arg3 = (PyObject *) 0 ;
27098 PyObject * obj0 = 0 ;
27099 PyObject * obj1 = 0 ;
27100 PyObject * obj2 = 0 ;
27101 char *kwnames[] = {
27102 (char *) "self",(char *) "self",(char *) "_class", NULL
27103 };
27104
27105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27107 if (SWIG_arg_fail(1)) SWIG_fail;
27108 arg2 = obj1;
27109 arg3 = obj2;
27110 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 (arg1)->_setCallbackInfo(arg2,arg3);
27113
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 Py_INCREF(Py_None); resultobj = Py_None;
27118 return resultobj;
27119 fail:
27120 return NULL;
27121 }
27122
27123
27124 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj;
27126 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27127 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27128 PyObject * obj0 = 0 ;
27129 PyObject * obj1 = 0 ;
27130 char *kwnames[] = {
27131 (char *) "self",(char *) "canvas", NULL
27132 };
27133
27134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail;
27137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27138 if (SWIG_arg_fail(2)) SWIG_fail;
27139 {
27140 PyThreadState* __tstate = wxPyBeginAllowThreads();
27141 (arg1)->SetPreviewCanvas(arg2);
27142
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 Py_INCREF(Py_None); resultobj = Py_None;
27147 return resultobj;
27148 fail:
27149 return NULL;
27150 }
27151
27152
27153 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj;
27155 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27156 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27157 PyObject * obj0 = 0 ;
27158 PyObject * obj1 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self",(char *) "bar", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27165 if (SWIG_arg_fail(1)) SWIG_fail;
27166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27167 if (SWIG_arg_fail(2)) SWIG_fail;
27168 {
27169 PyThreadState* __tstate = wxPyBeginAllowThreads();
27170 (arg1)->SetControlBar(arg2);
27171
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 Py_INCREF(Py_None); resultobj = Py_None;
27176 return resultobj;
27177 fail:
27178 return NULL;
27179 }
27180
27181
27182 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27183 PyObject *resultobj;
27184 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27185 PyObject * obj0 = 0 ;
27186 char *kwnames[] = {
27187 (char *) "self", NULL
27188 };
27189
27190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail;
27193 {
27194 PyThreadState* __tstate = wxPyBeginAllowThreads();
27195 (arg1)->base_Initialize();
27196
27197 wxPyEndAllowThreads(__tstate);
27198 if (PyErr_Occurred()) SWIG_fail;
27199 }
27200 Py_INCREF(Py_None); resultobj = Py_None;
27201 return resultobj;
27202 fail:
27203 return NULL;
27204 }
27205
27206
27207 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27208 PyObject *resultobj;
27209 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27210 PyObject * obj0 = 0 ;
27211 char *kwnames[] = {
27212 (char *) "self", NULL
27213 };
27214
27215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail;
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->base_CreateCanvas();
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229 }
27230
27231
27232 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27233 PyObject *resultobj;
27234 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27235 PyObject * obj0 = 0 ;
27236 char *kwnames[] = {
27237 (char *) "self", NULL
27238 };
27239
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27242 if (SWIG_arg_fail(1)) SWIG_fail;
27243 {
27244 PyThreadState* __tstate = wxPyBeginAllowThreads();
27245 (arg1)->base_CreateControlBar();
27246
27247 wxPyEndAllowThreads(__tstate);
27248 if (PyErr_Occurred()) SWIG_fail;
27249 }
27250 Py_INCREF(Py_None); resultobj = Py_None;
27251 return resultobj;
27252 fail:
27253 return NULL;
27254 }
27255
27256
27257 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27258 PyObject *obj;
27259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27260 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27261 Py_INCREF(obj);
27262 return Py_BuildValue((char *)"");
27263 }
27264 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27267 long arg2 ;
27268 wxWindow *arg3 = (wxWindow *) 0 ;
27269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27271 wxSize const &arg5_defvalue = wxDefaultSize ;
27272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27273 long arg6 = (long) 0 ;
27274 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27275 wxString *arg7 = (wxString *) &arg7_defvalue ;
27276 wxPyPreviewControlBar *result;
27277 wxPoint temp4 ;
27278 wxSize temp5 ;
27279 bool temp7 = false ;
27280 PyObject * obj0 = 0 ;
27281 PyObject * obj1 = 0 ;
27282 PyObject * obj2 = 0 ;
27283 PyObject * obj3 = 0 ;
27284 PyObject * obj4 = 0 ;
27285 PyObject * obj5 = 0 ;
27286 PyObject * obj6 = 0 ;
27287 char *kwnames[] = {
27288 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27289 };
27290
27291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail;
27294 {
27295 arg2 = (long)(SWIG_As_long(obj1));
27296 if (SWIG_arg_fail(2)) SWIG_fail;
27297 }
27298 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27299 if (SWIG_arg_fail(3)) SWIG_fail;
27300 if (obj3) {
27301 {
27302 arg4 = &temp4;
27303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27304 }
27305 }
27306 if (obj4) {
27307 {
27308 arg5 = &temp5;
27309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27310 }
27311 }
27312 if (obj5) {
27313 {
27314 arg6 = (long)(SWIG_As_long(obj5));
27315 if (SWIG_arg_fail(6)) SWIG_fail;
27316 }
27317 }
27318 if (obj6) {
27319 {
27320 arg7 = wxString_in_helper(obj6);
27321 if (arg7 == NULL) SWIG_fail;
27322 temp7 = true;
27323 }
27324 }
27325 {
27326 if (!wxPyCheckForApp()) SWIG_fail;
27327 PyThreadState* __tstate = wxPyBeginAllowThreads();
27328 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27329
27330 wxPyEndAllowThreads(__tstate);
27331 if (PyErr_Occurred()) SWIG_fail;
27332 }
27333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27334 {
27335 if (temp7)
27336 delete arg7;
27337 }
27338 return resultobj;
27339 fail:
27340 {
27341 if (temp7)
27342 delete arg7;
27343 }
27344 return NULL;
27345 }
27346
27347
27348 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27349 PyObject *resultobj;
27350 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27351 PyObject *arg2 = (PyObject *) 0 ;
27352 PyObject *arg3 = (PyObject *) 0 ;
27353 PyObject * obj0 = 0 ;
27354 PyObject * obj1 = 0 ;
27355 PyObject * obj2 = 0 ;
27356 char *kwnames[] = {
27357 (char *) "self",(char *) "self",(char *) "_class", NULL
27358 };
27359
27360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27362 if (SWIG_arg_fail(1)) SWIG_fail;
27363 arg2 = obj1;
27364 arg3 = obj2;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 (arg1)->_setCallbackInfo(arg2,arg3);
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 Py_INCREF(Py_None); resultobj = Py_None;
27373 return resultobj;
27374 fail:
27375 return NULL;
27376 }
27377
27378
27379 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27380 PyObject *resultobj;
27381 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27382 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 char *kwnames[] = {
27386 (char *) "self",(char *) "preview", NULL
27387 };
27388
27389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail;
27392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27393 if (SWIG_arg_fail(2)) SWIG_fail;
27394 {
27395 PyThreadState* __tstate = wxPyBeginAllowThreads();
27396 (arg1)->SetPrintPreview(arg2);
27397
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 Py_INCREF(Py_None); resultobj = Py_None;
27402 return resultobj;
27403 fail:
27404 return NULL;
27405 }
27406
27407
27408 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27409 PyObject *resultobj;
27410 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27411 PyObject * obj0 = 0 ;
27412 char *kwnames[] = {
27413 (char *) "self", NULL
27414 };
27415
27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 {
27420 PyThreadState* __tstate = wxPyBeginAllowThreads();
27421 (arg1)->base_CreateButtons();
27422
27423 wxPyEndAllowThreads(__tstate);
27424 if (PyErr_Occurred()) SWIG_fail;
27425 }
27426 Py_INCREF(Py_None); resultobj = Py_None;
27427 return resultobj;
27428 fail:
27429 return NULL;
27430 }
27431
27432
27433 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27434 PyObject *resultobj;
27435 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27436 int arg2 ;
27437 PyObject * obj0 = 0 ;
27438 PyObject * obj1 = 0 ;
27439 char *kwnames[] = {
27440 (char *) "self",(char *) "zoom", NULL
27441 };
27442
27443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail;
27446 {
27447 arg2 = (int)(SWIG_As_int(obj1));
27448 if (SWIG_arg_fail(2)) SWIG_fail;
27449 }
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 (arg1)->base_SetZoomControl(arg2);
27453
27454 wxPyEndAllowThreads(__tstate);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 }
27457 Py_INCREF(Py_None); resultobj = Py_None;
27458 return resultobj;
27459 fail:
27460 return NULL;
27461 }
27462
27463
27464 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27465 PyObject *obj;
27466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27467 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27468 Py_INCREF(obj);
27469 return Py_BuildValue((char *)"");
27470 }
27471 static PyMethodDef SwigMethods[] = {
27472 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27480 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27495 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27496 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27505 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27521 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27523 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27547 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27560 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27564 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27568 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27573 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27590 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27620 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27627 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27650 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27658 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27670 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27676 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27685 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27691 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27694 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27697 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27701 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27719 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27745 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27753 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27762 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27764 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27773 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27776 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27801 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27805 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27810 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27814 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27816 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27832 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27835 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27841 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27850 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27859 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27865 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27877 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27884 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27888 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27914 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27940 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27966 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27967 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28012 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28013 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28046 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28051 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28052 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28085 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28091 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28102 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28125 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28127 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28133 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28143 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28144 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28167 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28168 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28177 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28185 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28191 { NULL, NULL, 0, NULL }
28192 };
28193
28194
28195 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28196
28197 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28198 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28199 }
28200 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28201 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28202 }
28203 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28204 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28205 }
28206 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28207 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28208 }
28209 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28210 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28211 }
28212 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28213 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28214 }
28215 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28216 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28217 }
28218 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28219 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28220 }
28221 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28222 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28223 }
28224 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28226 }
28227 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28228 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28229 }
28230 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28231 return (void *)((wxEvent *) ((wxPyEvent *) x));
28232 }
28233 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28235 }
28236 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28237 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28238 }
28239 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28240 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28241 }
28242 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28244 }
28245 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28246 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28247 }
28248 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28249 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28250 }
28251 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28252 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28253 }
28254 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28255 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28256 }
28257 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28258 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28259 }
28260 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28261 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28262 }
28263 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28265 }
28266 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28267 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28268 }
28269 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28270 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28271 }
28272 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28274 }
28275 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28276 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28277 }
28278 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28279 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28280 }
28281 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28282 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28283 }
28284 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28285 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28286 }
28287 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28288 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28289 }
28290 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28291 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28292 }
28293 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28294 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28295 }
28296 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28298 }
28299 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28300 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28301 }
28302 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28303 return (void *)((wxEvent *) ((wxShowEvent *) x));
28304 }
28305 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28306 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28307 }
28308 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28310 }
28311 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28313 }
28314 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28315 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28316 }
28317 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28318 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28319 }
28320 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28321 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28322 }
28323 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28324 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28325 }
28326 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28327 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28328 }
28329 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28330 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28331 }
28332 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28333 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28334 }
28335 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28337 }
28338 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28339 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28340 }
28341 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28342 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28343 }
28344 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28345 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28346 }
28347 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28348 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28349 }
28350 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28351 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28352 }
28353 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28354 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28355 }
28356 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28357 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28358 }
28359 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28360 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28361 }
28362 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28363 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28364 }
28365 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28366 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28367 }
28368 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28369 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28370 }
28371 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28372 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28373 }
28374 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28375 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28376 }
28377 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28379 }
28380 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28381 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28382 }
28383 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28384 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28385 }
28386 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28387 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28388 }
28389 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28390 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28391 }
28392 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28393 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28394 }
28395 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28396 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28397 }
28398 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28399 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28400 }
28401 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28402 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28403 }
28404 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28405 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28406 }
28407 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28408 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28409 }
28410 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28411 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28412 }
28413 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28414 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28415 }
28416 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28418 }
28419 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28421 }
28422 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28424 }
28425 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28427 }
28428 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28430 }
28431 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28433 }
28434 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28435 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28436 }
28437 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28438 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28439 }
28440 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28441 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28442 }
28443 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28444 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28445 }
28446 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28448 }
28449 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28450 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28451 }
28452 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28454 }
28455 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28456 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28457 }
28458 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28459 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28460 }
28461 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28463 }
28464 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28465 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28466 }
28467 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28468 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28469 }
28470 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28471 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28472 }
28473 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28475 }
28476 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28478 }
28479 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28480 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28481 }
28482 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28483 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28484 }
28485 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28486 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28487 }
28488 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28489 return (void *)((wxFrame *) ((wxTipWindow *) x));
28490 }
28491 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28492 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28493 }
28494 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28495 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28496 }
28497 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28498 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28499 }
28500 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28501 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28502 }
28503 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28504 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28505 }
28506 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28507 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28508 }
28509 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28510 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28511 }
28512 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28514 }
28515 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28517 }
28518 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28519 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28520 }
28521 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28522 return (void *)((wxObject *) ((wxSizerItem *) x));
28523 }
28524 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28526 }
28527 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28528 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28529 }
28530 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28531 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28532 }
28533 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28534 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28535 }
28536 static void *_p_wxSizerTo_p_wxObject(void *x) {
28537 return (void *)((wxObject *) ((wxSizer *) x));
28538 }
28539 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28540 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28541 }
28542 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28544 }
28545 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28547 }
28548 static void *_p_wxEventTo_p_wxObject(void *x) {
28549 return (void *)((wxObject *) ((wxEvent *) x));
28550 }
28551 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28552 return (void *)((wxObject *) ((wxFontData *) x));
28553 }
28554 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28555 return (void *)((wxObject *) ((wxPrintData *) x));
28556 }
28557 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28558 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28559 }
28560 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28561 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28562 }
28563 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28564 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28565 }
28566 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28567 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28568 }
28569 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28570 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28571 }
28572 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28574 }
28575 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28576 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28577 }
28578 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28579 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28580 }
28581 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28582 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28583 }
28584 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28586 }
28587 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28589 }
28590 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28592 }
28593 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28595 }
28596 static void *_p_wxControlTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28598 }
28599 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28601 }
28602 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28604 }
28605 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) ((wxFSFile *) x));
28607 }
28608 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28610 }
28611 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28613 }
28614 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28616 }
28617 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) ((wxColourData *) x));
28619 }
28620 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28622 }
28623 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28625 }
28626 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28628 }
28629 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28631 }
28632 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28634 }
28635 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28637 }
28638 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28640 }
28641 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28643 }
28644 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28646 }
28647 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28649 }
28650 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28652 }
28653 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28655 }
28656 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28658 }
28659 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) ((wxPrinter *) x));
28661 }
28662 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) ((wxMenuItem *) x));
28664 }
28665 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28667 }
28668 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28670 }
28671 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28673 }
28674 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28676 }
28677 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28679 }
28680 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28682 }
28683 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28685 }
28686 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28688 }
28689 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28691 }
28692 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28694 }
28695 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28697 }
28698 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28700 }
28701 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28703 }
28704 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28706 }
28707 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28709 }
28710 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28712 }
28713 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28715 }
28716 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28718 }
28719 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28721 }
28722 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) ((wxImageHandler *) x));
28724 }
28725 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28727 }
28728 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) ((wxEvtHandler *) x));
28730 }
28731 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28733 }
28734 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28736 }
28737 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28739 }
28740 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28742 }
28743 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28745 }
28746 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28748 }
28749 static void *_p_wxImageTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) ((wxImage *) x));
28751 }
28752 static void *_p_wxFrameTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28754 }
28755 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) ((wxPyPrintout *) x));
28757 }
28758 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28760 }
28761 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28763 }
28764 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28766 }
28767 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28769 }
28770 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28772 }
28773 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28775 }
28776 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28778 }
28779 static void *_p_wxWindowTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28781 }
28782 static void *_p_wxMenuTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28784 }
28785 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28787 }
28788 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28790 }
28791 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28793 }
28794 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28796 }
28797 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28799 }
28800 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28802 }
28803 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28805 }
28806 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28808 }
28809 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28811 }
28812 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28814 }
28815 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28817 }
28818 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28820 }
28821 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28823 }
28824 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28826 }
28827 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) ((wxPrintPreview *) x));
28829 }
28830 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28832 }
28833 static void *_p_wxPanelTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28835 }
28836 static void *_p_wxDialogTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28838 }
28839 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28841 }
28842 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28844 }
28845 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28847 }
28848 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28850 }
28851 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) ((wxPrintDialog *) x));
28853 }
28854 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) ((wxFileSystem *) x));
28856 }
28857 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28859 }
28860 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28862 }
28863 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28865 }
28866 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28868 }
28869 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28871 }
28872 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28874 }
28875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28877 }
28878 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28880 }
28881 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28883 }
28884 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28886 }
28887 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28889 }
28890 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28892 }
28893 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28895 }
28896 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28898 }
28899 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28901 }
28902 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28904 }
28905 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28907 }
28908 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28910 }
28911 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28912 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28913 }
28914 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28915 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28916 }
28917 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28918 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28919 }
28920 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28921 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28922 }
28923 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28924 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28925 }
28926 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28927 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28928 }
28929 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28930 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28931 }
28932 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28933 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28934 }
28935 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28936 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28937 }
28938 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28939 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28940 }
28941 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28942 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28943 }
28944 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28945 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28946 }
28947 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28948 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28949 }
28950 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28951 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28952 }
28953 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28954 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28955 }
28956 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28957 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28958 }
28959 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28960 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28961 }
28962 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28963 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28964 }
28965 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28966 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28967 }
28968 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28969 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28970 }
28971 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28972 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28973 }
28974 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28975 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28976 }
28977 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28978 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28979 }
28980 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28981 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28982 }
28983 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28985 }
28986 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28988 }
28989 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28990 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28991 }
28992 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28993 return (void *)((wxWindow *) ((wxMenuBar *) x));
28994 }
28995 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28997 }
28998 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28999 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29000 }
29001 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29002 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29003 }
29004 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29005 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29006 }
29007 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29008 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29009 }
29010 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29011 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29012 }
29013 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29014 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29015 }
29016 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29017 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29018 }
29019 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29020 return (void *)((wxWindow *) ((wxPanel *) x));
29021 }
29022 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29023 return (void *)((wxWindow *) ((wxStatusBar *) x));
29024 }
29025 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29026 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29027 }
29028 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29029 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
29030 }
29031 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29032 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29033 }
29034 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29035 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29036 }
29037 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29038 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29039 }
29040 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29041 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29042 }
29043 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29044 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29045 }
29046 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29047 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29048 }
29049 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29050 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29051 }
29052 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29053 return (void *)((wxWindow *) ((wxSashWindow *) x));
29054 }
29055 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29056 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29057 }
29058 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29059 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29060 }
29061 static void *_p_wxControlTo_p_wxWindow(void *x) {
29062 return (void *)((wxWindow *) ((wxControl *) x));
29063 }
29064 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29066 }
29067 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29068 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29069 }
29070 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29072 }
29073 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29075 }
29076 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) ((wxPyWindow *) x));
29078 }
29079 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29081 }
29082 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29083 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29084 }
29085 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29086 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29087 }
29088 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29089 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29090 }
29091 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29092 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29093 }
29094 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29095 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29096 }
29097 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29099 }
29100 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29102 }
29103 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29105 }
29106 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29107 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29108 }
29109 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29110 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29111 }
29112 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29113 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29114 }
29115 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29116 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29117 }
29118 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29119 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29120 }
29121 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29122 return (void *)((wxDialog *) ((wxColourDialog *) x));
29123 }
29124 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29125 return (void *)((wxDialog *) ((wxDirDialog *) x));
29126 }
29127 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29128 return (void *)((wxDialog *) ((wxFontDialog *) x));
29129 }
29130 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29131 return (void *)((wxDialog *) ((wxFileDialog *) x));
29132 }
29133 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29134 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29135 }
29136 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29137 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29138 }
29139 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29140 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29141 }
29142 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29143 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29144 }
29145 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29146 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29147 }
29148 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29149 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29150 }
29151 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29152 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29153 }
29154 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29155 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29156 }
29157 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29158 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29159 }
29160 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29161 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29162 }
29163 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29164 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29165 }
29166 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29167 return (void *)((wxPanel *) ((wxPyPanel *) x));
29168 }
29169 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29170 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29171 }
29172 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29173 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29174 }
29175 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29176 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29177 }
29178 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29179 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29180 }
29181 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29182 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29183 }
29184 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29185 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29186 }
29187 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29188 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29189 }
29190 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29191 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29192 }
29193 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29194 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29195 }
29196 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29197 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29198 }
29199 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29200 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29201 }
29202 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29203 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29204 }
29205 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29206 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29207 }
29208 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29209 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29210 }
29211 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29212 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29213 }
29214 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29215 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29216 }
29217 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29218 static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29219 static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29220 static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29221 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29222 static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29223 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29224 static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29225 static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29226 static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29227 static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29228 static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29229 static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29230 static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29231 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29232 static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29233 static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29234 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29235 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29236 static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29237 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29238 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29239 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29240 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29241 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29242 static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29243 static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29244 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29245 static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29246 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29247 static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29248 static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29249 static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29250 static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29251 static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29252 static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29253 static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29254 static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29255 static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29256 static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29257 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29258 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29259 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29260 static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29261 static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29262 static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29263 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29264 static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29265 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29266 static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29267 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29268 static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29269 static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29270 static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29271 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29272 static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29273 static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29274 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29275 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29276 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29277 static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29278 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29279 static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29280 static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29281 static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29282 static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29283 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29284 static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29285 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29286 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29287 static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29288 static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29289 static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29290 static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29291 static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29292 static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29293 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29294 static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29295 static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29296 static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29297 static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29298 static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29299 static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29300 static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29301 static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29302 static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29303 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29304 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29305 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29306 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29307 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29308 static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29309 static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29310 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29311 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29312 static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29313 static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29314
29315 static swig_type_info *swig_types_initial[] = {
29316 _swigt__p_wxQueryLayoutInfoEvent,
29317 _swigt__p_wxPreviewFrame,
29318 _swigt__p_wxPyPreviewFrame,
29319 _swigt__p_wxPyPanel,
29320 _swigt__p_wxMenu,
29321 _swigt__p_wxFontData,
29322 _swigt__p_wxEvent,
29323 _swigt__p_wxPrintData,
29324 _swigt__p_wxTaskBarIcon,
29325 _swigt__p_wxPyTaskBarIcon,
29326 _swigt__p_wxIconBundle,
29327 _swigt__p_wxLayoutAlgorithm,
29328 _swigt__p_wxFindDialogEvent,
29329 _swigt__p_wxPreviewCanvas,
29330 _swigt__p_wxFont,
29331 _swigt__p_wxSplitterEvent,
29332 _swigt__p_wxRegion,
29333 _swigt__ptrdiff_t,
29334 _swigt__std__ptrdiff_t,
29335 _swigt__p_wxFindReplaceData,
29336 _swigt__p_int,
29337 _swigt__p_wxSize,
29338 _swigt__p_wxDC,
29339 _swigt__p_wxIcon,
29340 _swigt__p_wxVisualAttributes,
29341 _swigt__p_wxMDIChildFrame,
29342 _swigt__p_wxColourData,
29343 _swigt__p_wxNotifyEvent,
29344 _swigt__p_wxPyWindow,
29345 _swigt__p_form_ops_t,
29346 _swigt__p_wxSplashScreen,
29347 _swigt__p_wxPasswordEntryDialog,
29348 _swigt__p_wxSingleChoiceDialog,
29349 _swigt__p_wxMultiChoiceDialog,
29350 _swigt__p_wxFileDialog,
29351 _swigt__p_wxTextEntryDialog,
29352 _swigt__p_wxMessageDialog,
29353 _swigt__p_wxProgressDialog,
29354 _swigt__p_wxFindReplaceDialog,
29355 _swigt__p_wxPrinter,
29356 _swigt__p_wxArrayInt,
29357 _swigt__p_wxDuplexMode,
29358 _swigt__p_wxEvtHandler,
29359 _swigt__p_wxCalculateLayoutEvent,
29360 _swigt__p_wxPyHtmlListBox,
29361 _swigt__p_wxPyVListBox,
29362 _swigt__p_wxRect,
29363 _swigt__p_wxStdDialogButtonSizer,
29364 _swigt__p_char,
29365 _swigt__p_wxMiniFrame,
29366 _swigt__p_wxFrame,
29367 _swigt__p_wxPyPrintout,
29368 _swigt__p_wxTaskBarIconEvent,
29369 _swigt__p_wxScrollWinEvent,
29370 _swigt__p_wxPaperSize,
29371 _swigt__p_wxStatusBar,
29372 _swigt__p_wxMDIParentFrame,
29373 _swigt__p_wxPoint,
29374 _swigt__p_wxObject,
29375 _swigt__p_unsigned_long,
29376 _swigt__p_wxTipWindow,
29377 _swigt__p_wxPyPopupTransientWindow,
29378 _swigt__p_wxSashLayoutWindow,
29379 _swigt__p_wxSplitterWindow,
29380 _swigt__p_wxSplashScreenWindow,
29381 _swigt__p_wxPyVScrolledWindow,
29382 _swigt__p_wxPopupWindow,
29383 _swigt__p_wxSashWindow,
29384 _swigt__p_wxTopLevelWindow,
29385 _swigt__p_wxWindow,
29386 _swigt__p_wxScrolledWindow,
29387 _swigt__p_wxMenuBar,
29388 _swigt__p_wxMDIClientWindow,
29389 _swigt__p_wxPyScrolledWindow,
29390 _swigt__p_wxPrintPreview,
29391 _swigt__p_wxSashEvent,
29392 _swigt__p_wxString,
29393 _swigt__p_wxPyPrintPreview,
29394 _swigt__p_wxDirDialog,
29395 _swigt__p_wxColourDialog,
29396 _swigt__p_wxDialog,
29397 _swigt__p_wxPanel,
29398 _swigt__p_wxFontDialog,
29399 _swigt__p_wxPageSetupDialog,
29400 _swigt__p_wxPrintDialog,
29401 _swigt__p_wxFileSystem,
29402 _swigt__p_wxBitmap,
29403 _swigt__unsigned_int,
29404 _swigt__p_unsigned_int,
29405 _swigt__p_unsigned_char,
29406 _swigt__p_wxCommandEvent,
29407 _swigt__p_wxPreviewControlBar,
29408 _swigt__p_wxPyPreviewControlBar,
29409 _swigt__p_wxColour,
29410 _swigt__p_wxToolBar,
29411 _swigt__p_wxPageSetupDialogData,
29412 _swigt__p_wxPrintDialogData,
29413 0
29414 };
29415
29416
29417 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29418
29419 static swig_const_info swig_const_table[] = {
29420 {0, 0, 0, 0.0, 0, 0}};
29421
29422 #ifdef __cplusplus
29423 }
29424 #endif
29425
29426
29427 #ifdef __cplusplus
29428 extern "C" {
29429 #endif
29430
29431 /* Python-specific SWIG API */
29432 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29433 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29434 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29435
29436 /* -----------------------------------------------------------------------------
29437 * global variable support code.
29438 * ----------------------------------------------------------------------------- */
29439
29440 typedef struct swig_globalvar {
29441 char *name; /* Name of global variable */
29442 PyObject *(*get_attr)(); /* Return the current value */
29443 int (*set_attr)(PyObject *); /* Set the value */
29444 struct swig_globalvar *next;
29445 } swig_globalvar;
29446
29447 typedef struct swig_varlinkobject {
29448 PyObject_HEAD
29449 swig_globalvar *vars;
29450 } swig_varlinkobject;
29451
29452 static PyObject *
29453 swig_varlink_repr(swig_varlinkobject *v) {
29454 v = v;
29455 return PyString_FromString("<Swig global variables>");
29456 }
29457
29458 static int
29459 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29460 swig_globalvar *var;
29461 flags = flags;
29462 fprintf(fp,"Swig global variables { ");
29463 for (var = v->vars; var; var=var->next) {
29464 fprintf(fp,"%s", var->name);
29465 if (var->next) fprintf(fp,", ");
29466 }
29467 fprintf(fp," }\n");
29468 return 0;
29469 }
29470
29471 static PyObject *
29472 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29473 swig_globalvar *var = v->vars;
29474 while (var) {
29475 if (strcmp(var->name,n) == 0) {
29476 return (*var->get_attr)();
29477 }
29478 var = var->next;
29479 }
29480 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29481 return NULL;
29482 }
29483
29484 static int
29485 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29486 swig_globalvar *var = v->vars;
29487 while (var) {
29488 if (strcmp(var->name,n) == 0) {
29489 return (*var->set_attr)(p);
29490 }
29491 var = var->next;
29492 }
29493 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29494 return 1;
29495 }
29496
29497 static PyTypeObject varlinktype = {
29498 PyObject_HEAD_INIT(0)
29499 0, /* Number of items in variable part (ob_size) */
29500 (char *)"swigvarlink", /* Type name (tp_name) */
29501 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29502 0, /* Itemsize (tp_itemsize) */
29503 0, /* Deallocator (tp_dealloc) */
29504 (printfunc) swig_varlink_print, /* Print (tp_print) */
29505 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29506 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29507 0, /* tp_compare */
29508 (reprfunc) swig_varlink_repr, /* tp_repr */
29509 0, /* tp_as_number */
29510 0, /* tp_as_sequence */
29511 0, /* tp_as_mapping */
29512 0, /* tp_hash */
29513 0, /* tp_call */
29514 0, /* tp_str */
29515 0, /* tp_getattro */
29516 0, /* tp_setattro */
29517 0, /* tp_as_buffer */
29518 0, /* tp_flags */
29519 0, /* tp_doc */
29520 #if PY_VERSION_HEX >= 0x02000000
29521 0, /* tp_traverse */
29522 0, /* tp_clear */
29523 #endif
29524 #if PY_VERSION_HEX >= 0x02010000
29525 0, /* tp_richcompare */
29526 0, /* tp_weaklistoffset */
29527 #endif
29528 #if PY_VERSION_HEX >= 0x02020000
29529 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29530 #endif
29531 #if PY_VERSION_HEX >= 0x02030000
29532 0, /* tp_del */
29533 #endif
29534 #ifdef COUNT_ALLOCS
29535 0,0,0,0 /* tp_alloc -> tp_next */
29536 #endif
29537 };
29538
29539 /* Create a variable linking object for use later */
29540 static PyObject *
29541 SWIG_Python_newvarlink(void) {
29542 swig_varlinkobject *result = 0;
29543 result = PyMem_NEW(swig_varlinkobject,1);
29544 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29545 result->ob_type = &varlinktype;
29546 result->vars = 0;
29547 result->ob_refcnt = 0;
29548 Py_XINCREF((PyObject *) result);
29549 return ((PyObject*) result);
29550 }
29551
29552 static void
29553 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29554 swig_varlinkobject *v;
29555 swig_globalvar *gv;
29556 v= (swig_varlinkobject *) p;
29557 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29558 gv->name = (char *) malloc(strlen(name)+1);
29559 strcpy(gv->name,name);
29560 gv->get_attr = get_attr;
29561 gv->set_attr = set_attr;
29562 gv->next = v->vars;
29563 v->vars = gv;
29564 }
29565
29566 /* -----------------------------------------------------------------------------
29567 * constants/methods manipulation
29568 * ----------------------------------------------------------------------------- */
29569
29570 /* Install Constants */
29571 static void
29572 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29573 PyObject *obj = 0;
29574 size_t i;
29575 for (i = 0; constants[i].type; i++) {
29576 switch(constants[i].type) {
29577 case SWIG_PY_INT:
29578 obj = PyInt_FromLong(constants[i].lvalue);
29579 break;
29580 case SWIG_PY_FLOAT:
29581 obj = PyFloat_FromDouble(constants[i].dvalue);
29582 break;
29583 case SWIG_PY_STRING:
29584 if (constants[i].pvalue) {
29585 obj = PyString_FromString((char *) constants[i].pvalue);
29586 } else {
29587 Py_INCREF(Py_None);
29588 obj = Py_None;
29589 }
29590 break;
29591 case SWIG_PY_POINTER:
29592 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29593 break;
29594 case SWIG_PY_BINARY:
29595 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29596 break;
29597 default:
29598 obj = 0;
29599 break;
29600 }
29601 if (obj) {
29602 PyDict_SetItemString(d,constants[i].name,obj);
29603 Py_DECREF(obj);
29604 }
29605 }
29606 }
29607
29608 /* -----------------------------------------------------------------------------*/
29609 /* Fix SwigMethods to carry the callback ptrs when needed */
29610 /* -----------------------------------------------------------------------------*/
29611
29612 static void
29613 SWIG_Python_FixMethods(PyMethodDef *methods,
29614 swig_const_info *const_table,
29615 swig_type_info **types,
29616 swig_type_info **types_initial) {
29617 size_t i;
29618 for (i = 0; methods[i].ml_name; ++i) {
29619 char *c = methods[i].ml_doc;
29620 if (c && (c = strstr(c, "swig_ptr: "))) {
29621 int j;
29622 swig_const_info *ci = 0;
29623 char *name = c + 10;
29624 for (j = 0; const_table[j].type; j++) {
29625 if (strncmp(const_table[j].name, name,
29626 strlen(const_table[j].name)) == 0) {
29627 ci = &(const_table[j]);
29628 break;
29629 }
29630 }
29631 if (ci) {
29632 size_t shift = (ci->ptype) - types;
29633 swig_type_info *ty = types_initial[shift];
29634 size_t ldoc = (c - methods[i].ml_doc);
29635 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29636 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29637 char *buff = ndoc;
29638 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29639 strncpy(buff, methods[i].ml_doc, ldoc);
29640 buff += ldoc;
29641 strncpy(buff, "swig_ptr: ", 10);
29642 buff += 10;
29643 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29644 methods[i].ml_doc = ndoc;
29645 }
29646 }
29647 }
29648 }
29649
29650 /* -----------------------------------------------------------------------------*
29651 * Initialize type list
29652 * -----------------------------------------------------------------------------*/
29653
29654 #if PY_MAJOR_VERSION < 2
29655 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29656 is copied out of Python/modsupport.c in python version 2.3.4 */
29657 static int
29658 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29659 {
29660 PyObject *dict;
29661 if (!PyModule_Check(m)) {
29662 PyErr_SetString(PyExc_TypeError,
29663 "PyModule_AddObject() needs module as first arg");
29664 return -1;
29665 }
29666 if (!o) {
29667 PyErr_SetString(PyExc_TypeError,
29668 "PyModule_AddObject() needs non-NULL value");
29669 return -1;
29670 }
29671
29672 dict = PyModule_GetDict(m);
29673 if (dict == NULL) {
29674 /* Internal error -- modules must have a dict! */
29675 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29676 PyModule_GetName(m));
29677 return -1;
29678 }
29679 if (PyDict_SetItemString(dict, name, o))
29680 return -1;
29681 Py_DECREF(o);
29682 return 0;
29683 }
29684 #endif
29685
29686 static swig_type_info **
29687 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29688 static PyMethodDef swig_empty_runtime_method_table[] = {
29689 {
29690 NULL, NULL, 0, NULL
29691 }
29692 };/* Sentinel */
29693
29694 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29695 swig_empty_runtime_method_table);
29696 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29697 if (pointer && module) {
29698 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29699 }
29700 return type_list_handle;
29701 }
29702
29703 static swig_type_info **
29704 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29705 swig_type_info **type_pointer;
29706
29707 /* first check if module already created */
29708 type_pointer = SWIG_Python_GetTypeListHandle();
29709 if (type_pointer) {
29710 return type_pointer;
29711 } else {
29712 /* create a new module and variable */
29713 return SWIG_Python_SetTypeListHandle(type_list_handle);
29714 }
29715 }
29716
29717 #ifdef __cplusplus
29718 }
29719 #endif
29720
29721 /* -----------------------------------------------------------------------------*
29722 * Partial Init method
29723 * -----------------------------------------------------------------------------*/
29724
29725 #ifdef SWIG_LINK_RUNTIME
29726 #ifdef __cplusplus
29727 extern "C"
29728 #endif
29729 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29730 #endif
29731
29732 #ifdef __cplusplus
29733 extern "C"
29734 #endif
29735 SWIGEXPORT(void) SWIG_init(void) {
29736 static PyObject *SWIG_globals = 0;
29737 static int typeinit = 0;
29738 PyObject *m, *d;
29739 int i;
29740 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29741
29742 /* Fix SwigMethods to carry the callback ptrs when needed */
29743 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29744
29745 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29746 d = PyModule_GetDict(m);
29747
29748 if (!typeinit) {
29749 #ifdef SWIG_LINK_RUNTIME
29750 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29751 #else
29752 # ifndef SWIG_STATIC_RUNTIME
29753 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29754 # endif
29755 #endif
29756 for (i = 0; swig_types_initial[i]; i++) {
29757 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29758 }
29759 typeinit = 1;
29760 }
29761 SWIG_InstallConstants(d,swig_const_table);
29762
29763 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29764 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29765 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29766 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29767 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29768 {
29769 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29770 }
29771 {
29772 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29773 }
29774 {
29775 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29776 }
29777 {
29778 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29779 }
29780 {
29781 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29782 }
29783 {
29784 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29785 }
29786 {
29787 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29788 }
29789 {
29790 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29791 }
29792 {
29793 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29794 }
29795 {
29796 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29797 }
29798 {
29799 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29800 }
29801 {
29802 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29803 }
29804 {
29805 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29806 }
29807 {
29808 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29809 }
29810 {
29811 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29812 }
29813 {
29814 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29815 }
29816 {
29817 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29818 }
29819 {
29820 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29821 }
29822 {
29823 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29824 }
29825 {
29826 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29827 }
29828 {
29829 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29830 }
29831 {
29832 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29833 }
29834 {
29835 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29836 }
29837 {
29838 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29839 }
29840 {
29841 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29842 }
29843 {
29844 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29845 }
29846 {
29847 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29848 }
29849 {
29850 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29851 }
29852 {
29853 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29854 }
29855 {
29856 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29857 }
29858 {
29859 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29860 }
29861 {
29862 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29863 }
29864 {
29865 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29866 }
29867 {
29868 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29869 }
29870 {
29871 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29872 }
29873 {
29874 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29875 }
29876 {
29877 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29878 }
29879 {
29880 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29881 }
29882 {
29883 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29884 }
29885 {
29886 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29887 }
29888 {
29889 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29890 }
29891 {
29892 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29893 }
29894 {
29895 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29896 }
29897 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
29898 {
29899 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29900 }
29901 {
29902 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29903 }
29904 {
29905 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29906 }
29907 {
29908 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29909 }
29910 {
29911 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29912 }
29913 {
29914 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29915 }
29916 {
29917 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29918 }
29919 {
29920 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
29921 }
29922 {
29923 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
29924 }
29925 {
29926 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
29927 }
29928 {
29929 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
29930 }
29931 {
29932 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
29933 }
29934 {
29935 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
29936 }
29937 {
29938 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
29939 }
29940 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
29941 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
29942 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
29943 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
29944 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
29945 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
29946 {
29947 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
29948 }
29949 {
29950 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
29951 }
29952 {
29953 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
29954 }
29955 {
29956 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
29957 }
29958 {
29959 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
29960 }
29961 {
29962 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
29963 }
29964 {
29965 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
29966 }
29967 {
29968 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
29969 }
29970 {
29971 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
29972 }
29973 {
29974 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
29975 }
29976 {
29977 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
29978 }
29979 {
29980 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
29984 }
29985 {
29986 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
29987 }
29988 {
29989 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
29990 }
29991 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
29992 {
29993 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
29994 }
29995 {
29996 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
29997 }
29998 {
29999 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30000 }
30001 {
30002 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30003 }
30004 {
30005 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30006 }
30007 {
30008 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30012 }
30013 {
30014 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30015 }
30016 {
30017 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30018 }
30019 {
30020 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30021 }
30022 {
30023 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30024 }
30025 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30026 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30027 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30028
30029 // Map renamed classes back to their common name for OOR
30030 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30031 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30032 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30033
30034 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30035 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30036 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30037 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30038 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30039 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30040 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30041 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30042 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30043 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30044 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30045 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30046 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30047 {
30048 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30049 }
30050 {
30051 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30052 }
30053 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30054 {
30055 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30056 }
30057 {
30058 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30059 }
30060 {
30061 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30062 }
30063 {
30064 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30065 }
30066 {
30067 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30068 }
30069 {
30070 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30071 }
30072 {
30073 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30074 }
30075 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30076 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30077 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30078 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30079 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30080 {
30081 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30082 }
30083 {
30084 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30085 }
30086 {
30087 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30088 }
30089 {
30090 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30091 }
30092 {
30093 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30094 }
30095 {
30096 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30097 }
30098 {
30099 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30100 }
30101 {
30102 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30103 }
30104 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30105 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30106 {
30107 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30108 }
30109 {
30110 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30111 }
30112 {
30113 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30114 }
30115 {
30116 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30117 }
30118 {
30119 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30120 }
30121 {
30122 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30123 }
30124 {
30125 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30126 }
30127 {
30128 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30129 }
30130 {
30131 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30132 }
30133 {
30134 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30135 }
30136 {
30137 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30138 }
30139 {
30140 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30141 }
30142 {
30143 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30144 }
30145 {
30146 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30147 }
30148 {
30149 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30150 }
30151 {
30152 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30153 }
30154 {
30155 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30156 }
30157 {
30158 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30159 }
30160 {
30161 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30162 }
30163 {
30164 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30165 }
30166 {
30167 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30168 }
30169 {
30170 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30174 }
30175 {
30176 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30177 }
30178 {
30179 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30180 }
30181 {
30182 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30183 }
30184 {
30185 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30186 }
30187 {
30188 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30189 }
30190 {
30191 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30192 }
30193 {
30194 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30195 }
30196 {
30197 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30198 }
30199 {
30200 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30201 }
30202 {
30203 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30204 }
30205 {
30206 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30207 }
30208 {
30209 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30210 }
30211 {
30212 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30213 }
30214 {
30215 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30216 }
30217 {
30218 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30219 }
30220 {
30221 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30222 }
30223
30224 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30225
30226 }
30227