]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
reSWIGged
[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 wxPyBlock_t 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 wxPyBlock_t 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 wxPyBlock_t 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 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2342 PyObject* data;
2343 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2344 data = PyString_FromStringAndSize(self->GetPrivData(),
2345 self->GetPrivDataLen());
2346 wxPyEndBlockThreads(blocked);
2347 return data;
2348 }
2349 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2350 if (! PyString_Check(data)) {
2351 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2352 "Expected string object"));
2353 return /* NULL */ ;
2354 }
2355
2356 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2357 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2358 wxPyEndBlockThreads(blocked);
2359 }
2360
2361
2362 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2363
2364 // Since this one would be tough and ugly to do with the Macros...
2365 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2366 bool hadErr = false;
2367 bool found;
2368
2369 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2370 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2371 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2372 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2373 PyObject* val;
2374
2375 val = PyTuple_GetItem(result, 0);
2376 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2377 else hadErr = true;
2378
2379 val = PyTuple_GetItem(result, 1);
2380 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2381 else hadErr = true;
2382
2383 val = PyTuple_GetItem(result, 2);
2384 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2385 else hadErr = true;
2386
2387 val = PyTuple_GetItem(result, 3);
2388 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2389 else hadErr = true;
2390 }
2391 else
2392 hadErr = true;
2393
2394 if (hadErr) {
2395 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2396 PyErr_Print();
2397 }
2398 Py_DECREF(result);
2399 }
2400 wxPyEndBlockThreads(blocked);
2401 if (! found)
2402 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2403 }
2404
2405 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2406 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2407 }
2408
2409
2410 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2411 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2412 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2413 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2414 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2415 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2416 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2417
2418
2419
2420
2421
2422 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2423 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2424 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2425
2426
2427 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2428 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2429 bool rval=false; \
2430 bool found; \
2431 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2433 PyObject* win = wxPyMake_wxObject(a,false); \
2434 PyObject* dc = wxPyMake_wxObject(&b,false); \
2435 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2436 Py_DECREF(win); \
2437 Py_DECREF(dc); \
2438 } \
2439 wxPyEndBlockThreads(blocked); \
2440 if (! found) \
2441 rval = PCLASS::CBNAME(a, b); \
2442 return rval; \
2443 } \
2444 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2445 return PCLASS::CBNAME(a, b); \
2446 }
2447
2448
2449
2450
2451 class wxPyPrintPreview : public wxPrintPreview
2452 {
2453 DECLARE_CLASS(wxPyPrintPreview)
2454 public:
2455 wxPyPrintPreview(wxPyPrintout* printout,
2456 wxPyPrintout* printoutForPrinting,
2457 wxPrintDialogData* data=NULL)
2458 : wxPrintPreview(printout, printoutForPrinting, data)
2459 {}
2460 wxPyPrintPreview(wxPyPrintout* printout,
2461 wxPyPrintout* printoutForPrinting,
2462 wxPrintData* data=NULL)
2463 : wxPrintPreview(printout, printoutForPrinting, data)
2464 {}
2465
2466 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2467 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2469 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2470 DEC_PYCALLBACK_VOID_INT(SetZoom);
2471 DEC_PYCALLBACK_BOOL_BOOL(Print);
2472 DEC_PYCALLBACK_VOID_(DetermineScaling);
2473
2474 PYPRIVATE;
2475 };
2476
2477 // Stupid renamed classes... Fix this in 2.5...
2478 #if defined(__WXMSW__)
2479 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2480 #elif defined(__WXMAC__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2482 #else
2483 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2484 #endif
2485
2486 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2487 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2488 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2489 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2490 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2491 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2492 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2493
2494
2495 class wxPyPreviewFrame : public wxPreviewFrame
2496 {
2497 DECLARE_CLASS(wxPyPreviewFrame);
2498 public:
2499 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2500 const wxString& title,
2501 const wxPoint& pos = wxDefaultPosition,
2502 const wxSize& size = wxDefaultSize,
2503 long style = wxDEFAULT_FRAME_STYLE,
2504 const wxString& name = wxPyFrameNameStr)
2505 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2506 {}
2507
2508 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2509 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2510
2511 DEC_PYCALLBACK_VOID_(Initialize);
2512 DEC_PYCALLBACK_VOID_(CreateCanvas);
2513 DEC_PYCALLBACK_VOID_(CreateControlBar);
2514
2515 PYPRIVATE;
2516 };
2517
2518 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2519
2520 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2521 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2523
2524
2525 class wxPyPreviewControlBar : public wxPreviewControlBar
2526 {
2527 DECLARE_CLASS(wxPyPreviewControlBar);
2528 public:
2529 wxPyPreviewControlBar(wxPrintPreview *preview,
2530 long buttons,
2531 wxWindow *parent,
2532 const wxPoint& pos = wxDefaultPosition,
2533 const wxSize& size = wxDefaultSize,
2534 long style = 0,
2535 const wxString& name = wxPyPanelNameStr)
2536 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2537 {}
2538
2539 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2540
2541 DEC_PYCALLBACK_VOID_(CreateButtons);
2542 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2543
2544 PYPRIVATE;
2545 };
2546
2547 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2548 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2549 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2550
2551 #ifdef __cplusplus
2552 extern "C" {
2553 #endif
2554 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxWindow *arg1 = (wxWindow *) 0 ;
2557 int arg2 = (int) (int)-1 ;
2558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2560 wxSize const &arg4_defvalue = wxDefaultSize ;
2561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2562 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2563 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2564 wxString *arg6 = (wxString *) &arg6_defvalue ;
2565 wxPanel *result;
2566 wxPoint temp3 ;
2567 wxSize temp4 ;
2568 bool temp6 = false ;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj1 = 0 ;
2571 PyObject * obj2 = 0 ;
2572 PyObject * obj3 = 0 ;
2573 PyObject * obj4 = 0 ;
2574 PyObject * obj5 = 0 ;
2575 char *kwnames[] = {
2576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2577 };
2578
2579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2581 if (SWIG_arg_fail(1)) SWIG_fail;
2582 if (obj1) {
2583 {
2584 arg2 = (int const)(SWIG_As_int(obj1));
2585 if (SWIG_arg_fail(2)) SWIG_fail;
2586 }
2587 }
2588 if (obj2) {
2589 {
2590 arg3 = &temp3;
2591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2592 }
2593 }
2594 if (obj3) {
2595 {
2596 arg4 = &temp4;
2597 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2598 }
2599 }
2600 if (obj4) {
2601 {
2602 arg5 = (long)(SWIG_As_long(obj4));
2603 if (SWIG_arg_fail(5)) SWIG_fail;
2604 }
2605 }
2606 if (obj5) {
2607 {
2608 arg6 = wxString_in_helper(obj5);
2609 if (arg6 == NULL) SWIG_fail;
2610 temp6 = true;
2611 }
2612 }
2613 {
2614 if (!wxPyCheckForApp()) SWIG_fail;
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2622 {
2623 if (temp6)
2624 delete arg6;
2625 }
2626 return resultobj;
2627 fail:
2628 {
2629 if (temp6)
2630 delete arg6;
2631 }
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxPanel *result;
2639 char *kwnames[] = {
2640 NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2644 {
2645 if (!wxPyCheckForApp()) SWIG_fail;
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = (wxPanel *)new wxPanel();
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2653 return resultobj;
2654 fail:
2655 return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxPanel *arg1 = (wxPanel *) 0 ;
2662 wxWindow *arg2 = (wxWindow *) 0 ;
2663 int arg3 = (int) (int)-1 ;
2664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2666 wxSize const &arg5_defvalue = wxDefaultSize ;
2667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2668 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2669 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2670 wxString *arg7 = (wxString *) &arg7_defvalue ;
2671 bool result;
2672 wxPoint temp4 ;
2673 wxSize temp5 ;
2674 bool temp7 = false ;
2675 PyObject * obj0 = 0 ;
2676 PyObject * obj1 = 0 ;
2677 PyObject * obj2 = 0 ;
2678 PyObject * obj3 = 0 ;
2679 PyObject * obj4 = 0 ;
2680 PyObject * obj5 = 0 ;
2681 PyObject * obj6 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2688 if (SWIG_arg_fail(1)) SWIG_fail;
2689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2690 if (SWIG_arg_fail(2)) SWIG_fail;
2691 if (obj2) {
2692 {
2693 arg3 = (int const)(SWIG_As_int(obj2));
2694 if (SWIG_arg_fail(3)) SWIG_fail;
2695 }
2696 }
2697 if (obj3) {
2698 {
2699 arg4 = &temp4;
2700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2701 }
2702 }
2703 if (obj4) {
2704 {
2705 arg5 = &temp5;
2706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2707 }
2708 }
2709 if (obj5) {
2710 {
2711 arg6 = (long)(SWIG_As_long(obj5));
2712 if (SWIG_arg_fail(6)) SWIG_fail;
2713 }
2714 }
2715 if (obj6) {
2716 {
2717 arg7 = wxString_in_helper(obj6);
2718 if (arg7 == NULL) SWIG_fail;
2719 temp7 = true;
2720 }
2721 }
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 {
2730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2731 }
2732 {
2733 if (temp7)
2734 delete arg7;
2735 }
2736 return resultobj;
2737 fail:
2738 {
2739 if (temp7)
2740 delete arg7;
2741 }
2742 return NULL;
2743 }
2744
2745
2746 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2747 PyObject *resultobj;
2748 wxPanel *arg1 = (wxPanel *) 0 ;
2749 PyObject * obj0 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail;
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->InitDialog();
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxPanel *arg1 = (wxPanel *) 0 ;
2774 PyObject * obj0 = 0 ;
2775 char *kwnames[] = {
2776 (char *) "self", NULL
2777 };
2778
2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2781 if (SWIG_arg_fail(1)) SWIG_fail;
2782 {
2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2784 (arg1)->SetFocus();
2785
2786 wxPyEndAllowThreads(__tstate);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 }
2789 Py_INCREF(Py_None); resultobj = Py_None;
2790 return resultobj;
2791 fail:
2792 return NULL;
2793 }
2794
2795
2796 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxPanel *arg1 = (wxPanel *) 0 ;
2799 PyObject * obj0 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2806 if (SWIG_arg_fail(1)) SWIG_fail;
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 (arg1)->SetFocusIgnoringChildren();
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 Py_INCREF(Py_None); resultobj = Py_None;
2815 return resultobj;
2816 fail:
2817 return NULL;
2818 }
2819
2820
2821 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj;
2823 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2824 wxVisualAttributes result;
2825 PyObject * obj0 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "variant", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2831 if (obj0) {
2832 {
2833 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2834 if (SWIG_arg_fail(1)) SWIG_fail;
2835 }
2836 }
2837 {
2838 if (!wxPyCheckForApp()) SWIG_fail;
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 {
2846 wxVisualAttributes * resultptr;
2847 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2849 }
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2857 PyObject *obj;
2858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2860 Py_INCREF(obj);
2861 return Py_BuildValue((char *)"");
2862 }
2863 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxWindow *arg1 = (wxWindow *) 0 ;
2866 int arg2 = (int) (int)-1 ;
2867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2869 wxSize const &arg4_defvalue = wxDefaultSize ;
2870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2871 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2872 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2873 wxString *arg6 = (wxString *) &arg6_defvalue ;
2874 wxScrolledWindow *result;
2875 wxPoint temp3 ;
2876 wxSize temp4 ;
2877 bool temp6 = false ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 PyObject * obj3 = 0 ;
2882 PyObject * obj4 = 0 ;
2883 PyObject * obj5 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2890 if (SWIG_arg_fail(1)) SWIG_fail;
2891 if (obj1) {
2892 {
2893 arg2 = (int const)(SWIG_As_int(obj1));
2894 if (SWIG_arg_fail(2)) SWIG_fail;
2895 }
2896 }
2897 if (obj2) {
2898 {
2899 arg3 = &temp3;
2900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2901 }
2902 }
2903 if (obj3) {
2904 {
2905 arg4 = &temp4;
2906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2907 }
2908 }
2909 if (obj4) {
2910 {
2911 arg5 = (long)(SWIG_As_long(obj4));
2912 if (SWIG_arg_fail(5)) SWIG_fail;
2913 }
2914 }
2915 if (obj5) {
2916 {
2917 arg6 = wxString_in_helper(obj5);
2918 if (arg6 == NULL) SWIG_fail;
2919 temp6 = true;
2920 }
2921 }
2922 {
2923 if (!wxPyCheckForApp()) SWIG_fail;
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2931 {
2932 if (temp6)
2933 delete arg6;
2934 }
2935 return resultobj;
2936 fail:
2937 {
2938 if (temp6)
2939 delete arg6;
2940 }
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxScrolledWindow *result;
2948 char *kwnames[] = {
2949 NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2953 {
2954 if (!wxPyCheckForApp()) SWIG_fail;
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = (wxScrolledWindow *)new wxScrolledWindow();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2971 wxWindow *arg2 = (wxWindow *) 0 ;
2972 int arg3 = (int) (int)-1 ;
2973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2975 wxSize const &arg5_defvalue = wxDefaultSize ;
2976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2977 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2978 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2979 wxString *arg7 = (wxString *) &arg7_defvalue ;
2980 bool result;
2981 wxPoint temp4 ;
2982 wxSize temp5 ;
2983 bool temp7 = false ;
2984 PyObject * obj0 = 0 ;
2985 PyObject * obj1 = 0 ;
2986 PyObject * obj2 = 0 ;
2987 PyObject * obj3 = 0 ;
2988 PyObject * obj4 = 0 ;
2989 PyObject * obj5 = 0 ;
2990 PyObject * obj6 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail;
2998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail;
3000 if (obj2) {
3001 {
3002 arg3 = (int const)(SWIG_As_int(obj2));
3003 if (SWIG_arg_fail(3)) SWIG_fail;
3004 }
3005 }
3006 if (obj3) {
3007 {
3008 arg4 = &temp4;
3009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3010 }
3011 }
3012 if (obj4) {
3013 {
3014 arg5 = &temp5;
3015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3016 }
3017 }
3018 if (obj5) {
3019 {
3020 arg6 = (long)(SWIG_As_long(obj5));
3021 if (SWIG_arg_fail(6)) SWIG_fail;
3022 }
3023 }
3024 if (obj6) {
3025 {
3026 arg7 = wxString_in_helper(obj6);
3027 if (arg7 == NULL) SWIG_fail;
3028 temp7 = true;
3029 }
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 {
3039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3040 }
3041 {
3042 if (temp7)
3043 delete arg7;
3044 }
3045 return resultobj;
3046 fail:
3047 {
3048 if (temp7)
3049 delete arg7;
3050 }
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3058 int arg2 ;
3059 int arg3 ;
3060 int arg4 ;
3061 int arg5 ;
3062 int arg6 = (int) 0 ;
3063 int arg7 = (int) 0 ;
3064 bool arg8 = (bool) false ;
3065 PyObject * obj0 = 0 ;
3066 PyObject * obj1 = 0 ;
3067 PyObject * obj2 = 0 ;
3068 PyObject * obj3 = 0 ;
3069 PyObject * obj4 = 0 ;
3070 PyObject * obj5 = 0 ;
3071 PyObject * obj6 = 0 ;
3072 PyObject * obj7 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
3080 {
3081 arg2 = (int)(SWIG_As_int(obj1));
3082 if (SWIG_arg_fail(2)) SWIG_fail;
3083 }
3084 {
3085 arg3 = (int)(SWIG_As_int(obj2));
3086 if (SWIG_arg_fail(3)) SWIG_fail;
3087 }
3088 {
3089 arg4 = (int)(SWIG_As_int(obj3));
3090 if (SWIG_arg_fail(4)) SWIG_fail;
3091 }
3092 {
3093 arg5 = (int)(SWIG_As_int(obj4));
3094 if (SWIG_arg_fail(5)) SWIG_fail;
3095 }
3096 if (obj5) {
3097 {
3098 arg6 = (int)(SWIG_As_int(obj5));
3099 if (SWIG_arg_fail(6)) SWIG_fail;
3100 }
3101 }
3102 if (obj6) {
3103 {
3104 arg7 = (int)(SWIG_As_int(obj6));
3105 if (SWIG_arg_fail(7)) SWIG_fail;
3106 }
3107 }
3108 if (obj7) {
3109 {
3110 arg8 = (bool)(SWIG_As_bool(obj7));
3111 if (SWIG_arg_fail(8)) SWIG_fail;
3112 }
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->Scroll(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3168 int arg2 ;
3169 int result;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "orient", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3178 if (SWIG_arg_fail(1)) SWIG_fail;
3179 {
3180 arg2 = (int)(SWIG_As_int(obj1));
3181 if (SWIG_arg_fail(2)) SWIG_fail;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 resultobj = SWIG_From_int((int)(result));
3192 }
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3202 int arg2 ;
3203 int arg3 ;
3204 PyObject * obj0 = 0 ;
3205 PyObject * obj1 = 0 ;
3206 PyObject * obj2 = 0 ;
3207 char *kwnames[] = {
3208 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3209 };
3210
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail;
3214 {
3215 arg2 = (int)(SWIG_As_int(obj1));
3216 if (SWIG_arg_fail(2)) SWIG_fail;
3217 }
3218 {
3219 arg3 = (int)(SWIG_As_int(obj2));
3220 if (SWIG_arg_fail(3)) SWIG_fail;
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->SetScrollPageSize(arg2,arg3);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233 }
3234
3235
3236 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3239 int arg2 ;
3240 int arg3 ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 PyObject * obj2 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail;
3251 {
3252 arg2 = (int)(SWIG_As_int(obj1));
3253 if (SWIG_arg_fail(2)) SWIG_fail;
3254 }
3255 {
3256 arg3 = (int)(SWIG_As_int(obj2));
3257 if (SWIG_arg_fail(3)) SWIG_fail;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetScrollRate(arg2,arg3);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3276 int *arg2 = (int *) 0 ;
3277 int *arg3 = (int *) 0 ;
3278 int temp2 ;
3279 int res2 = 0 ;
3280 int temp3 ;
3281 int res3 = 0 ;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3288 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3291 if (SWIG_arg_fail(1)) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3301 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3302 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3303 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3313 bool arg2 ;
3314 bool arg3 ;
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj1 = 0 ;
3317 PyObject * obj2 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3324 if (SWIG_arg_fail(1)) SWIG_fail;
3325 {
3326 arg2 = (bool)(SWIG_As_bool(obj1));
3327 if (SWIG_arg_fail(2)) SWIG_fail;
3328 }
3329 {
3330 arg3 = (bool)(SWIG_As_bool(obj2));
3331 if (SWIG_arg_fail(3)) SWIG_fail;
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->EnableScrolling(arg2,arg3);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3350 int *arg2 = (int *) 0 ;
3351 int *arg3 = (int *) 0 ;
3352 int temp2 ;
3353 int res2 = 0 ;
3354 int temp3 ;
3355 int res3 = 0 ;
3356 PyObject * obj0 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "self", NULL
3359 };
3360
3361 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3362 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3375 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3376 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3377 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3378 return resultobj;
3379 fail:
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3387 double arg2 ;
3388 double arg3 ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
3391 PyObject * obj2 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "xs",(char *) "ys", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail;
3399 {
3400 arg2 = (double)(SWIG_As_double(obj1));
3401 if (SWIG_arg_fail(2)) SWIG_fail;
3402 }
3403 {
3404 arg3 = (double)(SWIG_As_double(obj2));
3405 if (SWIG_arg_fail(3)) SWIG_fail;
3406 }
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 (arg1)->SetScale(arg2,arg3);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 Py_INCREF(Py_None); resultobj = Py_None;
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3424 double result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441 resultobj = SWIG_From_double((double)(result));
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3452 double result;
3453 PyObject * obj0 = 0 ;
3454 char *kwnames[] = {
3455 (char *) "self", NULL
3456 };
3457
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail;
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 {
3469 resultobj = SWIG_From_double((double)(result));
3470 }
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3478 PyObject *resultobj;
3479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3480 wxPoint *arg2 = 0 ;
3481 wxPoint result;
3482 wxPoint temp2 ;
3483 PyObject * obj0 = 0 ;
3484 PyObject * obj1 = 0 ;
3485
3486 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail;
3489 {
3490 arg2 = &temp2;
3491 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3492 }
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 {
3501 wxPoint * resultptr;
3502 resultptr = new wxPoint((wxPoint &)(result));
3503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3504 }
3505 return resultobj;
3506 fail:
3507 return NULL;
3508 }
3509
3510
3511 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3512 PyObject *resultobj;
3513 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3514 int arg2 ;
3515 int arg3 ;
3516 int *arg4 = (int *) 0 ;
3517 int *arg5 = (int *) 0 ;
3518 int temp4 ;
3519 int res4 = 0 ;
3520 int temp5 ;
3521 int res5 = 0 ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 PyObject * obj2 = 0 ;
3525
3526 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3527 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3528 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail;
3531 {
3532 arg2 = (int)(SWIG_As_int(obj1));
3533 if (SWIG_arg_fail(2)) SWIG_fail;
3534 }
3535 {
3536 arg3 = (int)(SWIG_As_int(obj2));
3537 if (SWIG_arg_fail(3)) SWIG_fail;
3538 }
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 Py_INCREF(Py_None); resultobj = Py_None;
3547 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3548 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3549 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3550 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3558 int argc;
3559 PyObject *argv[4];
3560 int ii;
3561
3562 argc = PyObject_Length(args);
3563 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3564 argv[ii] = PyTuple_GetItem(args,ii);
3565 }
3566 if (argc == 2) {
3567 int _v;
3568 {
3569 void *ptr;
3570 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3571 _v = 0;
3572 PyErr_Clear();
3573 } else {
3574 _v = 1;
3575 }
3576 }
3577 if (_v) {
3578 {
3579 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3580 }
3581 if (_v) {
3582 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3583 }
3584 }
3585 }
3586 if (argc == 3) {
3587 int _v;
3588 {
3589 void *ptr;
3590 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3591 _v = 0;
3592 PyErr_Clear();
3593 } else {
3594 _v = 1;
3595 }
3596 }
3597 if (_v) {
3598 _v = SWIG_Check_int(argv[1]);
3599 if (_v) {
3600 _v = SWIG_Check_int(argv[2]);
3601 if (_v) {
3602 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3603 }
3604 }
3605 }
3606 }
3607
3608 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3614 PyObject *resultobj;
3615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3616 wxPoint *arg2 = 0 ;
3617 wxPoint result;
3618 wxPoint temp2 ;
3619 PyObject * obj0 = 0 ;
3620 PyObject * obj1 = 0 ;
3621
3622 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail;
3625 {
3626 arg2 = &temp2;
3627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 wxPoint * resultptr;
3638 resultptr = new wxPoint((wxPoint &)(result));
3639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3640 }
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3648 PyObject *resultobj;
3649 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3650 int arg2 ;
3651 int arg3 ;
3652 int *arg4 = (int *) 0 ;
3653 int *arg5 = (int *) 0 ;
3654 int temp4 ;
3655 int res4 = 0 ;
3656 int temp5 ;
3657 int res5 = 0 ;
3658 PyObject * obj0 = 0 ;
3659 PyObject * obj1 = 0 ;
3660 PyObject * obj2 = 0 ;
3661
3662 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3663 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3664 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
3667 {
3668 arg2 = (int)(SWIG_As_int(obj1));
3669 if (SWIG_arg_fail(2)) SWIG_fail;
3670 }
3671 {
3672 arg3 = (int)(SWIG_As_int(obj2));
3673 if (SWIG_arg_fail(3)) SWIG_fail;
3674 }
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3684 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3685 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3686 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3694 int argc;
3695 PyObject *argv[4];
3696 int ii;
3697
3698 argc = PyObject_Length(args);
3699 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3700 argv[ii] = PyTuple_GetItem(args,ii);
3701 }
3702 if (argc == 2) {
3703 int _v;
3704 {
3705 void *ptr;
3706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3707 _v = 0;
3708 PyErr_Clear();
3709 } else {
3710 _v = 1;
3711 }
3712 }
3713 if (_v) {
3714 {
3715 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3716 }
3717 if (_v) {
3718 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3719 }
3720 }
3721 }
3722 if (argc == 3) {
3723 int _v;
3724 {
3725 void *ptr;
3726 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3727 _v = 0;
3728 PyErr_Clear();
3729 } else {
3730 _v = 1;
3731 }
3732 }
3733 if (_v) {
3734 _v = SWIG_Check_int(argv[1]);
3735 if (_v) {
3736 _v = SWIG_Check_int(argv[2]);
3737 if (_v) {
3738 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3739 }
3740 }
3741 }
3742 }
3743
3744 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3752 PyObject * obj0 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 (arg1)->AdjustScrollbars();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3777 wxScrollWinEvent *arg2 = 0 ;
3778 int result;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self",(char *) "event", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail;
3788 {
3789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3790 if (SWIG_arg_fail(2)) SWIG_fail;
3791 if (arg2 == NULL) {
3792 SWIG_null_ref("wxScrollWinEvent");
3793 }
3794 if (SWIG_arg_fail(2)) SWIG_fail;
3795 }
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (int)(arg1)->CalcScrollInc(*arg2);
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 {
3804 resultobj = SWIG_From_int((int)(result));
3805 }
3806 return resultobj;
3807 fail:
3808 return NULL;
3809 }
3810
3811
3812 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3813 PyObject *resultobj;
3814 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3815 wxWindow *arg2 = (wxWindow *) 0 ;
3816 PyObject * obj0 = 0 ;
3817 PyObject * obj1 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self",(char *) "target", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail;
3825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3826 if (SWIG_arg_fail(2)) SWIG_fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 (arg1)->SetTargetWindow(arg2);
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 Py_INCREF(Py_None); resultobj = Py_None;
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3842 PyObject *resultobj;
3843 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3844 wxWindow *result;
3845 PyObject * obj0 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 {
3861 resultobj = wxPyMake_wxObject(result, 0);
3862 }
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3872 wxRect *arg2 = 0 ;
3873 wxRect temp2 ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self",(char *) "rect", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail;
3883 {
3884 arg2 = &temp2;
3885 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetTargetRect((wxRect const &)*arg2);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3904 wxRect result;
3905 PyObject * obj0 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 {
3921 wxRect * resultptr;
3922 resultptr = new wxRect((wxRect &)(result));
3923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3934 wxDC *arg2 = 0 ;
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self",(char *) "dc", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail;
3944 {
3945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3946 if (SWIG_arg_fail(2)) SWIG_fail;
3947 if (arg2 == NULL) {
3948 SWIG_null_ref("wxDC");
3949 }
3950 if (SWIG_arg_fail(2)) SWIG_fail;
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 (arg1)->DoPrepareDC(*arg2);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3969 wxVisualAttributes result;
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "variant", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3976 if (obj0) {
3977 {
3978 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3979 if (SWIG_arg_fail(1)) SWIG_fail;
3980 }
3981 }
3982 {
3983 if (!wxPyCheckForApp()) SWIG_fail;
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 {
3991 wxVisualAttributes * resultptr;
3992 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3994 }
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4002 PyObject *obj;
4003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4005 Py_INCREF(obj);
4006 return Py_BuildValue((char *)"");
4007 }
4008 static int _wrap_FrameNameStr_set(PyObject *) {
4009 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4010 return 1;
4011 }
4012
4013
4014 static PyObject *_wrap_FrameNameStr_get(void) {
4015 PyObject *pyobj;
4016
4017 {
4018 #if wxUSE_UNICODE
4019 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4020 #else
4021 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4022 #endif
4023 }
4024 return pyobj;
4025 }
4026
4027
4028 static int _wrap_DialogNameStr_set(PyObject *) {
4029 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4030 return 1;
4031 }
4032
4033
4034 static PyObject *_wrap_DialogNameStr_get(void) {
4035 PyObject *pyobj;
4036
4037 {
4038 #if wxUSE_UNICODE
4039 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4040 #else
4041 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4042 #endif
4043 }
4044 return pyobj;
4045 }
4046
4047
4048 static int _wrap_StatusLineNameStr_set(PyObject *) {
4049 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4050 return 1;
4051 }
4052
4053
4054 static PyObject *_wrap_StatusLineNameStr_get(void) {
4055 PyObject *pyobj;
4056
4057 {
4058 #if wxUSE_UNICODE
4059 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4060 #else
4061 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4062 #endif
4063 }
4064 return pyobj;
4065 }
4066
4067
4068 static int _wrap_ToolBarNameStr_set(PyObject *) {
4069 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4070 return 1;
4071 }
4072
4073
4074 static PyObject *_wrap_ToolBarNameStr_get(void) {
4075 PyObject *pyobj;
4076
4077 {
4078 #if wxUSE_UNICODE
4079 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4080 #else
4081 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4082 #endif
4083 }
4084 return pyobj;
4085 }
4086
4087
4088 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj;
4090 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4091 bool arg2 = (bool) true ;
4092 PyObject * obj0 = 0 ;
4093 PyObject * obj1 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self",(char *) "maximize", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail;
4101 if (obj1) {
4102 {
4103 arg2 = (bool)(SWIG_As_bool(obj1));
4104 if (SWIG_arg_fail(2)) SWIG_fail;
4105 }
4106 }
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 (arg1)->Maximize(arg2);
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 Py_INCREF(Py_None); resultobj = Py_None;
4115 return resultobj;
4116 fail:
4117 return NULL;
4118 }
4119
4120
4121 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj;
4123 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4124 PyObject * obj0 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail;
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 (arg1)->Restore();
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4149 bool arg2 = (bool) true ;
4150 PyObject * obj0 = 0 ;
4151 PyObject * obj1 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self",(char *) "iconize", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail;
4159 if (obj1) {
4160 {
4161 arg2 = (bool)(SWIG_As_bool(obj1));
4162 if (SWIG_arg_fail(2)) SWIG_fail;
4163 }
4164 }
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 (arg1)->Iconize(arg2);
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 Py_INCREF(Py_None); resultobj = Py_None;
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4182 bool result;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 {
4199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4200 }
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4210 bool result;
4211 PyObject * obj0 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail;
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
4227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4238 wxIcon result;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4246 if (SWIG_arg_fail(1)) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255 wxIcon * resultptr;
4256 resultptr = new wxIcon((wxIcon &)(result));
4257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4258 }
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4268 wxIcon *arg2 = 0 ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 char *kwnames[] = {
4272 (char *) "self",(char *) "icon", NULL
4273 };
4274
4275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail;
4278 {
4279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4280 if (SWIG_arg_fail(2)) SWIG_fail;
4281 if (arg2 == NULL) {
4282 SWIG_null_ref("wxIcon");
4283 }
4284 if (SWIG_arg_fail(2)) SWIG_fail;
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 (arg1)->SetIcon((wxIcon const &)*arg2);
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 Py_INCREF(Py_None); resultobj = Py_None;
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4303 wxIconBundle *arg2 = 0 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self",(char *) "icons", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail;
4313 {
4314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4315 if (SWIG_arg_fail(2)) SWIG_fail;
4316 if (arg2 == NULL) {
4317 SWIG_null_ref("wxIconBundle");
4318 }
4319 if (SWIG_arg_fail(2)) SWIG_fail;
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4338 bool arg2 ;
4339 long arg3 = (long) wxFULLSCREEN_ALL ;
4340 bool result;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 PyObject * obj2 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "show",(char *) "style", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail;
4351 {
4352 arg2 = (bool)(SWIG_As_bool(obj1));
4353 if (SWIG_arg_fail(2)) SWIG_fail;
4354 }
4355 if (obj2) {
4356 {
4357 arg3 = (long)(SWIG_As_long(obj2));
4358 if (SWIG_arg_fail(3)) SWIG_fail;
4359 }
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4370 }
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4380 bool result;
4381 PyObject * obj0 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 {
4397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4398 }
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4408 wxString *arg2 = 0 ;
4409 bool temp2 = false ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "title", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail;
4419 {
4420 arg2 = wxString_in_helper(obj1);
4421 if (arg2 == NULL) SWIG_fail;
4422 temp2 = true;
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->SetTitle((wxString const &)*arg2);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 {
4433 if (temp2)
4434 delete arg2;
4435 }
4436 return resultobj;
4437 fail:
4438 {
4439 if (temp2)
4440 delete arg2;
4441 }
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4449 wxString result;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 {
4466 #if wxUSE_UNICODE
4467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4468 #else
4469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4470 #endif
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4481 wxRegion *arg2 = 0 ;
4482 bool result;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "region", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail;
4492 {
4493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4494 if (SWIG_arg_fail(2)) SWIG_fail;
4495 if (arg2 == NULL) {
4496 SWIG_null_ref("wxRegion");
4497 }
4498 if (SWIG_arg_fail(2)) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4519 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self",(char *) "flags", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
4529 if (obj1) {
4530 {
4531 arg2 = (int)(SWIG_As_int(obj1));
4532 if (SWIG_arg_fail(2)) SWIG_fail;
4533 }
4534 }
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 (arg1)->RequestUserAttention(arg2);
4538
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 Py_INCREF(Py_None); resultobj = Py_None;
4543 return resultobj;
4544 fail:
4545 return NULL;
4546 }
4547
4548
4549 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj;
4551 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4552 bool result;
4553 PyObject * obj0 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail;
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 result = (bool)(arg1)->IsActive();
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 {
4569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4570 }
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4580 bool arg2 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self",(char *) "on", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail;
4590 {
4591 arg2 = (bool)(SWIG_As_bool(obj1));
4592 if (SWIG_arg_fail(2)) SWIG_fail;
4593 }
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 (arg1)->MacSetMetalAppearance(arg2);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4611 bool result;
4612 PyObject * obj0 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 {
4628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4629 }
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4637 PyObject *obj;
4638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4640 Py_INCREF(obj);
4641 return Py_BuildValue((char *)"");
4642 }
4643 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxWindow *arg1 = (wxWindow *) 0 ;
4646 int arg2 = (int) (int)-1 ;
4647 wxString const &arg3_defvalue = wxPyEmptyString ;
4648 wxString *arg3 = (wxString *) &arg3_defvalue ;
4649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4651 wxSize const &arg5_defvalue = wxDefaultSize ;
4652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4653 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4654 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4655 wxString *arg7 = (wxString *) &arg7_defvalue ;
4656 wxFrame *result;
4657 bool temp3 = false ;
4658 wxPoint temp4 ;
4659 wxSize temp5 ;
4660 bool temp7 = false ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 PyObject * obj2 = 0 ;
4664 PyObject * obj3 = 0 ;
4665 PyObject * obj4 = 0 ;
4666 PyObject * obj5 = 0 ;
4667 PyObject * obj6 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail;
4675 if (obj1) {
4676 {
4677 arg2 = (int const)(SWIG_As_int(obj1));
4678 if (SWIG_arg_fail(2)) SWIG_fail;
4679 }
4680 }
4681 if (obj2) {
4682 {
4683 arg3 = wxString_in_helper(obj2);
4684 if (arg3 == NULL) SWIG_fail;
4685 temp3 = true;
4686 }
4687 }
4688 if (obj3) {
4689 {
4690 arg4 = &temp4;
4691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4692 }
4693 }
4694 if (obj4) {
4695 {
4696 arg5 = &temp5;
4697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4698 }
4699 }
4700 if (obj5) {
4701 {
4702 arg6 = (long)(SWIG_As_long(obj5));
4703 if (SWIG_arg_fail(6)) SWIG_fail;
4704 }
4705 }
4706 if (obj6) {
4707 {
4708 arg7 = wxString_in_helper(obj6);
4709 if (arg7 == NULL) SWIG_fail;
4710 temp7 = true;
4711 }
4712 }
4713 {
4714 if (!wxPyCheckForApp()) SWIG_fail;
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4722 {
4723 if (temp3)
4724 delete arg3;
4725 }
4726 {
4727 if (temp7)
4728 delete arg7;
4729 }
4730 return resultobj;
4731 fail:
4732 {
4733 if (temp3)
4734 delete arg3;
4735 }
4736 {
4737 if (temp7)
4738 delete arg7;
4739 }
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxFrame *result;
4747 char *kwnames[] = {
4748 NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4752 {
4753 if (!wxPyCheckForApp()) SWIG_fail;
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (wxFrame *)new wxFrame();
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxFrame *arg1 = (wxFrame *) 0 ;
4770 wxWindow *arg2 = (wxWindow *) 0 ;
4771 int arg3 = (int) (int)-1 ;
4772 wxString const &arg4_defvalue = wxPyEmptyString ;
4773 wxString *arg4 = (wxString *) &arg4_defvalue ;
4774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4776 wxSize const &arg6_defvalue = wxDefaultSize ;
4777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4778 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4779 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4780 wxString *arg8 = (wxString *) &arg8_defvalue ;
4781 bool result;
4782 bool temp4 = false ;
4783 wxPoint temp5 ;
4784 wxSize temp6 ;
4785 bool temp8 = false ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 PyObject * obj2 = 0 ;
4789 PyObject * obj3 = 0 ;
4790 PyObject * obj4 = 0 ;
4791 PyObject * obj5 = 0 ;
4792 PyObject * obj6 = 0 ;
4793 PyObject * obj7 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail;
4801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4802 if (SWIG_arg_fail(2)) SWIG_fail;
4803 if (obj2) {
4804 {
4805 arg3 = (int const)(SWIG_As_int(obj2));
4806 if (SWIG_arg_fail(3)) SWIG_fail;
4807 }
4808 }
4809 if (obj3) {
4810 {
4811 arg4 = wxString_in_helper(obj3);
4812 if (arg4 == NULL) SWIG_fail;
4813 temp4 = true;
4814 }
4815 }
4816 if (obj4) {
4817 {
4818 arg5 = &temp5;
4819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4820 }
4821 }
4822 if (obj5) {
4823 {
4824 arg6 = &temp6;
4825 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4826 }
4827 }
4828 if (obj6) {
4829 {
4830 arg7 = (long)(SWIG_As_long(obj6));
4831 if (SWIG_arg_fail(7)) SWIG_fail;
4832 }
4833 }
4834 if (obj7) {
4835 {
4836 arg8 = wxString_in_helper(obj7);
4837 if (arg8 == NULL) SWIG_fail;
4838 temp8 = true;
4839 }
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 {
4849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4850 }
4851 {
4852 if (temp4)
4853 delete arg4;
4854 }
4855 {
4856 if (temp8)
4857 delete arg8;
4858 }
4859 return resultobj;
4860 fail:
4861 {
4862 if (temp4)
4863 delete arg4;
4864 }
4865 {
4866 if (temp8)
4867 delete arg8;
4868 }
4869 return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 wxFrame *arg1 = (wxFrame *) 0 ;
4876 wxPoint result;
4877 PyObject * obj0 = 0 ;
4878 char *kwnames[] = {
4879 (char *) "self", NULL
4880 };
4881
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail;
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 {
4893 wxPoint * resultptr;
4894 resultptr = new wxPoint((wxPoint &)(result));
4895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4896 }
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxFrame *arg1 = (wxFrame *) 0 ;
4906 PyObject * obj0 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->SendSizeEvent();
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxFrame *arg1 = (wxFrame *) 0 ;
4931 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "menubar", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
4941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(2)) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->SetMenuBar(arg2);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxFrame *arg1 = (wxFrame *) 0 ;
4960 wxMenuBar *result;
4961 PyObject * obj0 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 {
4977 resultobj = wxPyMake_wxObject(result, 0);
4978 }
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxFrame *arg1 = (wxFrame *) 0 ;
4988 int arg2 ;
4989 bool result;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj1 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "winid", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail;
4999 {
5000 arg2 = (int)(SWIG_As_int(obj1));
5001 if (SWIG_arg_fail(2)) SWIG_fail;
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (bool)(arg1)->ProcessCommand(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
5011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5012 }
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxFrame *arg1 = (wxFrame *) 0 ;
5022 int arg2 = (int) 1 ;
5023 long arg3 = (long) wxST_SIZEGRIP ;
5024 int arg4 = (int) 0 ;
5025 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5026 wxString *arg5 = (wxString *) &arg5_defvalue ;
5027 wxStatusBar *result;
5028 bool temp5 = false ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 PyObject * obj2 = 0 ;
5032 PyObject * obj3 = 0 ;
5033 PyObject * obj4 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 if (obj1) {
5042 {
5043 arg2 = (int)(SWIG_As_int(obj1));
5044 if (SWIG_arg_fail(2)) SWIG_fail;
5045 }
5046 }
5047 if (obj2) {
5048 {
5049 arg3 = (long)(SWIG_As_long(obj2));
5050 if (SWIG_arg_fail(3)) SWIG_fail;
5051 }
5052 }
5053 if (obj3) {
5054 {
5055 arg4 = (int)(SWIG_As_int(obj3));
5056 if (SWIG_arg_fail(4)) SWIG_fail;
5057 }
5058 }
5059 if (obj4) {
5060 {
5061 arg5 = wxString_in_helper(obj4);
5062 if (arg5 == NULL) SWIG_fail;
5063 temp5 = true;
5064 }
5065 }
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 resultobj = wxPyMake_wxObject(result, 0);
5075 }
5076 {
5077 if (temp5)
5078 delete arg5;
5079 }
5080 return resultobj;
5081 fail:
5082 {
5083 if (temp5)
5084 delete arg5;
5085 }
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxFrame *arg1 = (wxFrame *) 0 ;
5093 wxStatusBar *result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 resultobj = wxPyMake_wxObject(result, 0);
5111 }
5112 return resultobj;
5113 fail:
5114 return NULL;
5115 }
5116
5117
5118 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxFrame *arg1 = (wxFrame *) 0 ;
5121 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "statBar", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail;
5131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5132 if (SWIG_arg_fail(2)) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetStatusBar(arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxFrame *arg1 = (wxFrame *) 0 ;
5150 wxString *arg2 = 0 ;
5151 int arg3 = (int) 0 ;
5152 bool temp2 = false ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 PyObject * obj2 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "text",(char *) "number", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
5163 {
5164 arg2 = wxString_in_helper(obj1);
5165 if (arg2 == NULL) SWIG_fail;
5166 temp2 = true;
5167 }
5168 if (obj2) {
5169 {
5170 arg3 = (int)(SWIG_As_int(obj2));
5171 if (SWIG_arg_fail(3)) SWIG_fail;
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 Py_INCREF(Py_None); resultobj = Py_None;
5182 {
5183 if (temp2)
5184 delete arg2;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (temp2)
5190 delete arg2;
5191 }
5192 return NULL;
5193 }
5194
5195
5196 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj;
5198 wxFrame *arg1 = (wxFrame *) 0 ;
5199 int arg2 ;
5200 int *arg3 = (int *) 0 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "widths", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
5211 arg2 = PyList_Size(obj1);
5212 arg3 = int_LIST_helper(obj1);
5213 if (arg3 == NULL) SWIG_fail;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (arg3) delete [] arg3;
5225 }
5226 return resultobj;
5227 fail:
5228 {
5229 if (arg3) delete [] arg3;
5230 }
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxFrame *arg1 = (wxFrame *) 0 ;
5238 wxString *arg2 = 0 ;
5239 int arg3 = (int) 0 ;
5240 bool temp2 = false ;
5241 PyObject * obj0 = 0 ;
5242 PyObject * obj1 = 0 ;
5243 PyObject * obj2 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "text",(char *) "number", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail;
5251 {
5252 arg2 = wxString_in_helper(obj1);
5253 if (arg2 == NULL) SWIG_fail;
5254 temp2 = true;
5255 }
5256 if (obj2) {
5257 {
5258 arg3 = (int)(SWIG_As_int(obj2));
5259 if (SWIG_arg_fail(3)) SWIG_fail;
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 Py_INCREF(Py_None); resultobj = Py_None;
5270 {
5271 if (temp2)
5272 delete arg2;
5273 }
5274 return resultobj;
5275 fail:
5276 {
5277 if (temp2)
5278 delete arg2;
5279 }
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxFrame *arg1 = (wxFrame *) 0 ;
5287 int arg2 = (int) 0 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "number", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail;
5297 if (obj1) {
5298 {
5299 arg2 = (int)(SWIG_As_int(obj1));
5300 if (SWIG_arg_fail(2)) SWIG_fail;
5301 }
5302 }
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 (arg1)->PopStatusText(arg2);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 Py_INCREF(Py_None); resultobj = Py_None;
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxFrame *arg1 = (wxFrame *) 0 ;
5320 int arg2 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self",(char *) "n", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail;
5330 {
5331 arg2 = (int)(SWIG_As_int(obj1));
5332 if (SWIG_arg_fail(2)) SWIG_fail;
5333 }
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 (arg1)->SetStatusBarPane(arg2);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 Py_INCREF(Py_None); resultobj = Py_None;
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxFrame *arg1 = (wxFrame *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = SWIG_From_int((int)(result));
5369 }
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxFrame *arg1 = (wxFrame *) 0 ;
5379 long arg2 = (long) -1 ;
5380 int arg3 = (int) -1 ;
5381 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5382 wxString *arg4 = (wxString *) &arg4_defvalue ;
5383 wxToolBar *result;
5384 bool temp4 = false ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 PyObject * obj3 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail;
5396 if (obj1) {
5397 {
5398 arg2 = (long)(SWIG_As_long(obj1));
5399 if (SWIG_arg_fail(2)) SWIG_fail;
5400 }
5401 }
5402 if (obj2) {
5403 {
5404 arg3 = (int)(SWIG_As_int(obj2));
5405 if (SWIG_arg_fail(3)) SWIG_fail;
5406 }
5407 }
5408 if (obj3) {
5409 {
5410 arg4 = wxString_in_helper(obj3);
5411 if (arg4 == NULL) SWIG_fail;
5412 temp4 = true;
5413 }
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423 resultobj = wxPyMake_wxObject(result, 0);
5424 }
5425 {
5426 if (temp4)
5427 delete arg4;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (temp4)
5433 delete arg4;
5434 }
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxFrame *arg1 = (wxFrame *) 0 ;
5442 wxToolBar *result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail;
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 {
5459 resultobj = wxPyMake_wxObject(result, 0);
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxFrame *arg1 = (wxFrame *) 0 ;
5470 wxToolBar *arg2 = (wxToolBar *) 0 ;
5471 PyObject * obj0 = 0 ;
5472 PyObject * obj1 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "toolbar", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail;
5480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(2)) SWIG_fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->SetToolBar(arg2);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxFrame *arg1 = (wxFrame *) 0 ;
5499 wxString *arg2 = 0 ;
5500 bool arg3 ;
5501 bool temp2 = false ;
5502 PyObject * obj0 = 0 ;
5503 PyObject * obj1 = 0 ;
5504 PyObject * obj2 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "text",(char *) "show", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail;
5512 {
5513 arg2 = wxString_in_helper(obj1);
5514 if (arg2 == NULL) SWIG_fail;
5515 temp2 = true;
5516 }
5517 {
5518 arg3 = (bool)(SWIG_As_bool(obj2));
5519 if (SWIG_arg_fail(3)) SWIG_fail;
5520 }
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 Py_INCREF(Py_None); resultobj = Py_None;
5529 {
5530 if (temp2)
5531 delete arg2;
5532 }
5533 return resultobj;
5534 fail:
5535 {
5536 if (temp2)
5537 delete arg2;
5538 }
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxFrame *arg1 = (wxFrame *) 0 ;
5546 wxMenu *arg2 = (wxMenu *) NULL ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "menu", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
5556 if (obj1) {
5557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5558 if (SWIG_arg_fail(2)) SWIG_fail;
5559 }
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->DoMenuUpdates(arg2);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571 }
5572
5573
5574 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj;
5576 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5577 wxVisualAttributes result;
5578 PyObject * obj0 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "variant", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5584 if (obj0) {
5585 {
5586 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5587 if (SWIG_arg_fail(1)) SWIG_fail;
5588 }
5589 }
5590 {
5591 if (!wxPyCheckForApp()) SWIG_fail;
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 wxVisualAttributes * resultptr;
5600 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5610 PyObject *obj;
5611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5612 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5613 Py_INCREF(obj);
5614 return Py_BuildValue((char *)"");
5615 }
5616 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxWindow *arg1 = (wxWindow *) 0 ;
5619 int arg2 = (int) (int)-1 ;
5620 wxString const &arg3_defvalue = wxPyEmptyString ;
5621 wxString *arg3 = (wxString *) &arg3_defvalue ;
5622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5624 wxSize const &arg5_defvalue = wxDefaultSize ;
5625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5626 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5627 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5628 wxString *arg7 = (wxString *) &arg7_defvalue ;
5629 wxDialog *result;
5630 bool temp3 = false ;
5631 wxPoint temp4 ;
5632 wxSize temp5 ;
5633 bool temp7 = false ;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 PyObject * obj2 = 0 ;
5637 PyObject * obj3 = 0 ;
5638 PyObject * obj4 = 0 ;
5639 PyObject * obj5 = 0 ;
5640 PyObject * obj6 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail;
5648 if (obj1) {
5649 {
5650 arg2 = (int const)(SWIG_As_int(obj1));
5651 if (SWIG_arg_fail(2)) SWIG_fail;
5652 }
5653 }
5654 if (obj2) {
5655 {
5656 arg3 = wxString_in_helper(obj2);
5657 if (arg3 == NULL) SWIG_fail;
5658 temp3 = true;
5659 }
5660 }
5661 if (obj3) {
5662 {
5663 arg4 = &temp4;
5664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5665 }
5666 }
5667 if (obj4) {
5668 {
5669 arg5 = &temp5;
5670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5671 }
5672 }
5673 if (obj5) {
5674 {
5675 arg6 = (long)(SWIG_As_long(obj5));
5676 if (SWIG_arg_fail(6)) SWIG_fail;
5677 }
5678 }
5679 if (obj6) {
5680 {
5681 arg7 = wxString_in_helper(obj6);
5682 if (arg7 == NULL) SWIG_fail;
5683 temp7 = true;
5684 }
5685 }
5686 {
5687 if (!wxPyCheckForApp()) SWIG_fail;
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5690
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 }
5694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5695 {
5696 if (temp3)
5697 delete arg3;
5698 }
5699 {
5700 if (temp7)
5701 delete arg7;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp3)
5707 delete arg3;
5708 }
5709 {
5710 if (temp7)
5711 delete arg7;
5712 }
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxDialog *result;
5720 char *kwnames[] = {
5721 NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5725 {
5726 if (!wxPyCheckForApp()) SWIG_fail;
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (wxDialog *)new wxDialog();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxDialog *arg1 = (wxDialog *) 0 ;
5743 wxWindow *arg2 = (wxWindow *) 0 ;
5744 int arg3 = (int) (int)-1 ;
5745 wxString const &arg4_defvalue = wxPyEmptyString ;
5746 wxString *arg4 = (wxString *) &arg4_defvalue ;
5747 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5748 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5749 wxSize const &arg6_defvalue = wxDefaultSize ;
5750 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5751 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5752 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5753 wxString *arg8 = (wxString *) &arg8_defvalue ;
5754 bool result;
5755 bool temp4 = false ;
5756 wxPoint temp5 ;
5757 wxSize temp6 ;
5758 bool temp8 = false ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 PyObject * obj2 = 0 ;
5762 PyObject * obj3 = 0 ;
5763 PyObject * obj4 = 0 ;
5764 PyObject * obj5 = 0 ;
5765 PyObject * obj6 = 0 ;
5766 PyObject * obj7 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail;
5774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5775 if (SWIG_arg_fail(2)) SWIG_fail;
5776 if (obj2) {
5777 {
5778 arg3 = (int const)(SWIG_As_int(obj2));
5779 if (SWIG_arg_fail(3)) SWIG_fail;
5780 }
5781 }
5782 if (obj3) {
5783 {
5784 arg4 = wxString_in_helper(obj3);
5785 if (arg4 == NULL) SWIG_fail;
5786 temp4 = true;
5787 }
5788 }
5789 if (obj4) {
5790 {
5791 arg5 = &temp5;
5792 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5793 }
5794 }
5795 if (obj5) {
5796 {
5797 arg6 = &temp6;
5798 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5799 }
5800 }
5801 if (obj6) {
5802 {
5803 arg7 = (long)(SWIG_As_long(obj6));
5804 if (SWIG_arg_fail(7)) SWIG_fail;
5805 }
5806 }
5807 if (obj7) {
5808 {
5809 arg8 = wxString_in_helper(obj7);
5810 if (arg8 == NULL) SWIG_fail;
5811 temp8 = true;
5812 }
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 {
5822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5823 }
5824 {
5825 if (temp4)
5826 delete arg4;
5827 }
5828 {
5829 if (temp8)
5830 delete arg8;
5831 }
5832 return resultobj;
5833 fail:
5834 {
5835 if (temp4)
5836 delete arg4;
5837 }
5838 {
5839 if (temp8)
5840 delete arg8;
5841 }
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 wxDialog *arg1 = (wxDialog *) 0 ;
5849 int arg2 ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "returnCode", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5858 if (SWIG_arg_fail(1)) SWIG_fail;
5859 {
5860 arg2 = (int)(SWIG_As_int(obj1));
5861 if (SWIG_arg_fail(2)) SWIG_fail;
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 (arg1)->SetReturnCode(arg2);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 Py_INCREF(Py_None); resultobj = Py_None;
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxDialog *arg1 = (wxDialog *) 0 ;
5880 int result;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 {
5897 resultobj = SWIG_From_int((int)(result));
5898 }
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxDialog *arg1 = (wxDialog *) 0 ;
5908 wxString *arg2 = 0 ;
5909 wxSizer *result;
5910 bool temp2 = false ;
5911 PyObject * obj0 = 0 ;
5912 PyObject * obj1 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self",(char *) "message", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail;
5920 {
5921 arg2 = wxString_in_helper(obj1);
5922 if (arg2 == NULL) SWIG_fail;
5923 temp2 = true;
5924 }
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 {
5933 resultobj = wxPyMake_wxSizer(result, 0);
5934 }
5935 {
5936 if (temp2)
5937 delete arg2;
5938 }
5939 return resultobj;
5940 fail:
5941 {
5942 if (temp2)
5943 delete arg2;
5944 }
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxDialog *arg1 = (wxDialog *) 0 ;
5952 long arg2 ;
5953 wxSizer *result;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self",(char *) "flags", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail;
5963 {
5964 arg2 = (long)(SWIG_As_long(obj1));
5965 if (SWIG_arg_fail(2)) SWIG_fail;
5966 }
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = wxPyMake_wxSizer(result, 0);
5976 }
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxDialog *arg1 = (wxDialog *) 0 ;
5986 long arg2 ;
5987 wxStdDialogButtonSizer *result;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self",(char *) "flags", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5996 if (SWIG_arg_fail(1)) SWIG_fail;
5997 {
5998 arg2 = (long)(SWIG_As_long(obj1));
5999 if (SWIG_arg_fail(2)) SWIG_fail;
6000 }
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6009 return resultobj;
6010 fail:
6011 return NULL;
6012 }
6013
6014
6015 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6016 PyObject *resultobj;
6017 wxDialog *arg1 = (wxDialog *) 0 ;
6018 bool result;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail;
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 result = (bool)((wxDialog const *)arg1)->IsModal();
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 {
6035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6036 }
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxDialog *arg1 = (wxDialog *) 0 ;
6046 int result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (int)(arg1)->ShowModal();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 {
6063 resultobj = SWIG_From_int((int)(result));
6064 }
6065 return resultobj;
6066 fail:
6067 return NULL;
6068 }
6069
6070
6071 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6072 PyObject *resultobj;
6073 wxDialog *arg1 = (wxDialog *) 0 ;
6074 int arg2 ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "retCode", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail;
6084 {
6085 arg2 = (int)(SWIG_As_int(obj1));
6086 if (SWIG_arg_fail(2)) SWIG_fail;
6087 }
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 (arg1)->EndModal(arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 Py_INCREF(Py_None); resultobj = Py_None;
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6105 wxVisualAttributes result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "variant", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6112 if (obj0) {
6113 {
6114 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6115 if (SWIG_arg_fail(1)) SWIG_fail;
6116 }
6117 }
6118 {
6119 if (!wxPyCheckForApp()) SWIG_fail;
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 {
6127 wxVisualAttributes * resultptr;
6128 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6130 }
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6138 PyObject *obj;
6139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6141 Py_INCREF(obj);
6142 return Py_BuildValue((char *)"");
6143 }
6144 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxWindow *arg1 = (wxWindow *) 0 ;
6147 int arg2 = (int) (int)-1 ;
6148 wxString const &arg3_defvalue = wxPyEmptyString ;
6149 wxString *arg3 = (wxString *) &arg3_defvalue ;
6150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6152 wxSize const &arg5_defvalue = wxDefaultSize ;
6153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6156 wxString *arg7 = (wxString *) &arg7_defvalue ;
6157 wxMiniFrame *result;
6158 bool temp3 = false ;
6159 wxPoint temp4 ;
6160 wxSize temp5 ;
6161 bool temp7 = false ;
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
6164 PyObject * obj2 = 0 ;
6165 PyObject * obj3 = 0 ;
6166 PyObject * obj4 = 0 ;
6167 PyObject * obj5 = 0 ;
6168 PyObject * obj6 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail;
6176 if (obj1) {
6177 {
6178 arg2 = (int const)(SWIG_As_int(obj1));
6179 if (SWIG_arg_fail(2)) SWIG_fail;
6180 }
6181 }
6182 if (obj2) {
6183 {
6184 arg3 = wxString_in_helper(obj2);
6185 if (arg3 == NULL) SWIG_fail;
6186 temp3 = true;
6187 }
6188 }
6189 if (obj3) {
6190 {
6191 arg4 = &temp4;
6192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6193 }
6194 }
6195 if (obj4) {
6196 {
6197 arg5 = &temp5;
6198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6199 }
6200 }
6201 if (obj5) {
6202 {
6203 arg6 = (long)(SWIG_As_long(obj5));
6204 if (SWIG_arg_fail(6)) SWIG_fail;
6205 }
6206 }
6207 if (obj6) {
6208 {
6209 arg7 = wxString_in_helper(obj6);
6210 if (arg7 == NULL) SWIG_fail;
6211 temp7 = true;
6212 }
6213 }
6214 {
6215 if (!wxPyCheckForApp()) SWIG_fail;
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6223 {
6224 if (temp3)
6225 delete arg3;
6226 }
6227 {
6228 if (temp7)
6229 delete arg7;
6230 }
6231 return resultobj;
6232 fail:
6233 {
6234 if (temp3)
6235 delete arg3;
6236 }
6237 {
6238 if (temp7)
6239 delete arg7;
6240 }
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxMiniFrame *result;
6248 char *kwnames[] = {
6249 NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6253 {
6254 if (!wxPyCheckForApp()) SWIG_fail;
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (wxMiniFrame *)new wxMiniFrame();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6271 wxWindow *arg2 = (wxWindow *) 0 ;
6272 int arg3 = (int) (int)-1 ;
6273 wxString const &arg4_defvalue = wxPyEmptyString ;
6274 wxString *arg4 = (wxString *) &arg4_defvalue ;
6275 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6276 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6277 wxSize const &arg6_defvalue = wxDefaultSize ;
6278 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6279 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6280 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6281 wxString *arg8 = (wxString *) &arg8_defvalue ;
6282 bool result;
6283 bool temp4 = false ;
6284 wxPoint temp5 ;
6285 wxSize temp6 ;
6286 bool temp8 = false ;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 PyObject * obj2 = 0 ;
6290 PyObject * obj3 = 0 ;
6291 PyObject * obj4 = 0 ;
6292 PyObject * obj5 = 0 ;
6293 PyObject * obj6 = 0 ;
6294 PyObject * obj7 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail;
6302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6303 if (SWIG_arg_fail(2)) SWIG_fail;
6304 if (obj2) {
6305 {
6306 arg3 = (int const)(SWIG_As_int(obj2));
6307 if (SWIG_arg_fail(3)) SWIG_fail;
6308 }
6309 }
6310 if (obj3) {
6311 {
6312 arg4 = wxString_in_helper(obj3);
6313 if (arg4 == NULL) SWIG_fail;
6314 temp4 = true;
6315 }
6316 }
6317 if (obj4) {
6318 {
6319 arg5 = &temp5;
6320 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6321 }
6322 }
6323 if (obj5) {
6324 {
6325 arg6 = &temp6;
6326 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6327 }
6328 }
6329 if (obj6) {
6330 {
6331 arg7 = (long)(SWIG_As_long(obj6));
6332 if (SWIG_arg_fail(7)) SWIG_fail;
6333 }
6334 }
6335 if (obj7) {
6336 {
6337 arg8 = wxString_in_helper(obj7);
6338 if (arg8 == NULL) SWIG_fail;
6339 temp8 = true;
6340 }
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 {
6350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6351 }
6352 {
6353 if (temp4)
6354 delete arg4;
6355 }
6356 {
6357 if (temp8)
6358 delete arg8;
6359 }
6360 return resultobj;
6361 fail:
6362 {
6363 if (temp4)
6364 delete arg4;
6365 }
6366 {
6367 if (temp8)
6368 delete arg8;
6369 }
6370 return NULL;
6371 }
6372
6373
6374 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6375 PyObject *obj;
6376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6377 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6378 Py_INCREF(obj);
6379 return Py_BuildValue((char *)"");
6380 }
6381 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxBitmap *arg1 = 0 ;
6384 wxWindow *arg2 = (wxWindow *) 0 ;
6385 int arg3 ;
6386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6388 wxSize const &arg5_defvalue = wxDefaultSize ;
6389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6390 long arg6 = (long) wxNO_BORDER ;
6391 wxSplashScreenWindow *result;
6392 wxPoint temp4 ;
6393 wxSize temp5 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 PyObject * obj3 = 0 ;
6398 PyObject * obj4 = 0 ;
6399 PyObject * obj5 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6405 {
6406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail;
6408 if (arg1 == NULL) {
6409 SWIG_null_ref("wxBitmap");
6410 }
6411 if (SWIG_arg_fail(1)) SWIG_fail;
6412 }
6413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6414 if (SWIG_arg_fail(2)) SWIG_fail;
6415 {
6416 arg3 = (int)(SWIG_As_int(obj2));
6417 if (SWIG_arg_fail(3)) SWIG_fail;
6418 }
6419 if (obj3) {
6420 {
6421 arg4 = &temp4;
6422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6423 }
6424 }
6425 if (obj4) {
6426 {
6427 arg5 = &temp5;
6428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6429 }
6430 }
6431 if (obj5) {
6432 {
6433 arg6 = (long)(SWIG_As_long(obj5));
6434 if (SWIG_arg_fail(6)) SWIG_fail;
6435 }
6436 }
6437 {
6438 if (!wxPyCheckForApp()) SWIG_fail;
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6455 wxBitmap *arg2 = 0 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "bitmap", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail;
6465 {
6466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6467 if (SWIG_arg_fail(2)) SWIG_fail;
6468 if (arg2 == NULL) {
6469 SWIG_null_ref("wxBitmap");
6470 }
6471 if (SWIG_arg_fail(2)) SWIG_fail;
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6490 wxBitmap *result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 {
6502 wxBitmap &_result_ref = (arg1)->GetBitmap();
6503 result = (wxBitmap *) &_result_ref;
6504 }
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 wxBitmap* resultptr = new wxBitmap(*result);
6511 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6520 PyObject *obj;
6521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6522 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6523 Py_INCREF(obj);
6524 return Py_BuildValue((char *)"");
6525 }
6526 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxBitmap *arg1 = 0 ;
6529 long arg2 ;
6530 int arg3 ;
6531 wxWindow *arg4 = (wxWindow *) 0 ;
6532 int arg5 = (int) -1 ;
6533 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6534 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6535 wxSize const &arg7_defvalue = wxDefaultSize ;
6536 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6537 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6538 wxSplashScreen *result;
6539 wxPoint temp6 ;
6540 wxSize temp7 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 PyObject * obj2 = 0 ;
6544 PyObject * obj3 = 0 ;
6545 PyObject * obj4 = 0 ;
6546 PyObject * obj5 = 0 ;
6547 PyObject * obj6 = 0 ;
6548 PyObject * obj7 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6554 {
6555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail;
6557 if (arg1 == NULL) {
6558 SWIG_null_ref("wxBitmap");
6559 }
6560 if (SWIG_arg_fail(1)) SWIG_fail;
6561 }
6562 {
6563 arg2 = (long)(SWIG_As_long(obj1));
6564 if (SWIG_arg_fail(2)) SWIG_fail;
6565 }
6566 {
6567 arg3 = (int)(SWIG_As_int(obj2));
6568 if (SWIG_arg_fail(3)) SWIG_fail;
6569 }
6570 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(4)) SWIG_fail;
6572 if (obj4) {
6573 {
6574 arg5 = (int)(SWIG_As_int(obj4));
6575 if (SWIG_arg_fail(5)) SWIG_fail;
6576 }
6577 }
6578 if (obj5) {
6579 {
6580 arg6 = &temp6;
6581 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6582 }
6583 }
6584 if (obj6) {
6585 {
6586 arg7 = &temp7;
6587 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6588 }
6589 }
6590 if (obj7) {
6591 {
6592 arg8 = (long)(SWIG_As_long(obj7));
6593 if (SWIG_arg_fail(8)) SWIG_fail;
6594 }
6595 }
6596 {
6597 if (!wxPyCheckForApp()) SWIG_fail;
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6614 long result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 resultobj = SWIG_From_long((long)(result));
6632 }
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6642 wxSplashScreenWindow *result;
6643 PyObject * obj0 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6668 int result;
6669 PyObject * obj0 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = SWIG_From_int((int)(result));
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6694 PyObject *obj;
6695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6697 Py_INCREF(obj);
6698 return Py_BuildValue((char *)"");
6699 }
6700 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxWindow *arg1 = (wxWindow *) 0 ;
6703 int arg2 = (int) -1 ;
6704 long arg3 = (long) wxST_SIZEGRIP ;
6705 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6706 wxString *arg4 = (wxString *) &arg4_defvalue ;
6707 wxStatusBar *result;
6708 bool temp4 = false ;
6709 PyObject * obj0 = 0 ;
6710 PyObject * obj1 = 0 ;
6711 PyObject * obj2 = 0 ;
6712 PyObject * obj3 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail;
6720 if (obj1) {
6721 {
6722 arg2 = (int)(SWIG_As_int(obj1));
6723 if (SWIG_arg_fail(2)) SWIG_fail;
6724 }
6725 }
6726 if (obj2) {
6727 {
6728 arg3 = (long)(SWIG_As_long(obj2));
6729 if (SWIG_arg_fail(3)) SWIG_fail;
6730 }
6731 }
6732 if (obj3) {
6733 {
6734 arg4 = wxString_in_helper(obj3);
6735 if (arg4 == NULL) SWIG_fail;
6736 temp4 = true;
6737 }
6738 }
6739 {
6740 if (!wxPyCheckForApp()) SWIG_fail;
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6748 {
6749 if (temp4)
6750 delete arg4;
6751 }
6752 return resultobj;
6753 fail:
6754 {
6755 if (temp4)
6756 delete arg4;
6757 }
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxStatusBar *result;
6765 char *kwnames[] = {
6766 NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6770 {
6771 if (!wxPyCheckForApp()) SWIG_fail;
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (wxStatusBar *)new wxStatusBar();
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6788 wxWindow *arg2 = (wxWindow *) 0 ;
6789 int arg3 = (int) -1 ;
6790 long arg4 = (long) wxST_SIZEGRIP ;
6791 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6792 wxString *arg5 = (wxString *) &arg5_defvalue ;
6793 bool result;
6794 bool temp5 = false ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 PyObject * obj3 = 0 ;
6799 PyObject * obj4 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
6807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6808 if (SWIG_arg_fail(2)) SWIG_fail;
6809 if (obj2) {
6810 {
6811 arg3 = (int)(SWIG_As_int(obj2));
6812 if (SWIG_arg_fail(3)) SWIG_fail;
6813 }
6814 }
6815 if (obj3) {
6816 {
6817 arg4 = (long)(SWIG_As_long(obj3));
6818 if (SWIG_arg_fail(4)) SWIG_fail;
6819 }
6820 }
6821 if (obj4) {
6822 {
6823 arg5 = wxString_in_helper(obj4);
6824 if (arg5 == NULL) SWIG_fail;
6825 temp5 = true;
6826 }
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 {
6836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6837 }
6838 {
6839 if (temp5)
6840 delete arg5;
6841 }
6842 return resultobj;
6843 fail:
6844 {
6845 if (temp5)
6846 delete arg5;
6847 }
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6855 int arg2 = (int) 1 ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj1 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "number", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail;
6865 if (obj1) {
6866 {
6867 arg2 = (int)(SWIG_As_int(obj1));
6868 if (SWIG_arg_fail(2)) SWIG_fail;
6869 }
6870 }
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->SetFieldsCount(arg2);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6888 int result;
6889 PyObject * obj0 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 {
6905 resultobj = SWIG_From_int((int)(result));
6906 }
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6916 wxString *arg2 = 0 ;
6917 int arg3 = (int) 0 ;
6918 bool temp2 = false ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self",(char *) "text",(char *) "number", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail;
6929 {
6930 arg2 = wxString_in_helper(obj1);
6931 if (arg2 == NULL) SWIG_fail;
6932 temp2 = true;
6933 }
6934 if (obj2) {
6935 {
6936 arg3 = (int)(SWIG_As_int(obj2));
6937 if (SWIG_arg_fail(3)) SWIG_fail;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 Py_INCREF(Py_None); resultobj = Py_None;
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return resultobj;
6953 fail:
6954 {
6955 if (temp2)
6956 delete arg2;
6957 }
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6965 int arg2 = (int) 0 ;
6966 wxString result;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self",(char *) "number", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
6976 if (obj1) {
6977 {
6978 arg2 = (int)(SWIG_As_int(obj1));
6979 if (SWIG_arg_fail(2)) SWIG_fail;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 #if wxUSE_UNICODE
6991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6992 #else
6993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6994 #endif
6995 }
6996 return resultobj;
6997 fail:
6998 return NULL;
6999 }
7000
7001
7002 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7005 wxString *arg2 = 0 ;
7006 int arg3 = (int) 0 ;
7007 bool temp2 = false ;
7008 PyObject * obj0 = 0 ;
7009 PyObject * obj1 = 0 ;
7010 PyObject * obj2 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "text",(char *) "number", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
7018 {
7019 arg2 = wxString_in_helper(obj1);
7020 if (arg2 == NULL) SWIG_fail;
7021 temp2 = true;
7022 }
7023 if (obj2) {
7024 {
7025 arg3 = (int)(SWIG_As_int(obj2));
7026 if (SWIG_arg_fail(3)) SWIG_fail;
7027 }
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 {
7038 if (temp2)
7039 delete arg2;
7040 }
7041 return resultobj;
7042 fail:
7043 {
7044 if (temp2)
7045 delete arg2;
7046 }
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7054 int arg2 = (int) 0 ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self",(char *) "number", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7063 if (SWIG_arg_fail(1)) SWIG_fail;
7064 if (obj1) {
7065 {
7066 arg2 = (int)(SWIG_As_int(obj1));
7067 if (SWIG_arg_fail(2)) SWIG_fail;
7068 }
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->PopStatusText(arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7087 int arg2 ;
7088 int *arg3 = (int *) 0 ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "widths", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail;
7098 {
7099 arg2 = PyList_Size(obj1);
7100 arg3 = int_LIST_helper(obj1);
7101 if (arg3 == NULL) SWIG_fail;
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 {
7112 if (arg3) delete [] arg3;
7113 }
7114 return resultobj;
7115 fail:
7116 {
7117 if (arg3) delete [] arg3;
7118 }
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7126 int arg2 ;
7127 int *arg3 = (int *) 0 ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "styles", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail;
7137 {
7138 arg2 = PyList_Size(obj1);
7139 arg3 = int_LIST_helper(obj1);
7140 if (arg3 == NULL) SWIG_fail;
7141 }
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 {
7151 if (arg3) delete [] arg3;
7152 }
7153 return resultobj;
7154 fail:
7155 {
7156 if (arg3) delete [] arg3;
7157 }
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7165 int arg2 ;
7166 wxRect result;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "i", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7175 if (SWIG_arg_fail(1)) SWIG_fail;
7176 {
7177 arg2 = (int)(SWIG_As_int(obj1));
7178 if (SWIG_arg_fail(2)) SWIG_fail;
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = wxStatusBar_GetFieldRect(arg1,arg2);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 wxRect * resultptr;
7189 resultptr = new wxRect((wxRect &)(result));
7190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7191 }
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7201 int arg2 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "height", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail;
7211 {
7212 arg2 = (int)(SWIG_As_int(obj1));
7213 if (SWIG_arg_fail(2)) SWIG_fail;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->SetMinHeight(arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7232 int result;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 {
7249 resultobj = SWIG_From_int((int)(result));
7250 }
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7260 int result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 {
7277 resultobj = SWIG_From_int((int)(result));
7278 }
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7288 wxVisualAttributes result;
7289 PyObject * obj0 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "variant", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7295 if (obj0) {
7296 {
7297 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7298 if (SWIG_arg_fail(1)) SWIG_fail;
7299 }
7300 }
7301 {
7302 if (!wxPyCheckForApp()) SWIG_fail;
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 {
7310 wxVisualAttributes * resultptr;
7311 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7313 }
7314 return resultobj;
7315 fail:
7316 return NULL;
7317 }
7318
7319
7320 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7321 PyObject *obj;
7322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7324 Py_INCREF(obj);
7325 return Py_BuildValue((char *)"");
7326 }
7327 static int _wrap_SplitterNameStr_set(PyObject *) {
7328 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7329 return 1;
7330 }
7331
7332
7333 static PyObject *_wrap_SplitterNameStr_get(void) {
7334 PyObject *pyobj;
7335
7336 {
7337 #if wxUSE_UNICODE
7338 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7339 #else
7340 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7341 #endif
7342 }
7343 return pyobj;
7344 }
7345
7346
7347 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxWindow *arg1 = (wxWindow *) 0 ;
7350 int arg2 = (int) -1 ;
7351 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7352 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7353 wxSize const &arg4_defvalue = wxDefaultSize ;
7354 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7355 long arg5 = (long) wxSP_3D ;
7356 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7357 wxString *arg6 = (wxString *) &arg6_defvalue ;
7358 wxSplitterWindow *result;
7359 wxPoint temp3 ;
7360 wxSize temp4 ;
7361 bool temp6 = false ;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 PyObject * obj3 = 0 ;
7366 PyObject * obj4 = 0 ;
7367 PyObject * obj5 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7374 if (SWIG_arg_fail(1)) SWIG_fail;
7375 if (obj1) {
7376 {
7377 arg2 = (int)(SWIG_As_int(obj1));
7378 if (SWIG_arg_fail(2)) SWIG_fail;
7379 }
7380 }
7381 if (obj2) {
7382 {
7383 arg3 = &temp3;
7384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7385 }
7386 }
7387 if (obj3) {
7388 {
7389 arg4 = &temp4;
7390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7391 }
7392 }
7393 if (obj4) {
7394 {
7395 arg5 = (long)(SWIG_As_long(obj4));
7396 if (SWIG_arg_fail(5)) SWIG_fail;
7397 }
7398 }
7399 if (obj5) {
7400 {
7401 arg6 = wxString_in_helper(obj5);
7402 if (arg6 == NULL) SWIG_fail;
7403 temp6 = true;
7404 }
7405 }
7406 {
7407 if (!wxPyCheckForApp()) SWIG_fail;
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7415 {
7416 if (temp6)
7417 delete arg6;
7418 }
7419 return resultobj;
7420 fail:
7421 {
7422 if (temp6)
7423 delete arg6;
7424 }
7425 return NULL;
7426 }
7427
7428
7429 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxSplitterWindow *result;
7432 char *kwnames[] = {
7433 NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7437 {
7438 if (!wxPyCheckForApp()) SWIG_fail;
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (wxSplitterWindow *)new wxSplitterWindow();
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7455 wxWindow *arg2 = (wxWindow *) 0 ;
7456 int arg3 = (int) -1 ;
7457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7459 wxSize const &arg5_defvalue = wxDefaultSize ;
7460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7461 long arg6 = (long) wxSP_3D ;
7462 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7463 wxString *arg7 = (wxString *) &arg7_defvalue ;
7464 bool result;
7465 wxPoint temp4 ;
7466 wxSize temp5 ;
7467 bool temp7 = false ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 PyObject * obj2 = 0 ;
7471 PyObject * obj3 = 0 ;
7472 PyObject * obj4 = 0 ;
7473 PyObject * obj5 = 0 ;
7474 PyObject * obj6 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
7482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail;
7484 if (obj2) {
7485 {
7486 arg3 = (int)(SWIG_As_int(obj2));
7487 if (SWIG_arg_fail(3)) SWIG_fail;
7488 }
7489 }
7490 if (obj3) {
7491 {
7492 arg4 = &temp4;
7493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7494 }
7495 }
7496 if (obj4) {
7497 {
7498 arg5 = &temp5;
7499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7500 }
7501 }
7502 if (obj5) {
7503 {
7504 arg6 = (long)(SWIG_As_long(obj5));
7505 if (SWIG_arg_fail(6)) SWIG_fail;
7506 }
7507 }
7508 if (obj6) {
7509 {
7510 arg7 = wxString_in_helper(obj6);
7511 if (arg7 == NULL) SWIG_fail;
7512 temp7 = true;
7513 }
7514 }
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
7523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7524 }
7525 {
7526 if (temp7)
7527 delete arg7;
7528 }
7529 return resultobj;
7530 fail:
7531 {
7532 if (temp7)
7533 delete arg7;
7534 }
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7542 wxWindow *result;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 {
7559 resultobj = wxPyMake_wxObject(result, 0);
7560 }
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7570 wxWindow *result;
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail;
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 {
7587 resultobj = wxPyMake_wxObject(result, 0);
7588 }
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7598 int arg2 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "mode", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail;
7608 {
7609 arg2 = (int)(SWIG_As_int(obj1));
7610 if (SWIG_arg_fail(2)) SWIG_fail;
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetSplitMode(arg2);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7629 wxSplitMode result;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 resultobj = SWIG_From_int((result));
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7655 wxWindow *arg2 = (wxWindow *) 0 ;
7656 PyObject * obj0 = 0 ;
7657 PyObject * obj1 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self",(char *) "window", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail;
7665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->Initialize(arg2);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 Py_INCREF(Py_None); resultobj = Py_None;
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7684 wxWindow *arg2 = (wxWindow *) 0 ;
7685 wxWindow *arg3 = (wxWindow *) 0 ;
7686 int arg4 = (int) 0 ;
7687 bool result;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690 PyObject * obj2 = 0 ;
7691 PyObject * obj3 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail;
7699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(2)) SWIG_fail;
7701 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7702 if (SWIG_arg_fail(3)) SWIG_fail;
7703 if (obj3) {
7704 {
7705 arg4 = (int)(SWIG_As_int(obj3));
7706 if (SWIG_arg_fail(4)) SWIG_fail;
7707 }
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 {
7717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7718 }
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7728 wxWindow *arg2 = (wxWindow *) 0 ;
7729 wxWindow *arg3 = (wxWindow *) 0 ;
7730 int arg4 = (int) 0 ;
7731 bool result;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 PyObject * obj2 = 0 ;
7735 PyObject * obj3 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail;
7743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(2)) SWIG_fail;
7745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(3)) SWIG_fail;
7747 if (obj3) {
7748 {
7749 arg4 = (int)(SWIG_As_int(obj3));
7750 if (SWIG_arg_fail(4)) SWIG_fail;
7751 }
7752 }
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7762 }
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7772 wxWindow *arg2 = (wxWindow *) NULL ;
7773 bool result;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "toRemove", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
7783 if (obj1) {
7784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7785 if (SWIG_arg_fail(2)) SWIG_fail;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (bool)(arg1)->Unsplit(arg2);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 {
7795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7806 wxWindow *arg2 = (wxWindow *) 0 ;
7807 wxWindow *arg3 = (wxWindow *) 0 ;
7808 bool result;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 PyObject * obj2 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail;
7819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7820 if (SWIG_arg_fail(2)) SWIG_fail;
7821 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7822 if (SWIG_arg_fail(3)) SWIG_fail;
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7832 }
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->UpdateSize();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "width", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->SetSashSize(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7926 int arg2 ;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "width", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail;
7936 {
7937 arg2 = (int)(SWIG_As_int(obj1));
7938 if (SWIG_arg_fail(2)) SWIG_fail;
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 (arg1)->SetBorderSize(arg2);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 Py_INCREF(Py_None); resultobj = Py_None;
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7957 int result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail;
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 {
7974 resultobj = SWIG_From_int((int)(result));
7975 }
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7985 int result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002 resultobj = SWIG_From_int((int)(result));
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8013 int arg2 ;
8014 bool arg3 = (bool) true ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 PyObject * obj2 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "position",(char *) "redraw", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail;
8025 {
8026 arg2 = (int)(SWIG_As_int(obj1));
8027 if (SWIG_arg_fail(2)) SWIG_fail;
8028 }
8029 if (obj2) {
8030 {
8031 arg3 = (bool)(SWIG_As_bool(obj2));
8032 if (SWIG_arg_fail(3)) SWIG_fail;
8033 }
8034 }
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 (arg1)->SetSashPosition(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 Py_INCREF(Py_None); resultobj = Py_None;
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8052 int result;
8053 PyObject * obj0 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 {
8069 resultobj = SWIG_From_int((int)(result));
8070 }
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8080 double arg2 ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self",(char *) "gravity", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail;
8090 {
8091 arg2 = (double)(SWIG_As_double(obj1));
8092 if (SWIG_arg_fail(2)) SWIG_fail;
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 (arg1)->SetSashGravity(arg2);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 Py_INCREF(Py_None); resultobj = Py_None;
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8111 double result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 resultobj = SWIG_From_double((double)(result));
8129 }
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8139 int arg2 ;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "min", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail;
8149 {
8150 arg2 = (int)(SWIG_As_int(obj1));
8151 if (SWIG_arg_fail(2)) SWIG_fail;
8152 }
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 (arg1)->SetMinimumPaneSize(arg2);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 Py_INCREF(Py_None); resultobj = Py_None;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8170 int result;
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail;
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 {
8187 resultobj = SWIG_From_int((int)(result));
8188 }
8189 return resultobj;
8190 fail:
8191 return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8198 int arg2 ;
8199 int arg3 ;
8200 int arg4 = (int) 5 ;
8201 bool result;
8202 PyObject * obj0 = 0 ;
8203 PyObject * obj1 = 0 ;
8204 PyObject * obj2 = 0 ;
8205 PyObject * obj3 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail;
8213 {
8214 arg2 = (int)(SWIG_As_int(obj1));
8215 if (SWIG_arg_fail(2)) SWIG_fail;
8216 }
8217 {
8218 arg3 = (int)(SWIG_As_int(obj2));
8219 if (SWIG_arg_fail(3)) SWIG_fail;
8220 }
8221 if (obj3) {
8222 {
8223 arg4 = (int)(SWIG_As_int(obj3));
8224 if (SWIG_arg_fail(4)) SWIG_fail;
8225 }
8226 }
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 {
8235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8236 }
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail;
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 (arg1)->SizeWindows();
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8271 bool arg2 ;
8272 PyObject * obj0 = 0 ;
8273 PyObject * obj1 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "self",(char *) "needUpdating", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail;
8281 {
8282 arg2 = (bool)(SWIG_As_bool(obj1));
8283 if (SWIG_arg_fail(2)) SWIG_fail;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->SetNeedUpdating(arg2);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8302 bool result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 {
8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8320 }
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8330 wxVisualAttributes result;
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "variant", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8337 if (obj0) {
8338 {
8339 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8340 if (SWIG_arg_fail(1)) SWIG_fail;
8341 }
8342 }
8343 {
8344 if (!wxPyCheckForApp()) SWIG_fail;
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 wxVisualAttributes * resultptr;
8353 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8355 }
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8363 PyObject *obj;
8364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8366 Py_INCREF(obj);
8367 return Py_BuildValue((char *)"");
8368 }
8369 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8372 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8373 wxSplitterEvent *result;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "type",(char *) "splitter", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8381 if (obj0) {
8382 {
8383 arg1 = (wxEventType)(SWIG_As_int(obj0));
8384 if (SWIG_arg_fail(1)) SWIG_fail;
8385 }
8386 }
8387 if (obj1) {
8388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8389 if (SWIG_arg_fail(2)) SWIG_fail;
8390 }
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8408 int arg2 ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "pos", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
8418 {
8419 arg2 = (int)(SWIG_As_int(obj1));
8420 if (SWIG_arg_fail(2)) SWIG_fail;
8421 }
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->SetSashPosition(arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 return resultobj;
8431 fail:
8432 return NULL;
8433 }
8434
8435
8436 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8439 int result;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail;
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 {
8456 resultobj = SWIG_From_int((int)(result));
8457 }
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8467 wxWindow *result;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 {
8484 resultobj = wxPyMake_wxObject(result, 0);
8485 }
8486 return resultobj;
8487 fail:
8488 return NULL;
8489 }
8490
8491
8492 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8495 int result;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 {
8512 resultobj = SWIG_From_int((int)(result));
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8523 int result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 {
8540 resultobj = SWIG_From_int((int)(result));
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8549 PyObject *obj;
8550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8552 Py_INCREF(obj);
8553 return Py_BuildValue((char *)"");
8554 }
8555 static int _wrap_SashNameStr_set(PyObject *) {
8556 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8557 return 1;
8558 }
8559
8560
8561 static PyObject *_wrap_SashNameStr_get(void) {
8562 PyObject *pyobj;
8563
8564 {
8565 #if wxUSE_UNICODE
8566 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8567 #else
8568 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8569 #endif
8570 }
8571 return pyobj;
8572 }
8573
8574
8575 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8576 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8577 return 1;
8578 }
8579
8580
8581 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8582 PyObject *pyobj;
8583
8584 {
8585 #if wxUSE_UNICODE
8586 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8587 #else
8588 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8589 #endif
8590 }
8591 return pyobj;
8592 }
8593
8594
8595 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxWindow *arg1 = (wxWindow *) 0 ;
8598 int arg2 = (int) -1 ;
8599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8601 wxSize const &arg4_defvalue = wxDefaultSize ;
8602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8603 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8604 wxString const &arg6_defvalue = wxPySashNameStr ;
8605 wxString *arg6 = (wxString *) &arg6_defvalue ;
8606 wxSashWindow *result;
8607 wxPoint temp3 ;
8608 wxSize temp4 ;
8609 bool temp6 = false ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 PyObject * obj2 = 0 ;
8613 PyObject * obj3 = 0 ;
8614 PyObject * obj4 = 0 ;
8615 PyObject * obj5 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail;
8623 if (obj1) {
8624 {
8625 arg2 = (int)(SWIG_As_int(obj1));
8626 if (SWIG_arg_fail(2)) SWIG_fail;
8627 }
8628 }
8629 if (obj2) {
8630 {
8631 arg3 = &temp3;
8632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8633 }
8634 }
8635 if (obj3) {
8636 {
8637 arg4 = &temp4;
8638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8639 }
8640 }
8641 if (obj4) {
8642 {
8643 arg5 = (long)(SWIG_As_long(obj4));
8644 if (SWIG_arg_fail(5)) SWIG_fail;
8645 }
8646 }
8647 if (obj5) {
8648 {
8649 arg6 = wxString_in_helper(obj5);
8650 if (arg6 == NULL) SWIG_fail;
8651 temp6 = true;
8652 }
8653 }
8654 {
8655 if (!wxPyCheckForApp()) SWIG_fail;
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8663 {
8664 if (temp6)
8665 delete arg6;
8666 }
8667 return resultobj;
8668 fail:
8669 {
8670 if (temp6)
8671 delete arg6;
8672 }
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxSashWindow *result;
8680 char *kwnames[] = {
8681 NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8685 {
8686 if (!wxPyCheckForApp()) SWIG_fail;
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (wxSashWindow *)new wxSashWindow();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8703 wxWindow *arg2 = (wxWindow *) 0 ;
8704 int arg3 = (int) -1 ;
8705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8707 wxSize const &arg5_defvalue = wxDefaultSize ;
8708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8709 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8710 wxString const &arg7_defvalue = wxPySashNameStr ;
8711 wxString *arg7 = (wxString *) &arg7_defvalue ;
8712 bool result;
8713 wxPoint temp4 ;
8714 wxSize temp5 ;
8715 bool temp7 = false ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 PyObject * obj2 = 0 ;
8719 PyObject * obj3 = 0 ;
8720 PyObject * obj4 = 0 ;
8721 PyObject * obj5 = 0 ;
8722 PyObject * obj6 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8729 if (SWIG_arg_fail(1)) SWIG_fail;
8730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(2)) SWIG_fail;
8732 if (obj2) {
8733 {
8734 arg3 = (int)(SWIG_As_int(obj2));
8735 if (SWIG_arg_fail(3)) SWIG_fail;
8736 }
8737 }
8738 if (obj3) {
8739 {
8740 arg4 = &temp4;
8741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8742 }
8743 }
8744 if (obj4) {
8745 {
8746 arg5 = &temp5;
8747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8748 }
8749 }
8750 if (obj5) {
8751 {
8752 arg6 = (long)(SWIG_As_long(obj5));
8753 if (SWIG_arg_fail(6)) SWIG_fail;
8754 }
8755 }
8756 if (obj6) {
8757 {
8758 arg7 = wxString_in_helper(obj6);
8759 if (arg7 == NULL) SWIG_fail;
8760 temp7 = true;
8761 }
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 {
8771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8772 }
8773 {
8774 if (temp7)
8775 delete arg7;
8776 }
8777 return resultobj;
8778 fail:
8779 {
8780 if (temp7)
8781 delete arg7;
8782 }
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8790 wxSashEdgePosition arg2 ;
8791 bool arg3 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 PyObject * obj2 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "edge",(char *) "sash", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail;
8802 {
8803 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8804 if (SWIG_arg_fail(2)) SWIG_fail;
8805 }
8806 {
8807 arg3 = (bool)(SWIG_As_bool(obj2));
8808 if (SWIG_arg_fail(3)) SWIG_fail;
8809 }
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 Py_INCREF(Py_None); resultobj = Py_None;
8818 return resultobj;
8819 fail:
8820 return NULL;
8821 }
8822
8823
8824 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8827 wxSashEdgePosition arg2 ;
8828 bool result;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "edge", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
8838 {
8839 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 {
8850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8851 }
8852 return resultobj;
8853 fail:
8854 return NULL;
8855 }
8856
8857
8858 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj;
8860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8861 wxSashEdgePosition arg2 ;
8862 bool arg3 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "edge",(char *) "border", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
8873 {
8874 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8875 if (SWIG_arg_fail(2)) SWIG_fail;
8876 }
8877 {
8878 arg3 = (bool)(SWIG_As_bool(obj2));
8879 if (SWIG_arg_fail(3)) SWIG_fail;
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8898 wxSashEdgePosition arg2 ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self",(char *) "edge", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8908 if (SWIG_arg_fail(1)) SWIG_fail;
8909 {
8910 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8911 if (SWIG_arg_fail(2)) SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 {
8921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8922 }
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8932 wxSashEdgePosition arg2 ;
8933 int result;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "edge", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8942 if (SWIG_arg_fail(1)) SWIG_fail;
8943 {
8944 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8945 if (SWIG_arg_fail(2)) SWIG_fail;
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 resultobj = SWIG_From_int((int)(result));
8956 }
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8966 int arg2 ;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "width", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail;
8976 {
8977 arg2 = (int)(SWIG_As_int(obj1));
8978 if (SWIG_arg_fail(2)) SWIG_fail;
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetDefaultBorderSize(arg2);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8997 int result;
8998 PyObject * obj0 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "self", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail;
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 {
9014 resultobj = SWIG_From_int((int)(result));
9015 }
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9025 int arg2 ;
9026 PyObject * obj0 = 0 ;
9027 PyObject * obj1 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self",(char *) "width", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9034 if (SWIG_arg_fail(1)) SWIG_fail;
9035 {
9036 arg2 = (int)(SWIG_As_int(obj1));
9037 if (SWIG_arg_fail(2)) SWIG_fail;
9038 }
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 (arg1)->SetExtraBorderSize(arg2);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 Py_INCREF(Py_None); resultobj = Py_None;
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9056 int result;
9057 PyObject * obj0 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 {
9073 resultobj = SWIG_From_int((int)(result));
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9084 int arg2 ;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "min", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail;
9094 {
9095 arg2 = (int)(SWIG_As_int(obj1));
9096 if (SWIG_arg_fail(2)) SWIG_fail;
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->SetMinimumSizeX(arg2);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 Py_INCREF(Py_None); resultobj = Py_None;
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9115 int arg2 ;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self",(char *) "min", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
9125 {
9126 arg2 = (int)(SWIG_As_int(obj1));
9127 if (SWIG_arg_fail(2)) SWIG_fail;
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->SetMinimumSizeY(arg2);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9146 int result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 resultobj = SWIG_From_int((int)(result));
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9174 int result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 {
9191 resultobj = SWIG_From_int((int)(result));
9192 }
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9202 int arg2 ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "max", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail;
9212 {
9213 arg2 = (int)(SWIG_As_int(obj1));
9214 if (SWIG_arg_fail(2)) SWIG_fail;
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->SetMaximumSizeX(arg2);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9233 int arg2 ;
9234 PyObject * obj0 = 0 ;
9235 PyObject * obj1 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self",(char *) "max", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail;
9243 {
9244 arg2 = (int)(SWIG_As_int(obj1));
9245 if (SWIG_arg_fail(2)) SWIG_fail;
9246 }
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 (arg1)->SetMaximumSizeY(arg2);
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 Py_INCREF(Py_None); resultobj = Py_None;
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9264 int result;
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 {
9281 resultobj = SWIG_From_int((int)(result));
9282 }
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9292 int result;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 {
9309 resultobj = SWIG_From_int((int)(result));
9310 }
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9320 int arg2 ;
9321 int arg3 ;
9322 int arg4 = (int) 2 ;
9323 wxSashEdgePosition result;
9324 PyObject * obj0 = 0 ;
9325 PyObject * obj1 = 0 ;
9326 PyObject * obj2 = 0 ;
9327 PyObject * obj3 = 0 ;
9328 char *kwnames[] = {
9329 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail;
9335 {
9336 arg2 = (int)(SWIG_As_int(obj1));
9337 if (SWIG_arg_fail(2)) SWIG_fail;
9338 }
9339 {
9340 arg3 = (int)(SWIG_As_int(obj2));
9341 if (SWIG_arg_fail(3)) SWIG_fail;
9342 }
9343 if (obj3) {
9344 {
9345 arg4 = (int)(SWIG_As_int(obj3));
9346 if (SWIG_arg_fail(4)) SWIG_fail;
9347 }
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_From_int((result));
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->SizeWindows();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9389 PyObject *obj;
9390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9392 Py_INCREF(obj);
9393 return Py_BuildValue((char *)"");
9394 }
9395 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 int arg1 = (int) 0 ;
9398 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9399 wxSashEvent *result;
9400 PyObject * obj0 = 0 ;
9401 PyObject * obj1 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "id",(char *) "edge", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9407 if (obj0) {
9408 {
9409 arg1 = (int)(SWIG_As_int(obj0));
9410 if (SWIG_arg_fail(1)) SWIG_fail;
9411 }
9412 }
9413 if (obj1) {
9414 {
9415 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9416 if (SWIG_arg_fail(2)) SWIG_fail;
9417 }
9418 }
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9436 wxSashEdgePosition arg2 ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self",(char *) "edge", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail;
9446 {
9447 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9448 if (SWIG_arg_fail(2)) SWIG_fail;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9467 wxSashEdgePosition result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_From_int((result));
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9493 wxRect *arg2 = 0 ;
9494 wxRect temp2 ;
9495 PyObject * obj0 = 0 ;
9496 PyObject * obj1 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self",(char *) "rect", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail;
9504 {
9505 arg2 = &temp2;
9506 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9507 }
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 (arg1)->SetDragRect((wxRect const &)*arg2);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9525 wxRect result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = ((wxSashEvent const *)arg1)->GetDragRect();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 {
9542 wxRect * resultptr;
9543 resultptr = new wxRect((wxRect &)(result));
9544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9545 }
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9555 wxSashDragStatus arg2 ;
9556 PyObject * obj0 = 0 ;
9557 PyObject * obj1 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self",(char *) "status", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail;
9565 {
9566 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9567 if (SWIG_arg_fail(2)) SWIG_fail;
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9586 wxSashDragStatus result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = SWIG_From_int((result));
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9610 PyObject *obj;
9611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9613 Py_INCREF(obj);
9614 return Py_BuildValue((char *)"");
9615 }
9616 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 int arg1 = (int) 0 ;
9619 wxQueryLayoutInfoEvent *result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "id", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9626 if (obj0) {
9627 {
9628 arg1 = (int)(SWIG_As_int(obj0));
9629 if (SWIG_arg_fail(1)) SWIG_fail;
9630 }
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9649 int arg2 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self",(char *) "length", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail;
9659 {
9660 arg2 = (int)(SWIG_As_int(obj1));
9661 if (SWIG_arg_fail(2)) SWIG_fail;
9662 }
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 (arg1)->SetRequestedLength(arg2);
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 Py_INCREF(Py_None); resultobj = Py_None;
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj;
9679 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9680 int result;
9681 PyObject * obj0 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 resultobj = SWIG_From_int((int)(result));
9698 }
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9708 int arg2 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self",(char *) "flags", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail;
9718 {
9719 arg2 = (int)(SWIG_As_int(obj1));
9720 if (SWIG_arg_fail(2)) SWIG_fail;
9721 }
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 (arg1)->SetFlags(arg2);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 Py_INCREF(Py_None); resultobj = Py_None;
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9739 int result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 {
9756 resultobj = SWIG_From_int((int)(result));
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9767 wxSize *arg2 = 0 ;
9768 wxSize temp2 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "size", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail;
9778 {
9779 arg2 = &temp2;
9780 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9781 }
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 (arg1)->SetSize((wxSize const &)*arg2);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 Py_INCREF(Py_None); resultobj = Py_None;
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9799 wxSize result;
9800 PyObject * obj0 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 {
9816 wxSize * resultptr;
9817 resultptr = new wxSize((wxSize &)(result));
9818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9819 }
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj;
9828 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9829 wxLayoutOrientation arg2 ;
9830 PyObject * obj0 = 0 ;
9831 PyObject * obj1 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "orient", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail;
9839 {
9840 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9841 if (SWIG_arg_fail(2)) SWIG_fail;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9860 wxLayoutOrientation result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail;
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 resultobj = SWIG_From_int((result));
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9886 wxLayoutAlignment arg2 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "align", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail;
9896 {
9897 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9898 if (SWIG_arg_fail(2)) SWIG_fail;
9899 }
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 Py_INCREF(Py_None); resultobj = Py_None;
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9917 wxLayoutAlignment result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_From_int((result));
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9941 PyObject *obj;
9942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9943 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9944 Py_INCREF(obj);
9945 return Py_BuildValue((char *)"");
9946 }
9947 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 int arg1 = (int) 0 ;
9950 wxCalculateLayoutEvent *result;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "id", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9957 if (obj0) {
9958 {
9959 arg1 = (int)(SWIG_As_int(obj0));
9960 if (SWIG_arg_fail(1)) SWIG_fail;
9961 }
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9980 int arg2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "flags", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
9990 {
9991 arg2 = (int)(SWIG_As_int(obj1));
9992 if (SWIG_arg_fail(2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetFlags(arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10011 int result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 resultobj = SWIG_From_int((int)(result));
10029 }
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10039 wxRect *arg2 = 0 ;
10040 wxRect temp2 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self",(char *) "rect", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail;
10050 {
10051 arg2 = &temp2;
10052 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 (arg1)->SetRect((wxRect const &)*arg2);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 Py_INCREF(Py_None); resultobj = Py_None;
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10071 wxRect result;
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail;
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 {
10088 wxRect * resultptr;
10089 resultptr = new wxRect((wxRect &)(result));
10090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10091 }
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10099 PyObject *obj;
10100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10101 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10102 Py_INCREF(obj);
10103 return Py_BuildValue((char *)"");
10104 }
10105 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxWindow *arg1 = (wxWindow *) 0 ;
10108 int arg2 = (int) -1 ;
10109 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10110 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10111 wxSize const &arg4_defvalue = wxDefaultSize ;
10112 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10113 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10114 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10115 wxString *arg6 = (wxString *) &arg6_defvalue ;
10116 wxSashLayoutWindow *result;
10117 wxPoint temp3 ;
10118 wxSize temp4 ;
10119 bool temp6 = false ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 PyObject * obj2 = 0 ;
10123 PyObject * obj3 = 0 ;
10124 PyObject * obj4 = 0 ;
10125 PyObject * obj5 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
10133 if (obj1) {
10134 {
10135 arg2 = (int)(SWIG_As_int(obj1));
10136 if (SWIG_arg_fail(2)) SWIG_fail;
10137 }
10138 }
10139 if (obj2) {
10140 {
10141 arg3 = &temp3;
10142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10143 }
10144 }
10145 if (obj3) {
10146 {
10147 arg4 = &temp4;
10148 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10149 }
10150 }
10151 if (obj4) {
10152 {
10153 arg5 = (long)(SWIG_As_long(obj4));
10154 if (SWIG_arg_fail(5)) SWIG_fail;
10155 }
10156 }
10157 if (obj5) {
10158 {
10159 arg6 = wxString_in_helper(obj5);
10160 if (arg6 == NULL) SWIG_fail;
10161 temp6 = true;
10162 }
10163 }
10164 {
10165 if (!wxPyCheckForApp()) SWIG_fail;
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10173 {
10174 if (temp6)
10175 delete arg6;
10176 }
10177 return resultobj;
10178 fail:
10179 {
10180 if (temp6)
10181 delete arg6;
10182 }
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxSashLayoutWindow *result;
10190 char *kwnames[] = {
10191 NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10195 {
10196 if (!wxPyCheckForApp()) SWIG_fail;
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10204 return resultobj;
10205 fail:
10206 return NULL;
10207 }
10208
10209
10210 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10213 wxWindow *arg2 = (wxWindow *) 0 ;
10214 int arg3 = (int) -1 ;
10215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10217 wxSize const &arg5_defvalue = wxDefaultSize ;
10218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10219 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10220 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10221 wxString *arg7 = (wxString *) &arg7_defvalue ;
10222 bool result;
10223 wxPoint temp4 ;
10224 wxSize temp5 ;
10225 bool temp7 = false ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 PyObject * obj3 = 0 ;
10230 PyObject * obj4 = 0 ;
10231 PyObject * obj5 = 0 ;
10232 PyObject * obj6 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10239 if (SWIG_arg_fail(1)) SWIG_fail;
10240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10241 if (SWIG_arg_fail(2)) SWIG_fail;
10242 if (obj2) {
10243 {
10244 arg3 = (int)(SWIG_As_int(obj2));
10245 if (SWIG_arg_fail(3)) SWIG_fail;
10246 }
10247 }
10248 if (obj3) {
10249 {
10250 arg4 = &temp4;
10251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10252 }
10253 }
10254 if (obj4) {
10255 {
10256 arg5 = &temp5;
10257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10258 }
10259 }
10260 if (obj5) {
10261 {
10262 arg6 = (long)(SWIG_As_long(obj5));
10263 if (SWIG_arg_fail(6)) SWIG_fail;
10264 }
10265 }
10266 if (obj6) {
10267 {
10268 arg7 = wxString_in_helper(obj6);
10269 if (arg7 == NULL) SWIG_fail;
10270 temp7 = true;
10271 }
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10282 }
10283 {
10284 if (temp7)
10285 delete arg7;
10286 }
10287 return resultobj;
10288 fail:
10289 {
10290 if (temp7)
10291 delete arg7;
10292 }
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10300 wxLayoutAlignment result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_From_int((result));
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10326 wxLayoutOrientation result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_From_int((result));
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10352 wxLayoutAlignment arg2 ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "alignment", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail;
10362 {
10363 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10364 if (SWIG_arg_fail(2)) SWIG_fail;
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10383 wxSize *arg2 = 0 ;
10384 wxSize temp2 ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "size", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail;
10394 {
10395 arg2 = &temp2;
10396 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 Py_INCREF(Py_None); resultobj = Py_None;
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10415 wxLayoutOrientation arg2 ;
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self",(char *) "orientation", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail;
10425 {
10426 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10427 if (SWIG_arg_fail(2)) SWIG_fail;
10428 }
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 Py_INCREF(Py_None); resultobj = Py_None;
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10444 PyObject *obj;
10445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10447 Py_INCREF(obj);
10448 return Py_BuildValue((char *)"");
10449 }
10450 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxLayoutAlgorithm *result;
10453 char *kwnames[] = {
10454 NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 delete arg1;
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494 }
10495
10496
10497 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10500 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10501 wxRect *arg3 = (wxRect *) NULL ;
10502 bool result;
10503 PyObject * obj0 = 0 ;
10504 PyObject * obj1 = 0 ;
10505 PyObject * obj2 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "frame",(char *) "rect", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail;
10513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10514 if (SWIG_arg_fail(2)) SWIG_fail;
10515 if (obj2) {
10516 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10517 if (SWIG_arg_fail(3)) SWIG_fail;
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 {
10527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10528 }
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10538 wxFrame *arg2 = (wxFrame *) 0 ;
10539 wxWindow *arg3 = (wxWindow *) NULL ;
10540 bool result;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543 PyObject * obj2 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail;
10551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10552 if (SWIG_arg_fail(2)) SWIG_fail;
10553 if (obj2) {
10554 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10555 if (SWIG_arg_fail(3)) SWIG_fail;
10556 }
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 {
10565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10566 }
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10576 wxWindow *arg2 = (wxWindow *) 0 ;
10577 wxWindow *arg3 = (wxWindow *) NULL ;
10578 bool result;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 PyObject * obj2 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail;
10589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10590 if (SWIG_arg_fail(2)) SWIG_fail;
10591 if (obj2) {
10592 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10593 if (SWIG_arg_fail(3)) SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10612 PyObject *obj;
10613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10615 Py_INCREF(obj);
10616 return Py_BuildValue((char *)"");
10617 }
10618 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxWindow *arg1 = (wxWindow *) 0 ;
10621 int arg2 = (int) wxBORDER_NONE ;
10622 wxPopupWindow *result;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "parent",(char *) "flags", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail;
10632 if (obj1) {
10633 {
10634 arg2 = (int)(SWIG_As_int(obj1));
10635 if (SWIG_arg_fail(2)) SWIG_fail;
10636 }
10637 }
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxPopupWindow *result;
10655 char *kwnames[] = {
10656 NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (wxPopupWindow *)new wxPopupWindow();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10675 PyObject *obj;
10676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10678 Py_INCREF(obj);
10679 return Py_BuildValue((char *)"");
10680 }
10681 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxWindow *arg1 = (wxWindow *) 0 ;
10684 int arg2 = (int) wxBORDER_NONE ;
10685 wxPyPopupTransientWindow *result;
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "parent",(char *) "style", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
10695 if (obj1) {
10696 {
10697 arg2 = (int)(SWIG_As_int(obj1));
10698 if (SWIG_arg_fail(2)) SWIG_fail;
10699 }
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxPyPopupTransientWindow *result;
10718 char *kwnames[] = {
10719 NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10738 PyObject *obj;
10739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10741 Py_INCREF(obj);
10742 return Py_BuildValue((char *)"");
10743 }
10744 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10745 PyObject *resultobj;
10746 wxWindow *arg1 = (wxWindow *) 0 ;
10747 wxString *arg2 = 0 ;
10748 int arg3 = (int) 100 ;
10749 wxRect *arg4 = (wxRect *) NULL ;
10750 wxTipWindow *result;
10751 bool temp2 = false ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 PyObject * obj2 = 0 ;
10755 PyObject * obj3 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 {
10764 arg2 = wxString_in_helper(obj1);
10765 if (arg2 == NULL) SWIG_fail;
10766 temp2 = true;
10767 }
10768 if (obj2) {
10769 {
10770 arg3 = (int)(SWIG_As_int(obj2));
10771 if (SWIG_arg_fail(3)) SWIG_fail;
10772 }
10773 }
10774 if (obj3) {
10775 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10776 if (SWIG_arg_fail(4)) SWIG_fail;
10777 }
10778 {
10779 if (!wxPyCheckForApp()) SWIG_fail;
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10787 {
10788 if (temp2)
10789 delete arg2;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10804 wxRect *arg2 = 0 ;
10805 wxRect temp2 ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "rectBound", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail;
10815 {
10816 arg2 = &temp2;
10817 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 (arg1)->Close();
10847
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10859 PyObject *obj;
10860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10862 Py_INCREF(obj);
10863 return Py_BuildValue((char *)"");
10864 }
10865 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxWindow *arg1 = (wxWindow *) 0 ;
10868 int arg2 = (int) wxID_ANY ;
10869 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10870 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10871 wxSize const &arg4_defvalue = wxDefaultSize ;
10872 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10873 long arg5 = (long) 0 ;
10874 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10875 wxString *arg6 = (wxString *) &arg6_defvalue ;
10876 wxPyVScrolledWindow *result;
10877 wxPoint temp3 ;
10878 wxSize temp4 ;
10879 bool temp6 = false ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 PyObject * obj3 = 0 ;
10884 PyObject * obj4 = 0 ;
10885 PyObject * obj5 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail;
10893 if (obj1) {
10894 {
10895 arg2 = (int)(SWIG_As_int(obj1));
10896 if (SWIG_arg_fail(2)) SWIG_fail;
10897 }
10898 }
10899 if (obj2) {
10900 {
10901 arg3 = &temp3;
10902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10903 }
10904 }
10905 if (obj3) {
10906 {
10907 arg4 = &temp4;
10908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10909 }
10910 }
10911 if (obj4) {
10912 {
10913 arg5 = (long)(SWIG_As_long(obj4));
10914 if (SWIG_arg_fail(5)) SWIG_fail;
10915 }
10916 }
10917 if (obj5) {
10918 {
10919 arg6 = wxString_in_helper(obj5);
10920 if (arg6 == NULL) SWIG_fail;
10921 temp6 = true;
10922 }
10923 }
10924 {
10925 if (!wxPyCheckForApp()) SWIG_fail;
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10933 {
10934 if (temp6)
10935 delete arg6;
10936 }
10937 return resultobj;
10938 fail:
10939 {
10940 if (temp6)
10941 delete arg6;
10942 }
10943 return NULL;
10944 }
10945
10946
10947 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxPyVScrolledWindow *result;
10950 char *kwnames[] = {
10951 NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
10955 {
10956 if (!wxPyCheckForApp()) SWIG_fail;
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10973 PyObject *arg2 = (PyObject *) 0 ;
10974 PyObject *arg3 = (PyObject *) 0 ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 PyObject * obj2 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "self",(char *) "_class", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
10985 arg2 = obj1;
10986 arg3 = obj2;
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->_setCallbackInfo(arg2,arg3);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11004 wxWindow *arg2 = (wxWindow *) 0 ;
11005 int arg3 = (int) wxID_ANY ;
11006 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11007 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11008 wxSize const &arg5_defvalue = wxDefaultSize ;
11009 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11010 long arg6 = (long) 0 ;
11011 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11012 wxString *arg7 = (wxString *) &arg7_defvalue ;
11013 bool result;
11014 wxPoint temp4 ;
11015 wxSize temp5 ;
11016 bool temp7 = false ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 PyObject * obj2 = 0 ;
11020 PyObject * obj3 = 0 ;
11021 PyObject * obj4 = 0 ;
11022 PyObject * obj5 = 0 ;
11023 PyObject * obj6 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
11031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11032 if (SWIG_arg_fail(2)) SWIG_fail;
11033 if (obj2) {
11034 {
11035 arg3 = (int)(SWIG_As_int(obj2));
11036 if (SWIG_arg_fail(3)) SWIG_fail;
11037 }
11038 }
11039 if (obj3) {
11040 {
11041 arg4 = &temp4;
11042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11043 }
11044 }
11045 if (obj4) {
11046 {
11047 arg5 = &temp5;
11048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11049 }
11050 }
11051 if (obj5) {
11052 {
11053 arg6 = (long)(SWIG_As_long(obj5));
11054 if (SWIG_arg_fail(6)) SWIG_fail;
11055 }
11056 }
11057 if (obj6) {
11058 {
11059 arg7 = wxString_in_helper(obj6);
11060 if (arg7 == NULL) SWIG_fail;
11061 temp7 = true;
11062 }
11063 }
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11073 }
11074 {
11075 if (temp7)
11076 delete arg7;
11077 }
11078 return resultobj;
11079 fail:
11080 {
11081 if (temp7)
11082 delete arg7;
11083 }
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11091 size_t arg2 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "count", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
11101 {
11102 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11103 if (SWIG_arg_fail(2)) SWIG_fail;
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetLineCount(arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11122 size_t arg2 ;
11123 bool result;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self",(char *) "line", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail;
11133 {
11134 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11135 if (SWIG_arg_fail(2)) SWIG_fail;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (bool)(arg1)->ScrollToLine(arg2);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 {
11145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11146 }
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11156 int arg2 ;
11157 bool result;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self",(char *) "lines", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail;
11167 {
11168 arg2 = (int)(SWIG_As_int(obj1));
11169 if (SWIG_arg_fail(2)) SWIG_fail;
11170 }
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (bool)(arg1)->ScrollLines(arg2);
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11190 int arg2 ;
11191 bool result;
11192 PyObject * obj0 = 0 ;
11193 PyObject * obj1 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self",(char *) "pages", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11200 if (SWIG_arg_fail(1)) SWIG_fail;
11201 {
11202 arg2 = (int)(SWIG_As_int(obj1));
11203 if (SWIG_arg_fail(2)) SWIG_fail;
11204 }
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (bool)(arg1)->ScrollPages(arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 {
11213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11214 }
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11224 size_t arg2 ;
11225 PyObject * obj0 = 0 ;
11226 PyObject * obj1 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self",(char *) "line", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail;
11234 {
11235 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11236 if (SWIG_arg_fail(2)) SWIG_fail;
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->RefreshLine(arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 Py_INCREF(Py_None); resultobj = Py_None;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11255 size_t arg2 ;
11256 size_t arg3 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 PyObject * obj2 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "from",(char *) "to", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11266 if (SWIG_arg_fail(1)) SWIG_fail;
11267 {
11268 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11269 if (SWIG_arg_fail(2)) SWIG_fail;
11270 }
11271 {
11272 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11273 if (SWIG_arg_fail(3)) SWIG_fail;
11274 }
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 (arg1)->RefreshLines(arg2,arg3);
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 Py_INCREF(Py_None); resultobj = Py_None;
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11292 int arg2 ;
11293 int arg3 ;
11294 int result;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "x",(char *) "y", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail;
11305 {
11306 arg2 = (int)(SWIG_As_int(obj1));
11307 if (SWIG_arg_fail(2)) SWIG_fail;
11308 }
11309 {
11310 arg3 = (int)(SWIG_As_int(obj2));
11311 if (SWIG_arg_fail(3)) SWIG_fail;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 resultobj = SWIG_From_int((int)(result));
11322 }
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11332 wxPoint *arg2 = 0 ;
11333 int result;
11334 wxPoint temp2 ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self",(char *) "pt", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 arg2 = &temp2;
11346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11347 }
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 {
11356 resultobj = SWIG_From_int((int)(result));
11357 }
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj;
11366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail;
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 (arg1)->RefreshAll();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 Py_INCREF(Py_None); resultobj = Py_None;
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11392 size_t result;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 {
11409 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11410 }
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11420 size_t result;
11421 PyObject * obj0 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 {
11437 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11438 }
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11448 size_t result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11466 }
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11476 size_t arg2 ;
11477 bool result;
11478 PyObject * obj0 = 0 ;
11479 PyObject * obj1 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "line", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail;
11487 {
11488 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11489 if (SWIG_arg_fail(2)) SWIG_fail;
11490 }
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 {
11499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11500 }
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11508 PyObject *obj;
11509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11511 Py_INCREF(obj);
11512 return Py_BuildValue((char *)"");
11513 }
11514 static int _wrap_VListBoxNameStr_set(PyObject *) {
11515 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11516 return 1;
11517 }
11518
11519
11520 static PyObject *_wrap_VListBoxNameStr_get(void) {
11521 PyObject *pyobj;
11522
11523 {
11524 #if wxUSE_UNICODE
11525 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11526 #else
11527 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11528 #endif
11529 }
11530 return pyobj;
11531 }
11532
11533
11534 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxWindow *arg1 = (wxWindow *) 0 ;
11537 int arg2 = (int) wxID_ANY ;
11538 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11539 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11540 wxSize const &arg4_defvalue = wxDefaultSize ;
11541 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11542 long arg5 = (long) 0 ;
11543 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11544 wxString *arg6 = (wxString *) &arg6_defvalue ;
11545 wxPyVListBox *result;
11546 wxPoint temp3 ;
11547 wxSize temp4 ;
11548 bool temp6 = false ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11553 PyObject * obj4 = 0 ;
11554 PyObject * obj5 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail;
11562 if (obj1) {
11563 {
11564 arg2 = (int)(SWIG_As_int(obj1));
11565 if (SWIG_arg_fail(2)) SWIG_fail;
11566 }
11567 }
11568 if (obj2) {
11569 {
11570 arg3 = &temp3;
11571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11572 }
11573 }
11574 if (obj3) {
11575 {
11576 arg4 = &temp4;
11577 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11578 }
11579 }
11580 if (obj4) {
11581 {
11582 arg5 = (long)(SWIG_As_long(obj4));
11583 if (SWIG_arg_fail(5)) SWIG_fail;
11584 }
11585 }
11586 if (obj5) {
11587 {
11588 arg6 = wxString_in_helper(obj5);
11589 if (arg6 == NULL) SWIG_fail;
11590 temp6 = true;
11591 }
11592 }
11593 {
11594 if (!wxPyCheckForApp()) SWIG_fail;
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11602 {
11603 if (temp6)
11604 delete arg6;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp6)
11610 delete arg6;
11611 }
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxPyVListBox *result;
11619 char *kwnames[] = {
11620 NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11624 {
11625 if (!wxPyCheckForApp()) SWIG_fail;
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (wxPyVListBox *)new wxPyVListBox();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11642 PyObject *arg2 = (PyObject *) 0 ;
11643 PyObject *arg3 = (PyObject *) 0 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self",(char *) "self",(char *) "_class", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11653 if (SWIG_arg_fail(1)) SWIG_fail;
11654 arg2 = obj1;
11655 arg3 = obj2;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 (arg1)->_setCallbackInfo(arg2,arg3);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 Py_INCREF(Py_None); resultobj = Py_None;
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11673 wxWindow *arg2 = (wxWindow *) 0 ;
11674 int arg3 = (int) wxID_ANY ;
11675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11677 wxSize const &arg5_defvalue = wxDefaultSize ;
11678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11679 long arg6 = (long) 0 ;
11680 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11681 wxString *arg7 = (wxString *) &arg7_defvalue ;
11682 bool result;
11683 wxPoint temp4 ;
11684 wxSize temp5 ;
11685 bool temp7 = false ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj1 = 0 ;
11688 PyObject * obj2 = 0 ;
11689 PyObject * obj3 = 0 ;
11690 PyObject * obj4 = 0 ;
11691 PyObject * obj5 = 0 ;
11692 PyObject * obj6 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail;
11700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 if (obj2) {
11703 {
11704 arg3 = (int)(SWIG_As_int(obj2));
11705 if (SWIG_arg_fail(3)) SWIG_fail;
11706 }
11707 }
11708 if (obj3) {
11709 {
11710 arg4 = &temp4;
11711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11712 }
11713 }
11714 if (obj4) {
11715 {
11716 arg5 = &temp5;
11717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11718 }
11719 }
11720 if (obj5) {
11721 {
11722 arg6 = (long)(SWIG_As_long(obj5));
11723 if (SWIG_arg_fail(6)) SWIG_fail;
11724 }
11725 }
11726 if (obj6) {
11727 {
11728 arg7 = wxString_in_helper(obj6);
11729 if (arg7 == NULL) SWIG_fail;
11730 temp7 = true;
11731 }
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 {
11741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11742 }
11743 {
11744 if (temp7)
11745 delete arg7;
11746 }
11747 return resultobj;
11748 fail:
11749 {
11750 if (temp7)
11751 delete arg7;
11752 }
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11760 size_t result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11778 }
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11786 PyObject *resultobj;
11787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11788 bool result;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 {
11805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11806 }
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj;
11815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11816 int result;
11817 PyObject * obj0 = 0 ;
11818 char *kwnames[] = {
11819 (char *) "self", NULL
11820 };
11821
11822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
11823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11824 if (SWIG_arg_fail(1)) SWIG_fail;
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 {
11833 resultobj = SWIG_From_int((int)(result));
11834 }
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11844 size_t arg2 ;
11845 bool result;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "item", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
11853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail;
11855 {
11856 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11857 if (SWIG_arg_fail(2)) SWIG_fail;
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11868 }
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11878 size_t arg2 ;
11879 bool result;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self",(char *) "item", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
11887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail;
11889 {
11890 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11891 if (SWIG_arg_fail(2)) SWIG_fail;
11892 }
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 {
11901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11902 }
11903 return resultobj;
11904 fail:
11905 return NULL;
11906 }
11907
11908
11909 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11912 size_t result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 {
11929 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11930 }
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11940 PyObject *result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
11947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = result;
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11966 unsigned long arg2 ;
11967 PyObject *result;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "cookie", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
11975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail;
11977 {
11978 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
11979 if (SWIG_arg_fail(2)) SWIG_fail;
11980 }
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = result;
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11998 wxPoint result;
11999 PyObject * obj0 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = ((wxPyVListBox const *)arg1)->GetMargins();
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 wxPoint * resultptr;
12016 resultptr = new wxPoint((wxPoint &)(result));
12017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 wxColour *result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 {
12040 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12041 result = (wxColour *) &_result_ref;
12042 }
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12057 size_t arg2 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self",(char *) "count", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail;
12067 {
12068 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12069 if (SWIG_arg_fail(2)) SWIG_fail;
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->SetItemCount(arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->Clear();
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12113 int arg2 ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "selection", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 arg2 = (int)(SWIG_As_int(obj1));
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 (arg1)->SetSelection(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 Py_INCREF(Py_None); resultobj = Py_None;
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12144 size_t arg2 ;
12145 bool arg3 = (bool) true ;
12146 bool result;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 PyObject * obj2 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item",(char *) "select", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
12158 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
12161 if (obj2) {
12162 {
12163 arg3 = (bool)(SWIG_As_bool(obj2));
12164 if (SWIG_arg_fail(3)) SWIG_fail;
12165 }
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)(arg1)->Select(arg2,arg3);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 {
12175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12186 size_t arg2 ;
12187 size_t arg3 ;
12188 bool result;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 PyObject * obj2 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self",(char *) "from",(char *) "to", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12198 if (SWIG_arg_fail(1)) SWIG_fail;
12199 {
12200 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12201 if (SWIG_arg_fail(2)) SWIG_fail;
12202 }
12203 {
12204 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12205 if (SWIG_arg_fail(3)) SWIG_fail;
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (bool)(arg1)->SelectRange(arg2,arg3);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12216 }
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12226 size_t arg2 ;
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self",(char *) "item", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
12236 {
12237 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12238 if (SWIG_arg_fail(2)) SWIG_fail;
12239 }
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 (arg1)->Toggle(arg2);
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 Py_INCREF(Py_None); resultobj = Py_None;
12248 return resultobj;
12249 fail:
12250 return NULL;
12251 }
12252
12253
12254 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12255 PyObject *resultobj;
12256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12257 bool result;
12258 PyObject * obj0 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail;
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (bool)(arg1)->SelectAll();
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12275 }
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12285 bool result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail;
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)(arg1)->DeselectAll();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 {
12302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12303 }
12304 return resultobj;
12305 fail:
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12313 wxPoint *arg2 = 0 ;
12314 wxPoint temp2 ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "pt", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail;
12324 {
12325 arg2 = &temp2;
12326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->SetMargins((wxPoint const &)*arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12345 int arg2 ;
12346 int arg3 ;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 PyObject * obj2 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "x",(char *) "y", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 arg2 = (int)(SWIG_As_int(obj1));
12359 if (SWIG_arg_fail(2)) SWIG_fail;
12360 }
12361 {
12362 arg3 = (int)(SWIG_As_int(obj2));
12363 if (SWIG_arg_fail(3)) SWIG_fail;
12364 }
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 (arg1)->SetMargins(arg2,arg3);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 Py_INCREF(Py_None); resultobj = Py_None;
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12382 wxColour *arg2 = 0 ;
12383 wxColour temp2 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "col", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail;
12393 {
12394 arg2 = &temp2;
12395 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12396 }
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 Py_INCREF(Py_None); resultobj = Py_None;
12405 return resultobj;
12406 fail:
12407 return NULL;
12408 }
12409
12410
12411 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12412 PyObject *obj;
12413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12415 Py_INCREF(obj);
12416 return Py_BuildValue((char *)"");
12417 }
12418 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxWindow *arg1 = (wxWindow *) 0 ;
12421 int arg2 = (int) wxID_ANY ;
12422 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12423 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12424 wxSize const &arg4_defvalue = wxDefaultSize ;
12425 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12426 long arg5 = (long) 0 ;
12427 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12428 wxString *arg6 = (wxString *) &arg6_defvalue ;
12429 wxPyHtmlListBox *result;
12430 wxPoint temp3 ;
12431 wxSize temp4 ;
12432 bool temp6 = false ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 PyObject * obj2 = 0 ;
12436 PyObject * obj3 = 0 ;
12437 PyObject * obj4 = 0 ;
12438 PyObject * obj5 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail;
12446 if (obj1) {
12447 {
12448 arg2 = (int)(SWIG_As_int(obj1));
12449 if (SWIG_arg_fail(2)) SWIG_fail;
12450 }
12451 }
12452 if (obj2) {
12453 {
12454 arg3 = &temp3;
12455 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12456 }
12457 }
12458 if (obj3) {
12459 {
12460 arg4 = &temp4;
12461 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12462 }
12463 }
12464 if (obj4) {
12465 {
12466 arg5 = (long)(SWIG_As_long(obj4));
12467 if (SWIG_arg_fail(5)) SWIG_fail;
12468 }
12469 }
12470 if (obj5) {
12471 {
12472 arg6 = wxString_in_helper(obj5);
12473 if (arg6 == NULL) SWIG_fail;
12474 temp6 = true;
12475 }
12476 }
12477 {
12478 if (!wxPyCheckForApp()) SWIG_fail;
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
12480 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12481
12482 wxPyEndAllowThreads(__tstate);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 }
12485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12486 {
12487 if (temp6)
12488 delete arg6;
12489 }
12490 return resultobj;
12491 fail:
12492 {
12493 if (temp6)
12494 delete arg6;
12495 }
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxPyHtmlListBox *result;
12503 char *kwnames[] = {
12504 NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12508 {
12509 if (!wxPyCheckForApp()) SWIG_fail;
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12526 PyObject *arg2 = (PyObject *) 0 ;
12527 PyObject *arg3 = (PyObject *) 0 ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self",(char *) "self",(char *) "_class", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail;
12538 arg2 = obj1;
12539 arg3 = obj2;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 (arg1)->_setCallbackInfo(arg2,arg3);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 Py_INCREF(Py_None); resultobj = Py_None;
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12557 wxWindow *arg2 = (wxWindow *) 0 ;
12558 int arg3 = (int) wxID_ANY ;
12559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12561 wxSize const &arg5_defvalue = wxDefaultSize ;
12562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12563 long arg6 = (long) 0 ;
12564 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12565 wxString *arg7 = (wxString *) &arg7_defvalue ;
12566 bool result;
12567 wxPoint temp4 ;
12568 wxSize temp5 ;
12569 bool temp7 = false ;
12570 PyObject * obj0 = 0 ;
12571 PyObject * obj1 = 0 ;
12572 PyObject * obj2 = 0 ;
12573 PyObject * obj3 = 0 ;
12574 PyObject * obj4 = 0 ;
12575 PyObject * obj5 = 0 ;
12576 PyObject * obj6 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail;
12584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail;
12586 if (obj2) {
12587 {
12588 arg3 = (int)(SWIG_As_int(obj2));
12589 if (SWIG_arg_fail(3)) SWIG_fail;
12590 }
12591 }
12592 if (obj3) {
12593 {
12594 arg4 = &temp4;
12595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12596 }
12597 }
12598 if (obj4) {
12599 {
12600 arg5 = &temp5;
12601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12602 }
12603 }
12604 if (obj5) {
12605 {
12606 arg6 = (long)(SWIG_As_long(obj5));
12607 if (SWIG_arg_fail(6)) SWIG_fail;
12608 }
12609 }
12610 if (obj6) {
12611 {
12612 arg7 = wxString_in_helper(obj6);
12613 if (arg7 == NULL) SWIG_fail;
12614 temp7 = true;
12615 }
12616 }
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 {
12625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12626 }
12627 {
12628 if (temp7)
12629 delete arg7;
12630 }
12631 return resultobj;
12632 fail:
12633 {
12634 if (temp7)
12635 delete arg7;
12636 }
12637 return NULL;
12638 }
12639
12640
12641 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail;
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->RefreshAll();
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 Py_INCREF(Py_None); resultobj = Py_None;
12660 return resultobj;
12661 fail:
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12669 size_t arg2 ;
12670 PyObject * obj0 = 0 ;
12671 PyObject * obj1 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self",(char *) "count", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail;
12679 {
12680 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12681 if (SWIG_arg_fail(2)) SWIG_fail;
12682 }
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 (arg1)->SetItemCount(arg2);
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 Py_INCREF(Py_None); resultobj = Py_None;
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12700 wxFileSystem *result;
12701 PyObject * obj0 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "self", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 {
12712 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12713 result = (wxFileSystem *) &_result_ref;
12714 }
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12727 PyObject *obj;
12728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12729 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12730 Py_INCREF(obj);
12731 return Py_BuildValue((char *)"");
12732 }
12733 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxPyTaskBarIcon *result;
12736 char *kwnames[] = {
12737 NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12741 {
12742 if (!wxPyCheckForApp()) SWIG_fail;
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12759 PyObject *arg2 = (PyObject *) 0 ;
12760 PyObject *arg3 = (PyObject *) 0 ;
12761 int arg4 ;
12762 PyObject * obj0 = 0 ;
12763 PyObject * obj1 = 0 ;
12764 PyObject * obj2 = 0 ;
12765 PyObject * obj3 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail;
12773 arg2 = obj1;
12774 arg3 = obj2;
12775 {
12776 arg4 = (int)(SWIG_As_int(obj3));
12777 if (SWIG_arg_fail(4)) SWIG_fail;
12778 }
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 Py_INCREF(Py_None); resultobj = Py_None;
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 wxPyTaskBarIcon_Destroy(arg1);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12821 bool result;
12822 PyObject * obj0 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail;
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12839 }
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12849 bool result;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 }
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj;
12876 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12877 wxIcon *arg2 = 0 ;
12878 wxString const &arg3_defvalue = wxPyEmptyString ;
12879 wxString *arg3 = (wxString *) &arg3_defvalue ;
12880 bool result;
12881 bool temp3 = false ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj1 = 0 ;
12884 PyObject * obj2 = 0 ;
12885 char *kwnames[] = {
12886 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12887 };
12888
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail;
12892 {
12893 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12894 if (SWIG_arg_fail(2)) SWIG_fail;
12895 if (arg2 == NULL) {
12896 SWIG_null_ref("wxIcon");
12897 }
12898 if (SWIG_arg_fail(2)) SWIG_fail;
12899 }
12900 if (obj2) {
12901 {
12902 arg3 = wxString_in_helper(obj2);
12903 if (arg3 == NULL) SWIG_fail;
12904 temp3 = true;
12905 }
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 {
12915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12916 }
12917 {
12918 if (temp3)
12919 delete arg3;
12920 }
12921 return resultobj;
12922 fail:
12923 {
12924 if (temp3)
12925 delete arg3;
12926 }
12927 return NULL;
12928 }
12929
12930
12931 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12934 bool result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
12941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (bool)(arg1)->RemoveIcon();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12962 wxMenu *arg2 = (wxMenu *) 0 ;
12963 bool result;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self",(char *) "menu", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
12971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail;
12973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
12974 if (SWIG_arg_fail(2)) SWIG_fail;
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (bool)(arg1)->PopupMenu(arg2);
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
12992 PyObject *obj;
12993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
12995 Py_INCREF(obj);
12996 return Py_BuildValue((char *)"");
12997 }
12998 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxEventType arg1 ;
13001 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13002 wxTaskBarIconEvent *result;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "evtType",(char *) "tbIcon", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13010 {
13011 arg1 = (wxEventType)(SWIG_As_int(obj0));
13012 if (SWIG_arg_fail(1)) SWIG_fail;
13013 }
13014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13015 if (SWIG_arg_fail(2)) SWIG_fail;
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13024 return resultobj;
13025 fail:
13026 return NULL;
13027 }
13028
13029
13030 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13031 PyObject *obj;
13032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13034 Py_INCREF(obj);
13035 return Py_BuildValue((char *)"");
13036 }
13037 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13038 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13039 return 1;
13040 }
13041
13042
13043 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13044 PyObject *pyobj;
13045
13046 {
13047 #if wxUSE_UNICODE
13048 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13049 #else
13050 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13051 #endif
13052 }
13053 return pyobj;
13054 }
13055
13056
13057 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13058 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13059 return 1;
13060 }
13061
13062
13063 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13064 PyObject *pyobj;
13065
13066 {
13067 #if wxUSE_UNICODE
13068 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13069 #else
13070 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13071 #endif
13072 }
13073 return pyobj;
13074 }
13075
13076
13077 static int _wrap_DirDialogNameStr_set(PyObject *) {
13078 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13079 return 1;
13080 }
13081
13082
13083 static PyObject *_wrap_DirDialogNameStr_get(void) {
13084 PyObject *pyobj;
13085
13086 {
13087 #if wxUSE_UNICODE
13088 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13089 #else
13090 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13091 #endif
13092 }
13093 return pyobj;
13094 }
13095
13096
13097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13098 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13099 return 1;
13100 }
13101
13102
13103 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13104 PyObject *pyobj;
13105
13106 {
13107 #if wxUSE_UNICODE
13108 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13109 #else
13110 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13111 #endif
13112 }
13113 return pyobj;
13114 }
13115
13116
13117 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13118 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13119 return 1;
13120 }
13121
13122
13123 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13124 PyObject *pyobj;
13125
13126 {
13127 #if wxUSE_UNICODE
13128 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13129 #else
13130 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13131 #endif
13132 }
13133 return pyobj;
13134 }
13135
13136
13137 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13138 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13139 return 1;
13140 }
13141
13142
13143 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13144 PyObject *pyobj;
13145
13146 {
13147 #if wxUSE_UNICODE
13148 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13149 #else
13150 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13151 #endif
13152 }
13153 return pyobj;
13154 }
13155
13156
13157 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxColourData *result;
13160 char *kwnames[] = {
13161 NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (wxColourData *)new wxColourData();
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxColourData *arg1 = (wxColourData *) 0 ;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 delete arg1;
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxColourData *arg1 = (wxColourData *) 0 ;
13207 bool result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->GetChooseFull();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxColourData *arg1 = (wxColourData *) 0 ;
13235 wxColour result;
13236 PyObject * obj0 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (arg1)->GetColour();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 {
13252 wxColour * resultptr;
13253 resultptr = new wxColour((wxColour &)(result));
13254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13255 }
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxColourData *arg1 = (wxColourData *) 0 ;
13265 int arg2 ;
13266 wxColour result;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "i", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail;
13276 {
13277 arg2 = (int)(SWIG_As_int(obj1));
13278 if (SWIG_arg_fail(2)) SWIG_fail;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (arg1)->GetCustomColour(arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 {
13288 wxColour * resultptr;
13289 resultptr = new wxColour((wxColour &)(result));
13290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13291 }
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxColourData *arg1 = (wxColourData *) 0 ;
13301 int arg2 ;
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self",(char *) "flag", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail;
13311 {
13312 arg2 = (int)(SWIG_As_int(obj1));
13313 if (SWIG_arg_fail(2)) SWIG_fail;
13314 }
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 (arg1)->SetChooseFull(arg2);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxColourData *arg1 = (wxColourData *) 0 ;
13332 wxColour *arg2 = 0 ;
13333 wxColour temp2 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "colour", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail;
13343 {
13344 arg2 = &temp2;
13345 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13346 }
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 (arg1)->SetColour((wxColour const &)*arg2);
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 Py_INCREF(Py_None); resultobj = Py_None;
13355 return resultobj;
13356 fail:
13357 return NULL;
13358 }
13359
13360
13361 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxColourData *arg1 = (wxColourData *) 0 ;
13364 int arg2 ;
13365 wxColour *arg3 = 0 ;
13366 wxColour temp3 ;
13367 PyObject * obj0 = 0 ;
13368 PyObject * obj1 = 0 ;
13369 PyObject * obj2 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "i",(char *) "colour", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13376 if (SWIG_arg_fail(1)) SWIG_fail;
13377 {
13378 arg2 = (int)(SWIG_As_int(obj1));
13379 if (SWIG_arg_fail(2)) SWIG_fail;
13380 }
13381 {
13382 arg3 = &temp3;
13383 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13384 }
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13400 PyObject *obj;
13401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13403 Py_INCREF(obj);
13404 return Py_BuildValue((char *)"");
13405 }
13406 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxWindow *arg1 = (wxWindow *) 0 ;
13409 wxColourData *arg2 = (wxColourData *) NULL ;
13410 wxColourDialog *result;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "parent",(char *) "data", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail;
13420 if (obj1) {
13421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13422 if (SWIG_arg_fail(2)) SWIG_fail;
13423 }
13424 {
13425 if (!wxPyCheckForApp()) SWIG_fail;
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13442 wxColourData *result;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13450 if (SWIG_arg_fail(1)) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 {
13454 wxColourData &_result_ref = (arg1)->GetColourData();
13455 result = (wxColourData *) &_result_ref;
13456 }
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13469 PyObject *obj;
13470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13472 Py_INCREF(obj);
13473 return Py_BuildValue((char *)"");
13474 }
13475 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxWindow *arg1 = (wxWindow *) 0 ;
13478 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13479 wxString *arg2 = (wxString *) &arg2_defvalue ;
13480 wxString const &arg3_defvalue = wxPyEmptyString ;
13481 wxString *arg3 = (wxString *) &arg3_defvalue ;
13482 long arg4 = (long) 0 ;
13483 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13484 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13485 wxSize const &arg6_defvalue = wxDefaultSize ;
13486 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13487 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13488 wxString *arg7 = (wxString *) &arg7_defvalue ;
13489 wxDirDialog *result;
13490 bool temp2 = false ;
13491 bool temp3 = false ;
13492 wxPoint temp5 ;
13493 wxSize temp6 ;
13494 bool temp7 = false ;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 PyObject * obj2 = 0 ;
13498 PyObject * obj3 = 0 ;
13499 PyObject * obj4 = 0 ;
13500 PyObject * obj5 = 0 ;
13501 PyObject * obj6 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
13509 if (obj1) {
13510 {
13511 arg2 = wxString_in_helper(obj1);
13512 if (arg2 == NULL) SWIG_fail;
13513 temp2 = true;
13514 }
13515 }
13516 if (obj2) {
13517 {
13518 arg3 = wxString_in_helper(obj2);
13519 if (arg3 == NULL) SWIG_fail;
13520 temp3 = true;
13521 }
13522 }
13523 if (obj3) {
13524 {
13525 arg4 = (long)(SWIG_As_long(obj3));
13526 if (SWIG_arg_fail(4)) SWIG_fail;
13527 }
13528 }
13529 if (obj4) {
13530 {
13531 arg5 = &temp5;
13532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13533 }
13534 }
13535 if (obj5) {
13536 {
13537 arg6 = &temp6;
13538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13539 }
13540 }
13541 if (obj6) {
13542 {
13543 arg7 = wxString_in_helper(obj6);
13544 if (arg7 == NULL) SWIG_fail;
13545 temp7 = true;
13546 }
13547 }
13548 {
13549 if (!wxPyCheckForApp()) SWIG_fail;
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13557 {
13558 if (temp2)
13559 delete arg2;
13560 }
13561 {
13562 if (temp3)
13563 delete arg3;
13564 }
13565 {
13566 if (temp7)
13567 delete arg7;
13568 }
13569 return resultobj;
13570 fail:
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 {
13576 if (temp3)
13577 delete arg3;
13578 }
13579 {
13580 if (temp7)
13581 delete arg7;
13582 }
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13590 wxString result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (arg1)->GetPath();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 {
13607 #if wxUSE_UNICODE
13608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13609 #else
13610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13611 #endif
13612 }
13613 return resultobj;
13614 fail:
13615 return NULL;
13616 }
13617
13618
13619 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13622 wxString result;
13623 PyObject * obj0 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail;
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 result = (arg1)->GetMessage();
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 {
13639 #if wxUSE_UNICODE
13640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13641 #else
13642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13643 #endif
13644 }
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13654 long result;
13655 PyObject * obj0 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (long)(arg1)->GetStyle();
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 resultobj = SWIG_From_long((long)(result));
13672 }
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13682 wxString *arg2 = 0 ;
13683 bool temp2 = false ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "message", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
13693 {
13694 arg2 = wxString_in_helper(obj1);
13695 if (arg2 == NULL) SWIG_fail;
13696 temp2 = true;
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetMessage((wxString const &)*arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 {
13707 if (temp2)
13708 delete arg2;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp2)
13714 delete arg2;
13715 }
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13723 wxString *arg2 = 0 ;
13724 bool temp2 = false ;
13725 PyObject * obj0 = 0 ;
13726 PyObject * obj1 = 0 ;
13727 char *kwnames[] = {
13728 (char *) "self",(char *) "path", NULL
13729 };
13730
13731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13733 if (SWIG_arg_fail(1)) SWIG_fail;
13734 {
13735 arg2 = wxString_in_helper(obj1);
13736 if (arg2 == NULL) SWIG_fail;
13737 temp2 = true;
13738 }
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 (arg1)->SetPath((wxString const &)*arg2);
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 Py_INCREF(Py_None); resultobj = Py_None;
13747 {
13748 if (temp2)
13749 delete arg2;
13750 }
13751 return resultobj;
13752 fail:
13753 {
13754 if (temp2)
13755 delete arg2;
13756 }
13757 return NULL;
13758 }
13759
13760
13761 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13762 PyObject *obj;
13763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13765 Py_INCREF(obj);
13766 return Py_BuildValue((char *)"");
13767 }
13768 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxWindow *arg1 = (wxWindow *) 0 ;
13771 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13772 wxString *arg2 = (wxString *) &arg2_defvalue ;
13773 wxString const &arg3_defvalue = wxPyEmptyString ;
13774 wxString *arg3 = (wxString *) &arg3_defvalue ;
13775 wxString const &arg4_defvalue = wxPyEmptyString ;
13776 wxString *arg4 = (wxString *) &arg4_defvalue ;
13777 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13778 wxString *arg5 = (wxString *) &arg5_defvalue ;
13779 long arg6 = (long) 0 ;
13780 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13781 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13782 wxFileDialog *result;
13783 bool temp2 = false ;
13784 bool temp3 = false ;
13785 bool temp4 = false ;
13786 bool temp5 = false ;
13787 wxPoint temp7 ;
13788 PyObject * obj0 = 0 ;
13789 PyObject * obj1 = 0 ;
13790 PyObject * obj2 = 0 ;
13791 PyObject * obj3 = 0 ;
13792 PyObject * obj4 = 0 ;
13793 PyObject * obj5 = 0 ;
13794 PyObject * obj6 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13801 if (SWIG_arg_fail(1)) SWIG_fail;
13802 if (obj1) {
13803 {
13804 arg2 = wxString_in_helper(obj1);
13805 if (arg2 == NULL) SWIG_fail;
13806 temp2 = true;
13807 }
13808 }
13809 if (obj2) {
13810 {
13811 arg3 = wxString_in_helper(obj2);
13812 if (arg3 == NULL) SWIG_fail;
13813 temp3 = true;
13814 }
13815 }
13816 if (obj3) {
13817 {
13818 arg4 = wxString_in_helper(obj3);
13819 if (arg4 == NULL) SWIG_fail;
13820 temp4 = true;
13821 }
13822 }
13823 if (obj4) {
13824 {
13825 arg5 = wxString_in_helper(obj4);
13826 if (arg5 == NULL) SWIG_fail;
13827 temp5 = true;
13828 }
13829 }
13830 if (obj5) {
13831 {
13832 arg6 = (long)(SWIG_As_long(obj5));
13833 if (SWIG_arg_fail(6)) SWIG_fail;
13834 }
13835 }
13836 if (obj6) {
13837 {
13838 arg7 = &temp7;
13839 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13840 }
13841 }
13842 {
13843 if (!wxPyCheckForApp()) SWIG_fail;
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
13851 {
13852 if (temp2)
13853 delete arg2;
13854 }
13855 {
13856 if (temp3)
13857 delete arg3;
13858 }
13859 {
13860 if (temp4)
13861 delete arg4;
13862 }
13863 {
13864 if (temp5)
13865 delete arg5;
13866 }
13867 return resultobj;
13868 fail:
13869 {
13870 if (temp2)
13871 delete arg2;
13872 }
13873 {
13874 if (temp3)
13875 delete arg3;
13876 }
13877 {
13878 if (temp4)
13879 delete arg4;
13880 }
13881 {
13882 if (temp5)
13883 delete arg5;
13884 }
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13892 wxString *arg2 = 0 ;
13893 bool temp2 = false ;
13894 PyObject * obj0 = 0 ;
13895 PyObject * obj1 = 0 ;
13896 char *kwnames[] = {
13897 (char *) "self",(char *) "message", NULL
13898 };
13899
13900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13902 if (SWIG_arg_fail(1)) SWIG_fail;
13903 {
13904 arg2 = wxString_in_helper(obj1);
13905 if (arg2 == NULL) SWIG_fail;
13906 temp2 = true;
13907 }
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 (arg1)->SetMessage((wxString const &)*arg2);
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 Py_INCREF(Py_None); resultobj = Py_None;
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return resultobj;
13921 fail:
13922 {
13923 if (temp2)
13924 delete arg2;
13925 }
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13933 wxString *arg2 = 0 ;
13934 bool temp2 = false ;
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self",(char *) "path", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail;
13944 {
13945 arg2 = wxString_in_helper(obj1);
13946 if (arg2 == NULL) SWIG_fail;
13947 temp2 = true;
13948 }
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 (arg1)->SetPath((wxString const &)*arg2);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 Py_INCREF(Py_None); resultobj = Py_None;
13957 {
13958 if (temp2)
13959 delete arg2;
13960 }
13961 return resultobj;
13962 fail:
13963 {
13964 if (temp2)
13965 delete arg2;
13966 }
13967 return NULL;
13968 }
13969
13970
13971 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13974 wxString *arg2 = 0 ;
13975 bool temp2 = false ;
13976 PyObject * obj0 = 0 ;
13977 PyObject * obj1 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self",(char *) "dir", NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
13983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail;
13985 {
13986 arg2 = wxString_in_helper(obj1);
13987 if (arg2 == NULL) SWIG_fail;
13988 temp2 = true;
13989 }
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 (arg1)->SetDirectory((wxString const &)*arg2);
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 Py_INCREF(Py_None); resultobj = Py_None;
13998 {
13999 if (temp2)
14000 delete arg2;
14001 }
14002 return resultobj;
14003 fail:
14004 {
14005 if (temp2)
14006 delete arg2;
14007 }
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14015 wxString *arg2 = 0 ;
14016 bool temp2 = false ;
14017 PyObject * obj0 = 0 ;
14018 PyObject * obj1 = 0 ;
14019 char *kwnames[] = {
14020 (char *) "self",(char *) "name", NULL
14021 };
14022
14023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail;
14026 {
14027 arg2 = wxString_in_helper(obj1);
14028 if (arg2 == NULL) SWIG_fail;
14029 temp2 = true;
14030 }
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 (arg1)->SetFilename((wxString const &)*arg2);
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 Py_INCREF(Py_None); resultobj = Py_None;
14039 {
14040 if (temp2)
14041 delete arg2;
14042 }
14043 return resultobj;
14044 fail:
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14056 wxString *arg2 = 0 ;
14057 bool temp2 = false ;
14058 PyObject * obj0 = 0 ;
14059 PyObject * obj1 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "wildCard", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14066 if (SWIG_arg_fail(1)) SWIG_fail;
14067 {
14068 arg2 = wxString_in_helper(obj1);
14069 if (arg2 == NULL) SWIG_fail;
14070 temp2 = true;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->SetWildcard((wxString const &)*arg2);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp2)
14088 delete arg2;
14089 }
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14097 long arg2 ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self",(char *) "style", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail;
14107 {
14108 arg2 = (long)(SWIG_As_long(obj1));
14109 if (SWIG_arg_fail(2)) SWIG_fail;
14110 }
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->SetStyle(arg2);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14128 int arg2 ;
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "filterIndex", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail;
14138 {
14139 arg2 = (int)(SWIG_As_int(obj1));
14140 if (SWIG_arg_fail(2)) SWIG_fail;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetFilterIndex(arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14159 wxString result;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail;
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = ((wxFileDialog const *)arg1)->GetMessage();
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 {
14176 #if wxUSE_UNICODE
14177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14178 #else
14179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14180 #endif
14181 }
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj;
14190 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14191 wxString result;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = ((wxFileDialog const *)arg1)->GetPath();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 #if wxUSE_UNICODE
14209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14210 #else
14211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14212 #endif
14213 }
14214 return resultobj;
14215 fail:
14216 return NULL;
14217 }
14218
14219
14220 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj;
14222 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14223 wxString result;
14224 PyObject * obj0 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = ((wxFileDialog const *)arg1)->GetDirectory();
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 {
14240 #if wxUSE_UNICODE
14241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14242 #else
14243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14244 #endif
14245 }
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14255 wxString result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = ((wxFileDialog const *)arg1)->GetFilename();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 #if wxUSE_UNICODE
14273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14274 #else
14275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14276 #endif
14277 }
14278 return resultobj;
14279 fail:
14280 return NULL;
14281 }
14282
14283
14284 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14287 wxString result;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail;
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = ((wxFileDialog const *)arg1)->GetWildcard();
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304 #if wxUSE_UNICODE
14305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14306 #else
14307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14308 #endif
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14319 long result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail;
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 resultobj = SWIG_From_long((long)(result));
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14347 int result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail;
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 {
14364 resultobj = SWIG_From_int((int)(result));
14365 }
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14375 PyObject *result;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 resultobj = result;
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14401 PyObject *result;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = result;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14425 PyObject *obj;
14426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14427 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14428 Py_INCREF(obj);
14429 return Py_BuildValue((char *)"");
14430 }
14431 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxWindow *arg1 = (wxWindow *) 0 ;
14434 wxString *arg2 = 0 ;
14435 wxString *arg3 = 0 ;
14436 int arg4 = (int) 0 ;
14437 wxString *arg5 = (wxString *) NULL ;
14438 long arg6 = (long) wxCHOICEDLG_STYLE ;
14439 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14440 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14441 wxMultiChoiceDialog *result;
14442 bool temp2 = false ;
14443 bool temp3 = false ;
14444 wxPoint temp7 ;
14445 PyObject * obj0 = 0 ;
14446 PyObject * obj1 = 0 ;
14447 PyObject * obj2 = 0 ;
14448 PyObject * obj3 = 0 ;
14449 PyObject * obj4 = 0 ;
14450 PyObject * obj5 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail;
14458 {
14459 arg2 = wxString_in_helper(obj1);
14460 if (arg2 == NULL) SWIG_fail;
14461 temp2 = true;
14462 }
14463 {
14464 arg3 = wxString_in_helper(obj2);
14465 if (arg3 == NULL) SWIG_fail;
14466 temp3 = true;
14467 }
14468 if (obj3) {
14469 {
14470 arg4 = PyList_Size(obj3);
14471 arg5 = wxString_LIST_helper(obj3);
14472 if (arg5 == NULL) SWIG_fail;
14473 }
14474 }
14475 if (obj4) {
14476 {
14477 arg6 = (long)(SWIG_As_long(obj4));
14478 if (SWIG_arg_fail(6)) SWIG_fail;
14479 }
14480 }
14481 if (obj5) {
14482 {
14483 arg7 = &temp7;
14484 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14485 }
14486 }
14487 {
14488 if (!wxPyCheckForApp()) SWIG_fail;
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14496 {
14497 if (temp2)
14498 delete arg2;
14499 }
14500 {
14501 if (temp3)
14502 delete arg3;
14503 }
14504 {
14505 if (arg5) delete [] arg5;
14506 }
14507 return resultobj;
14508 fail:
14509 {
14510 if (temp2)
14511 delete arg2;
14512 }
14513 {
14514 if (temp3)
14515 delete arg3;
14516 }
14517 {
14518 if (arg5) delete [] arg5;
14519 }
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14527 wxArrayInt *arg2 = 0 ;
14528 bool temp2 = false ;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "selections", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail;
14538 {
14539 if (! PySequence_Check(obj1)) {
14540 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14541 SWIG_fail;
14542 }
14543 arg2 = new wxArrayInt;
14544 temp2 = true;
14545 int i, len=PySequence_Length(obj1);
14546 for (i=0; i<len; i++) {
14547 PyObject* item = PySequence_GetItem(obj1, i);
14548 PyObject* number = PyNumber_Int(item);
14549 arg2->Add(PyInt_AS_LONG(number));
14550 Py_DECREF(item);
14551 Py_DECREF(number);
14552 }
14553 }
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 Py_INCREF(Py_None); resultobj = Py_None;
14562 {
14563 if (temp2) delete arg2;
14564 }
14565 return resultobj;
14566 fail:
14567 {
14568 if (temp2) delete arg2;
14569 }
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14577 PyObject *result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = result;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14601 PyObject *obj;
14602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14604 Py_INCREF(obj);
14605 return Py_BuildValue((char *)"");
14606 }
14607 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxWindow *arg1 = (wxWindow *) 0 ;
14610 wxString *arg2 = 0 ;
14611 wxString *arg3 = 0 ;
14612 int arg4 ;
14613 wxString *arg5 = (wxString *) 0 ;
14614 long arg6 = (long) wxCHOICEDLG_STYLE ;
14615 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14616 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14617 wxSingleChoiceDialog *result;
14618 bool temp2 = false ;
14619 bool temp3 = false ;
14620 wxPoint temp7 ;
14621 PyObject * obj0 = 0 ;
14622 PyObject * obj1 = 0 ;
14623 PyObject * obj2 = 0 ;
14624 PyObject * obj3 = 0 ;
14625 PyObject * obj4 = 0 ;
14626 PyObject * obj5 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail;
14634 {
14635 arg2 = wxString_in_helper(obj1);
14636 if (arg2 == NULL) SWIG_fail;
14637 temp2 = true;
14638 }
14639 {
14640 arg3 = wxString_in_helper(obj2);
14641 if (arg3 == NULL) SWIG_fail;
14642 temp3 = true;
14643 }
14644 {
14645 arg4 = PyList_Size(obj3);
14646 arg5 = wxString_LIST_helper(obj3);
14647 if (arg5 == NULL) SWIG_fail;
14648 }
14649 if (obj4) {
14650 {
14651 arg6 = (long)(SWIG_As_long(obj4));
14652 if (SWIG_arg_fail(6)) SWIG_fail;
14653 }
14654 }
14655 if (obj5) {
14656 {
14657 arg7 = &temp7;
14658 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14659 }
14660 }
14661 {
14662 if (!wxPyCheckForApp()) SWIG_fail;
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 {
14679 if (arg5) delete [] arg5;
14680 }
14681 return resultobj;
14682 fail:
14683 {
14684 if (temp2)
14685 delete arg2;
14686 }
14687 {
14688 if (temp3)
14689 delete arg3;
14690 }
14691 {
14692 if (arg5) delete [] arg5;
14693 }
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14701 int result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (int)(arg1)->GetSelection();
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 {
14718 resultobj = SWIG_From_int((int)(result));
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14729 wxString result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail;
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (arg1)->GetStringSelection();
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 {
14746 #if wxUSE_UNICODE
14747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14748 #else
14749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14750 #endif
14751 }
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14761 int arg2 ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self",(char *) "sel", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail;
14771 {
14772 arg2 = (int)(SWIG_As_int(obj1));
14773 if (SWIG_arg_fail(2)) SWIG_fail;
14774 }
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 (arg1)->SetSelection(arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14790 PyObject *obj;
14791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14792 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14793 Py_INCREF(obj);
14794 return Py_BuildValue((char *)"");
14795 }
14796 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxWindow *arg1 = (wxWindow *) 0 ;
14799 wxString *arg2 = 0 ;
14800 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14801 wxString *arg3 = (wxString *) &arg3_defvalue ;
14802 wxString const &arg4_defvalue = wxPyEmptyString ;
14803 wxString *arg4 = (wxString *) &arg4_defvalue ;
14804 long arg5 = (long) wxTextEntryDialogStyle ;
14805 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14806 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14807 wxTextEntryDialog *result;
14808 bool temp2 = false ;
14809 bool temp3 = false ;
14810 bool temp4 = false ;
14811 wxPoint temp6 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 PyObject * obj2 = 0 ;
14815 PyObject * obj3 = 0 ;
14816 PyObject * obj4 = 0 ;
14817 PyObject * obj5 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail;
14825 {
14826 arg2 = wxString_in_helper(obj1);
14827 if (arg2 == NULL) SWIG_fail;
14828 temp2 = true;
14829 }
14830 if (obj2) {
14831 {
14832 arg3 = wxString_in_helper(obj2);
14833 if (arg3 == NULL) SWIG_fail;
14834 temp3 = true;
14835 }
14836 }
14837 if (obj3) {
14838 {
14839 arg4 = wxString_in_helper(obj3);
14840 if (arg4 == NULL) SWIG_fail;
14841 temp4 = true;
14842 }
14843 }
14844 if (obj4) {
14845 {
14846 arg5 = (long)(SWIG_As_long(obj4));
14847 if (SWIG_arg_fail(5)) SWIG_fail;
14848 }
14849 }
14850 if (obj5) {
14851 {
14852 arg6 = &temp6;
14853 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14854 }
14855 }
14856 {
14857 if (!wxPyCheckForApp()) SWIG_fail;
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
14865 {
14866 if (temp2)
14867 delete arg2;
14868 }
14869 {
14870 if (temp3)
14871 delete arg3;
14872 }
14873 {
14874 if (temp4)
14875 delete arg4;
14876 }
14877 return resultobj;
14878 fail:
14879 {
14880 if (temp2)
14881 delete arg2;
14882 }
14883 {
14884 if (temp3)
14885 delete arg3;
14886 }
14887 {
14888 if (temp4)
14889 delete arg4;
14890 }
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14898 wxString result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
14905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (arg1)->GetValue();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 {
14915 #if wxUSE_UNICODE
14916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14917 #else
14918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14919 #endif
14920 }
14921 return resultobj;
14922 fail:
14923 return NULL;
14924 }
14925
14926
14927 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14930 wxString *arg2 = 0 ;
14931 bool temp2 = false ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self",(char *) "value", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
14939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail;
14941 {
14942 arg2 = wxString_in_helper(obj1);
14943 if (arg2 == NULL) SWIG_fail;
14944 temp2 = true;
14945 }
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 (arg1)->SetValue((wxString const &)*arg2);
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 Py_INCREF(Py_None); resultobj = Py_None;
14954 {
14955 if (temp2)
14956 delete arg2;
14957 }
14958 return resultobj;
14959 fail:
14960 {
14961 if (temp2)
14962 delete arg2;
14963 }
14964 return NULL;
14965 }
14966
14967
14968 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
14969 PyObject *obj;
14970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
14972 Py_INCREF(obj);
14973 return Py_BuildValue((char *)"");
14974 }
14975 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
14976 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
14977 return 1;
14978 }
14979
14980
14981 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
14982 PyObject *pyobj;
14983
14984 {
14985 #if wxUSE_UNICODE
14986 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14987 #else
14988 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14989 #endif
14990 }
14991 return pyobj;
14992 }
14993
14994
14995 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxWindow *arg1 = (wxWindow *) 0 ;
14998 wxString *arg2 = 0 ;
14999 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15000 wxString *arg3 = (wxString *) &arg3_defvalue ;
15001 wxString const &arg4_defvalue = wxPyEmptyString ;
15002 wxString *arg4 = (wxString *) &arg4_defvalue ;
15003 long arg5 = (long) wxTextEntryDialogStyle ;
15004 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15005 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15006 wxPasswordEntryDialog *result;
15007 bool temp2 = false ;
15008 bool temp3 = false ;
15009 bool temp4 = false ;
15010 wxPoint temp6 ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 PyObject * obj2 = 0 ;
15014 PyObject * obj3 = 0 ;
15015 PyObject * obj4 = 0 ;
15016 PyObject * obj5 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15023 if (SWIG_arg_fail(1)) SWIG_fail;
15024 {
15025 arg2 = wxString_in_helper(obj1);
15026 if (arg2 == NULL) SWIG_fail;
15027 temp2 = true;
15028 }
15029 if (obj2) {
15030 {
15031 arg3 = wxString_in_helper(obj2);
15032 if (arg3 == NULL) SWIG_fail;
15033 temp3 = true;
15034 }
15035 }
15036 if (obj3) {
15037 {
15038 arg4 = wxString_in_helper(obj3);
15039 if (arg4 == NULL) SWIG_fail;
15040 temp4 = true;
15041 }
15042 }
15043 if (obj4) {
15044 {
15045 arg5 = (long)(SWIG_As_long(obj4));
15046 if (SWIG_arg_fail(5)) SWIG_fail;
15047 }
15048 }
15049 if (obj5) {
15050 {
15051 arg6 = &temp6;
15052 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15053 }
15054 }
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15063 {
15064 if (temp2)
15065 delete arg2;
15066 }
15067 {
15068 if (temp3)
15069 delete arg3;
15070 }
15071 {
15072 if (temp4)
15073 delete arg4;
15074 }
15075 return resultobj;
15076 fail:
15077 {
15078 if (temp2)
15079 delete arg2;
15080 }
15081 {
15082 if (temp3)
15083 delete arg3;
15084 }
15085 {
15086 if (temp4)
15087 delete arg4;
15088 }
15089 return NULL;
15090 }
15091
15092
15093 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15094 PyObject *obj;
15095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15096 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15097 Py_INCREF(obj);
15098 return Py_BuildValue((char *)"");
15099 }
15100 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxFontData *result;
15103 char *kwnames[] = {
15104 NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxFontData *)new wxFontData();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxFontData *arg1 = (wxFontData *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 delete arg1;
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxFontData *arg1 = (wxFontData *) 0 ;
15150 bool arg2 ;
15151 PyObject * obj0 = 0 ;
15152 PyObject * obj1 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self",(char *) "enable", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail;
15160 {
15161 arg2 = (bool)(SWIG_As_bool(obj1));
15162 if (SWIG_arg_fail(2)) SWIG_fail;
15163 }
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->EnableEffects(arg2);
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 Py_INCREF(Py_None); resultobj = Py_None;
15172 return resultobj;
15173 fail:
15174 return NULL;
15175 }
15176
15177
15178 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxFontData *arg1 = (wxFontData *) 0 ;
15181 bool result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail;
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (bool)(arg1)->GetAllowSymbols();
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 {
15198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15199 }
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxFontData *arg1 = (wxFontData *) 0 ;
15209 wxColour result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail;
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (arg1)->GetColour();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 wxColour * resultptr;
15227 resultptr = new wxColour((wxColour &)(result));
15228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15229 }
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxFontData *arg1 = (wxFontData *) 0 ;
15239 wxFont result;
15240 PyObject * obj0 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (arg1)->GetChosenFont();
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 {
15256 wxFont * resultptr;
15257 resultptr = new wxFont((wxFont &)(result));
15258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15259 }
15260 return resultobj;
15261 fail:
15262 return NULL;
15263 }
15264
15265
15266 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxFontData *arg1 = (wxFontData *) 0 ;
15269 bool result;
15270 PyObject * obj0 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail;
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (bool)(arg1)->GetEnableEffects();
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15287 }
15288 return resultobj;
15289 fail:
15290 return NULL;
15291 }
15292
15293
15294 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxFontData *arg1 = (wxFontData *) 0 ;
15297 wxFont result;
15298 PyObject * obj0 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail;
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 result = (arg1)->GetInitialFont();
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 {
15314 wxFont * resultptr;
15315 resultptr = new wxFont((wxFont &)(result));
15316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15317 }
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxFontData *arg1 = (wxFontData *) 0 ;
15327 bool result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (bool)(arg1)->GetShowHelp();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15345 }
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxFontData *arg1 = (wxFontData *) 0 ;
15355 bool arg2 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "allowSymbols", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
15365 {
15366 arg2 = (bool)(SWIG_As_bool(obj1));
15367 if (SWIG_arg_fail(2)) SWIG_fail;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->SetAllowSymbols(arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxFontData *arg1 = (wxFontData *) 0 ;
15386 wxFont *arg2 = 0 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "font", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail;
15396 {
15397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15398 if (SWIG_arg_fail(2)) SWIG_fail;
15399 if (arg2 == NULL) {
15400 SWIG_null_ref("wxFont");
15401 }
15402 if (SWIG_arg_fail(2)) SWIG_fail;
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetChosenFont((wxFont const &)*arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 wxFontData *arg1 = (wxFontData *) 0 ;
15421 wxColour *arg2 = 0 ;
15422 wxColour temp2 ;
15423 PyObject * obj0 = 0 ;
15424 PyObject * obj1 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self",(char *) "colour", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail;
15432 {
15433 arg2 = &temp2;
15434 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15435 }
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 (arg1)->SetColour((wxColour const &)*arg2);
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 Py_INCREF(Py_None); resultobj = Py_None;
15444 return resultobj;
15445 fail:
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxFontData *arg1 = (wxFontData *) 0 ;
15453 wxFont *arg2 = 0 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "font", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
15463 {
15464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15465 if (SWIG_arg_fail(2)) SWIG_fail;
15466 if (arg2 == NULL) {
15467 SWIG_null_ref("wxFont");
15468 }
15469 if (SWIG_arg_fail(2)) SWIG_fail;
15470 }
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetInitialFont((wxFont const &)*arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxFontData *arg1 = (wxFontData *) 0 ;
15488 int arg2 ;
15489 int arg3 ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "min",(char *) "max", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15499 if (SWIG_arg_fail(1)) SWIG_fail;
15500 {
15501 arg2 = (int)(SWIG_As_int(obj1));
15502 if (SWIG_arg_fail(2)) SWIG_fail;
15503 }
15504 {
15505 arg3 = (int)(SWIG_As_int(obj2));
15506 if (SWIG_arg_fail(3)) SWIG_fail;
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetRange(arg2,arg3);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxFontData *arg1 = (wxFontData *) 0 ;
15525 bool arg2 ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "showHelp", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail;
15535 {
15536 arg2 = (bool)(SWIG_As_bool(obj1));
15537 if (SWIG_arg_fail(2)) SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetShowHelp(arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15554 PyObject *obj;
15555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15557 Py_INCREF(obj);
15558 return Py_BuildValue((char *)"");
15559 }
15560 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxWindow *arg1 = (wxWindow *) 0 ;
15563 wxFontData *arg2 = 0 ;
15564 wxFontDialog *result;
15565 PyObject * obj0 = 0 ;
15566 PyObject * obj1 = 0 ;
15567 char *kwnames[] = {
15568 (char *) "parent",(char *) "data", NULL
15569 };
15570
15571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail;
15574 {
15575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15576 if (SWIG_arg_fail(2)) SWIG_fail;
15577 if (arg2 == NULL) {
15578 SWIG_null_ref("wxFontData");
15579 }
15580 if (SWIG_arg_fail(2)) SWIG_fail;
15581 }
15582 {
15583 if (!wxPyCheckForApp()) SWIG_fail;
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15600 wxFontData *result;
15601 PyObject * obj0 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail;
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 {
15612 wxFontData &_result_ref = (arg1)->GetFontData();
15613 result = (wxFontData *) &_result_ref;
15614 }
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15627 PyObject *obj;
15628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15630 Py_INCREF(obj);
15631 return Py_BuildValue((char *)"");
15632 }
15633 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxWindow *arg1 = (wxWindow *) 0 ;
15636 wxString *arg2 = 0 ;
15637 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15638 wxString *arg3 = (wxString *) &arg3_defvalue ;
15639 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15642 wxMessageDialog *result;
15643 bool temp2 = false ;
15644 bool temp3 = false ;
15645 wxPoint temp5 ;
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 PyObject * obj2 = 0 ;
15649 PyObject * obj3 = 0 ;
15650 PyObject * obj4 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
15661 temp2 = true;
15662 }
15663 if (obj2) {
15664 {
15665 arg3 = wxString_in_helper(obj2);
15666 if (arg3 == NULL) SWIG_fail;
15667 temp3 = true;
15668 }
15669 }
15670 if (obj3) {
15671 {
15672 arg4 = (long)(SWIG_As_long(obj3));
15673 if (SWIG_arg_fail(4)) SWIG_fail;
15674 }
15675 }
15676 if (obj4) {
15677 {
15678 arg5 = &temp5;
15679 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15680 }
15681 }
15682 {
15683 if (!wxPyCheckForApp()) SWIG_fail;
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15691 {
15692 if (temp2)
15693 delete arg2;
15694 }
15695 {
15696 if (temp3)
15697 delete arg3;
15698 }
15699 return resultobj;
15700 fail:
15701 {
15702 if (temp2)
15703 delete arg2;
15704 }
15705 {
15706 if (temp3)
15707 delete arg3;
15708 }
15709 return NULL;
15710 }
15711
15712
15713 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15714 PyObject *obj;
15715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15717 Py_INCREF(obj);
15718 return Py_BuildValue((char *)"");
15719 }
15720 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxString *arg1 = 0 ;
15723 wxString *arg2 = 0 ;
15724 int arg3 = (int) 100 ;
15725 wxWindow *arg4 = (wxWindow *) NULL ;
15726 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15727 wxProgressDialog *result;
15728 bool temp1 = false ;
15729 bool temp2 = false ;
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 PyObject * obj2 = 0 ;
15733 PyObject * obj3 = 0 ;
15734 PyObject * obj4 = 0 ;
15735 char *kwnames[] = {
15736 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15737 };
15738
15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15740 {
15741 arg1 = wxString_in_helper(obj0);
15742 if (arg1 == NULL) SWIG_fail;
15743 temp1 = true;
15744 }
15745 {
15746 arg2 = wxString_in_helper(obj1);
15747 if (arg2 == NULL) SWIG_fail;
15748 temp2 = true;
15749 }
15750 if (obj2) {
15751 {
15752 arg3 = (int)(SWIG_As_int(obj2));
15753 if (SWIG_arg_fail(3)) SWIG_fail;
15754 }
15755 }
15756 if (obj3) {
15757 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15758 if (SWIG_arg_fail(4)) SWIG_fail;
15759 }
15760 if (obj4) {
15761 {
15762 arg5 = (int)(SWIG_As_int(obj4));
15763 if (SWIG_arg_fail(5)) SWIG_fail;
15764 }
15765 }
15766 {
15767 if (!wxPyCheckForApp()) SWIG_fail;
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15775 {
15776 if (temp1)
15777 delete arg1;
15778 }
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 return resultobj;
15784 fail:
15785 {
15786 if (temp1)
15787 delete arg1;
15788 }
15789 {
15790 if (temp2)
15791 delete arg2;
15792 }
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15800 int arg2 ;
15801 wxString const &arg3_defvalue = wxPyEmptyString ;
15802 wxString *arg3 = (wxString *) &arg3_defvalue ;
15803 bool result;
15804 bool temp3 = false ;
15805 PyObject * obj0 = 0 ;
15806 PyObject * obj1 = 0 ;
15807 PyObject * obj2 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail;
15815 {
15816 arg2 = (int)(SWIG_As_int(obj1));
15817 if (SWIG_arg_fail(2)) SWIG_fail;
15818 }
15819 if (obj2) {
15820 {
15821 arg3 = wxString_in_helper(obj2);
15822 if (arg3 == NULL) SWIG_fail;
15823 temp3 = true;
15824 }
15825 }
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 {
15834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15835 }
15836 {
15837 if (temp3)
15838 delete arg3;
15839 }
15840 return resultobj;
15841 fail:
15842 {
15843 if (temp3)
15844 delete arg3;
15845 }
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15853 PyObject * obj0 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail;
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 (arg1)->Resume();
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 Py_INCREF(Py_None); resultobj = Py_None;
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
15876 PyObject *obj;
15877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15878 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15879 Py_INCREF(obj);
15880 return Py_BuildValue((char *)"");
15881 }
15882 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15883 PyObject *resultobj;
15884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15885 int arg2 = (int) 0 ;
15886 wxFindDialogEvent *result;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "commandType",(char *) "id", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15894 if (obj0) {
15895 {
15896 arg1 = (wxEventType)(SWIG_As_int(obj0));
15897 if (SWIG_arg_fail(1)) SWIG_fail;
15898 }
15899 }
15900 if (obj1) {
15901 {
15902 arg2 = (int)(SWIG_As_int(obj1));
15903 if (SWIG_arg_fail(2)) SWIG_fail;
15904 }
15905 }
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15923 int result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (int)(arg1)->GetFlags();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = SWIG_From_int((int)(result));
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15951 wxString *result;
15952 PyObject * obj0 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail;
15960 {
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 {
15963 wxString const &_result_ref = (arg1)->GetFindString();
15964 result = (wxString *) &_result_ref;
15965 }
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 {
15971 #if wxUSE_UNICODE
15972 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15973 #else
15974 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15975 #endif
15976 }
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15986 wxString *result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 {
15998 wxString const &_result_ref = (arg1)->GetReplaceString();
15999 result = (wxString *) &_result_ref;
16000 }
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 {
16006 #if wxUSE_UNICODE
16007 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16008 #else
16009 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16010 #endif
16011 }
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16021 wxFindReplaceDialog *result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16047 int arg2 ;
16048 PyObject * obj0 = 0 ;
16049 PyObject * obj1 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self",(char *) "flags", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail;
16057 {
16058 arg2 = (int)(SWIG_As_int(obj1));
16059 if (SWIG_arg_fail(2)) SWIG_fail;
16060 }
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->SetFlags(arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16078 wxString *arg2 = 0 ;
16079 bool temp2 = false ;
16080 PyObject * obj0 = 0 ;
16081 PyObject * obj1 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self",(char *) "str", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail;
16089 {
16090 arg2 = wxString_in_helper(obj1);
16091 if (arg2 == NULL) SWIG_fail;
16092 temp2 = true;
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 (arg1)->SetFindString((wxString const &)*arg2);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 Py_INCREF(Py_None); resultobj = Py_None;
16102 {
16103 if (temp2)
16104 delete arg2;
16105 }
16106 return resultobj;
16107 fail:
16108 {
16109 if (temp2)
16110 delete arg2;
16111 }
16112 return NULL;
16113 }
16114
16115
16116 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16119 wxString *arg2 = 0 ;
16120 bool temp2 = false ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self",(char *) "str", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail;
16130 {
16131 arg2 = wxString_in_helper(obj1);
16132 if (arg2 == NULL) SWIG_fail;
16133 temp2 = true;
16134 }
16135 {
16136 PyThreadState* __tstate = wxPyBeginAllowThreads();
16137 (arg1)->SetReplaceString((wxString const &)*arg2);
16138
16139 wxPyEndAllowThreads(__tstate);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 Py_INCREF(Py_None); resultobj = Py_None;
16143 {
16144 if (temp2)
16145 delete arg2;
16146 }
16147 return resultobj;
16148 fail:
16149 {
16150 if (temp2)
16151 delete arg2;
16152 }
16153 return NULL;
16154 }
16155
16156
16157 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16158 PyObject *obj;
16159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16160 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16161 Py_INCREF(obj);
16162 return Py_BuildValue((char *)"");
16163 }
16164 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 int arg1 = (int) 0 ;
16167 wxFindReplaceData *result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "flags", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16174 if (obj0) {
16175 {
16176 arg1 = (int)(SWIG_As_int(obj0));
16177 if (SWIG_arg_fail(1)) SWIG_fail;
16178 }
16179 }
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 delete arg1;
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 Py_INCREF(Py_None); resultobj = Py_None;
16213 return resultobj;
16214 fail:
16215 return NULL;
16216 }
16217
16218
16219 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16222 wxString *result;
16223 PyObject * obj0 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 {
16234 wxString const &_result_ref = (arg1)->GetFindString();
16235 result = (wxString *) &_result_ref;
16236 }
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 {
16242 #if wxUSE_UNICODE
16243 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16244 #else
16245 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16246 #endif
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16257 wxString *result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 {
16269 wxString const &_result_ref = (arg1)->GetReplaceString();
16270 result = (wxString *) &_result_ref;
16271 }
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 {
16277 #if wxUSE_UNICODE
16278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16279 #else
16280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16281 #endif
16282 }
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16292 int result;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (int)(arg1)->GetFlags();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 resultobj = SWIG_From_int((int)(result));
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16320 int arg2 ;
16321 PyObject * obj0 = 0 ;
16322 PyObject * obj1 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self",(char *) "flags", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail;
16330 {
16331 arg2 = (int)(SWIG_As_int(obj1));
16332 if (SWIG_arg_fail(2)) SWIG_fail;
16333 }
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 (arg1)->SetFlags(arg2);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 Py_INCREF(Py_None); resultobj = Py_None;
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16351 wxString *arg2 = 0 ;
16352 bool temp2 = false ;
16353 PyObject * obj0 = 0 ;
16354 PyObject * obj1 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self",(char *) "str", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail;
16362 {
16363 arg2 = wxString_in_helper(obj1);
16364 if (arg2 == NULL) SWIG_fail;
16365 temp2 = true;
16366 }
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->SetFindString((wxString const &)*arg2);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 {
16376 if (temp2)
16377 delete arg2;
16378 }
16379 return resultobj;
16380 fail:
16381 {
16382 if (temp2)
16383 delete arg2;
16384 }
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16392 wxString *arg2 = 0 ;
16393 bool temp2 = false ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self",(char *) "str", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail;
16403 {
16404 arg2 = wxString_in_helper(obj1);
16405 if (arg2 == NULL) SWIG_fail;
16406 temp2 = true;
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 (arg1)->SetReplaceString((wxString const &)*arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 Py_INCREF(Py_None); resultobj = Py_None;
16416 {
16417 if (temp2)
16418 delete arg2;
16419 }
16420 return resultobj;
16421 fail:
16422 {
16423 if (temp2)
16424 delete arg2;
16425 }
16426 return NULL;
16427 }
16428
16429
16430 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16431 PyObject *obj;
16432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16434 Py_INCREF(obj);
16435 return Py_BuildValue((char *)"");
16436 }
16437 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxWindow *arg1 = (wxWindow *) 0 ;
16440 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16441 wxString *arg3 = 0 ;
16442 int arg4 = (int) 0 ;
16443 wxFindReplaceDialog *result;
16444 bool temp3 = false ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 PyObject * obj2 = 0 ;
16448 PyObject * obj3 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
16456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16457 if (SWIG_arg_fail(2)) SWIG_fail;
16458 {
16459 arg3 = wxString_in_helper(obj2);
16460 if (arg3 == NULL) SWIG_fail;
16461 temp3 = true;
16462 }
16463 if (obj3) {
16464 {
16465 arg4 = (int)(SWIG_As_int(obj3));
16466 if (SWIG_arg_fail(4)) SWIG_fail;
16467 }
16468 }
16469 {
16470 if (!wxPyCheckForApp()) SWIG_fail;
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16478 {
16479 if (temp3)
16480 delete arg3;
16481 }
16482 return resultobj;
16483 fail:
16484 {
16485 if (temp3)
16486 delete arg3;
16487 }
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxFindReplaceDialog *result;
16495 char *kwnames[] = {
16496 NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16500 {
16501 if (!wxPyCheckForApp()) SWIG_fail;
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16518 wxWindow *arg2 = (wxWindow *) 0 ;
16519 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16520 wxString *arg4 = 0 ;
16521 int arg5 = (int) 0 ;
16522 bool result;
16523 bool temp4 = false ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 PyObject * obj2 = 0 ;
16527 PyObject * obj3 = 0 ;
16528 PyObject * obj4 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail;
16536 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16537 if (SWIG_arg_fail(2)) SWIG_fail;
16538 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16539 if (SWIG_arg_fail(3)) SWIG_fail;
16540 {
16541 arg4 = wxString_in_helper(obj3);
16542 if (arg4 == NULL) SWIG_fail;
16543 temp4 = true;
16544 }
16545 if (obj4) {
16546 {
16547 arg5 = (int)(SWIG_As_int(obj4));
16548 if (SWIG_arg_fail(5)) SWIG_fail;
16549 }
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16560 }
16561 {
16562 if (temp4)
16563 delete arg4;
16564 }
16565 return resultobj;
16566 fail:
16567 {
16568 if (temp4)
16569 delete arg4;
16570 }
16571 return NULL;
16572 }
16573
16574
16575 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16578 wxFindReplaceData *result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail;
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (wxFindReplaceData *)(arg1)->GetData();
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16604 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "data", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail;
16614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 (arg1)->SetData(arg2);
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16631 PyObject *obj;
16632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16634 Py_INCREF(obj);
16635 return Py_BuildValue((char *)"");
16636 }
16637 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxWindow *arg1 = (wxWindow *) 0 ;
16640 int arg2 = (int) (int)-1 ;
16641 wxString const &arg3_defvalue = wxPyEmptyString ;
16642 wxString *arg3 = (wxString *) &arg3_defvalue ;
16643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16645 wxSize const &arg5_defvalue = wxDefaultSize ;
16646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16647 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16648 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16649 wxString *arg7 = (wxString *) &arg7_defvalue ;
16650 wxMDIParentFrame *result;
16651 bool temp3 = false ;
16652 wxPoint temp4 ;
16653 wxSize temp5 ;
16654 bool temp7 = false ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 PyObject * obj3 = 0 ;
16659 PyObject * obj4 = 0 ;
16660 PyObject * obj5 = 0 ;
16661 PyObject * obj6 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail;
16669 if (obj1) {
16670 {
16671 arg2 = (int const)(SWIG_As_int(obj1));
16672 if (SWIG_arg_fail(2)) SWIG_fail;
16673 }
16674 }
16675 if (obj2) {
16676 {
16677 arg3 = wxString_in_helper(obj2);
16678 if (arg3 == NULL) SWIG_fail;
16679 temp3 = true;
16680 }
16681 }
16682 if (obj3) {
16683 {
16684 arg4 = &temp4;
16685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16686 }
16687 }
16688 if (obj4) {
16689 {
16690 arg5 = &temp5;
16691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16692 }
16693 }
16694 if (obj5) {
16695 {
16696 arg6 = (long)(SWIG_As_long(obj5));
16697 if (SWIG_arg_fail(6)) SWIG_fail;
16698 }
16699 }
16700 if (obj6) {
16701 {
16702 arg7 = wxString_in_helper(obj6);
16703 if (arg7 == NULL) SWIG_fail;
16704 temp7 = true;
16705 }
16706 }
16707 {
16708 if (!wxPyCheckForApp()) SWIG_fail;
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16716 {
16717 if (temp3)
16718 delete arg3;
16719 }
16720 {
16721 if (temp7)
16722 delete arg7;
16723 }
16724 return resultobj;
16725 fail:
16726 {
16727 if (temp3)
16728 delete arg3;
16729 }
16730 {
16731 if (temp7)
16732 delete arg7;
16733 }
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxMDIParentFrame *result;
16741 char *kwnames[] = {
16742 NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16746 {
16747 if (!wxPyCheckForApp()) SWIG_fail;
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16764 wxWindow *arg2 = (wxWindow *) 0 ;
16765 int arg3 = (int) (int)-1 ;
16766 wxString const &arg4_defvalue = wxPyEmptyString ;
16767 wxString *arg4 = (wxString *) &arg4_defvalue ;
16768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16770 wxSize const &arg6_defvalue = wxDefaultSize ;
16771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16772 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16773 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16774 wxString *arg8 = (wxString *) &arg8_defvalue ;
16775 bool result;
16776 bool temp4 = false ;
16777 wxPoint temp5 ;
16778 wxSize temp6 ;
16779 bool temp8 = false ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 PyObject * obj2 = 0 ;
16783 PyObject * obj3 = 0 ;
16784 PyObject * obj4 = 0 ;
16785 PyObject * obj5 = 0 ;
16786 PyObject * obj6 = 0 ;
16787 PyObject * obj7 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16790 };
16791
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail;
16795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16796 if (SWIG_arg_fail(2)) SWIG_fail;
16797 if (obj2) {
16798 {
16799 arg3 = (int const)(SWIG_As_int(obj2));
16800 if (SWIG_arg_fail(3)) SWIG_fail;
16801 }
16802 }
16803 if (obj3) {
16804 {
16805 arg4 = wxString_in_helper(obj3);
16806 if (arg4 == NULL) SWIG_fail;
16807 temp4 = true;
16808 }
16809 }
16810 if (obj4) {
16811 {
16812 arg5 = &temp5;
16813 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16814 }
16815 }
16816 if (obj5) {
16817 {
16818 arg6 = &temp6;
16819 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16820 }
16821 }
16822 if (obj6) {
16823 {
16824 arg7 = (long)(SWIG_As_long(obj6));
16825 if (SWIG_arg_fail(7)) SWIG_fail;
16826 }
16827 }
16828 if (obj7) {
16829 {
16830 arg8 = wxString_in_helper(obj7);
16831 if (arg8 == NULL) SWIG_fail;
16832 temp8 = true;
16833 }
16834 }
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 {
16843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16844 }
16845 {
16846 if (temp4)
16847 delete arg4;
16848 }
16849 {
16850 if (temp8)
16851 delete arg8;
16852 }
16853 return resultobj;
16854 fail:
16855 {
16856 if (temp4)
16857 delete arg4;
16858 }
16859 {
16860 if (temp8)
16861 delete arg8;
16862 }
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
16876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail;
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->ActivateNext();
16881
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 Py_INCREF(Py_None); resultobj = Py_None;
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj;
16894 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
16901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16902 if (SWIG_arg_fail(1)) SWIG_fail;
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 (arg1)->ActivatePrevious();
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 Py_INCREF(Py_None); resultobj = Py_None;
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16920 PyObject * obj0 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "self", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
16926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail;
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->ArrangeIcons();
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
16951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 (arg1)->Cascade();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 Py_INCREF(Py_None); resultobj = Py_None;
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16970 wxMDIChildFrame *result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
16977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail;
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 resultobj = wxPyMake_wxObject(result, 0);
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16998 wxMDIClientWindow *result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015 resultobj = wxPyMake_wxObject(result, 0);
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17026 wxWindow *result;
17027 PyObject * obj0 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = (wxWindow *)(arg1)->GetToolBar();
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 {
17043 resultobj = wxPyMake_wxObject(result, 0);
17044 }
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17054 PyObject * obj0 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
17060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail;
17062 {
17063 PyThreadState* __tstate = wxPyBeginAllowThreads();
17064 (arg1)->Tile();
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 Py_INCREF(Py_None); resultobj = Py_None;
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17077 PyObject *obj;
17078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17079 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17080 Py_INCREF(obj);
17081 return Py_BuildValue((char *)"");
17082 }
17083 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17084 PyObject *resultobj;
17085 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17086 int arg2 = (int) (int)-1 ;
17087 wxString const &arg3_defvalue = wxPyEmptyString ;
17088 wxString *arg3 = (wxString *) &arg3_defvalue ;
17089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17091 wxSize const &arg5_defvalue = wxDefaultSize ;
17092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17093 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17094 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17095 wxString *arg7 = (wxString *) &arg7_defvalue ;
17096 wxMDIChildFrame *result;
17097 bool temp3 = false ;
17098 wxPoint temp4 ;
17099 wxSize temp5 ;
17100 bool temp7 = false ;
17101 PyObject * obj0 = 0 ;
17102 PyObject * obj1 = 0 ;
17103 PyObject * obj2 = 0 ;
17104 PyObject * obj3 = 0 ;
17105 PyObject * obj4 = 0 ;
17106 PyObject * obj5 = 0 ;
17107 PyObject * obj6 = 0 ;
17108 char *kwnames[] = {
17109 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17110 };
17111
17112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail;
17115 if (obj1) {
17116 {
17117 arg2 = (int const)(SWIG_As_int(obj1));
17118 if (SWIG_arg_fail(2)) SWIG_fail;
17119 }
17120 }
17121 if (obj2) {
17122 {
17123 arg3 = wxString_in_helper(obj2);
17124 if (arg3 == NULL) SWIG_fail;
17125 temp3 = true;
17126 }
17127 }
17128 if (obj3) {
17129 {
17130 arg4 = &temp4;
17131 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17132 }
17133 }
17134 if (obj4) {
17135 {
17136 arg5 = &temp5;
17137 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17138 }
17139 }
17140 if (obj5) {
17141 {
17142 arg6 = (long)(SWIG_As_long(obj5));
17143 if (SWIG_arg_fail(6)) SWIG_fail;
17144 }
17145 }
17146 if (obj6) {
17147 {
17148 arg7 = wxString_in_helper(obj6);
17149 if (arg7 == NULL) SWIG_fail;
17150 temp7 = true;
17151 }
17152 }
17153 {
17154 if (!wxPyCheckForApp()) SWIG_fail;
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17162 {
17163 if (temp3)
17164 delete arg3;
17165 }
17166 {
17167 if (temp7)
17168 delete arg7;
17169 }
17170 return resultobj;
17171 fail:
17172 {
17173 if (temp3)
17174 delete arg3;
17175 }
17176 {
17177 if (temp7)
17178 delete arg7;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17185 PyObject *resultobj;
17186 wxMDIChildFrame *result;
17187 char *kwnames[] = {
17188 NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17192 {
17193 if (!wxPyCheckForApp()) SWIG_fail;
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17210 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17211 int arg3 = (int) (int)-1 ;
17212 wxString const &arg4_defvalue = wxPyEmptyString ;
17213 wxString *arg4 = (wxString *) &arg4_defvalue ;
17214 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17215 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17216 wxSize const &arg6_defvalue = wxDefaultSize ;
17217 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17218 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17219 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17220 wxString *arg8 = (wxString *) &arg8_defvalue ;
17221 bool result;
17222 bool temp4 = false ;
17223 wxPoint temp5 ;
17224 wxSize temp6 ;
17225 bool temp8 = false ;
17226 PyObject * obj0 = 0 ;
17227 PyObject * obj1 = 0 ;
17228 PyObject * obj2 = 0 ;
17229 PyObject * obj3 = 0 ;
17230 PyObject * obj4 = 0 ;
17231 PyObject * obj5 = 0 ;
17232 PyObject * obj6 = 0 ;
17233 PyObject * obj7 = 0 ;
17234 char *kwnames[] = {
17235 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17236 };
17237
17238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17240 if (SWIG_arg_fail(1)) SWIG_fail;
17241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17242 if (SWIG_arg_fail(2)) SWIG_fail;
17243 if (obj2) {
17244 {
17245 arg3 = (int const)(SWIG_As_int(obj2));
17246 if (SWIG_arg_fail(3)) SWIG_fail;
17247 }
17248 }
17249 if (obj3) {
17250 {
17251 arg4 = wxString_in_helper(obj3);
17252 if (arg4 == NULL) SWIG_fail;
17253 temp4 = true;
17254 }
17255 }
17256 if (obj4) {
17257 {
17258 arg5 = &temp5;
17259 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17260 }
17261 }
17262 if (obj5) {
17263 {
17264 arg6 = &temp6;
17265 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17266 }
17267 }
17268 if (obj6) {
17269 {
17270 arg7 = (long)(SWIG_As_long(obj6));
17271 if (SWIG_arg_fail(7)) SWIG_fail;
17272 }
17273 }
17274 if (obj7) {
17275 {
17276 arg8 = wxString_in_helper(obj7);
17277 if (arg8 == NULL) SWIG_fail;
17278 temp8 = true;
17279 }
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17290 }
17291 {
17292 if (temp4)
17293 delete arg4;
17294 }
17295 {
17296 if (temp8)
17297 delete arg8;
17298 }
17299 return resultobj;
17300 fail:
17301 {
17302 if (temp4)
17303 delete arg4;
17304 }
17305 {
17306 if (temp8)
17307 delete arg8;
17308 }
17309 return NULL;
17310 }
17311
17312
17313 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17316 PyObject * obj0 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "self", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17323 if (SWIG_arg_fail(1)) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 (arg1)->Activate();
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 Py_INCREF(Py_None); resultobj = Py_None;
17332 return resultobj;
17333 fail:
17334 return NULL;
17335 }
17336
17337
17338 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17339 PyObject *resultobj;
17340 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17341 bool arg2 = (bool) true ;
17342 PyObject * obj0 = 0 ;
17343 PyObject * obj1 = 0 ;
17344 char *kwnames[] = {
17345 (char *) "self",(char *) "maximize", NULL
17346 };
17347
17348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17350 if (SWIG_arg_fail(1)) SWIG_fail;
17351 if (obj1) {
17352 {
17353 arg2 = (bool)(SWIG_As_bool(obj1));
17354 if (SWIG_arg_fail(2)) SWIG_fail;
17355 }
17356 }
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 (arg1)->Maximize(arg2);
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 Py_INCREF(Py_None); resultobj = Py_None;
17365 return resultobj;
17366 fail:
17367 return NULL;
17368 }
17369
17370
17371 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17374 PyObject * obj0 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17381 if (SWIG_arg_fail(1)) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 (arg1)->Restore();
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 Py_INCREF(Py_None); resultobj = Py_None;
17390 return resultobj;
17391 fail:
17392 return NULL;
17393 }
17394
17395
17396 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17397 PyObject *obj;
17398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17399 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17400 Py_INCREF(obj);
17401 return Py_BuildValue((char *)"");
17402 }
17403 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17406 long arg2 = (long) 0 ;
17407 wxMDIClientWindow *result;
17408 PyObject * obj0 = 0 ;
17409 PyObject * obj1 = 0 ;
17410 char *kwnames[] = {
17411 (char *) "parent",(char *) "style", NULL
17412 };
17413
17414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17416 if (SWIG_arg_fail(1)) SWIG_fail;
17417 if (obj1) {
17418 {
17419 arg2 = (long)(SWIG_As_long(obj1));
17420 if (SWIG_arg_fail(2)) SWIG_fail;
17421 }
17422 }
17423 {
17424 if (!wxPyCheckForApp()) SWIG_fail;
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj;
17440 wxMDIClientWindow *result;
17441 char *kwnames[] = {
17442 NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17446 {
17447 if (!wxPyCheckForApp()) SWIG_fail;
17448 PyThreadState* __tstate = wxPyBeginAllowThreads();
17449 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17455 return resultobj;
17456 fail:
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17464 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17465 long arg3 = (long) 0 ;
17466 bool result;
17467 PyObject * obj0 = 0 ;
17468 PyObject * obj1 = 0 ;
17469 PyObject * obj2 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "self",(char *) "parent",(char *) "style", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail;
17477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17478 if (SWIG_arg_fail(2)) SWIG_fail;
17479 if (obj2) {
17480 {
17481 arg3 = (long)(SWIG_As_long(obj2));
17482 if (SWIG_arg_fail(3)) SWIG_fail;
17483 }
17484 }
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (bool)(arg1)->Create(arg2,arg3);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 {
17493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17494 }
17495 return resultobj;
17496 fail:
17497 return NULL;
17498 }
17499
17500
17501 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17502 PyObject *obj;
17503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17505 Py_INCREF(obj);
17506 return Py_BuildValue((char *)"");
17507 }
17508 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxWindow *arg1 = (wxWindow *) 0 ;
17511 int arg2 = (int) (int)-1 ;
17512 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17513 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17514 wxSize const &arg4_defvalue = wxDefaultSize ;
17515 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17516 long arg5 = (long) 0 ;
17517 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17518 wxString *arg6 = (wxString *) &arg6_defvalue ;
17519 wxPyWindow *result;
17520 wxPoint temp3 ;
17521 wxSize temp4 ;
17522 bool temp6 = false ;
17523 PyObject * obj0 = 0 ;
17524 PyObject * obj1 = 0 ;
17525 PyObject * obj2 = 0 ;
17526 PyObject * obj3 = 0 ;
17527 PyObject * obj4 = 0 ;
17528 PyObject * obj5 = 0 ;
17529 char *kwnames[] = {
17530 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17531 };
17532
17533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail;
17536 if (obj1) {
17537 {
17538 arg2 = (int const)(SWIG_As_int(obj1));
17539 if (SWIG_arg_fail(2)) SWIG_fail;
17540 }
17541 }
17542 if (obj2) {
17543 {
17544 arg3 = &temp3;
17545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17546 }
17547 }
17548 if (obj3) {
17549 {
17550 arg4 = &temp4;
17551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17552 }
17553 }
17554 if (obj4) {
17555 {
17556 arg5 = (long)(SWIG_As_long(obj4));
17557 if (SWIG_arg_fail(5)) SWIG_fail;
17558 }
17559 }
17560 if (obj5) {
17561 {
17562 arg6 = wxString_in_helper(obj5);
17563 if (arg6 == NULL) SWIG_fail;
17564 temp6 = true;
17565 }
17566 }
17567 {
17568 if (!wxPyCheckForApp()) SWIG_fail;
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17576 {
17577 if (temp6)
17578 delete arg6;
17579 }
17580 return resultobj;
17581 fail:
17582 {
17583 if (temp6)
17584 delete arg6;
17585 }
17586 return NULL;
17587 }
17588
17589
17590 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17591 PyObject *resultobj;
17592 wxPyWindow *result;
17593 char *kwnames[] = {
17594 NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17598 {
17599 if (!wxPyCheckForApp()) SWIG_fail;
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 result = (wxPyWindow *)new wxPyWindow();
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17607 return resultobj;
17608 fail:
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17616 PyObject *arg2 = (PyObject *) 0 ;
17617 PyObject *arg3 = (PyObject *) 0 ;
17618 PyObject * obj0 = 0 ;
17619 PyObject * obj1 = 0 ;
17620 PyObject * obj2 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self",(char *) "self",(char *) "_class", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17627 if (SWIG_arg_fail(1)) SWIG_fail;
17628 arg2 = obj1;
17629 arg3 = obj2;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 (arg1)->_setCallbackInfo(arg2,arg3);
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 Py_INCREF(Py_None); resultobj = Py_None;
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17647 wxSize *arg2 = 0 ;
17648 wxSize temp2 ;
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 char *kwnames[] = {
17652 (char *) "self",(char *) "size", NULL
17653 };
17654
17655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail;
17658 {
17659 arg2 = &temp2;
17660 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17661 }
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 (arg1)->SetBestSize((wxSize const &)*arg2);
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 Py_INCREF(Py_None); resultobj = Py_None;
17670 return resultobj;
17671 fail:
17672 return NULL;
17673 }
17674
17675
17676 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17677 PyObject *resultobj;
17678 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17679 int arg2 ;
17680 int arg3 ;
17681 int arg4 ;
17682 int arg5 ;
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 PyObject * obj2 = 0 ;
17686 PyObject * obj3 = 0 ;
17687 PyObject * obj4 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17694 if (SWIG_arg_fail(1)) SWIG_fail;
17695 {
17696 arg2 = (int)(SWIG_As_int(obj1));
17697 if (SWIG_arg_fail(2)) SWIG_fail;
17698 }
17699 {
17700 arg3 = (int)(SWIG_As_int(obj2));
17701 if (SWIG_arg_fail(3)) SWIG_fail;
17702 }
17703 {
17704 arg4 = (int)(SWIG_As_int(obj3));
17705 if (SWIG_arg_fail(4)) SWIG_fail;
17706 }
17707 {
17708 arg5 = (int)(SWIG_As_int(obj4));
17709 if (SWIG_arg_fail(5)) SWIG_fail;
17710 }
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 Py_INCREF(Py_None); resultobj = Py_None;
17719 return resultobj;
17720 fail:
17721 return NULL;
17722 }
17723
17724
17725 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17728 int arg2 ;
17729 int arg3 ;
17730 int arg4 ;
17731 int arg5 ;
17732 int arg6 = (int) wxSIZE_AUTO ;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 PyObject * obj2 = 0 ;
17736 PyObject * obj3 = 0 ;
17737 PyObject * obj4 = 0 ;
17738 PyObject * obj5 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17745 if (SWIG_arg_fail(1)) SWIG_fail;
17746 {
17747 arg2 = (int)(SWIG_As_int(obj1));
17748 if (SWIG_arg_fail(2)) SWIG_fail;
17749 }
17750 {
17751 arg3 = (int)(SWIG_As_int(obj2));
17752 if (SWIG_arg_fail(3)) SWIG_fail;
17753 }
17754 {
17755 arg4 = (int)(SWIG_As_int(obj3));
17756 if (SWIG_arg_fail(4)) SWIG_fail;
17757 }
17758 {
17759 arg5 = (int)(SWIG_As_int(obj4));
17760 if (SWIG_arg_fail(5)) SWIG_fail;
17761 }
17762 if (obj5) {
17763 {
17764 arg6 = (int)(SWIG_As_int(obj5));
17765 if (SWIG_arg_fail(6)) SWIG_fail;
17766 }
17767 }
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
17775 Py_INCREF(Py_None); resultobj = Py_None;
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17785 int arg2 ;
17786 int arg3 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 PyObject * obj2 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self",(char *) "width",(char *) "height", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17796 if (SWIG_arg_fail(1)) SWIG_fail;
17797 {
17798 arg2 = (int)(SWIG_As_int(obj1));
17799 if (SWIG_arg_fail(2)) SWIG_fail;
17800 }
17801 {
17802 arg3 = (int)(SWIG_As_int(obj2));
17803 if (SWIG_arg_fail(3)) SWIG_fail;
17804 }
17805 {
17806 PyThreadState* __tstate = wxPyBeginAllowThreads();
17807 (arg1)->base_DoSetClientSize(arg2,arg3);
17808
17809 wxPyEndAllowThreads(__tstate);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 Py_INCREF(Py_None); resultobj = Py_None;
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17822 int arg2 ;
17823 int arg3 ;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 PyObject * obj2 = 0 ;
17827 char *kwnames[] = {
17828 (char *) "self",(char *) "x",(char *) "y", NULL
17829 };
17830
17831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17833 if (SWIG_arg_fail(1)) SWIG_fail;
17834 {
17835 arg2 = (int)(SWIG_As_int(obj1));
17836 if (SWIG_arg_fail(2)) SWIG_fail;
17837 }
17838 {
17839 arg3 = (int)(SWIG_As_int(obj2));
17840 if (SWIG_arg_fail(3)) SWIG_fail;
17841 }
17842 {
17843 PyThreadState* __tstate = wxPyBeginAllowThreads();
17844 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17845
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 Py_INCREF(Py_None); resultobj = Py_None;
17850 return resultobj;
17851 fail:
17852 return NULL;
17853 }
17854
17855
17856 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17857 PyObject *resultobj;
17858 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17859 int *arg2 = (int *) 0 ;
17860 int *arg3 = (int *) 0 ;
17861 int temp2 ;
17862 int res2 = 0 ;
17863 int temp3 ;
17864 int res3 = 0 ;
17865 PyObject * obj0 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self", NULL
17868 };
17869
17870 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17871 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17874 if (SWIG_arg_fail(1)) SWIG_fail;
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 Py_INCREF(Py_None); resultobj = Py_None;
17883 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17884 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17885 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17886 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17896 int *arg2 = (int *) 0 ;
17897 int *arg3 = (int *) 0 ;
17898 int temp2 ;
17899 int res2 = 0 ;
17900 int temp3 ;
17901 int res3 = 0 ;
17902 PyObject * obj0 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "self", NULL
17905 };
17906
17907 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17908 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17911 if (SWIG_arg_fail(1)) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 Py_INCREF(Py_None); resultobj = Py_None;
17920 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17921 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17922 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17923 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17924 return resultobj;
17925 fail:
17926 return NULL;
17927 }
17928
17929
17930 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17933 int *arg2 = (int *) 0 ;
17934 int *arg3 = (int *) 0 ;
17935 int temp2 ;
17936 int res2 = 0 ;
17937 int temp3 ;
17938 int res3 = 0 ;
17939 PyObject * obj0 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self", NULL
17942 };
17943
17944 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17945 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail;
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
17956 Py_INCREF(Py_None); resultobj = Py_None;
17957 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17958 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17959 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17960 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17961 return resultobj;
17962 fail:
17963 return NULL;
17964 }
17965
17966
17967 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17968 PyObject *resultobj;
17969 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17970 wxSize result;
17971 PyObject * obj0 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail;
17979 {
17980 PyThreadState* __tstate = wxPyBeginAllowThreads();
17981 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
17982
17983 wxPyEndAllowThreads(__tstate);
17984 if (PyErr_Occurred()) SWIG_fail;
17985 }
17986 {
17987 wxSize * resultptr;
17988 resultptr = new wxSize((wxSize &)(result));
17989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17990 }
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18000 wxSize result;
18001 PyObject * obj0 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18008 if (SWIG_arg_fail(1)) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 {
18017 wxSize * resultptr;
18018 resultptr = new wxSize((wxSize &)(result));
18019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18020 }
18021 return resultobj;
18022 fail:
18023 return NULL;
18024 }
18025
18026
18027 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18028 PyObject *resultobj;
18029 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18030 PyObject * obj0 = 0 ;
18031 char *kwnames[] = {
18032 (char *) "self", NULL
18033 };
18034
18035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail;
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 (arg1)->base_InitDialog();
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 Py_INCREF(Py_None); resultobj = Py_None;
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18055 bool result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (bool)(arg1)->base_TransferDataToWindow();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 {
18072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18073 }
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18081 PyObject *resultobj;
18082 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18083 bool result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail;
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)(arg1)->base_TransferDataFromWindow();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18111 bool result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail;
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (bool)(arg1)->base_Validate();
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 {
18128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18129 }
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18139 bool result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18167 bool result;
18168 PyObject * obj0 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail;
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 {
18184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18185 }
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18195 wxSize result;
18196 PyObject * obj0 = 0 ;
18197 char *kwnames[] = {
18198 (char *) "self", NULL
18199 };
18200
18201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail;
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 {
18212 wxSize * resultptr;
18213 resultptr = new wxSize((wxSize &)(result));
18214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18215 }
18216 return resultobj;
18217 fail:
18218 return NULL;
18219 }
18220
18221
18222 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18223 PyObject *resultobj;
18224 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18225 wxWindow *arg2 = (wxWindow *) 0 ;
18226 PyObject * obj0 = 0 ;
18227 PyObject * obj1 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self",(char *) "child", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail;
18235 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18236 if (SWIG_arg_fail(2)) SWIG_fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 (arg1)->base_AddChild(arg2);
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 Py_INCREF(Py_None); resultobj = Py_None;
18245 return resultobj;
18246 fail:
18247 return NULL;
18248 }
18249
18250
18251 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18254 wxWindow *arg2 = (wxWindow *) 0 ;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self",(char *) "child", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail;
18264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18265 if (SWIG_arg_fail(2)) SWIG_fail;
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 (arg1)->base_RemoveChild(arg2);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 Py_INCREF(Py_None); resultobj = Py_None;
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18283 bool result;
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail;
18292 {
18293 PyThreadState* __tstate = wxPyBeginAllowThreads();
18294 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18295
18296 wxPyEndAllowThreads(__tstate);
18297 if (PyErr_Occurred()) SWIG_fail;
18298 }
18299 {
18300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18301 }
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18311 wxColour *arg2 = 0 ;
18312 wxColour temp2 ;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "c", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail;
18322 {
18323 arg2 = &temp2;
18324 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18325 }
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 Py_INCREF(Py_None); resultobj = Py_None;
18334 return resultobj;
18335 fail:
18336 return NULL;
18337 }
18338
18339
18340 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18341 PyObject *resultobj;
18342 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18343 wxVisualAttributes result;
18344 PyObject * obj0 = 0 ;
18345 char *kwnames[] = {
18346 (char *) "self", NULL
18347 };
18348
18349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 result = (arg1)->base_GetDefaultAttributes();
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 {
18360 wxVisualAttributes * resultptr;
18361 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18363 }
18364 return resultobj;
18365 fail:
18366 return NULL;
18367 }
18368
18369
18370 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18371 PyObject *obj;
18372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18373 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18374 Py_INCREF(obj);
18375 return Py_BuildValue((char *)"");
18376 }
18377 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18378 PyObject *resultobj;
18379 wxWindow *arg1 = (wxWindow *) 0 ;
18380 int arg2 = (int) (int)-1 ;
18381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18383 wxSize const &arg4_defvalue = wxDefaultSize ;
18384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18385 long arg5 = (long) 0 ;
18386 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18387 wxString *arg6 = (wxString *) &arg6_defvalue ;
18388 wxPyPanel *result;
18389 wxPoint temp3 ;
18390 wxSize temp4 ;
18391 bool temp6 = false ;
18392 PyObject * obj0 = 0 ;
18393 PyObject * obj1 = 0 ;
18394 PyObject * obj2 = 0 ;
18395 PyObject * obj3 = 0 ;
18396 PyObject * obj4 = 0 ;
18397 PyObject * obj5 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18404 if (SWIG_arg_fail(1)) SWIG_fail;
18405 if (obj1) {
18406 {
18407 arg2 = (int const)(SWIG_As_int(obj1));
18408 if (SWIG_arg_fail(2)) SWIG_fail;
18409 }
18410 }
18411 if (obj2) {
18412 {
18413 arg3 = &temp3;
18414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18415 }
18416 }
18417 if (obj3) {
18418 {
18419 arg4 = &temp4;
18420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18421 }
18422 }
18423 if (obj4) {
18424 {
18425 arg5 = (long)(SWIG_As_long(obj4));
18426 if (SWIG_arg_fail(5)) SWIG_fail;
18427 }
18428 }
18429 if (obj5) {
18430 {
18431 arg6 = wxString_in_helper(obj5);
18432 if (arg6 == NULL) SWIG_fail;
18433 temp6 = true;
18434 }
18435 }
18436 {
18437 if (!wxPyCheckForApp()) SWIG_fail;
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18445 {
18446 if (temp6)
18447 delete arg6;
18448 }
18449 return resultobj;
18450 fail:
18451 {
18452 if (temp6)
18453 delete arg6;
18454 }
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxPyPanel *result;
18462 char *kwnames[] = {
18463 NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18467 {
18468 if (!wxPyCheckForApp()) SWIG_fail;
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (wxPyPanel *)new wxPyPanel();
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18476 return resultobj;
18477 fail:
18478 return NULL;
18479 }
18480
18481
18482 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18485 PyObject *arg2 = (PyObject *) 0 ;
18486 PyObject *arg3 = (PyObject *) 0 ;
18487 PyObject * obj0 = 0 ;
18488 PyObject * obj1 = 0 ;
18489 PyObject * obj2 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self",(char *) "self",(char *) "_class", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18496 if (SWIG_arg_fail(1)) SWIG_fail;
18497 arg2 = obj1;
18498 arg3 = obj2;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 (arg1)->_setCallbackInfo(arg2,arg3);
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 Py_INCREF(Py_None); resultobj = Py_None;
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18516 wxSize *arg2 = 0 ;
18517 wxSize temp2 ;
18518 PyObject * obj0 = 0 ;
18519 PyObject * obj1 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self",(char *) "size", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18526 if (SWIG_arg_fail(1)) SWIG_fail;
18527 {
18528 arg2 = &temp2;
18529 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18530 }
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 (arg1)->SetBestSize((wxSize const &)*arg2);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 Py_INCREF(Py_None); resultobj = Py_None;
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18548 int arg2 ;
18549 int arg3 ;
18550 int arg4 ;
18551 int arg5 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 PyObject * obj2 = 0 ;
18555 PyObject * obj3 = 0 ;
18556 PyObject * obj4 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18559 };
18560
18561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18563 if (SWIG_arg_fail(1)) SWIG_fail;
18564 {
18565 arg2 = (int)(SWIG_As_int(obj1));
18566 if (SWIG_arg_fail(2)) SWIG_fail;
18567 }
18568 {
18569 arg3 = (int)(SWIG_As_int(obj2));
18570 if (SWIG_arg_fail(3)) SWIG_fail;
18571 }
18572 {
18573 arg4 = (int)(SWIG_As_int(obj3));
18574 if (SWIG_arg_fail(4)) SWIG_fail;
18575 }
18576 {
18577 arg5 = (int)(SWIG_As_int(obj4));
18578 if (SWIG_arg_fail(5)) SWIG_fail;
18579 }
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 Py_INCREF(Py_None); resultobj = Py_None;
18588 return resultobj;
18589 fail:
18590 return NULL;
18591 }
18592
18593
18594 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18595 PyObject *resultobj;
18596 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18597 int arg2 ;
18598 int arg3 ;
18599 int arg4 ;
18600 int arg5 ;
18601 int arg6 = (int) wxSIZE_AUTO ;
18602 PyObject * obj0 = 0 ;
18603 PyObject * obj1 = 0 ;
18604 PyObject * obj2 = 0 ;
18605 PyObject * obj3 = 0 ;
18606 PyObject * obj4 = 0 ;
18607 PyObject * obj5 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18614 if (SWIG_arg_fail(1)) SWIG_fail;
18615 {
18616 arg2 = (int)(SWIG_As_int(obj1));
18617 if (SWIG_arg_fail(2)) SWIG_fail;
18618 }
18619 {
18620 arg3 = (int)(SWIG_As_int(obj2));
18621 if (SWIG_arg_fail(3)) SWIG_fail;
18622 }
18623 {
18624 arg4 = (int)(SWIG_As_int(obj3));
18625 if (SWIG_arg_fail(4)) SWIG_fail;
18626 }
18627 {
18628 arg5 = (int)(SWIG_As_int(obj4));
18629 if (SWIG_arg_fail(5)) SWIG_fail;
18630 }
18631 if (obj5) {
18632 {
18633 arg6 = (int)(SWIG_As_int(obj5));
18634 if (SWIG_arg_fail(6)) SWIG_fail;
18635 }
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 Py_INCREF(Py_None); resultobj = Py_None;
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18654 int arg2 ;
18655 int arg3 ;
18656 PyObject * obj0 = 0 ;
18657 PyObject * obj1 = 0 ;
18658 PyObject * obj2 = 0 ;
18659 char *kwnames[] = {
18660 (char *) "self",(char *) "width",(char *) "height", NULL
18661 };
18662
18663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18665 if (SWIG_arg_fail(1)) SWIG_fail;
18666 {
18667 arg2 = (int)(SWIG_As_int(obj1));
18668 if (SWIG_arg_fail(2)) SWIG_fail;
18669 }
18670 {
18671 arg3 = (int)(SWIG_As_int(obj2));
18672 if (SWIG_arg_fail(3)) SWIG_fail;
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->base_DoSetClientSize(arg2,arg3);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18691 int arg2 ;
18692 int arg3 ;
18693 PyObject * obj0 = 0 ;
18694 PyObject * obj1 = 0 ;
18695 PyObject * obj2 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self",(char *) "x",(char *) "y", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18702 if (SWIG_arg_fail(1)) SWIG_fail;
18703 {
18704 arg2 = (int)(SWIG_As_int(obj1));
18705 if (SWIG_arg_fail(2)) SWIG_fail;
18706 }
18707 {
18708 arg3 = (int)(SWIG_As_int(obj2));
18709 if (SWIG_arg_fail(3)) SWIG_fail;
18710 }
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 Py_INCREF(Py_None); resultobj = Py_None;
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj;
18727 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18728 int *arg2 = (int *) 0 ;
18729 int *arg3 = (int *) 0 ;
18730 int temp2 ;
18731 int res2 = 0 ;
18732 int temp3 ;
18733 int res3 = 0 ;
18734 PyObject * obj0 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self", NULL
18737 };
18738
18739 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18740 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 Py_INCREF(Py_None); resultobj = Py_None;
18752 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18753 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18754 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18755 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18756 return resultobj;
18757 fail:
18758 return NULL;
18759 }
18760
18761
18762 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18763 PyObject *resultobj;
18764 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18765 int *arg2 = (int *) 0 ;
18766 int *arg3 = (int *) 0 ;
18767 int temp2 ;
18768 int res2 = 0 ;
18769 int temp3 ;
18770 int res3 = 0 ;
18771 PyObject * obj0 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self", NULL
18774 };
18775
18776 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18777 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18780 if (SWIG_arg_fail(1)) SWIG_fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 Py_INCREF(Py_None); resultobj = Py_None;
18789 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18790 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18791 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18792 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18793 return resultobj;
18794 fail:
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18802 int *arg2 = (int *) 0 ;
18803 int *arg3 = (int *) 0 ;
18804 int temp2 ;
18805 int res2 = 0 ;
18806 int temp3 ;
18807 int res3 = 0 ;
18808 PyObject * obj0 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self", NULL
18811 };
18812
18813 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18814 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18817 if (SWIG_arg_fail(1)) SWIG_fail;
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 Py_INCREF(Py_None); resultobj = Py_None;
18826 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18827 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18828 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18829 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18839 wxSize result;
18840 PyObject * obj0 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail;
18848 {
18849 PyThreadState* __tstate = wxPyBeginAllowThreads();
18850 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18851
18852 wxPyEndAllowThreads(__tstate);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 {
18856 wxSize * resultptr;
18857 resultptr = new wxSize((wxSize &)(result));
18858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18859 }
18860 return resultobj;
18861 fail:
18862 return NULL;
18863 }
18864
18865
18866 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18869 wxSize result;
18870 PyObject * obj0 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail;
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 {
18886 wxSize * resultptr;
18887 resultptr = new wxSize((wxSize &)(result));
18888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18889 }
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18899 PyObject * obj0 = 0 ;
18900 char *kwnames[] = {
18901 (char *) "self", NULL
18902 };
18903
18904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
18905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18906 if (SWIG_arg_fail(1)) SWIG_fail;
18907 {
18908 PyThreadState* __tstate = wxPyBeginAllowThreads();
18909 (arg1)->base_InitDialog();
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 Py_INCREF(Py_None); resultobj = Py_None;
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18922 PyObject *resultobj;
18923 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18924 bool result;
18925 PyObject * obj0 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail;
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (bool)(arg1)->base_TransferDataToWindow();
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 {
18941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18942 }
18943 return resultobj;
18944 fail:
18945 return NULL;
18946 }
18947
18948
18949 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18950 PyObject *resultobj;
18951 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18952 bool result;
18953 PyObject * obj0 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (bool)(arg1)->base_TransferDataFromWindow();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 {
18969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18970 }
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18980 bool result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (bool)(arg1)->base_Validate();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18998 }
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19008 bool result;
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19026 }
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19036 bool result;
19037 PyObject * obj0 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "self", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail;
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
19052 {
19053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19054 }
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj;
19063 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19064 wxSize result;
19065 PyObject * obj0 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19072 if (SWIG_arg_fail(1)) SWIG_fail;
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 {
19081 wxSize * resultptr;
19082 resultptr = new wxSize((wxSize &)(result));
19083 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19084 }
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19094 wxWindow *arg2 = (wxWindow *) 0 ;
19095 PyObject * obj0 = 0 ;
19096 PyObject * obj1 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self",(char *) "child", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail;
19104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19105 if (SWIG_arg_fail(2)) SWIG_fail;
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 (arg1)->base_AddChild(arg2);
19109
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 Py_INCREF(Py_None); resultobj = Py_None;
19114 return resultobj;
19115 fail:
19116 return NULL;
19117 }
19118
19119
19120 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19123 wxWindow *arg2 = (wxWindow *) 0 ;
19124 PyObject * obj0 = 0 ;
19125 PyObject * obj1 = 0 ;
19126 char *kwnames[] = {
19127 (char *) "self",(char *) "child", NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail;
19133 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19134 if (SWIG_arg_fail(2)) SWIG_fail;
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 (arg1)->base_RemoveChild(arg2);
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 Py_INCREF(Py_None); resultobj = Py_None;
19143 return resultobj;
19144 fail:
19145 return NULL;
19146 }
19147
19148
19149 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19152 bool result;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 {
19169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19170 }
19171 return resultobj;
19172 fail:
19173 return NULL;
19174 }
19175
19176
19177 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj;
19179 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19180 wxColour *arg2 = 0 ;
19181 wxColour temp2 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj1 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "c", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
19189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail;
19191 {
19192 arg2 = &temp2;
19193 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19194 }
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19212 wxVisualAttributes result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (arg1)->base_GetDefaultAttributes();
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxVisualAttributes * resultptr;
19230 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19240 PyObject *obj;
19241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19242 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19243 Py_INCREF(obj);
19244 return Py_BuildValue((char *)"");
19245 }
19246 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxWindow *arg1 = (wxWindow *) 0 ;
19249 int arg2 = (int) (int)-1 ;
19250 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19251 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19252 wxSize const &arg4_defvalue = wxDefaultSize ;
19253 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19254 long arg5 = (long) 0 ;
19255 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19256 wxString *arg6 = (wxString *) &arg6_defvalue ;
19257 wxPyScrolledWindow *result;
19258 wxPoint temp3 ;
19259 wxSize temp4 ;
19260 bool temp6 = false ;
19261 PyObject * obj0 = 0 ;
19262 PyObject * obj1 = 0 ;
19263 PyObject * obj2 = 0 ;
19264 PyObject * obj3 = 0 ;
19265 PyObject * obj4 = 0 ;
19266 PyObject * obj5 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19273 if (SWIG_arg_fail(1)) SWIG_fail;
19274 if (obj1) {
19275 {
19276 arg2 = (int const)(SWIG_As_int(obj1));
19277 if (SWIG_arg_fail(2)) SWIG_fail;
19278 }
19279 }
19280 if (obj2) {
19281 {
19282 arg3 = &temp3;
19283 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19284 }
19285 }
19286 if (obj3) {
19287 {
19288 arg4 = &temp4;
19289 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19290 }
19291 }
19292 if (obj4) {
19293 {
19294 arg5 = (long)(SWIG_As_long(obj4));
19295 if (SWIG_arg_fail(5)) SWIG_fail;
19296 }
19297 }
19298 if (obj5) {
19299 {
19300 arg6 = wxString_in_helper(obj5);
19301 if (arg6 == NULL) SWIG_fail;
19302 temp6 = true;
19303 }
19304 }
19305 {
19306 if (!wxPyCheckForApp()) SWIG_fail;
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19314 {
19315 if (temp6)
19316 delete arg6;
19317 }
19318 return resultobj;
19319 fail:
19320 {
19321 if (temp6)
19322 delete arg6;
19323 }
19324 return NULL;
19325 }
19326
19327
19328 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxPyScrolledWindow *result;
19331 char *kwnames[] = {
19332 NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19336 {
19337 if (!wxPyCheckForApp()) SWIG_fail;
19338 PyThreadState* __tstate = wxPyBeginAllowThreads();
19339 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19340
19341 wxPyEndAllowThreads(__tstate);
19342 if (PyErr_Occurred()) SWIG_fail;
19343 }
19344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19345 return resultobj;
19346 fail:
19347 return NULL;
19348 }
19349
19350
19351 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19352 PyObject *resultobj;
19353 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19354 PyObject *arg2 = (PyObject *) 0 ;
19355 PyObject *arg3 = (PyObject *) 0 ;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self",(char *) "self",(char *) "_class", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19365 if (SWIG_arg_fail(1)) SWIG_fail;
19366 arg2 = obj1;
19367 arg3 = obj2;
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 (arg1)->_setCallbackInfo(arg2,arg3);
19371
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 Py_INCREF(Py_None); resultobj = Py_None;
19376 return resultobj;
19377 fail:
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19385 wxSize *arg2 = 0 ;
19386 wxSize temp2 ;
19387 PyObject * obj0 = 0 ;
19388 PyObject * obj1 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self",(char *) "size", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19395 if (SWIG_arg_fail(1)) SWIG_fail;
19396 {
19397 arg2 = &temp2;
19398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19399 }
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 (arg1)->SetBestSize((wxSize const &)*arg2);
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 Py_INCREF(Py_None); resultobj = Py_None;
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19417 int arg2 ;
19418 int arg3 ;
19419 int arg4 ;
19420 int arg5 ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 PyObject * obj2 = 0 ;
19424 PyObject * obj3 = 0 ;
19425 PyObject * obj4 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19432 if (SWIG_arg_fail(1)) SWIG_fail;
19433 {
19434 arg2 = (int)(SWIG_As_int(obj1));
19435 if (SWIG_arg_fail(2)) SWIG_fail;
19436 }
19437 {
19438 arg3 = (int)(SWIG_As_int(obj2));
19439 if (SWIG_arg_fail(3)) SWIG_fail;
19440 }
19441 {
19442 arg4 = (int)(SWIG_As_int(obj3));
19443 if (SWIG_arg_fail(4)) SWIG_fail;
19444 }
19445 {
19446 arg5 = (int)(SWIG_As_int(obj4));
19447 if (SWIG_arg_fail(5)) SWIG_fail;
19448 }
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 Py_INCREF(Py_None); resultobj = Py_None;
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19466 int arg2 ;
19467 int arg3 ;
19468 int arg4 ;
19469 int arg5 ;
19470 int arg6 = (int) wxSIZE_AUTO ;
19471 PyObject * obj0 = 0 ;
19472 PyObject * obj1 = 0 ;
19473 PyObject * obj2 = 0 ;
19474 PyObject * obj3 = 0 ;
19475 PyObject * obj4 = 0 ;
19476 PyObject * obj5 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19483 if (SWIG_arg_fail(1)) SWIG_fail;
19484 {
19485 arg2 = (int)(SWIG_As_int(obj1));
19486 if (SWIG_arg_fail(2)) SWIG_fail;
19487 }
19488 {
19489 arg3 = (int)(SWIG_As_int(obj2));
19490 if (SWIG_arg_fail(3)) SWIG_fail;
19491 }
19492 {
19493 arg4 = (int)(SWIG_As_int(obj3));
19494 if (SWIG_arg_fail(4)) SWIG_fail;
19495 }
19496 {
19497 arg5 = (int)(SWIG_As_int(obj4));
19498 if (SWIG_arg_fail(5)) SWIG_fail;
19499 }
19500 if (obj5) {
19501 {
19502 arg6 = (int)(SWIG_As_int(obj5));
19503 if (SWIG_arg_fail(6)) SWIG_fail;
19504 }
19505 }
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 Py_INCREF(Py_None); resultobj = Py_None;
19514 return resultobj;
19515 fail:
19516 return NULL;
19517 }
19518
19519
19520 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19521 PyObject *resultobj;
19522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19523 int arg2 ;
19524 int arg3 ;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 PyObject * obj2 = 0 ;
19528 char *kwnames[] = {
19529 (char *) "self",(char *) "width",(char *) "height", NULL
19530 };
19531
19532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19534 if (SWIG_arg_fail(1)) SWIG_fail;
19535 {
19536 arg2 = (int)(SWIG_As_int(obj1));
19537 if (SWIG_arg_fail(2)) SWIG_fail;
19538 }
19539 {
19540 arg3 = (int)(SWIG_As_int(obj2));
19541 if (SWIG_arg_fail(3)) SWIG_fail;
19542 }
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 (arg1)->base_DoSetClientSize(arg2,arg3);
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 Py_INCREF(Py_None); resultobj = Py_None;
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19560 int arg2 ;
19561 int arg3 ;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 PyObject * obj2 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "x",(char *) "y", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail;
19572 {
19573 arg2 = (int)(SWIG_As_int(obj1));
19574 if (SWIG_arg_fail(2)) SWIG_fail;
19575 }
19576 {
19577 arg3 = (int)(SWIG_As_int(obj2));
19578 if (SWIG_arg_fail(3)) SWIG_fail;
19579 }
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591 }
19592
19593
19594 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19597 int *arg2 = (int *) 0 ;
19598 int *arg3 = (int *) 0 ;
19599 int temp2 ;
19600 int res2 = 0 ;
19601 int temp3 ;
19602 int res3 = 0 ;
19603 PyObject * obj0 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self", NULL
19606 };
19607
19608 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19609 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail;
19613 {
19614 PyThreadState* __tstate = wxPyBeginAllowThreads();
19615 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19616
19617 wxPyEndAllowThreads(__tstate);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 }
19620 Py_INCREF(Py_None); resultobj = Py_None;
19621 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19622 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19623 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19624 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19625 return resultobj;
19626 fail:
19627 return NULL;
19628 }
19629
19630
19631 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19632 PyObject *resultobj;
19633 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19634 int *arg2 = (int *) 0 ;
19635 int *arg3 = (int *) 0 ;
19636 int temp2 ;
19637 int res2 = 0 ;
19638 int temp3 ;
19639 int res3 = 0 ;
19640 PyObject * obj0 = 0 ;
19641 char *kwnames[] = {
19642 (char *) "self", NULL
19643 };
19644
19645 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19646 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19649 if (SWIG_arg_fail(1)) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 Py_INCREF(Py_None); resultobj = Py_None;
19658 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19659 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19660 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19661 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19662 return resultobj;
19663 fail:
19664 return NULL;
19665 }
19666
19667
19668 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19669 PyObject *resultobj;
19670 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19671 int *arg2 = (int *) 0 ;
19672 int *arg3 = (int *) 0 ;
19673 int temp2 ;
19674 int res2 = 0 ;
19675 int temp3 ;
19676 int res3 = 0 ;
19677 PyObject * obj0 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self", NULL
19680 };
19681
19682 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19683 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19686 if (SWIG_arg_fail(1)) SWIG_fail;
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 Py_INCREF(Py_None); resultobj = Py_None;
19695 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19696 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19697 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19698 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19699 return resultobj;
19700 fail:
19701 return NULL;
19702 }
19703
19704
19705 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19706 PyObject *resultobj;
19707 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19708 wxSize result;
19709 PyObject * obj0 = 0 ;
19710 char *kwnames[] = {
19711 (char *) "self", NULL
19712 };
19713
19714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19716 if (SWIG_arg_fail(1)) SWIG_fail;
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 {
19725 wxSize * resultptr;
19726 resultptr = new wxSize((wxSize &)(result));
19727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19728 }
19729 return resultobj;
19730 fail:
19731 return NULL;
19732 }
19733
19734
19735 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19738 wxSize result;
19739 PyObject * obj0 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19746 if (SWIG_arg_fail(1)) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 {
19755 wxSize * resultptr;
19756 resultptr = new wxSize((wxSize &)(result));
19757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19768 PyObject * obj0 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 (arg1)->base_InitDialog();
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 Py_INCREF(Py_None); resultobj = Py_None;
19784 return resultobj;
19785 fail:
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19793 bool result;
19794 PyObject * obj0 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19801 if (SWIG_arg_fail(1)) SWIG_fail;
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 result = (bool)(arg1)->base_TransferDataToWindow();
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19811 }
19812 return resultobj;
19813 fail:
19814 return NULL;
19815 }
19816
19817
19818 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19821 bool result;
19822 PyObject * obj0 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (bool)(arg1)->base_TransferDataFromWindow();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19849 bool result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19857 if (SWIG_arg_fail(1)) SWIG_fail;
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (bool)(arg1)->base_Validate();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 {
19866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19867 }
19868 return resultobj;
19869 fail:
19870 return NULL;
19871 }
19872
19873
19874 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 {
19894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19895 }
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19905 bool result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail;
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 {
19922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19923 }
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19933 wxSize result;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
19940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19941 if (SWIG_arg_fail(1)) SWIG_fail;
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 {
19950 wxSize * resultptr;
19951 resultptr = new wxSize((wxSize &)(result));
19952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19963 wxWindow *arg2 = (wxWindow *) 0 ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "child", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail;
19973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19974 if (SWIG_arg_fail(2)) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->base_AddChild(arg2);
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 Py_INCREF(Py_None); resultobj = Py_None;
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj;
19991 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19992 wxWindow *arg2 = (wxWindow *) 0 ;
19993 PyObject * obj0 = 0 ;
19994 PyObject * obj1 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "child", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20001 if (SWIG_arg_fail(1)) SWIG_fail;
20002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20003 if (SWIG_arg_fail(2)) SWIG_fail;
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 (arg1)->base_RemoveChild(arg2);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 Py_INCREF(Py_None); resultobj = Py_None;
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20021 bool result;
20022 PyObject * obj0 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self", NULL
20025 };
20026
20027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20029 if (SWIG_arg_fail(1)) SWIG_fail;
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 {
20038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20039 }
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
20047 PyObject *resultobj;
20048 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20049 wxColour *arg2 = 0 ;
20050 wxColour temp2 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "c", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 {
20061 arg2 = &temp2;
20062 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20081 wxVisualAttributes result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20089 if (SWIG_arg_fail(1)) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 result = (arg1)->base_GetDefaultAttributes();
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 {
20098 wxVisualAttributes * resultptr;
20099 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20101 }
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20109 PyObject *obj;
20110 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20111 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20112 Py_INCREF(obj);
20113 return Py_BuildValue((char *)"");
20114 }
20115 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20116 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20117 return 1;
20118 }
20119
20120
20121 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20122 PyObject *pyobj;
20123
20124 {
20125 #if wxUSE_UNICODE
20126 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20127 #else
20128 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20129 #endif
20130 }
20131 return pyobj;
20132 }
20133
20134
20135 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20136 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20137 return 1;
20138 }
20139
20140
20141 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20142 PyObject *pyobj;
20143
20144 {
20145 #if wxUSE_UNICODE
20146 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20147 #else
20148 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20149 #endif
20150 }
20151 return pyobj;
20152 }
20153
20154
20155 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20156 PyObject *resultobj;
20157 wxPrintData *result;
20158
20159 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (wxPrintData *)new wxPrintData();
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20175 PyObject *resultobj;
20176 wxPrintData *arg1 = 0 ;
20177 wxPrintData *result;
20178 PyObject * obj0 = 0 ;
20179
20180 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20181 {
20182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail;
20184 if (arg1 == NULL) {
20185 SWIG_null_ref("wxPrintData");
20186 }
20187 if (SWIG_arg_fail(1)) SWIG_fail;
20188 }
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20204 int argc;
20205 PyObject *argv[2];
20206 int ii;
20207
20208 argc = PyObject_Length(args);
20209 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20210 argv[ii] = PyTuple_GetItem(args,ii);
20211 }
20212 if (argc == 0) {
20213 return _wrap_new_PrintData__SWIG_0(self,args);
20214 }
20215 if (argc == 1) {
20216 int _v;
20217 {
20218 void *ptr = 0;
20219 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20220 _v = 0;
20221 PyErr_Clear();
20222 } else {
20223 _v = (ptr != 0);
20224 }
20225 }
20226 if (_v) {
20227 return _wrap_new_PrintData__SWIG_1(self,args);
20228 }
20229 }
20230
20231 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20232 return NULL;
20233 }
20234
20235
20236 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20237 PyObject *resultobj;
20238 wxPrintData *arg1 = (wxPrintData *) 0 ;
20239 PyObject * obj0 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20246 if (SWIG_arg_fail(1)) SWIG_fail;
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 delete arg1;
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 Py_INCREF(Py_None); resultobj = Py_None;
20255 return resultobj;
20256 fail:
20257 return NULL;
20258 }
20259
20260
20261 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20262 PyObject *resultobj;
20263 wxPrintData *arg1 = (wxPrintData *) 0 ;
20264 int result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail;
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (int)(arg1)->GetNoCopies();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 resultobj = SWIG_From_int((int)(result));
20282 }
20283 return resultobj;
20284 fail:
20285 return NULL;
20286 }
20287
20288
20289 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20290 PyObject *resultobj;
20291 wxPrintData *arg1 = (wxPrintData *) 0 ;
20292 bool result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (bool)(arg1)->GetCollate();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxPrintData *arg1 = (wxPrintData *) 0 ;
20320 int result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail;
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (int)(arg1)->GetOrientation();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 resultobj = SWIG_From_int((int)(result));
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342 }
20343
20344
20345 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj;
20347 wxPrintData *arg1 = (wxPrintData *) 0 ;
20348 bool result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = (bool)(arg1)->Ok();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 {
20365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20366 }
20367 return resultobj;
20368 fail:
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxPrintData *arg1 = (wxPrintData *) 0 ;
20376 wxString *result;
20377 PyObject * obj0 = 0 ;
20378 char *kwnames[] = {
20379 (char *) "self", NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20384 if (SWIG_arg_fail(1)) SWIG_fail;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 {
20388 wxString const &_result_ref = (arg1)->GetPrinterName();
20389 result = (wxString *) &_result_ref;
20390 }
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
20395 {
20396 #if wxUSE_UNICODE
20397 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20398 #else
20399 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20400 #endif
20401 }
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxPrintData *arg1 = (wxPrintData *) 0 ;
20411 bool result;
20412 PyObject * obj0 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20419 if (SWIG_arg_fail(1)) SWIG_fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (bool)(arg1)->GetColour();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 {
20428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20429 }
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20437 PyObject *resultobj;
20438 wxPrintData *arg1 = (wxPrintData *) 0 ;
20439 wxDuplexMode result;
20440 PyObject * obj0 = 0 ;
20441 char *kwnames[] = {
20442 (char *) "self", NULL
20443 };
20444
20445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20447 if (SWIG_arg_fail(1)) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 result = (wxDuplexMode)(arg1)->GetDuplex();
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 resultobj = SWIG_From_int((result));
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPrintData *arg1 = (wxPrintData *) 0 ;
20465 wxPaperSize result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail;
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 result = (wxPaperSize)(arg1)->GetPaperId();
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 resultobj = SWIG_From_int((result));
20482 return resultobj;
20483 fail:
20484 return NULL;
20485 }
20486
20487
20488 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20489 PyObject *resultobj;
20490 wxPrintData *arg1 = (wxPrintData *) 0 ;
20491 wxSize *result;
20492 PyObject * obj0 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "self", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20499 if (SWIG_arg_fail(1)) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 {
20503 wxSize const &_result_ref = (arg1)->GetPaperSize();
20504 result = (wxSize *) &_result_ref;
20505 }
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPrintData *arg1 = (wxPrintData *) 0 ;
20520 int result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 result = (int)(arg1)->GetQuality();
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
20536 {
20537 resultobj = SWIG_From_int((int)(result));
20538 }
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPrintData *arg1 = (wxPrintData *) 0 ;
20548 wxPrintBin result;
20549 PyObject * obj0 = 0 ;
20550 char *kwnames[] = {
20551 (char *) "self", NULL
20552 };
20553
20554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20556 if (SWIG_arg_fail(1)) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (wxPrintBin)(arg1)->GetBin();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = SWIG_From_int((result));
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxPrintData *arg1 = (wxPrintData *) 0 ;
20574 wxPrintMode result;
20575 PyObject * obj0 = 0 ;
20576 char *kwnames[] = {
20577 (char *) "self", NULL
20578 };
20579
20580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20582 if (SWIG_arg_fail(1)) SWIG_fail;
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 resultobj = SWIG_From_int((result));
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20598 PyObject *resultobj;
20599 wxPrintData *arg1 = (wxPrintData *) 0 ;
20600 int arg2 ;
20601 PyObject * obj0 = 0 ;
20602 PyObject * obj1 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "self",(char *) "v", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20609 if (SWIG_arg_fail(1)) SWIG_fail;
20610 {
20611 arg2 = (int)(SWIG_As_int(obj1));
20612 if (SWIG_arg_fail(2)) SWIG_fail;
20613 }
20614 {
20615 PyThreadState* __tstate = wxPyBeginAllowThreads();
20616 (arg1)->SetNoCopies(arg2);
20617
20618 wxPyEndAllowThreads(__tstate);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 }
20621 Py_INCREF(Py_None); resultobj = Py_None;
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxPrintData *arg1 = (wxPrintData *) 0 ;
20631 bool arg2 ;
20632 PyObject * obj0 = 0 ;
20633 PyObject * obj1 = 0 ;
20634 char *kwnames[] = {
20635 (char *) "self",(char *) "flag", NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20640 if (SWIG_arg_fail(1)) SWIG_fail;
20641 {
20642 arg2 = (bool)(SWIG_As_bool(obj1));
20643 if (SWIG_arg_fail(2)) SWIG_fail;
20644 }
20645 {
20646 PyThreadState* __tstate = wxPyBeginAllowThreads();
20647 (arg1)->SetCollate(arg2);
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 Py_INCREF(Py_None); resultobj = Py_None;
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxPrintData *arg1 = (wxPrintData *) 0 ;
20662 int arg2 ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 char *kwnames[] = {
20666 (char *) "self",(char *) "orient", NULL
20667 };
20668
20669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20671 if (SWIG_arg_fail(1)) SWIG_fail;
20672 {
20673 arg2 = (int)(SWIG_As_int(obj1));
20674 if (SWIG_arg_fail(2)) SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetOrientation(arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxPrintData *arg1 = (wxPrintData *) 0 ;
20693 wxString *arg2 = 0 ;
20694 bool temp2 = false ;
20695 PyObject * obj0 = 0 ;
20696 PyObject * obj1 = 0 ;
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "name", NULL
20699 };
20700
20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail;
20704 {
20705 arg2 = wxString_in_helper(obj1);
20706 if (arg2 == NULL) SWIG_fail;
20707 temp2 = true;
20708 }
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 (arg1)->SetPrinterName((wxString const &)*arg2);
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 Py_INCREF(Py_None); resultobj = Py_None;
20717 {
20718 if (temp2)
20719 delete arg2;
20720 }
20721 return resultobj;
20722 fail:
20723 {
20724 if (temp2)
20725 delete arg2;
20726 }
20727 return NULL;
20728 }
20729
20730
20731 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20732 PyObject *resultobj;
20733 wxPrintData *arg1 = (wxPrintData *) 0 ;
20734 bool arg2 ;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "colour", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
20744 {
20745 arg2 = (bool)(SWIG_As_bool(obj1));
20746 if (SWIG_arg_fail(2)) SWIG_fail;
20747 }
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 (arg1)->SetColour(arg2);
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 Py_INCREF(Py_None); resultobj = Py_None;
20756 return resultobj;
20757 fail:
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPrintData *arg1 = (wxPrintData *) 0 ;
20765 wxDuplexMode arg2 ;
20766 PyObject * obj0 = 0 ;
20767 PyObject * obj1 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self",(char *) "duplex", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
20775 {
20776 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20777 if (SWIG_arg_fail(2)) SWIG_fail;
20778 }
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 (arg1)->SetDuplex((wxDuplexMode )arg2);
20782
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 Py_INCREF(Py_None); resultobj = Py_None;
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPrintData *arg1 = (wxPrintData *) 0 ;
20796 wxPaperSize arg2 ;
20797 PyObject * obj0 = 0 ;
20798 PyObject * obj1 = 0 ;
20799 char *kwnames[] = {
20800 (char *) "self",(char *) "sizeId", NULL
20801 };
20802
20803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail;
20806 {
20807 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20808 if (SWIG_arg_fail(2)) SWIG_fail;
20809 }
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 (arg1)->SetPaperId((wxPaperSize )arg2);
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 Py_INCREF(Py_None); resultobj = Py_None;
20818 return resultobj;
20819 fail:
20820 return NULL;
20821 }
20822
20823
20824 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj;
20826 wxPrintData *arg1 = (wxPrintData *) 0 ;
20827 wxSize *arg2 = 0 ;
20828 wxSize temp2 ;
20829 PyObject * obj0 = 0 ;
20830 PyObject * obj1 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self",(char *) "sz", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20837 if (SWIG_arg_fail(1)) SWIG_fail;
20838 {
20839 arg2 = &temp2;
20840 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20841 }
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 (arg1)->SetPaperSize((wxSize const &)*arg2);
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 Py_INCREF(Py_None); resultobj = Py_None;
20850 return resultobj;
20851 fail:
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxPrintData *arg1 = (wxPrintData *) 0 ;
20859 int arg2 ;
20860 PyObject * obj0 = 0 ;
20861 PyObject * obj1 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self",(char *) "quality", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20868 if (SWIG_arg_fail(1)) SWIG_fail;
20869 {
20870 arg2 = (int)(SWIG_As_int(obj1));
20871 if (SWIG_arg_fail(2)) SWIG_fail;
20872 }
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 (arg1)->SetQuality(arg2);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 Py_INCREF(Py_None); resultobj = Py_None;
20881 return resultobj;
20882 fail:
20883 return NULL;
20884 }
20885
20886
20887 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20888 PyObject *resultobj;
20889 wxPrintData *arg1 = (wxPrintData *) 0 ;
20890 wxPrintBin arg2 ;
20891 PyObject * obj0 = 0 ;
20892 PyObject * obj1 = 0 ;
20893 char *kwnames[] = {
20894 (char *) "self",(char *) "bin", NULL
20895 };
20896
20897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20899 if (SWIG_arg_fail(1)) SWIG_fail;
20900 {
20901 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20902 if (SWIG_arg_fail(2)) SWIG_fail;
20903 }
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 (arg1)->SetBin((wxPrintBin )arg2);
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 return resultobj;
20913 fail:
20914 return NULL;
20915 }
20916
20917
20918 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPrintData *arg1 = (wxPrintData *) 0 ;
20921 wxPrintMode arg2 ;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 char *kwnames[] = {
20925 (char *) "self",(char *) "printMode", NULL
20926 };
20927
20928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20930 if (SWIG_arg_fail(1)) SWIG_fail;
20931 {
20932 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
20933 if (SWIG_arg_fail(2)) SWIG_fail;
20934 }
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 (arg1)->SetPrintMode((wxPrintMode )arg2);
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 Py_INCREF(Py_None); resultobj = Py_None;
20943 return resultobj;
20944 fail:
20945 return NULL;
20946 }
20947
20948
20949 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20950 PyObject *resultobj;
20951 wxPrintData *arg1 = (wxPrintData *) 0 ;
20952 wxString result;
20953 PyObject * obj0 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
20959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20960 if (SWIG_arg_fail(1)) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = ((wxPrintData const *)arg1)->GetFilename();
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 #if wxUSE_UNICODE
20970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20971 #else
20972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20973 #endif
20974 }
20975 return resultobj;
20976 fail:
20977 return NULL;
20978 }
20979
20980
20981 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxPrintData *arg1 = (wxPrintData *) 0 ;
20984 wxString *arg2 = 0 ;
20985 bool temp2 = false ;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "filename", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
20993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20994 if (SWIG_arg_fail(1)) SWIG_fail;
20995 {
20996 arg2 = wxString_in_helper(obj1);
20997 if (arg2 == NULL) SWIG_fail;
20998 temp2 = true;
20999 }
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 (arg1)->SetFilename((wxString const &)*arg2);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 Py_INCREF(Py_None); resultobj = Py_None;
21008 {
21009 if (temp2)
21010 delete arg2;
21011 }
21012 return resultobj;
21013 fail:
21014 {
21015 if (temp2)
21016 delete arg2;
21017 }
21018 return NULL;
21019 }
21020
21021
21022 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPrintData *arg1 = (wxPrintData *) 0 ;
21025 PyObject *result;
21026 PyObject * obj0 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21033 if (SWIG_arg_fail(1)) SWIG_fail;
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = result;
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPrintData *arg1 = (wxPrintData *) 0 ;
21051 PyObject *arg2 = (PyObject *) 0 ;
21052 PyObject * obj0 = 0 ;
21053 PyObject * obj1 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self",(char *) "data", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21060 if (SWIG_arg_fail(1)) SWIG_fail;
21061 arg2 = obj1;
21062 {
21063 PyThreadState* __tstate = wxPyBeginAllowThreads();
21064 wxPrintData_SetPrivData(arg1,arg2);
21065
21066 wxPyEndAllowThreads(__tstate);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 }
21069 Py_INCREF(Py_None); resultobj = Py_None;
21070 return resultobj;
21071 fail:
21072 return NULL;
21073 }
21074
21075
21076 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21077 PyObject *resultobj;
21078 wxPrintData *arg1 = (wxPrintData *) 0 ;
21079 wxString *result;
21080 PyObject * obj0 = 0 ;
21081 char *kwnames[] = {
21082 (char *) "self", NULL
21083 };
21084
21085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21087 if (SWIG_arg_fail(1)) SWIG_fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 {
21091 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21092 result = (wxString *) &_result_ref;
21093 }
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 {
21099 #if wxUSE_UNICODE
21100 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21101 #else
21102 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21103 #endif
21104 }
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPrintData *arg1 = (wxPrintData *) 0 ;
21114 wxString *result;
21115 PyObject * obj0 = 0 ;
21116 char *kwnames[] = {
21117 (char *) "self", NULL
21118 };
21119
21120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21122 if (SWIG_arg_fail(1)) SWIG_fail;
21123 {
21124 PyThreadState* __tstate = wxPyBeginAllowThreads();
21125 {
21126 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21127 result = (wxString *) &_result_ref;
21128 }
21129
21130 wxPyEndAllowThreads(__tstate);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 {
21134 #if wxUSE_UNICODE
21135 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21136 #else
21137 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21138 #endif
21139 }
21140 return resultobj;
21141 fail:
21142 return NULL;
21143 }
21144
21145
21146 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21147 PyObject *resultobj;
21148 wxPrintData *arg1 = (wxPrintData *) 0 ;
21149 wxString *result;
21150 PyObject * obj0 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21157 if (SWIG_arg_fail(1)) SWIG_fail;
21158 {
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 {
21161 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21162 result = (wxString *) &_result_ref;
21163 }
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 {
21169 #if wxUSE_UNICODE
21170 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21171 #else
21172 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21173 #endif
21174 }
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 wxPrintData *arg1 = (wxPrintData *) 0 ;
21184 wxString *result;
21185 PyObject * obj0 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21192 if (SWIG_arg_fail(1)) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 {
21196 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21197 result = (wxString *) &_result_ref;
21198 }
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 #if wxUSE_UNICODE
21205 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21206 #else
21207 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21208 #endif
21209 }
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPrintData *arg1 = (wxPrintData *) 0 ;
21219 double result;
21220 PyObject * obj0 = 0 ;
21221 char *kwnames[] = {
21222 (char *) "self", NULL
21223 };
21224
21225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21227 if (SWIG_arg_fail(1)) SWIG_fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (double)(arg1)->GetPrinterScaleX();
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 resultobj = SWIG_From_double((double)(result));
21237 }
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21245 PyObject *resultobj;
21246 wxPrintData *arg1 = (wxPrintData *) 0 ;
21247 double result;
21248 PyObject * obj0 = 0 ;
21249 char *kwnames[] = {
21250 (char *) "self", NULL
21251 };
21252
21253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21255 if (SWIG_arg_fail(1)) SWIG_fail;
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 result = (double)(arg1)->GetPrinterScaleY();
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 {
21264 resultobj = SWIG_From_double((double)(result));
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPrintData *arg1 = (wxPrintData *) 0 ;
21275 long result;
21276 PyObject * obj0 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = (long)(arg1)->GetPrinterTranslateX();
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 resultobj = SWIG_From_long((long)(result));
21293 }
21294 return resultobj;
21295 fail:
21296 return NULL;
21297 }
21298
21299
21300 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21301 PyObject *resultobj;
21302 wxPrintData *arg1 = (wxPrintData *) 0 ;
21303 long result;
21304 PyObject * obj0 = 0 ;
21305 char *kwnames[] = {
21306 (char *) "self", NULL
21307 };
21308
21309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21311 if (SWIG_arg_fail(1)) SWIG_fail;
21312 {
21313 PyThreadState* __tstate = wxPyBeginAllowThreads();
21314 result = (long)(arg1)->GetPrinterTranslateY();
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 {
21320 resultobj = SWIG_From_long((long)(result));
21321 }
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPrintData *arg1 = (wxPrintData *) 0 ;
21331 wxString *arg2 = 0 ;
21332 bool temp2 = false ;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "command", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail;
21342 {
21343 arg2 = wxString_in_helper(obj1);
21344 if (arg2 == NULL) SWIG_fail;
21345 temp2 = true;
21346 }
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 Py_INCREF(Py_None); resultobj = Py_None;
21355 {
21356 if (temp2)
21357 delete arg2;
21358 }
21359 return resultobj;
21360 fail:
21361 {
21362 if (temp2)
21363 delete arg2;
21364 }
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxPrintData *arg1 = (wxPrintData *) 0 ;
21372 wxString *arg2 = 0 ;
21373 bool temp2 = false ;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "options", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail;
21383 {
21384 arg2 = wxString_in_helper(obj1);
21385 if (arg2 == NULL) SWIG_fail;
21386 temp2 = true;
21387 }
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 Py_INCREF(Py_None); resultobj = Py_None;
21396 {
21397 if (temp2)
21398 delete arg2;
21399 }
21400 return resultobj;
21401 fail:
21402 {
21403 if (temp2)
21404 delete arg2;
21405 }
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxPrintData *arg1 = (wxPrintData *) 0 ;
21413 wxString *arg2 = 0 ;
21414 bool temp2 = false ;
21415 PyObject * obj0 = 0 ;
21416 PyObject * obj1 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "command", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail;
21424 {
21425 arg2 = wxString_in_helper(obj1);
21426 if (arg2 == NULL) SWIG_fail;
21427 temp2 = true;
21428 }
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 Py_INCREF(Py_None); resultobj = Py_None;
21437 {
21438 if (temp2)
21439 delete arg2;
21440 }
21441 return resultobj;
21442 fail:
21443 {
21444 if (temp2)
21445 delete arg2;
21446 }
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPrintData *arg1 = (wxPrintData *) 0 ;
21454 wxString *arg2 = 0 ;
21455 bool temp2 = false ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 char *kwnames[] = {
21459 (char *) "self",(char *) "path", NULL
21460 };
21461
21462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21464 if (SWIG_arg_fail(1)) SWIG_fail;
21465 {
21466 arg2 = wxString_in_helper(obj1);
21467 if (arg2 == NULL) SWIG_fail;
21468 temp2 = true;
21469 }
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 {
21479 if (temp2)
21480 delete arg2;
21481 }
21482 return resultobj;
21483 fail:
21484 {
21485 if (temp2)
21486 delete arg2;
21487 }
21488 return NULL;
21489 }
21490
21491
21492 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 wxPrintData *arg1 = (wxPrintData *) 0 ;
21495 double arg2 ;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "x", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail;
21505 {
21506 arg2 = (double)(SWIG_As_double(obj1));
21507 if (SWIG_arg_fail(2)) SWIG_fail;
21508 }
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 (arg1)->SetPrinterScaleX(arg2);
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 Py_INCREF(Py_None); resultobj = Py_None;
21517 return resultobj;
21518 fail:
21519 return NULL;
21520 }
21521
21522
21523 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21524 PyObject *resultobj;
21525 wxPrintData *arg1 = (wxPrintData *) 0 ;
21526 double arg2 ;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 char *kwnames[] = {
21530 (char *) "self",(char *) "y", NULL
21531 };
21532
21533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21535 if (SWIG_arg_fail(1)) SWIG_fail;
21536 {
21537 arg2 = (double)(SWIG_As_double(obj1));
21538 if (SWIG_arg_fail(2)) SWIG_fail;
21539 }
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 (arg1)->SetPrinterScaleY(arg2);
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 Py_INCREF(Py_None); resultobj = Py_None;
21548 return resultobj;
21549 fail:
21550 return NULL;
21551 }
21552
21553
21554 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21555 PyObject *resultobj;
21556 wxPrintData *arg1 = (wxPrintData *) 0 ;
21557 double arg2 ;
21558 double arg3 ;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 PyObject * obj2 = 0 ;
21562 char *kwnames[] = {
21563 (char *) "self",(char *) "x",(char *) "y", NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21568 if (SWIG_arg_fail(1)) SWIG_fail;
21569 {
21570 arg2 = (double)(SWIG_As_double(obj1));
21571 if (SWIG_arg_fail(2)) SWIG_fail;
21572 }
21573 {
21574 arg3 = (double)(SWIG_As_double(obj2));
21575 if (SWIG_arg_fail(3)) SWIG_fail;
21576 }
21577 {
21578 PyThreadState* __tstate = wxPyBeginAllowThreads();
21579 (arg1)->SetPrinterScaling(arg2,arg3);
21580
21581 wxPyEndAllowThreads(__tstate);
21582 if (PyErr_Occurred()) SWIG_fail;
21583 }
21584 Py_INCREF(Py_None); resultobj = Py_None;
21585 return resultobj;
21586 fail:
21587 return NULL;
21588 }
21589
21590
21591 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21592 PyObject *resultobj;
21593 wxPrintData *arg1 = (wxPrintData *) 0 ;
21594 long arg2 ;
21595 PyObject * obj0 = 0 ;
21596 PyObject * obj1 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self",(char *) "x", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21603 if (SWIG_arg_fail(1)) SWIG_fail;
21604 {
21605 arg2 = (long)(SWIG_As_long(obj1));
21606 if (SWIG_arg_fail(2)) SWIG_fail;
21607 }
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 (arg1)->SetPrinterTranslateX(arg2);
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 Py_INCREF(Py_None); resultobj = Py_None;
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxPrintData *arg1 = (wxPrintData *) 0 ;
21625 long arg2 ;
21626 PyObject * obj0 = 0 ;
21627 PyObject * obj1 = 0 ;
21628 char *kwnames[] = {
21629 (char *) "self",(char *) "y", NULL
21630 };
21631
21632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail;
21635 {
21636 arg2 = (long)(SWIG_As_long(obj1));
21637 if (SWIG_arg_fail(2)) SWIG_fail;
21638 }
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->SetPrinterTranslateY(arg2);
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 Py_INCREF(Py_None); resultobj = Py_None;
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPrintData *arg1 = (wxPrintData *) 0 ;
21656 long arg2 ;
21657 long arg3 ;
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 PyObject * obj2 = 0 ;
21661 char *kwnames[] = {
21662 (char *) "self",(char *) "x",(char *) "y", NULL
21663 };
21664
21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail;
21668 {
21669 arg2 = (long)(SWIG_As_long(obj1));
21670 if (SWIG_arg_fail(2)) SWIG_fail;
21671 }
21672 {
21673 arg3 = (long)(SWIG_As_long(obj2));
21674 if (SWIG_arg_fail(3)) SWIG_fail;
21675 }
21676 {
21677 PyThreadState* __tstate = wxPyBeginAllowThreads();
21678 (arg1)->SetPrinterTranslation(arg2,arg3);
21679
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 Py_INCREF(Py_None); resultobj = Py_None;
21684 return resultobj;
21685 fail:
21686 return NULL;
21687 }
21688
21689
21690 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21691 PyObject *obj;
21692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21693 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21694 Py_INCREF(obj);
21695 return Py_BuildValue((char *)"");
21696 }
21697 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21698 PyObject *resultobj;
21699 wxPageSetupDialogData *result;
21700
21701 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21717 PyObject *resultobj;
21718 wxPageSetupDialogData *arg1 = 0 ;
21719 wxPageSetupDialogData *result;
21720 PyObject * obj0 = 0 ;
21721
21722 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21723 {
21724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21725 if (SWIG_arg_fail(1)) SWIG_fail;
21726 if (arg1 == NULL) {
21727 SWIG_null_ref("wxPageSetupDialogData");
21728 }
21729 if (SWIG_arg_fail(1)) SWIG_fail;
21730 }
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21739 return resultobj;
21740 fail:
21741 return NULL;
21742 }
21743
21744
21745 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21746 PyObject *resultobj;
21747 wxPrintData *arg1 = 0 ;
21748 wxPageSetupDialogData *result;
21749 PyObject * obj0 = 0 ;
21750
21751 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21752 {
21753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21754 if (SWIG_arg_fail(1)) SWIG_fail;
21755 if (arg1 == NULL) {
21756 SWIG_null_ref("wxPrintData");
21757 }
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 }
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21768 return resultobj;
21769 fail:
21770 return NULL;
21771 }
21772
21773
21774 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21775 int argc;
21776 PyObject *argv[2];
21777 int ii;
21778
21779 argc = PyObject_Length(args);
21780 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21781 argv[ii] = PyTuple_GetItem(args,ii);
21782 }
21783 if (argc == 0) {
21784 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21785 }
21786 if (argc == 1) {
21787 int _v;
21788 {
21789 void *ptr = 0;
21790 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21791 _v = 0;
21792 PyErr_Clear();
21793 } else {
21794 _v = (ptr != 0);
21795 }
21796 }
21797 if (_v) {
21798 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21799 }
21800 }
21801 if (argc == 1) {
21802 int _v;
21803 {
21804 void *ptr = 0;
21805 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21806 _v = 0;
21807 PyErr_Clear();
21808 } else {
21809 _v = (ptr != 0);
21810 }
21811 }
21812 if (_v) {
21813 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21814 }
21815 }
21816
21817 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21825 PyObject * obj0 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail;
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 delete arg1;
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 Py_INCREF(Py_None); resultobj = Py_None;
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21850 bool arg2 ;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "flag", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21859 if (SWIG_arg_fail(1)) SWIG_fail;
21860 {
21861 arg2 = (bool)(SWIG_As_bool(obj1));
21862 if (SWIG_arg_fail(2)) SWIG_fail;
21863 }
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 (arg1)->EnableHelp(arg2);
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 Py_INCREF(Py_None); resultobj = Py_None;
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21881 bool arg2 ;
21882 PyObject * obj0 = 0 ;
21883 PyObject * obj1 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self",(char *) "flag", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21890 if (SWIG_arg_fail(1)) SWIG_fail;
21891 {
21892 arg2 = (bool)(SWIG_As_bool(obj1));
21893 if (SWIG_arg_fail(2)) SWIG_fail;
21894 }
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 (arg1)->EnableMargins(arg2);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 Py_INCREF(Py_None); resultobj = Py_None;
21903 return resultobj;
21904 fail:
21905 return NULL;
21906 }
21907
21908
21909 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21912 bool arg2 ;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self",(char *) "flag", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21921 if (SWIG_arg_fail(1)) SWIG_fail;
21922 {
21923 arg2 = (bool)(SWIG_As_bool(obj1));
21924 if (SWIG_arg_fail(2)) SWIG_fail;
21925 }
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 (arg1)->EnableOrientation(arg2);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 Py_INCREF(Py_None); resultobj = Py_None;
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21943 bool arg2 ;
21944 PyObject * obj0 = 0 ;
21945 PyObject * obj1 = 0 ;
21946 char *kwnames[] = {
21947 (char *) "self",(char *) "flag", NULL
21948 };
21949
21950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21952 if (SWIG_arg_fail(1)) SWIG_fail;
21953 {
21954 arg2 = (bool)(SWIG_As_bool(obj1));
21955 if (SWIG_arg_fail(2)) SWIG_fail;
21956 }
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 (arg1)->EnablePaper(arg2);
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 Py_INCREF(Py_None); resultobj = Py_None;
21965 return resultobj;
21966 fail:
21967 return NULL;
21968 }
21969
21970
21971 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21972 PyObject *resultobj;
21973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21974 bool arg2 ;
21975 PyObject * obj0 = 0 ;
21976 PyObject * obj1 = 0 ;
21977 char *kwnames[] = {
21978 (char *) "self",(char *) "flag", NULL
21979 };
21980
21981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21983 if (SWIG_arg_fail(1)) SWIG_fail;
21984 {
21985 arg2 = (bool)(SWIG_As_bool(obj1));
21986 if (SWIG_arg_fail(2)) SWIG_fail;
21987 }
21988 {
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 (arg1)->EnablePrinter(arg2);
21991
21992 wxPyEndAllowThreads(__tstate);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 }
21995 Py_INCREF(Py_None); resultobj = Py_None;
21996 return resultobj;
21997 fail:
21998 return NULL;
21999 }
22000
22001
22002 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22003 PyObject *resultobj;
22004 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22005 bool result;
22006 PyObject * obj0 = 0 ;
22007 char *kwnames[] = {
22008 (char *) "self", NULL
22009 };
22010
22011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail;
22014 {
22015 PyThreadState* __tstate = wxPyBeginAllowThreads();
22016 result = (bool)(arg1)->GetDefaultMinMargins();
22017
22018 wxPyEndAllowThreads(__tstate);
22019 if (PyErr_Occurred()) SWIG_fail;
22020 }
22021 {
22022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22023 }
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22033 bool result;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22041 if (SWIG_arg_fail(1)) SWIG_fail;
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = (bool)(arg1)->GetEnableMargins();
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22051 }
22052 return resultobj;
22053 fail:
22054 return NULL;
22055 }
22056
22057
22058 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22059 PyObject *resultobj;
22060 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22061 bool result;
22062 PyObject * obj0 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22069 if (SWIG_arg_fail(1)) SWIG_fail;
22070 {
22071 PyThreadState* __tstate = wxPyBeginAllowThreads();
22072 result = (bool)(arg1)->GetEnableOrientation();
22073
22074 wxPyEndAllowThreads(__tstate);
22075 if (PyErr_Occurred()) SWIG_fail;
22076 }
22077 {
22078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22079 }
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22089 bool result;
22090 PyObject * obj0 = 0 ;
22091 char *kwnames[] = {
22092 (char *) "self", NULL
22093 };
22094
22095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22097 if (SWIG_arg_fail(1)) SWIG_fail;
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = (bool)(arg1)->GetEnablePaper();
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22107 }
22108 return resultobj;
22109 fail:
22110 return NULL;
22111 }
22112
22113
22114 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22115 PyObject *resultobj;
22116 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22117 bool result;
22118 PyObject * obj0 = 0 ;
22119 char *kwnames[] = {
22120 (char *) "self", NULL
22121 };
22122
22123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22125 if (SWIG_arg_fail(1)) SWIG_fail;
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 result = (bool)(arg1)->GetEnablePrinter();
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 {
22134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22135 }
22136 return resultobj;
22137 fail:
22138 return NULL;
22139 }
22140
22141
22142 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22143 PyObject *resultobj;
22144 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22145 bool result;
22146 PyObject * obj0 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail;
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (bool)(arg1)->GetEnableHelp();
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 {
22162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22163 }
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22173 bool result;
22174 PyObject * obj0 = 0 ;
22175 char *kwnames[] = {
22176 (char *) "self", NULL
22177 };
22178
22179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22181 if (SWIG_arg_fail(1)) SWIG_fail;
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = (bool)(arg1)->GetDefaultInfo();
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 {
22190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22191 }
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22201 wxPoint result;
22202 PyObject * obj0 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail;
22210 {
22211 PyThreadState* __tstate = wxPyBeginAllowThreads();
22212 result = (arg1)->GetMarginTopLeft();
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 {
22218 wxPoint * resultptr;
22219 resultptr = new wxPoint((wxPoint &)(result));
22220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22221 }
22222 return resultobj;
22223 fail:
22224 return NULL;
22225 }
22226
22227
22228 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22229 PyObject *resultobj;
22230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22231 wxPoint result;
22232 PyObject * obj0 = 0 ;
22233 char *kwnames[] = {
22234 (char *) "self", NULL
22235 };
22236
22237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail;
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (arg1)->GetMarginBottomRight();
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 {
22248 wxPoint * resultptr;
22249 resultptr = new wxPoint((wxPoint &)(result));
22250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22251 }
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22261 wxPoint result;
22262 PyObject * obj0 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail;
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (arg1)->GetMinMarginTopLeft();
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 wxPoint * resultptr;
22279 resultptr = new wxPoint((wxPoint &)(result));
22280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22281 }
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22291 wxPoint result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (arg1)->GetMinMarginBottomRight();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 {
22308 wxPoint * resultptr;
22309 resultptr = new wxPoint((wxPoint &)(result));
22310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22311 }
22312 return resultobj;
22313 fail:
22314 return NULL;
22315 }
22316
22317
22318 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22319 PyObject *resultobj;
22320 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22321 wxPaperSize result;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 result = (wxPaperSize)(arg1)->GetPaperId();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 resultobj = SWIG_From_int((result));
22338 return resultobj;
22339 fail:
22340 return NULL;
22341 }
22342
22343
22344 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22347 wxSize result;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail;
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 result = (arg1)->GetPaperSize();
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 {
22364 wxSize * resultptr;
22365 resultptr = new wxSize((wxSize &)(result));
22366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22367 }
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22377 wxPrintData *result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail;
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 {
22389 wxPrintData &_result_ref = (arg1)->GetPrintData();
22390 result = (wxPrintData *) &_result_ref;
22391 }
22392
22393 wxPyEndAllowThreads(__tstate);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22397 return resultobj;
22398 fail:
22399 return NULL;
22400 }
22401
22402
22403 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22406 bool result;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail;
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (bool)(arg1)->Ok();
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 {
22423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22424 }
22425 return resultobj;
22426 fail:
22427 return NULL;
22428 }
22429
22430
22431 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22434 bool arg2 ;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self",(char *) "flag", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail;
22444 {
22445 arg2 = (bool)(SWIG_As_bool(obj1));
22446 if (SWIG_arg_fail(2)) SWIG_fail;
22447 }
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 (arg1)->SetDefaultInfo(arg2);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 Py_INCREF(Py_None); resultobj = Py_None;
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj;
22464 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22465 bool arg2 ;
22466 PyObject * obj0 = 0 ;
22467 PyObject * obj1 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self",(char *) "flag", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail;
22475 {
22476 arg2 = (bool)(SWIG_As_bool(obj1));
22477 if (SWIG_arg_fail(2)) SWIG_fail;
22478 }
22479 {
22480 PyThreadState* __tstate = wxPyBeginAllowThreads();
22481 (arg1)->SetDefaultMinMargins(arg2);
22482
22483 wxPyEndAllowThreads(__tstate);
22484 if (PyErr_Occurred()) SWIG_fail;
22485 }
22486 Py_INCREF(Py_None); resultobj = Py_None;
22487 return resultobj;
22488 fail:
22489 return NULL;
22490 }
22491
22492
22493 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22494 PyObject *resultobj;
22495 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22496 wxPoint *arg2 = 0 ;
22497 wxPoint temp2 ;
22498 PyObject * obj0 = 0 ;
22499 PyObject * obj1 = 0 ;
22500 char *kwnames[] = {
22501 (char *) "self",(char *) "pt", NULL
22502 };
22503
22504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22506 if (SWIG_arg_fail(1)) SWIG_fail;
22507 {
22508 arg2 = &temp2;
22509 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22510 }
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 Py_INCREF(Py_None); resultobj = Py_None;
22519 return resultobj;
22520 fail:
22521 return NULL;
22522 }
22523
22524
22525 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22528 wxPoint *arg2 = 0 ;
22529 wxPoint temp2 ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "pt", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22538 if (SWIG_arg_fail(1)) SWIG_fail;
22539 {
22540 arg2 = &temp2;
22541 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22542 }
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22546
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 Py_INCREF(Py_None); resultobj = Py_None;
22551 return resultobj;
22552 fail:
22553 return NULL;
22554 }
22555
22556
22557 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22558 PyObject *resultobj;
22559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22560 wxPoint *arg2 = 0 ;
22561 wxPoint temp2 ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "pt", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail;
22571 {
22572 arg2 = &temp2;
22573 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22574 }
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22578
22579 wxPyEndAllowThreads(__tstate);
22580 if (PyErr_Occurred()) SWIG_fail;
22581 }
22582 Py_INCREF(Py_None); resultobj = Py_None;
22583 return resultobj;
22584 fail:
22585 return NULL;
22586 }
22587
22588
22589 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22590 PyObject *resultobj;
22591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22592 wxPoint *arg2 = 0 ;
22593 wxPoint temp2 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 char *kwnames[] = {
22597 (char *) "self",(char *) "pt", NULL
22598 };
22599
22600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail;
22603 {
22604 arg2 = &temp2;
22605 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22606 }
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 Py_INCREF(Py_None); resultobj = Py_None;
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22624 wxPaperSize arg2 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "id", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 }
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 (arg1)->SetPaperId((wxPaperSize )arg2);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 Py_INCREF(Py_None); resultobj = Py_None;
22646 return resultobj;
22647 fail:
22648 return NULL;
22649 }
22650
22651
22652 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22653 PyObject *resultobj;
22654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22655 wxSize *arg2 = 0 ;
22656 wxSize temp2 ;
22657 PyObject * obj0 = 0 ;
22658 PyObject * obj1 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self",(char *) "size", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22665 if (SWIG_arg_fail(1)) SWIG_fail;
22666 {
22667 arg2 = &temp2;
22668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22669 }
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 (arg1)->SetPaperSize((wxSize const &)*arg2);
22673
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 Py_INCREF(Py_None); resultobj = Py_None;
22678 return resultobj;
22679 fail:
22680 return NULL;
22681 }
22682
22683
22684 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22685 PyObject *resultobj;
22686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22687 wxPrintData *arg2 = 0 ;
22688 PyObject * obj0 = 0 ;
22689 PyObject * obj1 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self",(char *) "printData", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail;
22697 {
22698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22699 if (SWIG_arg_fail(2)) SWIG_fail;
22700 if (arg2 == NULL) {
22701 SWIG_null_ref("wxPrintData");
22702 }
22703 if (SWIG_arg_fail(2)) SWIG_fail;
22704 }
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716 }
22717
22718
22719 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22720 PyObject *resultobj;
22721 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 (arg1)->CalculateIdFromPaperSize();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 Py_INCREF(Py_None); resultobj = Py_None;
22738 return resultobj;
22739 fail:
22740 return NULL;
22741 }
22742
22743
22744 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22745 PyObject *resultobj;
22746 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22747 PyObject * obj0 = 0 ;
22748 char *kwnames[] = {
22749 (char *) "self", NULL
22750 };
22751
22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail;
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 (arg1)->CalculatePaperSizeFromId();
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 Py_INCREF(Py_None); resultobj = Py_None;
22763 return resultobj;
22764 fail:
22765 return NULL;
22766 }
22767
22768
22769 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22770 PyObject *obj;
22771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22772 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22773 Py_INCREF(obj);
22774 return Py_BuildValue((char *)"");
22775 }
22776 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxWindow *arg1 = (wxWindow *) 0 ;
22779 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22780 wxPageSetupDialog *result;
22781 PyObject * obj0 = 0 ;
22782 PyObject * obj1 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "parent",(char *) "data", NULL
22785 };
22786
22787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22789 if (SWIG_arg_fail(1)) SWIG_fail;
22790 if (obj1) {
22791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22792 if (SWIG_arg_fail(2)) SWIG_fail;
22793 }
22794 {
22795 if (!wxPyCheckForApp()) SWIG_fail;
22796 PyThreadState* __tstate = wxPyBeginAllowThreads();
22797 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22798
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
22802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22803 return resultobj;
22804 fail:
22805 return NULL;
22806 }
22807
22808
22809 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22810 PyObject *resultobj;
22811 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22812 wxPageSetupDialogData *result;
22813 PyObject * obj0 = 0 ;
22814 char *kwnames[] = {
22815 (char *) "self", NULL
22816 };
22817
22818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22820 if (SWIG_arg_fail(1)) SWIG_fail;
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 {
22824 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22825 result = (wxPageSetupDialogData *) &_result_ref;
22826 }
22827
22828 wxPyEndAllowThreads(__tstate);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 }
22831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22839 PyObject *resultobj;
22840 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22841 wxPageSetupDialogData *result;
22842 PyObject * obj0 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail;
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 {
22853 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22854 result = (wxPageSetupDialogData *) &_result_ref;
22855 }
22856
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22861 return resultobj;
22862 fail:
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22870 int result;
22871 PyObject * obj0 = 0 ;
22872 char *kwnames[] = {
22873 (char *) "self", NULL
22874 };
22875
22876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail;
22879 {
22880 PyThreadState* __tstate = wxPyBeginAllowThreads();
22881 result = (int)(arg1)->ShowModal();
22882
22883 wxPyEndAllowThreads(__tstate);
22884 if (PyErr_Occurred()) SWIG_fail;
22885 }
22886 {
22887 resultobj = SWIG_From_int((int)(result));
22888 }
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22896 PyObject *obj;
22897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22898 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22899 Py_INCREF(obj);
22900 return Py_BuildValue((char *)"");
22901 }
22902 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22903 PyObject *resultobj;
22904 wxPrintDialogData *result;
22905
22906 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 result = (wxPrintDialogData *)new wxPrintDialogData();
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22922 PyObject *resultobj;
22923 wxPrintData *arg1 = 0 ;
22924 wxPrintDialogData *result;
22925 PyObject * obj0 = 0 ;
22926
22927 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22928 {
22929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22930 if (SWIG_arg_fail(1)) SWIG_fail;
22931 if (arg1 == NULL) {
22932 SWIG_null_ref("wxPrintData");
22933 }
22934 if (SWIG_arg_fail(1)) SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22951 PyObject *resultobj;
22952 wxPrintDialogData *arg1 = 0 ;
22953 wxPrintDialogData *result;
22954 PyObject * obj0 = 0 ;
22955
22956 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22957 {
22958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail;
22960 if (arg1 == NULL) {
22961 SWIG_null_ref("wxPrintDialogData");
22962 }
22963 if (SWIG_arg_fail(1)) SWIG_fail;
22964 }
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22973 return resultobj;
22974 fail:
22975 return NULL;
22976 }
22977
22978
22979 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22980 int argc;
22981 PyObject *argv[2];
22982 int ii;
22983
22984 argc = PyObject_Length(args);
22985 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22986 argv[ii] = PyTuple_GetItem(args,ii);
22987 }
22988 if (argc == 0) {
22989 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22990 }
22991 if (argc == 1) {
22992 int _v;
22993 {
22994 void *ptr = 0;
22995 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22996 _v = 0;
22997 PyErr_Clear();
22998 } else {
22999 _v = (ptr != 0);
23000 }
23001 }
23002 if (_v) {
23003 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23004 }
23005 }
23006 if (argc == 1) {
23007 int _v;
23008 {
23009 void *ptr = 0;
23010 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23011 _v = 0;
23012 PyErr_Clear();
23013 } else {
23014 _v = (ptr != 0);
23015 }
23016 }
23017 if (_v) {
23018 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23019 }
23020 }
23021
23022 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23023 return NULL;
23024 }
23025
23026
23027 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj;
23029 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 delete arg1;
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 Py_INCREF(Py_None); resultobj = Py_None;
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23055 int result;
23056 PyObject * obj0 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23063 if (SWIG_arg_fail(1)) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072 resultobj = SWIG_From_int((int)(result));
23073 }
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23083 int result;
23084 PyObject * obj0 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23091 if (SWIG_arg_fail(1)) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23095
23096 wxPyEndAllowThreads(__tstate);
23097 if (PyErr_Occurred()) SWIG_fail;
23098 }
23099 {
23100 resultobj = SWIG_From_int((int)(result));
23101 }
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23111 int result;
23112 PyObject * obj0 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23119 if (SWIG_arg_fail(1)) SWIG_fail;
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 {
23128 resultobj = SWIG_From_int((int)(result));
23129 }
23130 return resultobj;
23131 fail:
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23139 int result;
23140 PyObject * obj0 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail;
23148 {
23149 PyThreadState* __tstate = wxPyBeginAllowThreads();
23150 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23151
23152 wxPyEndAllowThreads(__tstate);
23153 if (PyErr_Occurred()) SWIG_fail;
23154 }
23155 {
23156 resultobj = SWIG_From_int((int)(result));
23157 }
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23167 int result;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23175 if (SWIG_arg_fail(1)) SWIG_fail;
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 {
23184 resultobj = SWIG_From_int((int)(result));
23185 }
23186 return resultobj;
23187 fail:
23188 return NULL;
23189 }
23190
23191
23192 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj;
23194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23195 bool result;
23196 PyObject * obj0 = 0 ;
23197 char *kwnames[] = {
23198 (char *) "self", NULL
23199 };
23200
23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail;
23204 {
23205 PyThreadState* __tstate = wxPyBeginAllowThreads();
23206 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23207
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 {
23212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23213 }
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23223 bool result;
23224 PyObject * obj0 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23231 if (SWIG_arg_fail(1)) SWIG_fail;
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 {
23240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23241 }
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23251 bool result;
23252 PyObject * obj0 = 0 ;
23253 char *kwnames[] = {
23254 (char *) "self", NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23259 if (SWIG_arg_fail(1)) SWIG_fail;
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 {
23268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23269 }
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23279 bool result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 {
23296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23297 }
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23307 bool result;
23308 PyObject * obj0 = 0 ;
23309 char *kwnames[] = {
23310 (char *) "self", NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23315 if (SWIG_arg_fail(1)) SWIG_fail;
23316 {
23317 PyThreadState* __tstate = wxPyBeginAllowThreads();
23318 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 {
23324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23325 }
23326 return resultobj;
23327 fail:
23328 return NULL;
23329 }
23330
23331
23332 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23335 bool arg2 ;
23336 PyObject * obj0 = 0 ;
23337 PyObject * obj1 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self",(char *) "flag", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23344 if (SWIG_arg_fail(1)) SWIG_fail;
23345 {
23346 arg2 = (bool)(SWIG_As_bool(obj1));
23347 if (SWIG_arg_fail(2)) SWIG_fail;
23348 }
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 (arg1)->SetSetupDialog(arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 Py_INCREF(Py_None); resultobj = Py_None;
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23364 PyObject *resultobj;
23365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23366 int arg2 ;
23367 PyObject * obj0 = 0 ;
23368 PyObject * obj1 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "v", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23375 if (SWIG_arg_fail(1)) SWIG_fail;
23376 {
23377 arg2 = (int)(SWIG_As_int(obj1));
23378 if (SWIG_arg_fail(2)) SWIG_fail;
23379 }
23380 {
23381 PyThreadState* __tstate = wxPyBeginAllowThreads();
23382 (arg1)->SetFromPage(arg2);
23383
23384 wxPyEndAllowThreads(__tstate);
23385 if (PyErr_Occurred()) SWIG_fail;
23386 }
23387 Py_INCREF(Py_None); resultobj = Py_None;
23388 return resultobj;
23389 fail:
23390 return NULL;
23391 }
23392
23393
23394 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23395 PyObject *resultobj;
23396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23397 int arg2 ;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "v", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23406 if (SWIG_arg_fail(1)) SWIG_fail;
23407 {
23408 arg2 = (int)(SWIG_As_int(obj1));
23409 if (SWIG_arg_fail(2)) SWIG_fail;
23410 }
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 (arg1)->SetToPage(arg2);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 Py_INCREF(Py_None); resultobj = Py_None;
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23428 int arg2 ;
23429 PyObject * obj0 = 0 ;
23430 PyObject * obj1 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self",(char *) "v", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail;
23438 {
23439 arg2 = (int)(SWIG_As_int(obj1));
23440 if (SWIG_arg_fail(2)) SWIG_fail;
23441 }
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 (arg1)->SetMinPage(arg2);
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 Py_INCREF(Py_None); resultobj = Py_None;
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23457 PyObject *resultobj;
23458 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23459 int arg2 ;
23460 PyObject * obj0 = 0 ;
23461 PyObject * obj1 = 0 ;
23462 char *kwnames[] = {
23463 (char *) "self",(char *) "v", NULL
23464 };
23465
23466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail;
23469 {
23470 arg2 = (int)(SWIG_As_int(obj1));
23471 if (SWIG_arg_fail(2)) SWIG_fail;
23472 }
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 (arg1)->SetMaxPage(arg2);
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 Py_INCREF(Py_None); resultobj = Py_None;
23481 return resultobj;
23482 fail:
23483 return NULL;
23484 }
23485
23486
23487 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23490 int arg2 ;
23491 PyObject * obj0 = 0 ;
23492 PyObject * obj1 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self",(char *) "v", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail;
23500 {
23501 arg2 = (int)(SWIG_As_int(obj1));
23502 if (SWIG_arg_fail(2)) SWIG_fail;
23503 }
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 (arg1)->SetNoCopies(arg2);
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 Py_INCREF(Py_None); resultobj = Py_None;
23512 return resultobj;
23513 fail:
23514 return NULL;
23515 }
23516
23517
23518 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23519 PyObject *resultobj;
23520 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23521 bool arg2 ;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self",(char *) "flag", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23530 if (SWIG_arg_fail(1)) SWIG_fail;
23531 {
23532 arg2 = (bool)(SWIG_As_bool(obj1));
23533 if (SWIG_arg_fail(2)) SWIG_fail;
23534 }
23535 {
23536 PyThreadState* __tstate = wxPyBeginAllowThreads();
23537 (arg1)->SetAllPages(arg2);
23538
23539 wxPyEndAllowThreads(__tstate);
23540 if (PyErr_Occurred()) SWIG_fail;
23541 }
23542 Py_INCREF(Py_None); resultobj = Py_None;
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23552 bool arg2 ;
23553 PyObject * obj0 = 0 ;
23554 PyObject * obj1 = 0 ;
23555 char *kwnames[] = {
23556 (char *) "self",(char *) "flag", NULL
23557 };
23558
23559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23561 if (SWIG_arg_fail(1)) SWIG_fail;
23562 {
23563 arg2 = (bool)(SWIG_As_bool(obj1));
23564 if (SWIG_arg_fail(2)) SWIG_fail;
23565 }
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 (arg1)->SetSelection(arg2);
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 Py_INCREF(Py_None); resultobj = Py_None;
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23583 bool arg2 ;
23584 PyObject * obj0 = 0 ;
23585 PyObject * obj1 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self",(char *) "flag", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail;
23593 {
23594 arg2 = (bool)(SWIG_As_bool(obj1));
23595 if (SWIG_arg_fail(2)) SWIG_fail;
23596 }
23597 {
23598 PyThreadState* __tstate = wxPyBeginAllowThreads();
23599 (arg1)->SetCollate(arg2);
23600
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 Py_INCREF(Py_None); resultobj = Py_None;
23605 return resultobj;
23606 fail:
23607 return NULL;
23608 }
23609
23610
23611 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23612 PyObject *resultobj;
23613 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23614 bool arg2 ;
23615 PyObject * obj0 = 0 ;
23616 PyObject * obj1 = 0 ;
23617 char *kwnames[] = {
23618 (char *) "self",(char *) "flag", NULL
23619 };
23620
23621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23623 if (SWIG_arg_fail(1)) SWIG_fail;
23624 {
23625 arg2 = (bool)(SWIG_As_bool(obj1));
23626 if (SWIG_arg_fail(2)) SWIG_fail;
23627 }
23628 {
23629 PyThreadState* __tstate = wxPyBeginAllowThreads();
23630 (arg1)->SetPrintToFile(arg2);
23631
23632 wxPyEndAllowThreads(__tstate);
23633 if (PyErr_Occurred()) SWIG_fail;
23634 }
23635 Py_INCREF(Py_None); resultobj = Py_None;
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23645 bool arg2 ;
23646 PyObject * obj0 = 0 ;
23647 PyObject * obj1 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "self",(char *) "flag", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail;
23655 {
23656 arg2 = (bool)(SWIG_As_bool(obj1));
23657 if (SWIG_arg_fail(2)) SWIG_fail;
23658 }
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 (arg1)->EnablePrintToFile(arg2);
23662
23663 wxPyEndAllowThreads(__tstate);
23664 if (PyErr_Occurred()) SWIG_fail;
23665 }
23666 Py_INCREF(Py_None); resultobj = Py_None;
23667 return resultobj;
23668 fail:
23669 return NULL;
23670 }
23671
23672
23673 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23674 PyObject *resultobj;
23675 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23676 bool arg2 ;
23677 PyObject * obj0 = 0 ;
23678 PyObject * obj1 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self",(char *) "flag", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23685 if (SWIG_arg_fail(1)) SWIG_fail;
23686 {
23687 arg2 = (bool)(SWIG_As_bool(obj1));
23688 if (SWIG_arg_fail(2)) SWIG_fail;
23689 }
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 (arg1)->EnableSelection(arg2);
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 Py_INCREF(Py_None); resultobj = Py_None;
23698 return resultobj;
23699 fail:
23700 return NULL;
23701 }
23702
23703
23704 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23707 bool arg2 ;
23708 PyObject * obj0 = 0 ;
23709 PyObject * obj1 = 0 ;
23710 char *kwnames[] = {
23711 (char *) "self",(char *) "flag", NULL
23712 };
23713
23714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23716 if (SWIG_arg_fail(1)) SWIG_fail;
23717 {
23718 arg2 = (bool)(SWIG_As_bool(obj1));
23719 if (SWIG_arg_fail(2)) SWIG_fail;
23720 }
23721 {
23722 PyThreadState* __tstate = wxPyBeginAllowThreads();
23723 (arg1)->EnablePageNumbers(arg2);
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 Py_INCREF(Py_None); resultobj = Py_None;
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23736 PyObject *resultobj;
23737 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23738 bool arg2 ;
23739 PyObject * obj0 = 0 ;
23740 PyObject * obj1 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self",(char *) "flag", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail;
23748 {
23749 arg2 = (bool)(SWIG_As_bool(obj1));
23750 if (SWIG_arg_fail(2)) SWIG_fail;
23751 }
23752 {
23753 PyThreadState* __tstate = wxPyBeginAllowThreads();
23754 (arg1)->EnableHelp(arg2);
23755
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 Py_INCREF(Py_None); resultobj = Py_None;
23760 return resultobj;
23761 fail:
23762 return NULL;
23763 }
23764
23765
23766 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23767 PyObject *resultobj;
23768 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23769 bool result;
23770 PyObject * obj0 = 0 ;
23771 char *kwnames[] = {
23772 (char *) "self", NULL
23773 };
23774
23775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23777 if (SWIG_arg_fail(1)) SWIG_fail;
23778 {
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23781
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 {
23786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23787 }
23788 return resultobj;
23789 fail:
23790 return NULL;
23791 }
23792
23793
23794 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23795 PyObject *resultobj;
23796 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23797 bool result;
23798 PyObject * obj0 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "self", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23805 if (SWIG_arg_fail(1)) SWIG_fail;
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 {
23814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23815 }
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23823 PyObject *resultobj;
23824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23825 bool result;
23826 PyObject * obj0 = 0 ;
23827 char *kwnames[] = {
23828 (char *) "self", NULL
23829 };
23830
23831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23833 if (SWIG_arg_fail(1)) SWIG_fail;
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 {
23842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23843 }
23844 return resultobj;
23845 fail:
23846 return NULL;
23847 }
23848
23849
23850 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23853 bool result;
23854 PyObject * obj0 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23861 if (SWIG_arg_fail(1)) SWIG_fail;
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23881 bool result;
23882 PyObject * obj0 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail;
23890 {
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23893
23894 wxPyEndAllowThreads(__tstate);
23895 if (PyErr_Occurred()) SWIG_fail;
23896 }
23897 {
23898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23899 }
23900 return resultobj;
23901 fail:
23902 return NULL;
23903 }
23904
23905
23906 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23909 wxPrintData *result;
23910 PyObject * obj0 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail;
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 {
23921 wxPrintData &_result_ref = (arg1)->GetPrintData();
23922 result = (wxPrintData *) &_result_ref;
23923 }
23924
23925 wxPyEndAllowThreads(__tstate);
23926 if (PyErr_Occurred()) SWIG_fail;
23927 }
23928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23929 return resultobj;
23930 fail:
23931 return NULL;
23932 }
23933
23934
23935 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23938 wxPrintData *arg2 = 0 ;
23939 PyObject * obj0 = 0 ;
23940 PyObject * obj1 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "printData", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail;
23948 {
23949 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23950 if (SWIG_arg_fail(2)) SWIG_fail;
23951 if (arg2 == NULL) {
23952 SWIG_null_ref("wxPrintData");
23953 }
23954 if (SWIG_arg_fail(2)) SWIG_fail;
23955 }
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23959
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 Py_INCREF(Py_None); resultobj = Py_None;
23964 return resultobj;
23965 fail:
23966 return NULL;
23967 }
23968
23969
23970 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23971 PyObject *obj;
23972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23973 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23974 Py_INCREF(obj);
23975 return Py_BuildValue((char *)"");
23976 }
23977 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj;
23979 wxWindow *arg1 = (wxWindow *) 0 ;
23980 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23981 wxPrintDialog *result;
23982 PyObject * obj0 = 0 ;
23983 PyObject * obj1 = 0 ;
23984 char *kwnames[] = {
23985 (char *) "parent",(char *) "data", NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23990 if (SWIG_arg_fail(1)) SWIG_fail;
23991 if (obj1) {
23992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23993 if (SWIG_arg_fail(2)) SWIG_fail;
23994 }
23995 {
23996 if (!wxPyCheckForApp()) SWIG_fail;
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24013 int result;
24014 PyObject * obj0 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail;
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (int)(arg1)->ShowModal();
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 {
24030 resultobj = SWIG_From_int((int)(result));
24031 }
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24039 PyObject *resultobj;
24040 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24041 wxPrintDialogData *result;
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 {
24053 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24054 result = (wxPrintDialogData *) &_result_ref;
24055 }
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24068 PyObject *resultobj;
24069 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24070 wxPrintData *result;
24071 PyObject * obj0 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail;
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 {
24082 wxPrintData &_result_ref = (arg1)->GetPrintData();
24083 result = (wxPrintData *) &_result_ref;
24084 }
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
24089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24090 return resultobj;
24091 fail:
24092 return NULL;
24093 }
24094
24095
24096 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24099 wxDC *result;
24100 PyObject * obj0 = 0 ;
24101 char *kwnames[] = {
24102 (char *) "self", NULL
24103 };
24104
24105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 result = (wxDC *)(arg1)->GetPrintDC();
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 {
24116 resultobj = wxPyMake_wxObject(result, 1);
24117 }
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24125 PyObject *obj;
24126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24127 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24128 Py_INCREF(obj);
24129 return Py_BuildValue((char *)"");
24130 }
24131 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24134 wxPrinter *result;
24135 PyObject * obj0 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "data", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24141 if (obj0) {
24142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24143 if (SWIG_arg_fail(1)) SWIG_fail;
24144 }
24145 {
24146 if (!wxPyCheckForApp()) SWIG_fail;
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 result = (wxPrinter *)new wxPrinter(arg1);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxPrinter *arg1 = (wxPrinter *) 0 ;
24163 PyObject * obj0 = 0 ;
24164 char *kwnames[] = {
24165 (char *) "self", NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24170 if (SWIG_arg_fail(1)) SWIG_fail;
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 delete arg1;
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 Py_INCREF(Py_None); resultobj = Py_None;
24179 return resultobj;
24180 fail:
24181 return NULL;
24182 }
24183
24184
24185 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24186 PyObject *resultobj;
24187 wxPrinter *arg1 = (wxPrinter *) 0 ;
24188 wxWindow *arg2 = (wxWindow *) 0 ;
24189 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24190 wxWindow *result;
24191 PyObject * obj0 = 0 ;
24192 PyObject * obj1 = 0 ;
24193 PyObject * obj2 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "parent",(char *) "printout", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24200 if (SWIG_arg_fail(1)) SWIG_fail;
24201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24202 if (SWIG_arg_fail(2)) SWIG_fail;
24203 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24204 if (SWIG_arg_fail(3)) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 {
24213 resultobj = wxPyMake_wxObject(result, 0);
24214 }
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxPrinter *arg1 = (wxPrinter *) 0 ;
24224 wxWindow *arg2 = (wxWindow *) 0 ;
24225 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24226 wxString *arg4 = 0 ;
24227 bool temp4 = false ;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 PyObject * obj2 = 0 ;
24231 PyObject * obj3 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail;
24239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24240 if (SWIG_arg_fail(2)) SWIG_fail;
24241 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24242 if (SWIG_arg_fail(3)) SWIG_fail;
24243 {
24244 arg4 = wxString_in_helper(obj3);
24245 if (arg4 == NULL) SWIG_fail;
24246 temp4 = true;
24247 }
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 Py_INCREF(Py_None); resultobj = Py_None;
24256 {
24257 if (temp4)
24258 delete arg4;
24259 }
24260 return resultobj;
24261 fail:
24262 {
24263 if (temp4)
24264 delete arg4;
24265 }
24266 return NULL;
24267 }
24268
24269
24270 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj;
24272 wxPrinter *arg1 = (wxPrinter *) 0 ;
24273 wxWindow *arg2 = (wxWindow *) 0 ;
24274 bool result;
24275 PyObject * obj0 = 0 ;
24276 PyObject * obj1 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "parent", NULL
24279 };
24280
24281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail;
24284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24285 if (SWIG_arg_fail(2)) SWIG_fail;
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = (bool)(arg1)->Setup(arg2);
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 {
24294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24295 }
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxPrinter *arg1 = (wxPrinter *) 0 ;
24305 wxWindow *arg2 = (wxWindow *) 0 ;
24306 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24307 bool arg4 = (bool) true ;
24308 bool result;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 PyObject * obj2 = 0 ;
24312 PyObject * obj3 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail;
24320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24321 if (SWIG_arg_fail(2)) SWIG_fail;
24322 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24323 if (SWIG_arg_fail(3)) SWIG_fail;
24324 if (obj3) {
24325 {
24326 arg4 = (bool)(SWIG_As_bool(obj3));
24327 if (SWIG_arg_fail(4)) SWIG_fail;
24328 }
24329 }
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 {
24338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24339 }
24340 return resultobj;
24341 fail:
24342 return NULL;
24343 }
24344
24345
24346 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24347 PyObject *resultobj;
24348 wxPrinter *arg1 = (wxPrinter *) 0 ;
24349 wxWindow *arg2 = (wxWindow *) 0 ;
24350 wxDC *result;
24351 PyObject * obj0 = 0 ;
24352 PyObject * obj1 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "self",(char *) "parent", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24359 if (SWIG_arg_fail(1)) SWIG_fail;
24360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24361 if (SWIG_arg_fail(2)) SWIG_fail;
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = (wxDC *)(arg1)->PrintDialog(arg2);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 {
24370 resultobj = wxPyMake_wxObject(result, 0);
24371 }
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxPrinter *arg1 = (wxPrinter *) 0 ;
24381 wxPrintDialogData *result;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 {
24393 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24394 result = (wxPrintDialogData *) &_result_ref;
24395 }
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxPrinter *arg1 = (wxPrinter *) 0 ;
24410 bool result;
24411 PyObject * obj0 = 0 ;
24412 char *kwnames[] = {
24413 (char *) "self", NULL
24414 };
24415
24416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail;
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 result = (bool)(arg1)->GetAbort();
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 {
24427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24428 }
24429 return resultobj;
24430 fail:
24431 return NULL;
24432 }
24433
24434
24435 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24436 PyObject *resultobj;
24437 wxPrinterError result;
24438 char *kwnames[] = {
24439 NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 result = (wxPrinterError)wxPrinter::GetLastError();
24446
24447 wxPyEndAllowThreads(__tstate);
24448 if (PyErr_Occurred()) SWIG_fail;
24449 }
24450 resultobj = SWIG_From_int((result));
24451 return resultobj;
24452 fail:
24453 return NULL;
24454 }
24455
24456
24457 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24458 PyObject *obj;
24459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24460 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24461 Py_INCREF(obj);
24462 return Py_BuildValue((char *)"");
24463 }
24464 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj;
24466 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24467 wxString *arg1 = (wxString *) &arg1_defvalue ;
24468 wxPyPrintout *result;
24469 bool temp1 = false ;
24470 PyObject * obj0 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "title", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24476 if (obj0) {
24477 {
24478 arg1 = wxString_in_helper(obj0);
24479 if (arg1 == NULL) SWIG_fail;
24480 temp1 = true;
24481 }
24482 }
24483 {
24484 if (!wxPyCheckForApp()) SWIG_fail;
24485 PyThreadState* __tstate = wxPyBeginAllowThreads();
24486 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24487
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 {
24492 resultobj = wxPyMake_wxObject(result, 1);
24493 }
24494 {
24495 if (temp1)
24496 delete arg1;
24497 }
24498 return resultobj;
24499 fail:
24500 {
24501 if (temp1)
24502 delete arg1;
24503 }
24504 return NULL;
24505 }
24506
24507
24508 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24509 PyObject *resultobj;
24510 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24511 PyObject *arg2 = (PyObject *) 0 ;
24512 PyObject *arg3 = (PyObject *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 PyObject * obj2 = 0 ;
24516 char *kwnames[] = {
24517 (char *) "self",(char *) "self",(char *) "_class", NULL
24518 };
24519
24520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail;
24523 arg2 = obj1;
24524 arg3 = obj2;
24525 {
24526 PyThreadState* __tstate = wxPyBeginAllowThreads();
24527 (arg1)->_setCallbackInfo(arg2,arg3);
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 Py_INCREF(Py_None); resultobj = Py_None;
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24542 wxString result;
24543 PyObject * obj0 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail;
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 result = ((wxPyPrintout const *)arg1)->GetTitle();
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 {
24559 #if wxUSE_UNICODE
24560 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24561 #else
24562 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24563 #endif
24564 }
24565 return resultobj;
24566 fail:
24567 return NULL;
24568 }
24569
24570
24571 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24572 PyObject *resultobj;
24573 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24574 wxDC *result;
24575 PyObject * obj0 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail;
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (wxDC *)(arg1)->GetDC();
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 {
24591 resultobj = wxPyMake_wxObject(result, 0);
24592 }
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24602 wxDC *arg2 = (wxDC *) 0 ;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "dc", NULL
24607 };
24608
24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
24612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24613 if (SWIG_arg_fail(2)) SWIG_fail;
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
24616 (arg1)->SetDC(arg2);
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 Py_INCREF(Py_None); resultobj = Py_None;
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj;
24630 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24631 int arg2 ;
24632 int arg3 ;
24633 PyObject * obj0 = 0 ;
24634 PyObject * obj1 = 0 ;
24635 PyObject * obj2 = 0 ;
24636 char *kwnames[] = {
24637 (char *) "self",(char *) "w",(char *) "h", NULL
24638 };
24639
24640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24642 if (SWIG_arg_fail(1)) SWIG_fail;
24643 {
24644 arg2 = (int)(SWIG_As_int(obj1));
24645 if (SWIG_arg_fail(2)) SWIG_fail;
24646 }
24647 {
24648 arg3 = (int)(SWIG_As_int(obj2));
24649 if (SWIG_arg_fail(3)) SWIG_fail;
24650 }
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 (arg1)->SetPageSizePixels(arg2,arg3);
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 Py_INCREF(Py_None); resultobj = Py_None;
24659 return resultobj;
24660 fail:
24661 return NULL;
24662 }
24663
24664
24665 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj;
24667 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24668 int *arg2 = (int *) 0 ;
24669 int *arg3 = (int *) 0 ;
24670 int temp2 ;
24671 int res2 = 0 ;
24672 int temp3 ;
24673 int res3 = 0 ;
24674 PyObject * obj0 = 0 ;
24675 char *kwnames[] = {
24676 (char *) "self", NULL
24677 };
24678
24679 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24680 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24683 if (SWIG_arg_fail(1)) SWIG_fail;
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 (arg1)->GetPageSizePixels(arg2,arg3);
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 Py_INCREF(Py_None); resultobj = Py_None;
24692 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24693 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24694 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24695 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24696 return resultobj;
24697 fail:
24698 return NULL;
24699 }
24700
24701
24702 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24703 PyObject *resultobj;
24704 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24705 int arg2 ;
24706 int arg3 ;
24707 PyObject * obj0 = 0 ;
24708 PyObject * obj1 = 0 ;
24709 PyObject * obj2 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "w",(char *) "h", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24716 if (SWIG_arg_fail(1)) SWIG_fail;
24717 {
24718 arg2 = (int)(SWIG_As_int(obj1));
24719 if (SWIG_arg_fail(2)) SWIG_fail;
24720 }
24721 {
24722 arg3 = (int)(SWIG_As_int(obj2));
24723 if (SWIG_arg_fail(3)) SWIG_fail;
24724 }
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 (arg1)->SetPageSizeMM(arg2,arg3);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 Py_INCREF(Py_None); resultobj = Py_None;
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj;
24741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24742 int *arg2 = (int *) 0 ;
24743 int *arg3 = (int *) 0 ;
24744 int temp2 ;
24745 int res2 = 0 ;
24746 int temp3 ;
24747 int res3 = 0 ;
24748 PyObject * obj0 = 0 ;
24749 char *kwnames[] = {
24750 (char *) "self", NULL
24751 };
24752
24753 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24754 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail;
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 (arg1)->GetPageSizeMM(arg2,arg3);
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 Py_INCREF(Py_None); resultobj = Py_None;
24766 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24767 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24768 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24769 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24779 int arg2 ;
24780 int arg3 ;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 PyObject * obj2 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self",(char *) "x",(char *) "y", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24790 if (SWIG_arg_fail(1)) SWIG_fail;
24791 {
24792 arg2 = (int)(SWIG_As_int(obj1));
24793 if (SWIG_arg_fail(2)) SWIG_fail;
24794 }
24795 {
24796 arg3 = (int)(SWIG_As_int(obj2));
24797 if (SWIG_arg_fail(3)) SWIG_fail;
24798 }
24799 {
24800 PyThreadState* __tstate = wxPyBeginAllowThreads();
24801 (arg1)->SetPPIScreen(arg2,arg3);
24802
24803 wxPyEndAllowThreads(__tstate);
24804 if (PyErr_Occurred()) SWIG_fail;
24805 }
24806 Py_INCREF(Py_None); resultobj = Py_None;
24807 return resultobj;
24808 fail:
24809 return NULL;
24810 }
24811
24812
24813 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24814 PyObject *resultobj;
24815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24816 int *arg2 = (int *) 0 ;
24817 int *arg3 = (int *) 0 ;
24818 int temp2 ;
24819 int res2 = 0 ;
24820 int temp3 ;
24821 int res3 = 0 ;
24822 PyObject * obj0 = 0 ;
24823 char *kwnames[] = {
24824 (char *) "self", NULL
24825 };
24826
24827 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24828 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail;
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 (arg1)->GetPPIScreen(arg2,arg3);
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
24839 Py_INCREF(Py_None); resultobj = Py_None;
24840 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24841 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24842 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24843 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24844 return resultobj;
24845 fail:
24846 return NULL;
24847 }
24848
24849
24850 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24851 PyObject *resultobj;
24852 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24853 int arg2 ;
24854 int arg3 ;
24855 PyObject * obj0 = 0 ;
24856 PyObject * obj1 = 0 ;
24857 PyObject * obj2 = 0 ;
24858 char *kwnames[] = {
24859 (char *) "self",(char *) "x",(char *) "y", NULL
24860 };
24861
24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24864 if (SWIG_arg_fail(1)) SWIG_fail;
24865 {
24866 arg2 = (int)(SWIG_As_int(obj1));
24867 if (SWIG_arg_fail(2)) SWIG_fail;
24868 }
24869 {
24870 arg3 = (int)(SWIG_As_int(obj2));
24871 if (SWIG_arg_fail(3)) SWIG_fail;
24872 }
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->SetPPIPrinter(arg2,arg3);
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 Py_INCREF(Py_None); resultobj = Py_None;
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24890 int *arg2 = (int *) 0 ;
24891 int *arg3 = (int *) 0 ;
24892 int temp2 ;
24893 int res2 = 0 ;
24894 int temp3 ;
24895 int res3 = 0 ;
24896 PyObject * obj0 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self", NULL
24899 };
24900
24901 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24902 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24905 if (SWIG_arg_fail(1)) SWIG_fail;
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 (arg1)->GetPPIPrinter(arg2,arg3);
24909
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 Py_INCREF(Py_None); resultobj = Py_None;
24914 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24915 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24916 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24917 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24927 bool result;
24928 PyObject * obj0 = 0 ;
24929 char *kwnames[] = {
24930 (char *) "self", NULL
24931 };
24932
24933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24935 if (SWIG_arg_fail(1)) SWIG_fail;
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 result = (bool)(arg1)->IsPreview();
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 {
24944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24945 }
24946 return resultobj;
24947 fail:
24948 return NULL;
24949 }
24950
24951
24952 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24953 PyObject *resultobj;
24954 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24955 bool arg2 ;
24956 PyObject * obj0 = 0 ;
24957 PyObject * obj1 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self",(char *) "p", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail;
24965 {
24966 arg2 = (bool)(SWIG_As_bool(obj1));
24967 if (SWIG_arg_fail(2)) SWIG_fail;
24968 }
24969 {
24970 PyThreadState* __tstate = wxPyBeginAllowThreads();
24971 (arg1)->SetIsPreview(arg2);
24972
24973 wxPyEndAllowThreads(__tstate);
24974 if (PyErr_Occurred()) SWIG_fail;
24975 }
24976 Py_INCREF(Py_None); resultobj = Py_None;
24977 return resultobj;
24978 fail:
24979 return NULL;
24980 }
24981
24982
24983 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj;
24985 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24986 int arg2 ;
24987 int arg3 ;
24988 bool result;
24989 PyObject * obj0 = 0 ;
24990 PyObject * obj1 = 0 ;
24991 PyObject * obj2 = 0 ;
24992 char *kwnames[] = {
24993 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24994 };
24995
24996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail;
24999 {
25000 arg2 = (int)(SWIG_As_int(obj1));
25001 if (SWIG_arg_fail(2)) SWIG_fail;
25002 }
25003 {
25004 arg3 = (int)(SWIG_As_int(obj2));
25005 if (SWIG_arg_fail(3)) SWIG_fail;
25006 }
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25010
25011 wxPyEndAllowThreads(__tstate);
25012 if (PyErr_Occurred()) SWIG_fail;
25013 }
25014 {
25015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25016 }
25017 return resultobj;
25018 fail:
25019 return NULL;
25020 }
25021
25022
25023 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj;
25025 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25026 PyObject * obj0 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "self", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail;
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 (arg1)->base_OnEndDocument();
25037
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 Py_INCREF(Py_None); resultobj = Py_None;
25042 return resultobj;
25043 fail:
25044 return NULL;
25045 }
25046
25047
25048 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj;
25050 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25051 PyObject * obj0 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25058 if (SWIG_arg_fail(1)) SWIG_fail;
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 (arg1)->base_OnBeginPrinting();
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 Py_INCREF(Py_None); resultobj = Py_None;
25067 return resultobj;
25068 fail:
25069 return NULL;
25070 }
25071
25072
25073 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25074 PyObject *resultobj;
25075 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25076 PyObject * obj0 = 0 ;
25077 char *kwnames[] = {
25078 (char *) "self", NULL
25079 };
25080
25081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25083 if (SWIG_arg_fail(1)) SWIG_fail;
25084 {
25085 PyThreadState* __tstate = wxPyBeginAllowThreads();
25086 (arg1)->base_OnEndPrinting();
25087
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 Py_INCREF(Py_None); resultobj = Py_None;
25092 return resultobj;
25093 fail:
25094 return NULL;
25095 }
25096
25097
25098 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25099 PyObject *resultobj;
25100 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25101 PyObject * obj0 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail;
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 (arg1)->base_OnPreparePrinting();
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 Py_INCREF(Py_None); resultobj = Py_None;
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25124 PyObject *resultobj;
25125 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25126 int arg2 ;
25127 bool result;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self",(char *) "page", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail;
25137 {
25138 arg2 = (int)(SWIG_As_int(obj1));
25139 if (SWIG_arg_fail(2)) SWIG_fail;
25140 }
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (bool)(arg1)->base_HasPage(arg2);
25144
25145 wxPyEndAllowThreads(__tstate);
25146 if (PyErr_Occurred()) SWIG_fail;
25147 }
25148 {
25149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25150 }
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj;
25159 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25160 int *arg2 = (int *) 0 ;
25161 int *arg3 = (int *) 0 ;
25162 int *arg4 = (int *) 0 ;
25163 int *arg5 = (int *) 0 ;
25164 int temp2 ;
25165 int res2 = 0 ;
25166 int temp3 ;
25167 int res3 = 0 ;
25168 int temp4 ;
25169 int res4 = 0 ;
25170 int temp5 ;
25171 int res5 = 0 ;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self", NULL
25175 };
25176
25177 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25178 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25179 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25180 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25183 if (SWIG_arg_fail(1)) SWIG_fail;
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 Py_INCREF(Py_None); resultobj = Py_None;
25192 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25193 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25194 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25195 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25196 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25197 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25198 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25199 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25200 return resultobj;
25201 fail:
25202 return NULL;
25203 }
25204
25205
25206 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25207 PyObject *obj;
25208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25209 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25210 Py_INCREF(obj);
25211 return Py_BuildValue((char *)"");
25212 }
25213 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj;
25215 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25216 wxWindow *arg2 = (wxWindow *) 0 ;
25217 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25218 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25219 wxSize const &arg4_defvalue = wxDefaultSize ;
25220 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25221 long arg5 = (long) 0 ;
25222 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25223 wxString *arg6 = (wxString *) &arg6_defvalue ;
25224 wxPreviewCanvas *result;
25225 wxPoint temp3 ;
25226 wxSize temp4 ;
25227 bool temp6 = false ;
25228 PyObject * obj0 = 0 ;
25229 PyObject * obj1 = 0 ;
25230 PyObject * obj2 = 0 ;
25231 PyObject * obj3 = 0 ;
25232 PyObject * obj4 = 0 ;
25233 PyObject * obj5 = 0 ;
25234 char *kwnames[] = {
25235 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail;
25241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25242 if (SWIG_arg_fail(2)) SWIG_fail;
25243 if (obj2) {
25244 {
25245 arg3 = &temp3;
25246 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25247 }
25248 }
25249 if (obj3) {
25250 {
25251 arg4 = &temp4;
25252 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25253 }
25254 }
25255 if (obj4) {
25256 {
25257 arg5 = (long)(SWIG_As_long(obj4));
25258 if (SWIG_arg_fail(5)) SWIG_fail;
25259 }
25260 }
25261 if (obj5) {
25262 {
25263 arg6 = wxString_in_helper(obj5);
25264 if (arg6 == NULL) SWIG_fail;
25265 temp6 = true;
25266 }
25267 }
25268 {
25269 if (!wxPyCheckForApp()) SWIG_fail;
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25277 {
25278 if (temp6)
25279 delete arg6;
25280 }
25281 return resultobj;
25282 fail:
25283 {
25284 if (temp6)
25285 delete arg6;
25286 }
25287 return NULL;
25288 }
25289
25290
25291 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25292 PyObject *obj;
25293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25294 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25295 Py_INCREF(obj);
25296 return Py_BuildValue((char *)"");
25297 }
25298 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25301 wxFrame *arg2 = (wxFrame *) 0 ;
25302 wxString *arg3 = 0 ;
25303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25305 wxSize const &arg5_defvalue = wxDefaultSize ;
25306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25307 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25308 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25309 wxString *arg7 = (wxString *) &arg7_defvalue ;
25310 wxPreviewFrame *result;
25311 bool temp3 = false ;
25312 wxPoint temp4 ;
25313 wxSize temp5 ;
25314 bool temp7 = false ;
25315 PyObject * obj0 = 0 ;
25316 PyObject * obj1 = 0 ;
25317 PyObject * obj2 = 0 ;
25318 PyObject * obj3 = 0 ;
25319 PyObject * obj4 = 0 ;
25320 PyObject * obj5 = 0 ;
25321 PyObject * obj6 = 0 ;
25322 char *kwnames[] = {
25323 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25324 };
25325
25326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25328 if (SWIG_arg_fail(1)) SWIG_fail;
25329 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25330 if (SWIG_arg_fail(2)) SWIG_fail;
25331 {
25332 arg3 = wxString_in_helper(obj2);
25333 if (arg3 == NULL) SWIG_fail;
25334 temp3 = true;
25335 }
25336 if (obj3) {
25337 {
25338 arg4 = &temp4;
25339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25340 }
25341 }
25342 if (obj4) {
25343 {
25344 arg5 = &temp5;
25345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25346 }
25347 }
25348 if (obj5) {
25349 {
25350 arg6 = (long)(SWIG_As_long(obj5));
25351 if (SWIG_arg_fail(6)) SWIG_fail;
25352 }
25353 }
25354 if (obj6) {
25355 {
25356 arg7 = wxString_in_helper(obj6);
25357 if (arg7 == NULL) SWIG_fail;
25358 temp7 = true;
25359 }
25360 }
25361 {
25362 if (!wxPyCheckForApp()) SWIG_fail;
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25370 {
25371 if (temp3)
25372 delete arg3;
25373 }
25374 {
25375 if (temp7)
25376 delete arg7;
25377 }
25378 return resultobj;
25379 fail:
25380 {
25381 if (temp3)
25382 delete arg3;
25383 }
25384 {
25385 if (temp7)
25386 delete arg7;
25387 }
25388 return NULL;
25389 }
25390
25391
25392 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25393 PyObject *resultobj;
25394 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25395 PyObject * obj0 = 0 ;
25396 char *kwnames[] = {
25397 (char *) "self", NULL
25398 };
25399
25400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25402 if (SWIG_arg_fail(1)) SWIG_fail;
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 (arg1)->Initialize();
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 Py_INCREF(Py_None); resultobj = Py_None;
25411 return resultobj;
25412 fail:
25413 return NULL;
25414 }
25415
25416
25417 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25418 PyObject *resultobj;
25419 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25420 PyObject * obj0 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25427 if (SWIG_arg_fail(1)) SWIG_fail;
25428 {
25429 PyThreadState* __tstate = wxPyBeginAllowThreads();
25430 (arg1)->CreateControlBar();
25431
25432 wxPyEndAllowThreads(__tstate);
25433 if (PyErr_Occurred()) SWIG_fail;
25434 }
25435 Py_INCREF(Py_None); resultobj = Py_None;
25436 return resultobj;
25437 fail:
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25445 PyObject * obj0 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail;
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->CreateCanvas();
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464 }
25465
25466
25467 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25470 wxPreviewControlBar *result;
25471 PyObject * obj0 = 0 ;
25472 char *kwnames[] = {
25473 (char *) "self", NULL
25474 };
25475
25476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25478 if (SWIG_arg_fail(1)) SWIG_fail;
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25487 return resultobj;
25488 fail:
25489 return NULL;
25490 }
25491
25492
25493 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25494 PyObject *obj;
25495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25496 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25497 Py_INCREF(obj);
25498 return Py_BuildValue((char *)"");
25499 }
25500 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj;
25502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25503 long arg2 ;
25504 wxWindow *arg3 = (wxWindow *) 0 ;
25505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25507 wxSize const &arg5_defvalue = wxDefaultSize ;
25508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25509 long arg6 = (long) wxTAB_TRAVERSAL ;
25510 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25511 wxString *arg7 = (wxString *) &arg7_defvalue ;
25512 wxPreviewControlBar *result;
25513 wxPoint temp4 ;
25514 wxSize temp5 ;
25515 bool temp7 = false ;
25516 PyObject * obj0 = 0 ;
25517 PyObject * obj1 = 0 ;
25518 PyObject * obj2 = 0 ;
25519 PyObject * obj3 = 0 ;
25520 PyObject * obj4 = 0 ;
25521 PyObject * obj5 = 0 ;
25522 PyObject * obj6 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25525 };
25526
25527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail;
25530 {
25531 arg2 = (long)(SWIG_As_long(obj1));
25532 if (SWIG_arg_fail(2)) SWIG_fail;
25533 }
25534 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25535 if (SWIG_arg_fail(3)) SWIG_fail;
25536 if (obj3) {
25537 {
25538 arg4 = &temp4;
25539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25540 }
25541 }
25542 if (obj4) {
25543 {
25544 arg5 = &temp5;
25545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25546 }
25547 }
25548 if (obj5) {
25549 {
25550 arg6 = (long)(SWIG_As_long(obj5));
25551 if (SWIG_arg_fail(6)) SWIG_fail;
25552 }
25553 }
25554 if (obj6) {
25555 {
25556 arg7 = wxString_in_helper(obj6);
25557 if (arg7 == NULL) SWIG_fail;
25558 temp7 = true;
25559 }
25560 }
25561 {
25562 if (!wxPyCheckForApp()) SWIG_fail;
25563 PyThreadState* __tstate = wxPyBeginAllowThreads();
25564 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25565
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25570 {
25571 if (temp7)
25572 delete arg7;
25573 }
25574 return resultobj;
25575 fail:
25576 {
25577 if (temp7)
25578 delete arg7;
25579 }
25580 return NULL;
25581 }
25582
25583
25584 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj;
25586 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25587 int result;
25588 PyObject * obj0 = 0 ;
25589 char *kwnames[] = {
25590 (char *) "self", NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail;
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (int)(arg1)->GetZoomControl();
25599
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 {
25604 resultobj = SWIG_From_int((int)(result));
25605 }
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25615 int arg2 ;
25616 PyObject * obj0 = 0 ;
25617 PyObject * obj1 = 0 ;
25618 char *kwnames[] = {
25619 (char *) "self",(char *) "zoom", NULL
25620 };
25621
25622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail;
25625 {
25626 arg2 = (int)(SWIG_As_int(obj1));
25627 if (SWIG_arg_fail(2)) SWIG_fail;
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->SetZoomControl(arg2);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25646 wxPrintPreview *result;
25647 PyObject * obj0 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25654 if (SWIG_arg_fail(1)) SWIG_fail;
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25663 return resultobj;
25664 fail:
25665 return NULL;
25666 }
25667
25668
25669 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25670 PyObject *resultobj;
25671 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25672 PyObject * obj0 = 0 ;
25673 char *kwnames[] = {
25674 (char *) "self", NULL
25675 };
25676
25677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail;
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 (arg1)->OnNext();
25683
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 Py_INCREF(Py_None); resultobj = Py_None;
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj;
25696 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25697 PyObject * obj0 = 0 ;
25698 char *kwnames[] = {
25699 (char *) "self", NULL
25700 };
25701
25702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25704 if (SWIG_arg_fail(1)) SWIG_fail;
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 (arg1)->OnPrevious();
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 Py_INCREF(Py_None); resultobj = Py_None;
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25720 PyObject *resultobj;
25721 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25722 PyObject * obj0 = 0 ;
25723 char *kwnames[] = {
25724 (char *) "self", NULL
25725 };
25726
25727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25729 if (SWIG_arg_fail(1)) SWIG_fail;
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 (arg1)->OnFirst();
25733
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 Py_INCREF(Py_None); resultobj = Py_None;
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25747 PyObject * obj0 = 0 ;
25748 char *kwnames[] = {
25749 (char *) "self", NULL
25750 };
25751
25752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25754 if (SWIG_arg_fail(1)) SWIG_fail;
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->OnLast();
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 Py_INCREF(Py_None); resultobj = Py_None;
25763 return resultobj;
25764 fail:
25765 return NULL;
25766 }
25767
25768
25769 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25770 PyObject *resultobj;
25771 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25772 PyObject * obj0 = 0 ;
25773 char *kwnames[] = {
25774 (char *) "self", NULL
25775 };
25776
25777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail;
25780 {
25781 PyThreadState* __tstate = wxPyBeginAllowThreads();
25782 (arg1)->OnGoto();
25783
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 Py_INCREF(Py_None); resultobj = Py_None;
25788 return resultobj;
25789 fail:
25790 return NULL;
25791 }
25792
25793
25794 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25795 PyObject *obj;
25796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25797 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25798 Py_INCREF(obj);
25799 return Py_BuildValue((char *)"");
25800 }
25801 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25802 PyObject *resultobj;
25803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25804 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25805 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25806 wxPrintPreview *result;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 PyObject * obj2 = 0 ;
25810
25811 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25813 if (SWIG_arg_fail(1)) SWIG_fail;
25814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25815 if (SWIG_arg_fail(2)) SWIG_fail;
25816 if (obj2) {
25817 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25818 if (SWIG_arg_fail(3)) SWIG_fail;
25819 }
25820 {
25821 if (!wxPyCheckForApp()) SWIG_fail;
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25836 PyObject *resultobj;
25837 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25838 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25839 wxPrintData *arg3 = (wxPrintData *) 0 ;
25840 wxPrintPreview *result;
25841 PyObject * obj0 = 0 ;
25842 PyObject * obj1 = 0 ;
25843 PyObject * obj2 = 0 ;
25844
25845 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25847 if (SWIG_arg_fail(1)) SWIG_fail;
25848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25849 if (SWIG_arg_fail(2)) SWIG_fail;
25850 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25851 if (SWIG_arg_fail(3)) SWIG_fail;
25852 {
25853 if (!wxPyCheckForApp()) SWIG_fail;
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25861 return resultobj;
25862 fail:
25863 return NULL;
25864 }
25865
25866
25867 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25868 int argc;
25869 PyObject *argv[4];
25870 int ii;
25871
25872 argc = PyObject_Length(args);
25873 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25874 argv[ii] = PyTuple_GetItem(args,ii);
25875 }
25876 if ((argc >= 2) && (argc <= 3)) {
25877 int _v;
25878 {
25879 void *ptr;
25880 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25881 _v = 0;
25882 PyErr_Clear();
25883 } else {
25884 _v = 1;
25885 }
25886 }
25887 if (_v) {
25888 {
25889 void *ptr;
25890 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25891 _v = 0;
25892 PyErr_Clear();
25893 } else {
25894 _v = 1;
25895 }
25896 }
25897 if (_v) {
25898 if (argc <= 2) {
25899 return _wrap_new_PrintPreview__SWIG_0(self,args);
25900 }
25901 {
25902 void *ptr;
25903 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25904 _v = 0;
25905 PyErr_Clear();
25906 } else {
25907 _v = 1;
25908 }
25909 }
25910 if (_v) {
25911 return _wrap_new_PrintPreview__SWIG_0(self,args);
25912 }
25913 }
25914 }
25915 }
25916 if (argc == 3) {
25917 int _v;
25918 {
25919 void *ptr;
25920 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25921 _v = 0;
25922 PyErr_Clear();
25923 } else {
25924 _v = 1;
25925 }
25926 }
25927 if (_v) {
25928 {
25929 void *ptr;
25930 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25931 _v = 0;
25932 PyErr_Clear();
25933 } else {
25934 _v = 1;
25935 }
25936 }
25937 if (_v) {
25938 {
25939 void *ptr;
25940 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25941 _v = 0;
25942 PyErr_Clear();
25943 } else {
25944 _v = 1;
25945 }
25946 }
25947 if (_v) {
25948 return _wrap_new_PrintPreview__SWIG_1(self,args);
25949 }
25950 }
25951 }
25952 }
25953
25954 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25955 return NULL;
25956 }
25957
25958
25959 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj;
25961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25962 int arg2 ;
25963 bool result;
25964 PyObject * obj0 = 0 ;
25965 PyObject * obj1 = 0 ;
25966 char *kwnames[] = {
25967 (char *) "self",(char *) "pageNum", NULL
25968 };
25969
25970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25972 if (SWIG_arg_fail(1)) SWIG_fail;
25973 {
25974 arg2 = (int)(SWIG_As_int(obj1));
25975 if (SWIG_arg_fail(2)) SWIG_fail;
25976 }
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (bool)(arg1)->SetCurrentPage(arg2);
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 {
25985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25986 }
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25994 PyObject *resultobj;
25995 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25996 int result;
25997 PyObject * obj0 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail;
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (int)(arg1)->GetCurrentPage();
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 {
26013 resultobj = SWIG_From_int((int)(result));
26014 }
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26024 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26025 PyObject * obj0 = 0 ;
26026 PyObject * obj1 = 0 ;
26027 char *kwnames[] = {
26028 (char *) "self",(char *) "printout", NULL
26029 };
26030
26031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26033 if (SWIG_arg_fail(1)) SWIG_fail;
26034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26035 if (SWIG_arg_fail(2)) SWIG_fail;
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 (arg1)->SetPrintout(arg2);
26039
26040 wxPyEndAllowThreads(__tstate);
26041 if (PyErr_Occurred()) SWIG_fail;
26042 }
26043 Py_INCREF(Py_None); resultobj = Py_None;
26044 return resultobj;
26045 fail:
26046 return NULL;
26047 }
26048
26049
26050 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26051 PyObject *resultobj;
26052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26053 wxPyPrintout *result;
26054 PyObject * obj0 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail;
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (wxPyPrintout *)(arg1)->GetPrintout();
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 {
26070 resultobj = wxPyMake_wxObject(result, 0);
26071 }
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26081 wxPyPrintout *result;
26082 PyObject * obj0 = 0 ;
26083 char *kwnames[] = {
26084 (char *) "self", NULL
26085 };
26086
26087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail;
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 {
26098 resultobj = wxPyMake_wxObject(result, 0);
26099 }
26100 return resultobj;
26101 fail:
26102 return NULL;
26103 }
26104
26105
26106 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26107 PyObject *resultobj;
26108 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26109 wxFrame *arg2 = (wxFrame *) 0 ;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "frame", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail;
26119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26120 if (SWIG_arg_fail(2)) SWIG_fail;
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 (arg1)->SetFrame(arg2);
26124
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 Py_INCREF(Py_None); resultobj = Py_None;
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26136 PyObject *resultobj;
26137 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26138 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "canvas", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail;
26148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26149 if (SWIG_arg_fail(2)) SWIG_fail;
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 (arg1)->SetCanvas(arg2);
26153
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 Py_INCREF(Py_None); resultobj = Py_None;
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26165 PyObject *resultobj;
26166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26167 wxFrame *result;
26168 PyObject * obj0 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "self", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail;
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (wxFrame *)(arg1)->GetFrame();
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 {
26184 resultobj = wxPyMake_wxObject(result, 0);
26185 }
26186 return resultobj;
26187 fail:
26188 return NULL;
26189 }
26190
26191
26192 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26193 PyObject *resultobj;
26194 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26195 wxPreviewCanvas *result;
26196 PyObject * obj0 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26203 if (SWIG_arg_fail(1)) SWIG_fail;
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj;
26220 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26221 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26222 wxDC *arg3 = 0 ;
26223 bool result;
26224 PyObject * obj0 = 0 ;
26225 PyObject * obj1 = 0 ;
26226 PyObject * obj2 = 0 ;
26227 char *kwnames[] = {
26228 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26229 };
26230
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26233 if (SWIG_arg_fail(1)) SWIG_fail;
26234 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(2)) SWIG_fail;
26236 {
26237 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26238 if (SWIG_arg_fail(3)) SWIG_fail;
26239 if (arg3 == NULL) {
26240 SWIG_null_ref("wxDC");
26241 }
26242 if (SWIG_arg_fail(3)) SWIG_fail;
26243 }
26244 {
26245 PyThreadState* __tstate = wxPyBeginAllowThreads();
26246 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26247
26248 wxPyEndAllowThreads(__tstate);
26249 if (PyErr_Occurred()) SWIG_fail;
26250 }
26251 {
26252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26253 }
26254 return resultobj;
26255 fail:
26256 return NULL;
26257 }
26258
26259
26260 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26263 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26264 wxDC *arg3 = 0 ;
26265 bool result;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 PyObject * obj2 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(3)) SWIG_fail;
26281 if (arg3 == NULL) {
26282 SWIG_null_ref("wxDC");
26283 }
26284 if (SWIG_arg_fail(3)) SWIG_fail;
26285 }
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26295 }
26296 return resultobj;
26297 fail:
26298 return NULL;
26299 }
26300
26301
26302 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26303 PyObject *resultobj;
26304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26305 int arg2 ;
26306 bool result;
26307 PyObject * obj0 = 0 ;
26308 PyObject * obj1 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self",(char *) "pageNum", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26315 if (SWIG_arg_fail(1)) SWIG_fail;
26316 {
26317 arg2 = (int)(SWIG_As_int(obj1));
26318 if (SWIG_arg_fail(2)) SWIG_fail;
26319 }
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = (bool)(arg1)->RenderPage(arg2);
26323
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
26327 {
26328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26329 }
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26337 PyObject *resultobj;
26338 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26339 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "canvas", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail;
26349 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26350 if (SWIG_arg_fail(2)) SWIG_fail;
26351 {
26352 PyThreadState* __tstate = wxPyBeginAllowThreads();
26353 (arg1)->AdjustScrollbars(arg2);
26354
26355 wxPyEndAllowThreads(__tstate);
26356 if (PyErr_Occurred()) SWIG_fail;
26357 }
26358 Py_INCREF(Py_None); resultobj = Py_None;
26359 return resultobj;
26360 fail:
26361 return NULL;
26362 }
26363
26364
26365 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26366 PyObject *resultobj;
26367 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26368 wxPrintDialogData *result;
26369 PyObject * obj0 = 0 ;
26370 char *kwnames[] = {
26371 (char *) "self", NULL
26372 };
26373
26374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail;
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 {
26380 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26381 result = (wxPrintDialogData *) &_result_ref;
26382 }
26383
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26395 PyObject *resultobj;
26396 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26397 int arg2 ;
26398 PyObject * obj0 = 0 ;
26399 PyObject * obj1 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "percent", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26406 if (SWIG_arg_fail(1)) SWIG_fail;
26407 {
26408 arg2 = (int)(SWIG_As_int(obj1));
26409 if (SWIG_arg_fail(2)) SWIG_fail;
26410 }
26411 {
26412 PyThreadState* __tstate = wxPyBeginAllowThreads();
26413 (arg1)->SetZoom(arg2);
26414
26415 wxPyEndAllowThreads(__tstate);
26416 if (PyErr_Occurred()) SWIG_fail;
26417 }
26418 Py_INCREF(Py_None); resultobj = Py_None;
26419 return resultobj;
26420 fail:
26421 return NULL;
26422 }
26423
26424
26425 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26426 PyObject *resultobj;
26427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26428 int result;
26429 PyObject * obj0 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail;
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (int)(arg1)->GetZoom();
26440
26441 wxPyEndAllowThreads(__tstate);
26442 if (PyErr_Occurred()) SWIG_fail;
26443 }
26444 {
26445 resultobj = SWIG_From_int((int)(result));
26446 }
26447 return resultobj;
26448 fail:
26449 return NULL;
26450 }
26451
26452
26453 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26454 PyObject *resultobj;
26455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26456 int result;
26457 PyObject * obj0 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 result = (int)(arg1)->GetMaxPage();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 {
26473 resultobj = SWIG_From_int((int)(result));
26474 }
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26482 PyObject *resultobj;
26483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26484 int result;
26485 PyObject * obj0 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 result = (int)(arg1)->GetMinPage();
26496
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 {
26501 resultobj = SWIG_From_int((int)(result));
26502 }
26503 return resultobj;
26504 fail:
26505 return NULL;
26506 }
26507
26508
26509 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj;
26511 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26512 bool result;
26513 PyObject * obj0 = 0 ;
26514 char *kwnames[] = {
26515 (char *) "self", NULL
26516 };
26517
26518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail;
26521 {
26522 PyThreadState* __tstate = wxPyBeginAllowThreads();
26523 result = (bool)(arg1)->Ok();
26524
26525 wxPyEndAllowThreads(__tstate);
26526 if (PyErr_Occurred()) SWIG_fail;
26527 }
26528 {
26529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26530 }
26531 return resultobj;
26532 fail:
26533 return NULL;
26534 }
26535
26536
26537 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26538 PyObject *resultobj;
26539 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26540 bool arg2 ;
26541 PyObject * obj0 = 0 ;
26542 PyObject * obj1 = 0 ;
26543 char *kwnames[] = {
26544 (char *) "self",(char *) "ok", NULL
26545 };
26546
26547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26549 if (SWIG_arg_fail(1)) SWIG_fail;
26550 {
26551 arg2 = (bool)(SWIG_As_bool(obj1));
26552 if (SWIG_arg_fail(2)) SWIG_fail;
26553 }
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 (arg1)->SetOk(arg2);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 Py_INCREF(Py_None); resultobj = Py_None;
26562 return resultobj;
26563 fail:
26564 return NULL;
26565 }
26566
26567
26568 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj;
26570 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26571 bool arg2 ;
26572 bool result;
26573 PyObject * obj0 = 0 ;
26574 PyObject * obj1 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "interactive", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26581 if (SWIG_arg_fail(1)) SWIG_fail;
26582 {
26583 arg2 = (bool)(SWIG_As_bool(obj1));
26584 if (SWIG_arg_fail(2)) SWIG_fail;
26585 }
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 result = (bool)(arg1)->Print(arg2);
26589
26590 wxPyEndAllowThreads(__tstate);
26591 if (PyErr_Occurred()) SWIG_fail;
26592 }
26593 {
26594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26595 }
26596 return resultobj;
26597 fail:
26598 return NULL;
26599 }
26600
26601
26602 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26603 PyObject *resultobj;
26604 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26605 PyObject * obj0 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail;
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 (arg1)->DetermineScaling();
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 Py_INCREF(Py_None); resultobj = Py_None;
26621 return resultobj;
26622 fail:
26623 return NULL;
26624 }
26625
26626
26627 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26628 PyObject *obj;
26629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26630 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26631 Py_INCREF(obj);
26632 return Py_BuildValue((char *)"");
26633 }
26634 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26635 PyObject *resultobj;
26636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26637 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26638 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26639 wxPyPrintPreview *result;
26640 PyObject * obj0 = 0 ;
26641 PyObject * obj1 = 0 ;
26642 PyObject * obj2 = 0 ;
26643
26644 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26646 if (SWIG_arg_fail(1)) SWIG_fail;
26647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26648 if (SWIG_arg_fail(2)) SWIG_fail;
26649 if (obj2) {
26650 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26651 if (SWIG_arg_fail(3)) SWIG_fail;
26652 }
26653 {
26654 if (!wxPyCheckForApp()) SWIG_fail;
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26662 return resultobj;
26663 fail:
26664 return NULL;
26665 }
26666
26667
26668 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26669 PyObject *resultobj;
26670 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26671 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26672 wxPrintData *arg3 = (wxPrintData *) 0 ;
26673 wxPyPrintPreview *result;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676 PyObject * obj2 = 0 ;
26677
26678 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26680 if (SWIG_arg_fail(1)) SWIG_fail;
26681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26682 if (SWIG_arg_fail(2)) SWIG_fail;
26683 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26684 if (SWIG_arg_fail(3)) SWIG_fail;
26685 {
26686 if (!wxPyCheckForApp()) SWIG_fail;
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26689
26690 wxPyEndAllowThreads(__tstate);
26691 if (PyErr_Occurred()) SWIG_fail;
26692 }
26693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26694 return resultobj;
26695 fail:
26696 return NULL;
26697 }
26698
26699
26700 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26701 int argc;
26702 PyObject *argv[4];
26703 int ii;
26704
26705 argc = PyObject_Length(args);
26706 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26707 argv[ii] = PyTuple_GetItem(args,ii);
26708 }
26709 if ((argc >= 2) && (argc <= 3)) {
26710 int _v;
26711 {
26712 void *ptr;
26713 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26714 _v = 0;
26715 PyErr_Clear();
26716 } else {
26717 _v = 1;
26718 }
26719 }
26720 if (_v) {
26721 {
26722 void *ptr;
26723 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26724 _v = 0;
26725 PyErr_Clear();
26726 } else {
26727 _v = 1;
26728 }
26729 }
26730 if (_v) {
26731 if (argc <= 2) {
26732 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26733 }
26734 {
26735 void *ptr;
26736 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26737 _v = 0;
26738 PyErr_Clear();
26739 } else {
26740 _v = 1;
26741 }
26742 }
26743 if (_v) {
26744 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26745 }
26746 }
26747 }
26748 }
26749 if (argc == 3) {
26750 int _v;
26751 {
26752 void *ptr;
26753 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26754 _v = 0;
26755 PyErr_Clear();
26756 } else {
26757 _v = 1;
26758 }
26759 }
26760 if (_v) {
26761 {
26762 void *ptr;
26763 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26764 _v = 0;
26765 PyErr_Clear();
26766 } else {
26767 _v = 1;
26768 }
26769 }
26770 if (_v) {
26771 {
26772 void *ptr;
26773 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26774 _v = 0;
26775 PyErr_Clear();
26776 } else {
26777 _v = 1;
26778 }
26779 }
26780 if (_v) {
26781 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26782 }
26783 }
26784 }
26785 }
26786
26787 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26788 return NULL;
26789 }
26790
26791
26792 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26793 PyObject *resultobj;
26794 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26795 PyObject *arg2 = (PyObject *) 0 ;
26796 PyObject *arg3 = (PyObject *) 0 ;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 PyObject * obj2 = 0 ;
26800 char *kwnames[] = {
26801 (char *) "self",(char *) "self",(char *) "_class", NULL
26802 };
26803
26804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26806 if (SWIG_arg_fail(1)) SWIG_fail;
26807 arg2 = obj1;
26808 arg3 = obj2;
26809 {
26810 PyThreadState* __tstate = wxPyBeginAllowThreads();
26811 (arg1)->_setCallbackInfo(arg2,arg3);
26812
26813 wxPyEndAllowThreads(__tstate);
26814 if (PyErr_Occurred()) SWIG_fail;
26815 }
26816 Py_INCREF(Py_None); resultobj = Py_None;
26817 return resultobj;
26818 fail:
26819 return NULL;
26820 }
26821
26822
26823 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj;
26825 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26826 int arg2 ;
26827 bool result;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "self",(char *) "pageNum", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail;
26837 {
26838 arg2 = (int)(SWIG_As_int(obj1));
26839 if (SWIG_arg_fail(2)) SWIG_fail;
26840 }
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 {
26849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26850 }
26851 return resultobj;
26852 fail:
26853 return NULL;
26854 }
26855
26856
26857 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26858 PyObject *resultobj;
26859 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26860 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26861 wxDC *arg3 = 0 ;
26862 bool result;
26863 PyObject * obj0 = 0 ;
26864 PyObject * obj1 = 0 ;
26865 PyObject * obj2 = 0 ;
26866 char *kwnames[] = {
26867 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26868 };
26869
26870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail;
26873 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26874 if (SWIG_arg_fail(2)) SWIG_fail;
26875 {
26876 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26877 if (SWIG_arg_fail(3)) SWIG_fail;
26878 if (arg3 == NULL) {
26879 SWIG_null_ref("wxDC");
26880 }
26881 if (SWIG_arg_fail(3)) SWIG_fail;
26882 }
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26892 }
26893 return resultobj;
26894 fail:
26895 return NULL;
26896 }
26897
26898
26899 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26900 PyObject *resultobj;
26901 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26902 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26903 wxDC *arg3 = 0 ;
26904 bool result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 PyObject * obj2 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail;
26917 {
26918 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26919 if (SWIG_arg_fail(3)) SWIG_fail;
26920 if (arg3 == NULL) {
26921 SWIG_null_ref("wxDC");
26922 }
26923 if (SWIG_arg_fail(3)) SWIG_fail;
26924 }
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26944 int arg2 ;
26945 bool result;
26946 PyObject * obj0 = 0 ;
26947 PyObject * obj1 = 0 ;
26948 char *kwnames[] = {
26949 (char *) "self",(char *) "pageNum", NULL
26950 };
26951
26952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail;
26955 {
26956 arg2 = (int)(SWIG_As_int(obj1));
26957 if (SWIG_arg_fail(2)) SWIG_fail;
26958 }
26959 {
26960 PyThreadState* __tstate = wxPyBeginAllowThreads();
26961 result = (bool)(arg1)->base_RenderPage(arg2);
26962
26963 wxPyEndAllowThreads(__tstate);
26964 if (PyErr_Occurred()) SWIG_fail;
26965 }
26966 {
26967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26968 }
26969 return resultobj;
26970 fail:
26971 return NULL;
26972 }
26973
26974
26975 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj;
26977 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26978 int arg2 ;
26979 PyObject * obj0 = 0 ;
26980 PyObject * obj1 = 0 ;
26981 char *kwnames[] = {
26982 (char *) "self",(char *) "percent", NULL
26983 };
26984
26985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26987 if (SWIG_arg_fail(1)) SWIG_fail;
26988 {
26989 arg2 = (int)(SWIG_As_int(obj1));
26990 if (SWIG_arg_fail(2)) SWIG_fail;
26991 }
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 (arg1)->base_SetZoom(arg2);
26995
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 Py_INCREF(Py_None); resultobj = Py_None;
27000 return resultobj;
27001 fail:
27002 return NULL;
27003 }
27004
27005
27006 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27007 PyObject *resultobj;
27008 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27009 bool arg2 ;
27010 bool result;
27011 PyObject * obj0 = 0 ;
27012 PyObject * obj1 = 0 ;
27013 char *kwnames[] = {
27014 (char *) "self",(char *) "interactive", NULL
27015 };
27016
27017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27019 if (SWIG_arg_fail(1)) SWIG_fail;
27020 {
27021 arg2 = (bool)(SWIG_As_bool(obj1));
27022 if (SWIG_arg_fail(2)) SWIG_fail;
27023 }
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 result = (bool)(arg1)->base_Print(arg2);
27027
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 {
27032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27033 }
27034 return resultobj;
27035 fail:
27036 return NULL;
27037 }
27038
27039
27040 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27041 PyObject *resultobj;
27042 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27043 PyObject * obj0 = 0 ;
27044 char *kwnames[] = {
27045 (char *) "self", NULL
27046 };
27047
27048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27050 if (SWIG_arg_fail(1)) SWIG_fail;
27051 {
27052 PyThreadState* __tstate = wxPyBeginAllowThreads();
27053 (arg1)->base_DetermineScaling();
27054
27055 wxPyEndAllowThreads(__tstate);
27056 if (PyErr_Occurred()) SWIG_fail;
27057 }
27058 Py_INCREF(Py_None); resultobj = Py_None;
27059 return resultobj;
27060 fail:
27061 return NULL;
27062 }
27063
27064
27065 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27066 PyObject *obj;
27067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27068 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27069 Py_INCREF(obj);
27070 return Py_BuildValue((char *)"");
27071 }
27072 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27073 PyObject *resultobj;
27074 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27075 wxFrame *arg2 = (wxFrame *) 0 ;
27076 wxString *arg3 = 0 ;
27077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27079 wxSize const &arg5_defvalue = wxDefaultSize ;
27080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27081 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27082 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27083 wxString *arg7 = (wxString *) &arg7_defvalue ;
27084 wxPyPreviewFrame *result;
27085 bool temp3 = false ;
27086 wxPoint temp4 ;
27087 wxSize temp5 ;
27088 bool temp7 = false ;
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
27091 PyObject * obj2 = 0 ;
27092 PyObject * obj3 = 0 ;
27093 PyObject * obj4 = 0 ;
27094 PyObject * obj5 = 0 ;
27095 PyObject * obj6 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail;
27103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27104 if (SWIG_arg_fail(2)) SWIG_fail;
27105 {
27106 arg3 = wxString_in_helper(obj2);
27107 if (arg3 == NULL) SWIG_fail;
27108 temp3 = true;
27109 }
27110 if (obj3) {
27111 {
27112 arg4 = &temp4;
27113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27114 }
27115 }
27116 if (obj4) {
27117 {
27118 arg5 = &temp5;
27119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27120 }
27121 }
27122 if (obj5) {
27123 {
27124 arg6 = (long)(SWIG_As_long(obj5));
27125 if (SWIG_arg_fail(6)) SWIG_fail;
27126 }
27127 }
27128 if (obj6) {
27129 {
27130 arg7 = wxString_in_helper(obj6);
27131 if (arg7 == NULL) SWIG_fail;
27132 temp7 = true;
27133 }
27134 }
27135 {
27136 if (!wxPyCheckForApp()) SWIG_fail;
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27144 {
27145 if (temp3)
27146 delete arg3;
27147 }
27148 {
27149 if (temp7)
27150 delete arg7;
27151 }
27152 return resultobj;
27153 fail:
27154 {
27155 if (temp3)
27156 delete arg3;
27157 }
27158 {
27159 if (temp7)
27160 delete arg7;
27161 }
27162 return NULL;
27163 }
27164
27165
27166 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27167 PyObject *resultobj;
27168 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27169 PyObject *arg2 = (PyObject *) 0 ;
27170 PyObject *arg3 = (PyObject *) 0 ;
27171 PyObject * obj0 = 0 ;
27172 PyObject * obj1 = 0 ;
27173 PyObject * obj2 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self",(char *) "self",(char *) "_class", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail;
27181 arg2 = obj1;
27182 arg3 = obj2;
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 (arg1)->_setCallbackInfo(arg2,arg3);
27186
27187 wxPyEndAllowThreads(__tstate);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 Py_INCREF(Py_None); resultobj = Py_None;
27191 return resultobj;
27192 fail:
27193 return NULL;
27194 }
27195
27196
27197 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27198 PyObject *resultobj;
27199 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27200 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self",(char *) "canvas", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail;
27210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27211 if (SWIG_arg_fail(2)) SWIG_fail;
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 (arg1)->SetPreviewCanvas(arg2);
27215
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 Py_INCREF(Py_None); resultobj = Py_None;
27220 return resultobj;
27221 fail:
27222 return NULL;
27223 }
27224
27225
27226 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27227 PyObject *resultobj;
27228 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27229 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27230 PyObject * obj0 = 0 ;
27231 PyObject * obj1 = 0 ;
27232 char *kwnames[] = {
27233 (char *) "self",(char *) "bar", NULL
27234 };
27235
27236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27238 if (SWIG_arg_fail(1)) SWIG_fail;
27239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27240 if (SWIG_arg_fail(2)) SWIG_fail;
27241 {
27242 PyThreadState* __tstate = wxPyBeginAllowThreads();
27243 (arg1)->SetControlBar(arg2);
27244
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 Py_INCREF(Py_None); resultobj = Py_None;
27249 return resultobj;
27250 fail:
27251 return NULL;
27252 }
27253
27254
27255 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27258 PyObject * obj0 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27265 if (SWIG_arg_fail(1)) SWIG_fail;
27266 {
27267 PyThreadState* __tstate = wxPyBeginAllowThreads();
27268 (arg1)->base_Initialize();
27269
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 Py_INCREF(Py_None); resultobj = Py_None;
27274 return resultobj;
27275 fail:
27276 return NULL;
27277 }
27278
27279
27280 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj;
27282 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27283 PyObject * obj0 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27290 if (SWIG_arg_fail(1)) SWIG_fail;
27291 {
27292 PyThreadState* __tstate = wxPyBeginAllowThreads();
27293 (arg1)->base_CreateCanvas();
27294
27295 wxPyEndAllowThreads(__tstate);
27296 if (PyErr_Occurred()) SWIG_fail;
27297 }
27298 Py_INCREF(Py_None); resultobj = Py_None;
27299 return resultobj;
27300 fail:
27301 return NULL;
27302 }
27303
27304
27305 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27308 PyObject * obj0 = 0 ;
27309 char *kwnames[] = {
27310 (char *) "self", NULL
27311 };
27312
27313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail;
27316 {
27317 PyThreadState* __tstate = wxPyBeginAllowThreads();
27318 (arg1)->base_CreateControlBar();
27319
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 Py_INCREF(Py_None); resultobj = Py_None;
27324 return resultobj;
27325 fail:
27326 return NULL;
27327 }
27328
27329
27330 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27331 PyObject *obj;
27332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27333 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27334 Py_INCREF(obj);
27335 return Py_BuildValue((char *)"");
27336 }
27337 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27338 PyObject *resultobj;
27339 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27340 long arg2 ;
27341 wxWindow *arg3 = (wxWindow *) 0 ;
27342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27344 wxSize const &arg5_defvalue = wxDefaultSize ;
27345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27346 long arg6 = (long) 0 ;
27347 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27348 wxString *arg7 = (wxString *) &arg7_defvalue ;
27349 wxPyPreviewControlBar *result;
27350 wxPoint temp4 ;
27351 wxSize temp5 ;
27352 bool temp7 = false ;
27353 PyObject * obj0 = 0 ;
27354 PyObject * obj1 = 0 ;
27355 PyObject * obj2 = 0 ;
27356 PyObject * obj3 = 0 ;
27357 PyObject * obj4 = 0 ;
27358 PyObject * obj5 = 0 ;
27359 PyObject * obj6 = 0 ;
27360 char *kwnames[] = {
27361 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27362 };
27363
27364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27366 if (SWIG_arg_fail(1)) SWIG_fail;
27367 {
27368 arg2 = (long)(SWIG_As_long(obj1));
27369 if (SWIG_arg_fail(2)) SWIG_fail;
27370 }
27371 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27372 if (SWIG_arg_fail(3)) SWIG_fail;
27373 if (obj3) {
27374 {
27375 arg4 = &temp4;
27376 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27377 }
27378 }
27379 if (obj4) {
27380 {
27381 arg5 = &temp5;
27382 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27383 }
27384 }
27385 if (obj5) {
27386 {
27387 arg6 = (long)(SWIG_As_long(obj5));
27388 if (SWIG_arg_fail(6)) SWIG_fail;
27389 }
27390 }
27391 if (obj6) {
27392 {
27393 arg7 = wxString_in_helper(obj6);
27394 if (arg7 == NULL) SWIG_fail;
27395 temp7 = true;
27396 }
27397 }
27398 {
27399 if (!wxPyCheckForApp()) SWIG_fail;
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27407 {
27408 if (temp7)
27409 delete arg7;
27410 }
27411 return resultobj;
27412 fail:
27413 {
27414 if (temp7)
27415 delete arg7;
27416 }
27417 return NULL;
27418 }
27419
27420
27421 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27422 PyObject *resultobj;
27423 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27424 PyObject *arg2 = (PyObject *) 0 ;
27425 PyObject *arg3 = (PyObject *) 0 ;
27426 PyObject * obj0 = 0 ;
27427 PyObject * obj1 = 0 ;
27428 PyObject * obj2 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "self",(char *) "_class", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail;
27436 arg2 = obj1;
27437 arg3 = obj2;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 (arg1)->_setCallbackInfo(arg2,arg3);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 Py_INCREF(Py_None); resultobj = Py_None;
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj;
27454 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27455 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27456 PyObject * obj0 = 0 ;
27457 PyObject * obj1 = 0 ;
27458 char *kwnames[] = {
27459 (char *) "self",(char *) "preview", NULL
27460 };
27461
27462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27464 if (SWIG_arg_fail(1)) SWIG_fail;
27465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27466 if (SWIG_arg_fail(2)) SWIG_fail;
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 (arg1)->SetPrintPreview(arg2);
27470
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 Py_INCREF(Py_None); resultobj = Py_None;
27475 return resultobj;
27476 fail:
27477 return NULL;
27478 }
27479
27480
27481 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27482 PyObject *resultobj;
27483 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27484 PyObject * obj0 = 0 ;
27485 char *kwnames[] = {
27486 (char *) "self", NULL
27487 };
27488
27489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27491 if (SWIG_arg_fail(1)) SWIG_fail;
27492 {
27493 PyThreadState* __tstate = wxPyBeginAllowThreads();
27494 (arg1)->base_CreateButtons();
27495
27496 wxPyEndAllowThreads(__tstate);
27497 if (PyErr_Occurred()) SWIG_fail;
27498 }
27499 Py_INCREF(Py_None); resultobj = Py_None;
27500 return resultobj;
27501 fail:
27502 return NULL;
27503 }
27504
27505
27506 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27507 PyObject *resultobj;
27508 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27509 int arg2 ;
27510 PyObject * obj0 = 0 ;
27511 PyObject * obj1 = 0 ;
27512 char *kwnames[] = {
27513 (char *) "self",(char *) "zoom", NULL
27514 };
27515
27516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27518 if (SWIG_arg_fail(1)) SWIG_fail;
27519 {
27520 arg2 = (int)(SWIG_As_int(obj1));
27521 if (SWIG_arg_fail(2)) SWIG_fail;
27522 }
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 (arg1)->base_SetZoomControl(arg2);
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 Py_INCREF(Py_None); resultobj = Py_None;
27531 return resultobj;
27532 fail:
27533 return NULL;
27534 }
27535
27536
27537 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27538 PyObject *obj;
27539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27540 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27541 Py_INCREF(obj);
27542 return Py_BuildValue((char *)"");
27543 }
27544 static PyMethodDef SwigMethods[] = {
27545 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27553 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27568 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27569 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27578 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27596 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27620 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27633 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27637 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27641 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27646 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27663 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27693 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27700 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27723 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27731 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27743 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27749 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27758 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27764 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27767 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27770 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27774 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27792 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27818 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27826 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27835 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27846 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27849 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27856 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27874 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27878 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27883 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27887 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27889 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27905 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27908 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27910 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27914 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27923 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27932 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27938 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27950 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27957 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27961 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28013 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28039 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28040 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28087 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28088 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28121 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28126 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28127 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28160 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28166 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28177 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28200 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28202 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28208 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28218 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28219 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28242 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28243 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28252 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28260 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28266 { NULL, NULL, 0, NULL }
28267 };
28268
28269
28270 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28271
28272 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28273 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28274 }
28275 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28277 }
28278 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28279 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28280 }
28281 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28282 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28283 }
28284 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28285 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28286 }
28287 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28288 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28289 }
28290 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28291 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28292 }
28293 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28294 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28295 }
28296 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28297 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28298 }
28299 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28300 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28301 }
28302 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28303 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28304 }
28305 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28306 return (void *)((wxEvent *) ((wxPyEvent *) x));
28307 }
28308 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28310 }
28311 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28312 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28313 }
28314 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28315 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28316 }
28317 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28318 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28319 }
28320 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28321 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28322 }
28323 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28324 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28325 }
28326 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28327 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28328 }
28329 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28330 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28331 }
28332 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28333 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28334 }
28335 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28336 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28337 }
28338 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28340 }
28341 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28342 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28343 }
28344 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28345 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28346 }
28347 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28349 }
28350 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28351 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28352 }
28353 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28354 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28355 }
28356 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28357 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28358 }
28359 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28360 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28361 }
28362 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28363 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28364 }
28365 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28366 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28367 }
28368 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28370 }
28371 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28373 }
28374 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28375 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28376 }
28377 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28378 return (void *)((wxEvent *) ((wxShowEvent *) x));
28379 }
28380 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28381 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28382 }
28383 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28385 }
28386 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28388 }
28389 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28390 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28391 }
28392 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28393 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28394 }
28395 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28396 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28397 }
28398 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28399 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28400 }
28401 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28402 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28403 }
28404 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28405 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28406 }
28407 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28408 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28409 }
28410 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28412 }
28413 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28414 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28415 }
28416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28418 }
28419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28420 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28421 }
28422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28423 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28424 }
28425 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28426 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28427 }
28428 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28430 }
28431 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28433 }
28434 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28436 }
28437 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28439 }
28440 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28442 }
28443 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28445 }
28446 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28448 }
28449 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28451 }
28452 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28453 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28454 }
28455 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28456 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28457 }
28458 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28459 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28460 }
28461 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28462 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28463 }
28464 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28465 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28466 }
28467 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28468 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28469 }
28470 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28471 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28472 }
28473 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28474 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28475 }
28476 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28477 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28478 }
28479 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28480 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28481 }
28482 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28483 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28484 }
28485 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28486 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28487 }
28488 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28489 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28490 }
28491 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28492 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28493 }
28494 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28496 }
28497 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28498 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28499 }
28500 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28502 }
28503 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28505 }
28506 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28508 }
28509 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28510 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28511 }
28512 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28514 }
28515 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28516 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28517 }
28518 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28519 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28520 }
28521 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28523 }
28524 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28526 }
28527 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28529 }
28530 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28532 }
28533 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28534 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28535 }
28536 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28537 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28538 }
28539 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28540 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28541 }
28542 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28544 }
28545 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28547 }
28548 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28550 }
28551 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28553 }
28554 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28555 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28556 }
28557 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28558 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28559 }
28560 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28561 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28562 }
28563 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28564 return (void *)((wxFrame *) ((wxTipWindow *) x));
28565 }
28566 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28567 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28568 }
28569 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28570 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28571 }
28572 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28573 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28574 }
28575 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28576 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28577 }
28578 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28579 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28580 }
28581 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28582 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28583 }
28584 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28586 }
28587 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28589 }
28590 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28592 }
28593 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28595 }
28596 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) ((wxSizerItem *) x));
28598 }
28599 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28601 }
28602 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28604 }
28605 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28607 }
28608 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28610 }
28611 static void *_p_wxSizerTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) ((wxSizer *) x));
28613 }
28614 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28616 }
28617 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28619 }
28620 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28622 }
28623 static void *_p_wxEventTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) ((wxEvent *) x));
28625 }
28626 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) ((wxFontData *) x));
28628 }
28629 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) ((wxPrintData *) x));
28631 }
28632 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28634 }
28635 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28637 }
28638 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28640 }
28641 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28643 }
28644 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28646 }
28647 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28649 }
28650 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28652 }
28653 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28655 }
28656 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28658 }
28659 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28661 }
28662 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28664 }
28665 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28667 }
28668 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28670 }
28671 static void *_p_wxControlTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28673 }
28674 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28676 }
28677 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28679 }
28680 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) ((wxFSFile *) x));
28682 }
28683 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28685 }
28686 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28688 }
28689 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28691 }
28692 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) ((wxColourData *) x));
28694 }
28695 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28697 }
28698 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28700 }
28701 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28703 }
28704 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28706 }
28707 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28709 }
28710 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28712 }
28713 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28715 }
28716 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28718 }
28719 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28721 }
28722 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28724 }
28725 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28727 }
28728 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28730 }
28731 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28733 }
28734 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) ((wxPrinter *) x));
28736 }
28737 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) ((wxMenuItem *) x));
28739 }
28740 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28742 }
28743 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28744 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28745 }
28746 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28748 }
28749 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28750 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28751 }
28752 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28753 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28754 }
28755 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28756 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28757 }
28758 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28759 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28760 }
28761 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28762 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28763 }
28764 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28765 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28766 }
28767 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28768 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28769 }
28770 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28771 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28772 }
28773 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28774 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28775 }
28776 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28777 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28778 }
28779 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28780 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28781 }
28782 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28783 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28784 }
28785 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28787 }
28788 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28790 }
28791 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28793 }
28794 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28796 }
28797 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) ((wxImageHandler *) x));
28799 }
28800 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28802 }
28803 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) ((wxEvtHandler *) x));
28805 }
28806 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28808 }
28809 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28811 }
28812 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28814 }
28815 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28817 }
28818 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28820 }
28821 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28823 }
28824 static void *_p_wxImageTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) ((wxImage *) x));
28826 }
28827 static void *_p_wxFrameTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28829 }
28830 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) ((wxPyPrintout *) x));
28832 }
28833 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28835 }
28836 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28838 }
28839 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28841 }
28842 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28844 }
28845 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28847 }
28848 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28850 }
28851 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28853 }
28854 static void *_p_wxWindowTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28856 }
28857 static void *_p_wxMenuTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28859 }
28860 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28862 }
28863 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28865 }
28866 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28868 }
28869 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28871 }
28872 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28874 }
28875 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28877 }
28878 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28880 }
28881 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28883 }
28884 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28886 }
28887 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28889 }
28890 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28892 }
28893 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28895 }
28896 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28898 }
28899 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28901 }
28902 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) ((wxPrintPreview *) x));
28904 }
28905 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28907 }
28908 static void *_p_wxPanelTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28910 }
28911 static void *_p_wxDialogTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28913 }
28914 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28916 }
28917 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28919 }
28920 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28922 }
28923 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28925 }
28926 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) ((wxPrintDialog *) x));
28928 }
28929 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) ((wxFileSystem *) x));
28931 }
28932 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28934 }
28935 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28937 }
28938 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28940 }
28941 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28943 }
28944 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28946 }
28947 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28949 }
28950 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28952 }
28953 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28955 }
28956 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28958 }
28959 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28961 }
28962 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28964 }
28965 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28967 }
28968 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28970 }
28971 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28973 }
28974 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28976 }
28977 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28979 }
28980 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28982 }
28983 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28985 }
28986 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28987 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28988 }
28989 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28990 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28991 }
28992 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28993 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28994 }
28995 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28996 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28997 }
28998 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28999 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29000 }
29001 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29002 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29003 }
29004 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29005 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29006 }
29007 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29008 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29009 }
29010 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29011 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29012 }
29013 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29014 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29015 }
29016 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29017 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29018 }
29019 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
29020 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
29021 }
29022 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29023 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29024 }
29025 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29026 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29027 }
29028 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29029 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29030 }
29031 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29032 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29033 }
29034 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29035 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29036 }
29037 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29038 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29039 }
29040 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29041 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29042 }
29043 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29044 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29045 }
29046 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29047 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29048 }
29049 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29050 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29051 }
29052 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29053 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29054 }
29055 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29056 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29057 }
29058 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29060 }
29061 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29063 }
29064 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29065 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29066 }
29067 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29068 return (void *)((wxWindow *) ((wxMenuBar *) x));
29069 }
29070 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29071 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29072 }
29073 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29074 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29075 }
29076 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29078 }
29079 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29081 }
29082 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29084 }
29085 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29087 }
29088 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29089 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29090 }
29091 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29093 }
29094 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29095 return (void *)((wxWindow *) ((wxPanel *) x));
29096 }
29097 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29098 return (void *)((wxWindow *) ((wxStatusBar *) x));
29099 }
29100 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29101 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29102 }
29103 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
29105 }
29106 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29107 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29108 }
29109 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29110 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29111 }
29112 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29113 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29114 }
29115 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29116 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29117 }
29118 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29119 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29120 }
29121 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29122 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29123 }
29124 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29125 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29126 }
29127 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29128 return (void *)((wxWindow *) ((wxSashWindow *) x));
29129 }
29130 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29131 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29132 }
29133 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29134 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29135 }
29136 static void *_p_wxControlTo_p_wxWindow(void *x) {
29137 return (void *)((wxWindow *) ((wxControl *) x));
29138 }
29139 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29141 }
29142 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29144 }
29145 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29147 }
29148 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29149 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29150 }
29151 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29152 return (void *)((wxWindow *) ((wxPyWindow *) x));
29153 }
29154 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29155 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29156 }
29157 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29158 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29159 }
29160 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29161 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29162 }
29163 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29164 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29165 }
29166 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29167 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29168 }
29169 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29170 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29171 }
29172 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29174 }
29175 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29177 }
29178 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29180 }
29181 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29182 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29183 }
29184 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29186 }
29187 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29188 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29189 }
29190 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29191 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29192 }
29193 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29194 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29195 }
29196 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29197 return (void *)((wxDialog *) ((wxColourDialog *) x));
29198 }
29199 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29200 return (void *)((wxDialog *) ((wxDirDialog *) x));
29201 }
29202 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29203 return (void *)((wxDialog *) ((wxFontDialog *) x));
29204 }
29205 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29206 return (void *)((wxDialog *) ((wxFileDialog *) x));
29207 }
29208 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29209 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29210 }
29211 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29212 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29213 }
29214 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29215 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29216 }
29217 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29218 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29219 }
29220 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29221 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29222 }
29223 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29224 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29225 }
29226 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29227 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29228 }
29229 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29230 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29231 }
29232 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29233 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29234 }
29235 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29236 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29237 }
29238 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29239 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29240 }
29241 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29242 return (void *)((wxPanel *) ((wxPyPanel *) x));
29243 }
29244 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29245 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29246 }
29247 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29248 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29249 }
29250 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29251 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29252 }
29253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29254 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29255 }
29256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29257 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29258 }
29259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29260 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29261 }
29262 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29263 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29264 }
29265 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29266 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29267 }
29268 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29269 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29270 }
29271 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29272 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29273 }
29274 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29275 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29276 }
29277 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29278 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29279 }
29280 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29281 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29282 }
29283 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29284 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29285 }
29286 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29287 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29288 }
29289 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29290 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29291 }
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389
29390 static swig_type_info *swig_types_initial[] = {
29391 _swigt__p_wxQueryLayoutInfoEvent,
29392 _swigt__p_wxPreviewFrame,
29393 _swigt__p_wxPyPreviewFrame,
29394 _swigt__p_wxPyPanel,
29395 _swigt__p_wxMenu,
29396 _swigt__p_wxFontData,
29397 _swigt__p_wxEvent,
29398 _swigt__p_wxPrintData,
29399 _swigt__p_wxTaskBarIcon,
29400 _swigt__p_wxPyTaskBarIcon,
29401 _swigt__p_wxIconBundle,
29402 _swigt__p_wxLayoutAlgorithm,
29403 _swigt__p_wxFindDialogEvent,
29404 _swigt__p_wxPreviewCanvas,
29405 _swigt__p_wxFont,
29406 _swigt__p_wxSplitterEvent,
29407 _swigt__p_wxRegion,
29408 _swigt__ptrdiff_t,
29409 _swigt__std__ptrdiff_t,
29410 _swigt__p_wxFindReplaceData,
29411 _swigt__p_int,
29412 _swigt__p_wxSize,
29413 _swigt__p_wxDC,
29414 _swigt__p_wxIcon,
29415 _swigt__p_wxVisualAttributes,
29416 _swigt__p_wxMDIChildFrame,
29417 _swigt__p_wxColourData,
29418 _swigt__p_wxNotifyEvent,
29419 _swigt__p_wxPyWindow,
29420 _swigt__p_form_ops_t,
29421 _swigt__p_wxSplashScreen,
29422 _swigt__p_wxPasswordEntryDialog,
29423 _swigt__p_wxSingleChoiceDialog,
29424 _swigt__p_wxMultiChoiceDialog,
29425 _swigt__p_wxFileDialog,
29426 _swigt__p_wxTextEntryDialog,
29427 _swigt__p_wxMessageDialog,
29428 _swigt__p_wxProgressDialog,
29429 _swigt__p_wxFindReplaceDialog,
29430 _swigt__p_wxPrinter,
29431 _swigt__p_wxArrayInt,
29432 _swigt__p_wxDuplexMode,
29433 _swigt__p_wxEvtHandler,
29434 _swigt__p_wxCalculateLayoutEvent,
29435 _swigt__p_wxPyHtmlListBox,
29436 _swigt__p_wxPyVListBox,
29437 _swigt__p_wxRect,
29438 _swigt__p_wxStdDialogButtonSizer,
29439 _swigt__p_char,
29440 _swigt__p_wxMiniFrame,
29441 _swigt__p_wxFrame,
29442 _swigt__p_wxPyPrintout,
29443 _swigt__p_wxTaskBarIconEvent,
29444 _swigt__p_wxScrollWinEvent,
29445 _swigt__p_wxPaperSize,
29446 _swigt__p_wxStatusBar,
29447 _swigt__p_wxMDIParentFrame,
29448 _swigt__p_wxPoint,
29449 _swigt__p_wxObject,
29450 _swigt__p_unsigned_long,
29451 _swigt__p_wxTipWindow,
29452 _swigt__p_wxPyPopupTransientWindow,
29453 _swigt__p_wxSashLayoutWindow,
29454 _swigt__p_wxSplitterWindow,
29455 _swigt__p_wxSplashScreenWindow,
29456 _swigt__p_wxPyVScrolledWindow,
29457 _swigt__p_wxPopupWindow,
29458 _swigt__p_wxSashWindow,
29459 _swigt__p_wxTopLevelWindow,
29460 _swigt__p_wxWindow,
29461 _swigt__p_wxScrolledWindow,
29462 _swigt__p_wxMenuBar,
29463 _swigt__p_wxMDIClientWindow,
29464 _swigt__p_wxPyScrolledWindow,
29465 _swigt__p_wxPrintPreview,
29466 _swigt__p_wxSashEvent,
29467 _swigt__p_wxString,
29468 _swigt__p_wxPyPrintPreview,
29469 _swigt__p_wxDirDialog,
29470 _swigt__p_wxColourDialog,
29471 _swigt__p_wxDialog,
29472 _swigt__p_wxPanel,
29473 _swigt__p_wxFontDialog,
29474 _swigt__p_wxPageSetupDialog,
29475 _swigt__p_wxPrintDialog,
29476 _swigt__p_wxFileSystem,
29477 _swigt__p_wxBitmap,
29478 _swigt__unsigned_int,
29479 _swigt__p_unsigned_int,
29480 _swigt__p_unsigned_char,
29481 _swigt__p_wxCommandEvent,
29482 _swigt__p_wxPreviewControlBar,
29483 _swigt__p_wxPyPreviewControlBar,
29484 _swigt__p_wxColour,
29485 _swigt__p_wxToolBar,
29486 _swigt__p_wxPageSetupDialogData,
29487 _swigt__p_wxPrintDialogData,
29488 0
29489 };
29490
29491
29492 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29493
29494 static swig_const_info swig_const_table[] = {
29495 {0, 0, 0, 0.0, 0, 0}};
29496
29497 #ifdef __cplusplus
29498 }
29499 #endif
29500
29501
29502 #ifdef __cplusplus
29503 extern "C" {
29504 #endif
29505
29506 /* Python-specific SWIG API */
29507 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29508 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29509 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29510
29511 /* -----------------------------------------------------------------------------
29512 * global variable support code.
29513 * ----------------------------------------------------------------------------- */
29514
29515 typedef struct swig_globalvar {
29516 char *name; /* Name of global variable */
29517 PyObject *(*get_attr)(); /* Return the current value */
29518 int (*set_attr)(PyObject *); /* Set the value */
29519 struct swig_globalvar *next;
29520 } swig_globalvar;
29521
29522 typedef struct swig_varlinkobject {
29523 PyObject_HEAD
29524 swig_globalvar *vars;
29525 } swig_varlinkobject;
29526
29527 static PyObject *
29528 swig_varlink_repr(swig_varlinkobject *v) {
29529 v = v;
29530 return PyString_FromString("<Swig global variables>");
29531 }
29532
29533 static int
29534 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29535 swig_globalvar *var;
29536 flags = flags;
29537 fprintf(fp,"Swig global variables { ");
29538 for (var = v->vars; var; var=var->next) {
29539 fprintf(fp,"%s", var->name);
29540 if (var->next) fprintf(fp,", ");
29541 }
29542 fprintf(fp," }\n");
29543 return 0;
29544 }
29545
29546 static PyObject *
29547 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29548 swig_globalvar *var = v->vars;
29549 while (var) {
29550 if (strcmp(var->name,n) == 0) {
29551 return (*var->get_attr)();
29552 }
29553 var = var->next;
29554 }
29555 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29556 return NULL;
29557 }
29558
29559 static int
29560 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29561 swig_globalvar *var = v->vars;
29562 while (var) {
29563 if (strcmp(var->name,n) == 0) {
29564 return (*var->set_attr)(p);
29565 }
29566 var = var->next;
29567 }
29568 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29569 return 1;
29570 }
29571
29572 static PyTypeObject varlinktype = {
29573 PyObject_HEAD_INIT(0)
29574 0, /* Number of items in variable part (ob_size) */
29575 (char *)"swigvarlink", /* Type name (tp_name) */
29576 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29577 0, /* Itemsize (tp_itemsize) */
29578 0, /* Deallocator (tp_dealloc) */
29579 (printfunc) swig_varlink_print, /* Print (tp_print) */
29580 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29581 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29582 0, /* tp_compare */
29583 (reprfunc) swig_varlink_repr, /* tp_repr */
29584 0, /* tp_as_number */
29585 0, /* tp_as_sequence */
29586 0, /* tp_as_mapping */
29587 0, /* tp_hash */
29588 0, /* tp_call */
29589 0, /* tp_str */
29590 0, /* tp_getattro */
29591 0, /* tp_setattro */
29592 0, /* tp_as_buffer */
29593 0, /* tp_flags */
29594 0, /* tp_doc */
29595 #if PY_VERSION_HEX >= 0x02000000
29596 0, /* tp_traverse */
29597 0, /* tp_clear */
29598 #endif
29599 #if PY_VERSION_HEX >= 0x02010000
29600 0, /* tp_richcompare */
29601 0, /* tp_weaklistoffset */
29602 #endif
29603 #if PY_VERSION_HEX >= 0x02020000
29604 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29605 #endif
29606 #if PY_VERSION_HEX >= 0x02030000
29607 0, /* tp_del */
29608 #endif
29609 #ifdef COUNT_ALLOCS
29610 0,0,0,0 /* tp_alloc -> tp_next */
29611 #endif
29612 };
29613
29614 /* Create a variable linking object for use later */
29615 static PyObject *
29616 SWIG_Python_newvarlink(void) {
29617 swig_varlinkobject *result = 0;
29618 result = PyMem_NEW(swig_varlinkobject,1);
29619 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29620 result->ob_type = &varlinktype;
29621 result->vars = 0;
29622 result->ob_refcnt = 0;
29623 Py_XINCREF((PyObject *) result);
29624 return ((PyObject*) result);
29625 }
29626
29627 static void
29628 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29629 swig_varlinkobject *v;
29630 swig_globalvar *gv;
29631 v= (swig_varlinkobject *) p;
29632 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29633 gv->name = (char *) malloc(strlen(name)+1);
29634 strcpy(gv->name,name);
29635 gv->get_attr = get_attr;
29636 gv->set_attr = set_attr;
29637 gv->next = v->vars;
29638 v->vars = gv;
29639 }
29640
29641 /* -----------------------------------------------------------------------------
29642 * constants/methods manipulation
29643 * ----------------------------------------------------------------------------- */
29644
29645 /* Install Constants */
29646 static void
29647 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29648 PyObject *obj = 0;
29649 size_t i;
29650 for (i = 0; constants[i].type; i++) {
29651 switch(constants[i].type) {
29652 case SWIG_PY_INT:
29653 obj = PyInt_FromLong(constants[i].lvalue);
29654 break;
29655 case SWIG_PY_FLOAT:
29656 obj = PyFloat_FromDouble(constants[i].dvalue);
29657 break;
29658 case SWIG_PY_STRING:
29659 if (constants[i].pvalue) {
29660 obj = PyString_FromString((char *) constants[i].pvalue);
29661 } else {
29662 Py_INCREF(Py_None);
29663 obj = Py_None;
29664 }
29665 break;
29666 case SWIG_PY_POINTER:
29667 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29668 break;
29669 case SWIG_PY_BINARY:
29670 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29671 break;
29672 default:
29673 obj = 0;
29674 break;
29675 }
29676 if (obj) {
29677 PyDict_SetItemString(d,constants[i].name,obj);
29678 Py_DECREF(obj);
29679 }
29680 }
29681 }
29682
29683 /* -----------------------------------------------------------------------------*/
29684 /* Fix SwigMethods to carry the callback ptrs when needed */
29685 /* -----------------------------------------------------------------------------*/
29686
29687 static void
29688 SWIG_Python_FixMethods(PyMethodDef *methods,
29689 swig_const_info *const_table,
29690 swig_type_info **types,
29691 swig_type_info **types_initial) {
29692 size_t i;
29693 for (i = 0; methods[i].ml_name; ++i) {
29694 char *c = methods[i].ml_doc;
29695 if (c && (c = strstr(c, "swig_ptr: "))) {
29696 int j;
29697 swig_const_info *ci = 0;
29698 char *name = c + 10;
29699 for (j = 0; const_table[j].type; j++) {
29700 if (strncmp(const_table[j].name, name,
29701 strlen(const_table[j].name)) == 0) {
29702 ci = &(const_table[j]);
29703 break;
29704 }
29705 }
29706 if (ci) {
29707 size_t shift = (ci->ptype) - types;
29708 swig_type_info *ty = types_initial[shift];
29709 size_t ldoc = (c - methods[i].ml_doc);
29710 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29711 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29712 char *buff = ndoc;
29713 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29714 strncpy(buff, methods[i].ml_doc, ldoc);
29715 buff += ldoc;
29716 strncpy(buff, "swig_ptr: ", 10);
29717 buff += 10;
29718 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29719 methods[i].ml_doc = ndoc;
29720 }
29721 }
29722 }
29723 }
29724
29725 /* -----------------------------------------------------------------------------*
29726 * Initialize type list
29727 * -----------------------------------------------------------------------------*/
29728
29729 #if PY_MAJOR_VERSION < 2
29730 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29731 is copied out of Python/modsupport.c in python version 2.3.4 */
29732 static int
29733 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29734 {
29735 PyObject *dict;
29736 if (!PyModule_Check(m)) {
29737 PyErr_SetString(PyExc_TypeError,
29738 "PyModule_AddObject() needs module as first arg");
29739 return -1;
29740 }
29741 if (!o) {
29742 PyErr_SetString(PyExc_TypeError,
29743 "PyModule_AddObject() needs non-NULL value");
29744 return -1;
29745 }
29746
29747 dict = PyModule_GetDict(m);
29748 if (dict == NULL) {
29749 /* Internal error -- modules must have a dict! */
29750 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29751 PyModule_GetName(m));
29752 return -1;
29753 }
29754 if (PyDict_SetItemString(dict, name, o))
29755 return -1;
29756 Py_DECREF(o);
29757 return 0;
29758 }
29759 #endif
29760
29761 static swig_type_info **
29762 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29763 static PyMethodDef swig_empty_runtime_method_table[] = {
29764 {
29765 NULL, NULL, 0, NULL
29766 }
29767 };/* Sentinel */
29768
29769 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29770 swig_empty_runtime_method_table);
29771 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29772 if (pointer && module) {
29773 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29774 }
29775 return type_list_handle;
29776 }
29777
29778 static swig_type_info **
29779 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29780 swig_type_info **type_pointer;
29781
29782 /* first check if module already created */
29783 type_pointer = SWIG_Python_GetTypeListHandle();
29784 if (type_pointer) {
29785 return type_pointer;
29786 } else {
29787 /* create a new module and variable */
29788 return SWIG_Python_SetTypeListHandle(type_list_handle);
29789 }
29790 }
29791
29792 #ifdef __cplusplus
29793 }
29794 #endif
29795
29796 /* -----------------------------------------------------------------------------*
29797 * Partial Init method
29798 * -----------------------------------------------------------------------------*/
29799
29800 #ifdef SWIG_LINK_RUNTIME
29801 #ifdef __cplusplus
29802 extern "C"
29803 #endif
29804 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29805 #endif
29806
29807 #ifdef __cplusplus
29808 extern "C"
29809 #endif
29810 SWIGEXPORT(void) SWIG_init(void) {
29811 static PyObject *SWIG_globals = 0;
29812 static int typeinit = 0;
29813 PyObject *m, *d;
29814 int i;
29815 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29816
29817 /* Fix SwigMethods to carry the callback ptrs when needed */
29818 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29819
29820 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29821 d = PyModule_GetDict(m);
29822
29823 if (!typeinit) {
29824 #ifdef SWIG_LINK_RUNTIME
29825 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29826 #else
29827 # ifndef SWIG_STATIC_RUNTIME
29828 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29829 # endif
29830 #endif
29831 for (i = 0; swig_types_initial[i]; i++) {
29832 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29833 }
29834 typeinit = 1;
29835 }
29836 SWIG_InstallConstants(d,swig_const_table);
29837
29838 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29839 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29840 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29841 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29842 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29843 {
29844 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29845 }
29846 {
29847 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29848 }
29849 {
29850 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29851 }
29852 {
29853 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29854 }
29855 {
29856 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29857 }
29858 {
29859 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29860 }
29861 {
29862 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29863 }
29864 {
29865 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29866 }
29867 {
29868 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29869 }
29870 {
29871 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29872 }
29873 {
29874 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29875 }
29876 {
29877 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29878 }
29879 {
29880 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29881 }
29882 {
29883 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29884 }
29885 {
29886 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29887 }
29888 {
29889 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29890 }
29891 {
29892 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29893 }
29894 {
29895 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29896 }
29897 {
29898 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29899 }
29900 {
29901 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29902 }
29903 {
29904 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29905 }
29906 {
29907 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29908 }
29909 {
29910 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
29911 }
29912 {
29913 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
29914 }
29915 {
29916 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29917 }
29918 {
29919 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29920 }
29921 {
29922 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29923 }
29924 {
29925 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29926 }
29927 {
29928 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29929 }
29930 {
29931 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29932 }
29933 {
29934 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29935 }
29936 {
29937 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29938 }
29939 {
29940 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29941 }
29942 {
29943 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29944 }
29945 {
29946 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29947 }
29948 {
29949 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29950 }
29951 {
29952 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29953 }
29954 {
29955 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29956 }
29957 {
29958 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29959 }
29960 {
29961 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29962 }
29963 {
29964 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29965 }
29966 {
29967 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29968 }
29969 {
29970 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29971 }
29972 {
29973 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29974 }
29975 {
29976 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29977 }
29978 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
29979 {
29980 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29984 }
29985 {
29986 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29987 }
29988 {
29989 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29990 }
29991 {
29992 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29993 }
29994 {
29995 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29996 }
29997 {
29998 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29999 }
30000 {
30001 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30002 }
30003 {
30004 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30005 }
30006 {
30007 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30008 }
30009 {
30010 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30011 }
30012 {
30013 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30014 }
30015 {
30016 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30017 }
30018 {
30019 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30020 }
30021 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30022 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30023 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30024 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30025 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30026 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30027 {
30028 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30029 }
30030 {
30031 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30032 }
30033 {
30034 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30035 }
30036 {
30037 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30038 }
30039 {
30040 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30041 }
30042 {
30043 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30044 }
30045 {
30046 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30047 }
30048 {
30049 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30050 }
30051 {
30052 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30053 }
30054 {
30055 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30056 }
30057 {
30058 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30059 }
30060 {
30061 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30062 }
30063 {
30064 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30065 }
30066 {
30067 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30068 }
30069 {
30070 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30071 }
30072 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30073 {
30074 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30075 }
30076 {
30077 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30078 }
30079 {
30080 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30081 }
30082 {
30083 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30084 }
30085 {
30086 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30087 }
30088 {
30089 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30090 }
30091 {
30092 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30093 }
30094 {
30095 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30096 }
30097 {
30098 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30099 }
30100 {
30101 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30102 }
30103 {
30104 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30105 }
30106 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30107 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30108 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30109
30110 // Map renamed classes back to their common name for OOR
30111 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30112 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30113 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30114
30115 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30116 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30117 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30118 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30119 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30120 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30121 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30122 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30123 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30124 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30125 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30126 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30127 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30128 {
30129 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30130 }
30131 {
30132 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30133 }
30134 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30135 {
30136 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30137 }
30138 {
30139 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30140 }
30141 {
30142 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30143 }
30144 {
30145 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30146 }
30147 {
30148 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30149 }
30150 {
30151 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30152 }
30153 {
30154 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30155 }
30156 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30157 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30158 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30159 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30160 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30161 {
30162 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30163 }
30164 {
30165 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30166 }
30167 {
30168 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30169 }
30170 {
30171 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30172 }
30173 {
30174 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30175 }
30176 {
30177 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30178 }
30179 {
30180 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30181 }
30182 {
30183 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30184 }
30185 {
30186 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30187 }
30188 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30189 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30190 {
30191 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30192 }
30193 {
30194 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30195 }
30196 {
30197 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30198 }
30199 {
30200 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30201 }
30202 {
30203 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30204 }
30205 {
30206 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30207 }
30208 {
30209 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30210 }
30211 {
30212 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30213 }
30214 {
30215 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30216 }
30217 {
30218 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30219 }
30220 {
30221 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30222 }
30223 {
30224 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30225 }
30226 {
30227 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30228 }
30229 {
30230 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30231 }
30232 {
30233 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30234 }
30235 {
30236 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30237 }
30238 {
30239 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30240 }
30241 {
30242 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30243 }
30244 {
30245 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30246 }
30247 {
30248 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30249 }
30250 {
30251 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30252 }
30253 {
30254 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30255 }
30256 {
30257 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30258 }
30259 {
30260 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30261 }
30262 {
30263 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30264 }
30265 {
30266 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30267 }
30268 {
30269 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30270 }
30271 {
30272 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30273 }
30274 {
30275 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30276 }
30277 {
30278 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30279 }
30280 {
30281 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30282 }
30283 {
30284 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30285 }
30286 {
30287 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30288 }
30289 {
30290 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30291 }
30292 {
30293 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30294 }
30295 {
30296 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30297 }
30298 {
30299 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30300 }
30301 {
30302 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30303 }
30304 {
30305 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30306 }
30307
30308 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30309
30310 }
30311