]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
prevent overload abiguity in wxPyPrintPreview ctor
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 if (str)
1041 Py_DECREF(str);
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049 }
1050
1051 SWIGRUNTIMEINLINE void
1052 SWIG_Python_NullRef(const char *type)
1053 {
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059 }
1060
1061 SWIGRUNTIME int
1062 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063 {
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084 }
1085
1086 SWIGRUNTIME int
1087 SWIG_Python_ArgFail(int argnum)
1088 {
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097 }
1098
1099
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104 /* Convert a pointer value */
1105 SWIGRUNTIME int
1106 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137 #else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155 #endif
1156
1157 type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172 type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195 }
1196
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIGRUNTIME void *
1199 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209 }
1210
1211 /* Convert a packed value value */
1212 SWIGRUNTIME int
1213 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219 #else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224 #endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232 type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242 }
1243
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject *
1246 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254 #else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260 #endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276 }
1277
1278 SWIGRUNTIME PyObject *
1279 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287 #else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293 #endif
1294 return robj;
1295 }
1296
1297 /* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312 #else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320 #endif
1321 return (swig_type_info **) type_pointer;
1322 }
1323
1324 /*
1325 Search for a swig_type_info structure
1326 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331 }
1332
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info *swig_types[98];
1440
1441 /* -------- TYPES TABLE (END) -------- */
1442
1443
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1448
1449 #define SWIG_name "_windows_"
1450
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1453
1454
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1457
1458
1459
1460 #include <limits.h>
1461
1462
1463 SWIGINTERN int
1464 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1465 const char *errmsg)
1466 {
1467 if (value < min_value) {
1468 if (errmsg) {
1469 PyErr_Format(PyExc_OverflowError,
1470 "value %ld is less than '%s' minimum %ld",
1471 value, errmsg, min_value);
1472 }
1473 return 0;
1474 } else if (value > max_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value, errmsg, max_value);
1479 }
1480 return 0;
1481 }
1482 return 1;
1483 }
1484
1485
1486 SWIGINTERN int
1487 SWIG_AsVal_long(PyObject* obj, long* val)
1488 {
1489 if (PyNumber_Check(obj)) {
1490 if (val) *val = PyInt_AsLong(obj);
1491 return 1;
1492 }
1493 else {
1494 SWIG_type_error("number", obj);
1495 }
1496 return 0;
1497 }
1498
1499
1500 #if INT_MAX != LONG_MAX
1501 SWIGINTERN int
1502 SWIG_AsVal_int(PyObject *obj, int *val)
1503 {
1504 const char* errmsg = val ? "int" : (char*)0;
1505 long v;
1506 if (SWIG_AsVal_long(obj, &v)) {
1507 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1508 if (val) *val = (int)(v);
1509 return 1;
1510 } else {
1511 return 0;
1512 }
1513 } else {
1514 PyErr_Clear();
1515 }
1516 if (val) {
1517 SWIG_type_error(errmsg, obj);
1518 }
1519 return 0;
1520 }
1521 #else
1522 SWIGINTERNSHORT int
1523 SWIG_AsVal_int(PyObject *obj, int *val)
1524 {
1525 return SWIG_AsVal_long(obj,(long*)val);
1526 }
1527 #endif
1528
1529
1530 SWIGINTERNSHORT int
1531 SWIG_As_int(PyObject* obj)
1532 {
1533 int v;
1534 if (!SWIG_AsVal_int(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(int));
1539 }
1540 return v;
1541 }
1542
1543
1544 SWIGINTERNSHORT long
1545 SWIG_As_long(PyObject* obj)
1546 {
1547 long v;
1548 if (!SWIG_AsVal_long(obj, &v)) {
1549 /*
1550 this is needed to make valgrind/purify happier.
1551 */
1552 memset((void*)&v, 0, sizeof(long));
1553 }
1554 return v;
1555 }
1556
1557
1558 SWIGINTERNSHORT int
1559 SWIG_Check_int(PyObject* obj)
1560 {
1561 return SWIG_AsVal_int(obj, (int*)0);
1562 }
1563
1564
1565 SWIGINTERNSHORT int
1566 SWIG_Check_long(PyObject* obj)
1567 {
1568 return SWIG_AsVal_long(obj, (long*)0);
1569 }
1570
1571
1572 SWIGINTERN int
1573 SWIG_AsVal_bool(PyObject *obj, bool *val)
1574 {
1575 if (obj == Py_True) {
1576 if (val) *val = true;
1577 return 1;
1578 }
1579 if (obj == Py_False) {
1580 if (val) *val = false;
1581 return 1;
1582 }
1583 int res = 0;
1584 if (SWIG_AsVal_int(obj, &res)) {
1585 if (val) *val = res ? true : false;
1586 return 1;
1587 } else {
1588 PyErr_Clear();
1589 }
1590 if (val) {
1591 SWIG_type_error("bool", obj);
1592 }
1593 return 0;
1594 }
1595
1596
1597 SWIGINTERNSHORT bool
1598 SWIG_As_bool(PyObject* obj)
1599 {
1600 bool v;
1601 if (!SWIG_AsVal_bool(obj, &v)) {
1602 /*
1603 this is needed to make valgrind/purify happier.
1604 */
1605 memset((void*)&v, 0, sizeof(bool));
1606 }
1607 return v;
1608 }
1609
1610
1611 SWIGINTERNSHORT int
1612 SWIG_Check_bool(PyObject* obj)
1613 {
1614 return SWIG_AsVal_bool(obj, (bool*)0);
1615 }
1616
1617
1618 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1620 /*@@*/
1621
1622
1623 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1624 PyObject* o2;
1625 PyObject* o3;
1626
1627 if (!target) {
1628 target = o;
1629 } else if (target == Py_None) {
1630 Py_DECREF(Py_None);
1631 target = o;
1632 } else {
1633 if (!PyTuple_Check(target)) {
1634 o2 = target;
1635 target = PyTuple_New(1);
1636 PyTuple_SetItem(target, 0, o2);
1637 }
1638 o3 = PyTuple_New(1);
1639 PyTuple_SetItem(o3, 0, o);
1640
1641 o2 = target;
1642 target = PySequence_Concat(o2, o3);
1643 Py_DECREF(o2);
1644 Py_DECREF(o3);
1645 }
1646 return target;
1647 }
1648
1649
1650
1651 SWIGINTERN int
1652 SWIG_AsVal_double(PyObject *obj, double* val)
1653 {
1654 if (PyNumber_Check(obj)) {
1655 if (val) *val = PyFloat_AsDouble(obj);
1656 return 1;
1657 }
1658 else {
1659 SWIG_type_error("number", obj);
1660 }
1661 return 0;
1662 }
1663
1664
1665 SWIGINTERNSHORT double
1666 SWIG_As_double(PyObject* obj)
1667 {
1668 double v;
1669 if (!SWIG_AsVal_double(obj, &v)) {
1670 /*
1671 this is needed to make valgrind/purify happier.
1672 */
1673 memset((void*)&v, 0, sizeof(double));
1674 }
1675 return v;
1676 }
1677
1678
1679 SWIGINTERNSHORT int
1680 SWIG_Check_double(PyObject* obj)
1681 {
1682 return SWIG_AsVal_double(obj, (double*)0);
1683 }
1684
1685
1686 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1688 /*@@*/
1689
1690 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1691 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1692 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1693 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1696
1697 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1699 /*@@*/
1700
1701
1702
1703 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1704 wxRect r;
1705 self->GetFieldRect(i, r);
1706 return r;
1707 }
1708 static const wxString wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1711
1712 #include <wx/popupwin.h>
1713
1714
1715 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1716 {
1717 public:
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1720 : wxPopupTransientWindow(parent, style) {}
1721
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1723 DEC_PYCALLBACK__(OnDismiss);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss);
1725 PYPRIVATE;
1726 };
1727
1728
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1732
1733
1734 #include <wx/tipwin.h>
1735
1736 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1737 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1738 }
1739
1740 #include <wx/tipwin.h>
1741
1742
1743 #include <wx/vscroll.h>
1744
1745
1746 class wxPyVScrolledWindow : public wxVScrolledWindow
1747 {
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1749 public:
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751
1752 wxPyVScrolledWindow(wxWindow *parent,
1753 wxWindowID id = wxID_ANY,
1754 const wxPoint& pos = wxDefaultPosition,
1755 const wxSize& size = wxDefaultSize,
1756 long style = 0,
1757 const wxString& name = wxPyPanelNameStr)
1758 : wxVScrolledWindow(parent, id, pos, size, style, name)
1759 {}
1760
1761 // Overridable virtuals
1762
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1766
1767
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1771 // once
1772 //
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1778 //
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 // usual
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1782
1783
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1788 // its own logic
1789 //
1790 // this function should return the best guess for the total height it may
1791 // make
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1793
1794
1795 // Also expose some other interesting protected methods
1796
1797
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1802
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1807
1808
1809 PYPRIVATE;
1810 };
1811
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1813
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1817
1818
1819 SWIGINTERN int
1820 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1821 {
1822 long v = 0;
1823 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1824 SWIG_type_error("unsigned number", obj);
1825 }
1826 else if (val)
1827 *val = (unsigned long)v;
1828 return 1;
1829 }
1830
1831
1832 SWIGINTERNSHORT unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject* obj)
1834 {
1835 unsigned long v;
1836 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1837 /*
1838 this is needed to make valgrind/purify happier.
1839 */
1840 memset((void*)&v, 0, sizeof(unsigned long));
1841 }
1842 return v;
1843 }
1844
1845
1846 SWIGINTERNSHORT int
1847 SWIG_Check_unsigned_SS_long(PyObject* obj)
1848 {
1849 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1850 }
1851
1852
1853 SWIGINTERNSHORT PyObject*
1854 SWIG_From_unsigned_SS_long(unsigned long value)
1855 {
1856 return (value > LONG_MAX) ?
1857 PyLong_FromUnsignedLong(value)
1858 : PyInt_FromLong((long)(value));
1859 }
1860
1861
1862 #include <wx/vlbox.h>
1863
1864 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1865
1866 class wxPyVListBox : public wxVListBox
1867 {
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1869 public:
1870 wxPyVListBox() : wxVListBox() {}
1871
1872 wxPyVListBox(wxWindow *parent,
1873 wxWindowID id = wxID_ANY,
1874 const wxPoint& pos = wxDefaultPosition,
1875 const wxSize& size = wxDefaultSize,
1876 long style = 0,
1877 const wxString& name = wxPyVListBoxNameStr)
1878 : wxVListBox(parent, id, pos, size, style, name)
1879 {}
1880
1881 // Overridable virtuals
1882
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1887
1888
1889 // the derived class must implement this method to return the height of the
1890 // specified item
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1893
1894
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1898 //
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1902
1903
1904 // this method is used to draw the items background and, maybe, a border
1905 // around it
1906 //
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1910 // current
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1913
1914
1915 PYPRIVATE;
1916 };
1917
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1919
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1924
1925
1926 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1927 unsigned long cookie = 0;
1928 int selected = self->GetFirstSelected(cookie);
1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1930 PyObject* tup = PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1932 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1933 wxPyEndBlockThreads(blocked);
1934 return tup;
1935 }
1936 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1937 int selected = self->GetNextSelected(cookie);
1938 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1939 PyObject* tup = PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1941 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1942 wxPyEndBlockThreads(blocked);
1943 return tup;
1944 }
1945
1946 #include <wx/htmllbox.h>
1947
1948
1949 class wxPyHtmlListBox : public wxHtmlListBox
1950 {
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1952 public:
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1954
1955 wxPyHtmlListBox(wxWindow *parent,
1956 wxWindowID id = wxID_ANY,
1957 const wxPoint& pos = wxDefaultPosition,
1958 const wxSize& size = wxDefaultSize,
1959 long style = 0,
1960 const wxString& name = wxPyVListBoxNameStr)
1961 : wxHtmlListBox(parent, id, pos, size, style, name)
1962 {}
1963
1964 // Overridable virtuals
1965
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1969
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1972
1973 // TODO:
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1977 // //
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1986
1987
1988 PYPRIVATE;
1989 };
1990
1991
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1993
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1996
1997
1998
1999
2000
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2003
2004 class wxTaskBarIcon : public wxEvtHandler
2005 {
2006 public:
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2008 };
2009
2010
2011 class wxTaskBarIconEvent : public wxEvent
2012 {
2013 public:
2014 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent* Clone() const { return NULL; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu *menu) { return false; }
2022 };
2023
2024 enum {
2025 wxEVT_TASKBAR_MOVE = 0,
2026 wxEVT_TASKBAR_LEFT_DOWN = 0,
2027 wxEVT_TASKBAR_LEFT_UP = 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2029 wxEVT_TASKBAR_RIGHT_UP = 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2032 };
2033
2034
2035 #else
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon : public wxTaskBarIcon
2038 {
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2040 public:
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 {}
2043
2044 wxMenu* CreatePopupMenu() {
2045 wxMenu *rval = NULL;
2046 bool found;
2047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2048 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2049 PyObject* ro;
2050 wxMenu* ptr;
2051 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2052 if (ro) {
2053 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2054 rval = ptr;
2055 Py_DECREF(ro);
2056 }
2057 }
2058 wxPyEndBlockThreads(blocked);
2059 if (! found)
2060 rval = wxTaskBarIcon::CreatePopupMenu();
2061 return rval;
2062 }
2063
2064 PYPRIVATE;
2065 };
2066
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2068
2069 #endif
2070
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2072 self->RemoveIcon();
2073 delete self;
2074 }
2075 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2076 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2077 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2078 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2079 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2080 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2081 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2082 wxArrayString arr;
2083 self->GetFilenames(arr);
2084 return wxArrayString2PyList_helper(arr);
2085 }
2086 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2087 wxArrayString arr;
2088 self->GetPaths(arr);
2089 return wxArrayString2PyList_helper(arr);
2090 }
2091 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2092 return wxArrayInt2PyList_helper(self->GetSelections());
2093 }
2094 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){
2095 return new wxSingleChoiceDialog(parent, message, caption,
2096 choices, choices_array, NULL, style, pos);
2097 }
2098 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2099
2100 #include <wx/mdi.h>
2101
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow : public wxWindow
2104 {
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2106 public:
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow* parent, const wxWindowID id,
2109 const wxPoint& pos = wxDefaultPosition,
2110 const wxSize& size = wxDefaultSize,
2111 long style = 0,
2112 const wxString& name = wxPyPanelNameStr)
2113 : wxWindow(parent, id, pos, size, style, name) {}
2114
2115 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2116
2117 bool DoEraseBackground(wxDC* dc) {
2118 #ifdef __WXMSW__
2119 return wxWindow::DoEraseBackground(dc->GetHDC());
2120 #else
2121 dc->SetBackground(wxBrush(GetBackgroundColour()));
2122 dc->Clear();
2123 return true;
2124 #endif
2125 }
2126
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2131
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2135
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2138
2139 DEC_PYCALLBACK__(InitDialog);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2142 DEC_PYCALLBACK_BOOL_(Validate);
2143
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2147
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2150
2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2153
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2155
2156 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2157
2158 PYPRIVATE;
2159 };
2160
2161 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2162
2163 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2164 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2165 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2166 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2167
2168 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2169 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2170 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2171
2172 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2173 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2174
2175 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2176 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2177 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2178 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2179
2180 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2181 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2182 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2183
2184 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2185 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2186
2187 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2188 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2189
2190 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2191
2192 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
2193
2194 // C++ version of Python aware wxPanel
2195 class wxPyPanel : public wxPanel
2196 {
2197 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2198 public:
2199 wxPyPanel() : wxPanel() {}
2200 wxPyPanel(wxWindow* parent, const wxWindowID id,
2201 const wxPoint& pos = wxDefaultPosition,
2202 const wxSize& size = wxDefaultSize,
2203 long style = 0,
2204 const wxString& name = wxPyPanelNameStr)
2205 : wxPanel(parent, id, pos, size, style, name) {}
2206
2207 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2208 bool DoEraseBackground(wxDC* dc) {
2209 #ifdef __WXMSW__
2210 return wxWindow::DoEraseBackground(dc->GetHDC());
2211 #else
2212 dc->SetBackground(wxBrush(GetBackgroundColour()));
2213 dc->Clear();
2214 return true;
2215 #endif
2216 }
2217
2218
2219 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2220 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2221 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2222 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2223
2224 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2225 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2226 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2227
2228 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2229 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2230
2231 DEC_PYCALLBACK__(InitDialog);
2232 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2233 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2234 DEC_PYCALLBACK_BOOL_(Validate);
2235
2236 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2237 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2238 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2239
2240 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2241 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2242
2243 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2244 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2245
2246 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2247
2248 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2249
2250 PYPRIVATE;
2251 };
2252
2253 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2254
2255 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2256 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2257 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2258 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2259
2260 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2261 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2262 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2263
2264 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2265 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2266
2267 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2268 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2269 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2270 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2271
2272 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2273 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2274 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2275
2276 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2277 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2278
2279 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2280 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2281
2282 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2283
2284 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
2285
2286 // C++ version of Python aware wxScrolledWindow
2287 class wxPyScrolledWindow : public wxScrolledWindow
2288 {
2289 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2290 public:
2291 wxPyScrolledWindow() : wxScrolledWindow() {}
2292 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2293 const wxPoint& pos = wxDefaultPosition,
2294 const wxSize& size = wxDefaultSize,
2295 long style = 0,
2296 const wxString& name = wxPyPanelNameStr)
2297 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2298
2299 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2300 bool DoEraseBackground(wxDC* dc) {
2301 #ifdef __WXMSW__
2302 return wxWindow::DoEraseBackground(dc->GetHDC());
2303 #else
2304 dc->SetBackground(wxBrush(GetBackgroundColour()));
2305 dc->Clear();
2306 return true;
2307 #endif
2308 }
2309
2310 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2311 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2312 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2313 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2314
2315 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2316 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2317 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2318
2319 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2320 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2321
2322 DEC_PYCALLBACK__(InitDialog);
2323 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2324 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2325 DEC_PYCALLBACK_BOOL_(Validate);
2326
2327 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2328 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2329 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2330
2331 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2332 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2333
2334 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2335 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2336
2337 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2338
2339 DEC_PYCALLBACK_VOID_(OnInternalIdle);
2340
2341 PYPRIVATE;
2342 };
2343
2344 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2345
2346 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2347 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2348 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2349 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2350
2351 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2352 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2353 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2354
2355 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2356 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2357
2358 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2359 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2360 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2361 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2362
2363 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2364 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2365 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2366
2367 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2368 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2369
2370 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2371 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2372
2373 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2374
2375 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
2376
2377
2378 #include "wx/wxPython/printfw.h"
2379
2380
2381 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2382 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2383 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2384 PyObject* data;
2385 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2386 data = PyString_FromStringAndSize(self->GetPrivData(),
2387 self->GetPrivDataLen());
2388 wxPyEndBlockThreads(blocked);
2389 return data;
2390 }
2391 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2392 if (! PyString_Check(data)) {
2393 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2394 "Expected string object"));
2395 return /* NULL */ ;
2396 }
2397
2398 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2399 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2400 wxPyEndBlockThreads(blocked);
2401 }
2402
2403
2404 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2405
2406 // Since this one would be tough and ugly to do with the Macros...
2407 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2408 bool hadErr = false;
2409 bool found;
2410
2411 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2412 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2413 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2414 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2415 PyObject* val;
2416
2417 val = PyTuple_GetItem(result, 0);
2418 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2419 else hadErr = true;
2420
2421 val = PyTuple_GetItem(result, 1);
2422 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2423 else hadErr = true;
2424
2425 val = PyTuple_GetItem(result, 2);
2426 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2427 else hadErr = true;
2428
2429 val = PyTuple_GetItem(result, 3);
2430 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2431 else hadErr = true;
2432 }
2433 else
2434 hadErr = true;
2435
2436 if (hadErr) {
2437 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2438 PyErr_Print();
2439 }
2440 Py_DECREF(result);
2441 }
2442 wxPyEndBlockThreads(blocked);
2443 if (! found)
2444 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2445 }
2446
2447 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2448 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2449 }
2450
2451
2452 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2453 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2454 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2455 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2456 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2457 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2458 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2459
2460
2461
2462
2463
2464 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2465 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2466 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2467
2468
2469 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2470 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2471 bool rval=false; \
2472 bool found; \
2473 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2474 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2475 PyObject* win = wxPyMake_wxObject(a,false); \
2476 PyObject* dc = wxPyMake_wxObject(&b,false); \
2477 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2478 Py_DECREF(win); \
2479 Py_DECREF(dc); \
2480 } \
2481 wxPyEndBlockThreads(blocked); \
2482 if (! found) \
2483 rval = PCLASS::CBNAME(a, b); \
2484 return rval; \
2485 } \
2486 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2487 return PCLASS::CBNAME(a, b); \
2488 }
2489
2490
2491
2492
2493 class wxPyPrintPreview : public wxPrintPreview
2494 {
2495 DECLARE_CLASS(wxPyPrintPreview)
2496 public:
2497 wxPyPrintPreview(wxPyPrintout* printout,
2498 wxPyPrintout* printoutForPrinting,
2499 wxPrintDialogData* data=NULL)
2500 : wxPrintPreview(printout, printoutForPrinting, data)
2501 {}
2502 wxPyPrintPreview(wxPyPrintout* printout,
2503 wxPyPrintout* printoutForPrinting,
2504 wxPrintData* data=NULL)
2505 : wxPrintPreview(printout, printoutForPrinting, data)
2506 {}
2507
2508 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2509 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2510 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2511 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2512 DEC_PYCALLBACK_VOID_INT(SetZoom);
2513 DEC_PYCALLBACK_BOOL_BOOL(Print);
2514 DEC_PYCALLBACK_VOID_(DetermineScaling);
2515
2516 PYPRIVATE;
2517 };
2518
2519 // Stupid renamed classes... Fix this in 2.5...
2520 #if defined(__WXMSW__)
2521 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2522 #elif defined(__WXMAC__)
2523 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2524 #else
2525 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2526 #endif
2527
2528 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2529 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2530 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2531 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2532 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2533 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2534 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2535
2536
2537 class wxPyPreviewFrame : public wxPreviewFrame
2538 {
2539 DECLARE_CLASS(wxPyPreviewFrame);
2540 public:
2541 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2542 const wxString& title,
2543 const wxPoint& pos = wxDefaultPosition,
2544 const wxSize& size = wxDefaultSize,
2545 long style = wxDEFAULT_FRAME_STYLE,
2546 const wxString& name = wxPyFrameNameStr)
2547 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2548 {}
2549
2550 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2551 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2552
2553 DEC_PYCALLBACK_VOID_(Initialize);
2554 DEC_PYCALLBACK_VOID_(CreateCanvas);
2555 DEC_PYCALLBACK_VOID_(CreateControlBar);
2556
2557 PYPRIVATE;
2558 };
2559
2560 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2561
2562 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2563 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2564 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2565
2566
2567 class wxPyPreviewControlBar : public wxPreviewControlBar
2568 {
2569 DECLARE_CLASS(wxPyPreviewControlBar);
2570 public:
2571 wxPyPreviewControlBar(wxPrintPreview *preview,
2572 long buttons,
2573 wxWindow *parent,
2574 const wxPoint& pos = wxDefaultPosition,
2575 const wxSize& size = wxDefaultSize,
2576 long style = 0,
2577 const wxString& name = wxPyPanelNameStr)
2578 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2579 {}
2580
2581 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2582
2583 DEC_PYCALLBACK_VOID_(CreateButtons);
2584 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2585
2586 PYPRIVATE;
2587 };
2588
2589 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2590 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2591 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2592
2593 #ifdef __cplusplus
2594 extern "C" {
2595 #endif
2596 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2597 PyObject *resultobj;
2598 wxWindow *arg1 = (wxWindow *) 0 ;
2599 int arg2 = (int) (int)-1 ;
2600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2602 wxSize const &arg4_defvalue = wxDefaultSize ;
2603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2604 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2605 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2606 wxString *arg6 = (wxString *) &arg6_defvalue ;
2607 wxPanel *result;
2608 wxPoint temp3 ;
2609 wxSize temp4 ;
2610 bool temp6 = false ;
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 PyObject * obj2 = 0 ;
2614 PyObject * obj3 = 0 ;
2615 PyObject * obj4 = 0 ;
2616 PyObject * obj5 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2623 if (SWIG_arg_fail(1)) SWIG_fail;
2624 if (obj1) {
2625 {
2626 arg2 = (int const)(SWIG_As_int(obj1));
2627 if (SWIG_arg_fail(2)) SWIG_fail;
2628 }
2629 }
2630 if (obj2) {
2631 {
2632 arg3 = &temp3;
2633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2634 }
2635 }
2636 if (obj3) {
2637 {
2638 arg4 = &temp4;
2639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2640 }
2641 }
2642 if (obj4) {
2643 {
2644 arg5 = (long)(SWIG_As_long(obj4));
2645 if (SWIG_arg_fail(5)) SWIG_fail;
2646 }
2647 }
2648 if (obj5) {
2649 {
2650 arg6 = wxString_in_helper(obj5);
2651 if (arg6 == NULL) SWIG_fail;
2652 temp6 = true;
2653 }
2654 }
2655 {
2656 if (!wxPyCheckForApp()) SWIG_fail;
2657 PyThreadState* __tstate = wxPyBeginAllowThreads();
2658 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2659
2660 wxPyEndAllowThreads(__tstate);
2661 if (PyErr_Occurred()) SWIG_fail;
2662 }
2663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2664 {
2665 if (temp6)
2666 delete arg6;
2667 }
2668 return resultobj;
2669 fail:
2670 {
2671 if (temp6)
2672 delete arg6;
2673 }
2674 return NULL;
2675 }
2676
2677
2678 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxPanel *result;
2681 char *kwnames[] = {
2682 NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2686 {
2687 if (!wxPyCheckForApp()) SWIG_fail;
2688 PyThreadState* __tstate = wxPyBeginAllowThreads();
2689 result = (wxPanel *)new wxPanel();
2690
2691 wxPyEndAllowThreads(__tstate);
2692 if (PyErr_Occurred()) SWIG_fail;
2693 }
2694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2695 return resultobj;
2696 fail:
2697 return NULL;
2698 }
2699
2700
2701 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2702 PyObject *resultobj;
2703 wxPanel *arg1 = (wxPanel *) 0 ;
2704 wxWindow *arg2 = (wxWindow *) 0 ;
2705 int arg3 = (int) (int)-1 ;
2706 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2707 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2708 wxSize const &arg5_defvalue = wxDefaultSize ;
2709 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2710 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2711 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2712 wxString *arg7 = (wxString *) &arg7_defvalue ;
2713 bool result;
2714 wxPoint temp4 ;
2715 wxSize temp5 ;
2716 bool temp7 = false ;
2717 PyObject * obj0 = 0 ;
2718 PyObject * obj1 = 0 ;
2719 PyObject * obj2 = 0 ;
2720 PyObject * obj3 = 0 ;
2721 PyObject * obj4 = 0 ;
2722 PyObject * obj5 = 0 ;
2723 PyObject * obj6 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2730 if (SWIG_arg_fail(1)) SWIG_fail;
2731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2732 if (SWIG_arg_fail(2)) SWIG_fail;
2733 if (obj2) {
2734 {
2735 arg3 = (int const)(SWIG_As_int(obj2));
2736 if (SWIG_arg_fail(3)) SWIG_fail;
2737 }
2738 }
2739 if (obj3) {
2740 {
2741 arg4 = &temp4;
2742 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2743 }
2744 }
2745 if (obj4) {
2746 {
2747 arg5 = &temp5;
2748 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2749 }
2750 }
2751 if (obj5) {
2752 {
2753 arg6 = (long)(SWIG_As_long(obj5));
2754 if (SWIG_arg_fail(6)) SWIG_fail;
2755 }
2756 }
2757 if (obj6) {
2758 {
2759 arg7 = wxString_in_helper(obj6);
2760 if (arg7 == NULL) SWIG_fail;
2761 temp7 = true;
2762 }
2763 }
2764 {
2765 PyThreadState* __tstate = wxPyBeginAllowThreads();
2766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2767
2768 wxPyEndAllowThreads(__tstate);
2769 if (PyErr_Occurred()) SWIG_fail;
2770 }
2771 {
2772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2773 }
2774 {
2775 if (temp7)
2776 delete arg7;
2777 }
2778 return resultobj;
2779 fail:
2780 {
2781 if (temp7)
2782 delete arg7;
2783 }
2784 return NULL;
2785 }
2786
2787
2788 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxPanel *arg1 = (wxPanel *) 0 ;
2791 PyObject * obj0 = 0 ;
2792 char *kwnames[] = {
2793 (char *) "self", NULL
2794 };
2795
2796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(1)) SWIG_fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 (arg1)->InitDialog();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 Py_INCREF(Py_None); resultobj = Py_None;
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxPanel *arg1 = (wxPanel *) 0 ;
2816 PyObject * obj0 = 0 ;
2817 char *kwnames[] = {
2818 (char *) "self", NULL
2819 };
2820
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2823 if (SWIG_arg_fail(1)) SWIG_fail;
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 (arg1)->SetFocus();
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2831 Py_INCREF(Py_None); resultobj = Py_None;
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxPanel *arg1 = (wxPanel *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2848 if (SWIG_arg_fail(1)) SWIG_fail;
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 (arg1)->SetFocusIgnoringChildren();
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 return resultobj;
2858 fail:
2859 return NULL;
2860 }
2861
2862
2863 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2866 wxVisualAttributes result;
2867 PyObject * obj0 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "variant", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2873 if (obj0) {
2874 {
2875 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2876 if (SWIG_arg_fail(1)) SWIG_fail;
2877 }
2878 }
2879 {
2880 if (!wxPyCheckForApp()) SWIG_fail;
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 {
2888 wxVisualAttributes * resultptr;
2889 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2890 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2891 }
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2899 PyObject *obj;
2900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2901 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2902 Py_INCREF(obj);
2903 return Py_BuildValue((char *)"");
2904 }
2905 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2906 PyObject *resultobj;
2907 wxWindow *arg1 = (wxWindow *) 0 ;
2908 int arg2 = (int) (int)-1 ;
2909 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2910 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2911 wxSize const &arg4_defvalue = wxDefaultSize ;
2912 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2913 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2914 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2915 wxString *arg6 = (wxString *) &arg6_defvalue ;
2916 wxScrolledWindow *result;
2917 wxPoint temp3 ;
2918 wxSize temp4 ;
2919 bool temp6 = false ;
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 PyObject * obj2 = 0 ;
2923 PyObject * obj3 = 0 ;
2924 PyObject * obj4 = 0 ;
2925 PyObject * obj5 = 0 ;
2926 char *kwnames[] = {
2927 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2928 };
2929
2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2932 if (SWIG_arg_fail(1)) SWIG_fail;
2933 if (obj1) {
2934 {
2935 arg2 = (int const)(SWIG_As_int(obj1));
2936 if (SWIG_arg_fail(2)) SWIG_fail;
2937 }
2938 }
2939 if (obj2) {
2940 {
2941 arg3 = &temp3;
2942 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2943 }
2944 }
2945 if (obj3) {
2946 {
2947 arg4 = &temp4;
2948 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2949 }
2950 }
2951 if (obj4) {
2952 {
2953 arg5 = (long)(SWIG_As_long(obj4));
2954 if (SWIG_arg_fail(5)) SWIG_fail;
2955 }
2956 }
2957 if (obj5) {
2958 {
2959 arg6 = wxString_in_helper(obj5);
2960 if (arg6 == NULL) SWIG_fail;
2961 temp6 = true;
2962 }
2963 }
2964 {
2965 if (!wxPyCheckForApp()) SWIG_fail;
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2973 {
2974 if (temp6)
2975 delete arg6;
2976 }
2977 return resultobj;
2978 fail:
2979 {
2980 if (temp6)
2981 delete arg6;
2982 }
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxScrolledWindow *result;
2990 char *kwnames[] = {
2991 NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2995 {
2996 if (!wxPyCheckForApp()) SWIG_fail;
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 result = (wxScrolledWindow *)new wxScrolledWindow();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
3004 return resultobj;
3005 fail:
3006 return NULL;
3007 }
3008
3009
3010 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3013 wxWindow *arg2 = (wxWindow *) 0 ;
3014 int arg3 = (int) (int)-1 ;
3015 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3016 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3017 wxSize const &arg5_defvalue = wxDefaultSize ;
3018 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3019 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3020 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3021 wxString *arg7 = (wxString *) &arg7_defvalue ;
3022 bool result;
3023 wxPoint temp4 ;
3024 wxSize temp5 ;
3025 bool temp7 = false ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 PyObject * obj2 = 0 ;
3029 PyObject * obj3 = 0 ;
3030 PyObject * obj4 = 0 ;
3031 PyObject * obj5 = 0 ;
3032 PyObject * obj6 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3039 if (SWIG_arg_fail(1)) SWIG_fail;
3040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3041 if (SWIG_arg_fail(2)) SWIG_fail;
3042 if (obj2) {
3043 {
3044 arg3 = (int const)(SWIG_As_int(obj2));
3045 if (SWIG_arg_fail(3)) SWIG_fail;
3046 }
3047 }
3048 if (obj3) {
3049 {
3050 arg4 = &temp4;
3051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3052 }
3053 }
3054 if (obj4) {
3055 {
3056 arg5 = &temp5;
3057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3058 }
3059 }
3060 if (obj5) {
3061 {
3062 arg6 = (long)(SWIG_As_long(obj5));
3063 if (SWIG_arg_fail(6)) SWIG_fail;
3064 }
3065 }
3066 if (obj6) {
3067 {
3068 arg7 = wxString_in_helper(obj6);
3069 if (arg7 == NULL) SWIG_fail;
3070 temp7 = true;
3071 }
3072 }
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3082 }
3083 {
3084 if (temp7)
3085 delete arg7;
3086 }
3087 return resultobj;
3088 fail:
3089 {
3090 if (temp7)
3091 delete arg7;
3092 }
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3100 int arg2 ;
3101 int arg3 ;
3102 int arg4 ;
3103 int arg5 ;
3104 int arg6 = (int) 0 ;
3105 int arg7 = (int) 0 ;
3106 bool arg8 = (bool) false ;
3107 PyObject * obj0 = 0 ;
3108 PyObject * obj1 = 0 ;
3109 PyObject * obj2 = 0 ;
3110 PyObject * obj3 = 0 ;
3111 PyObject * obj4 = 0 ;
3112 PyObject * obj5 = 0 ;
3113 PyObject * obj6 = 0 ;
3114 PyObject * obj7 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
3122 {
3123 arg2 = (int)(SWIG_As_int(obj1));
3124 if (SWIG_arg_fail(2)) SWIG_fail;
3125 }
3126 {
3127 arg3 = (int)(SWIG_As_int(obj2));
3128 if (SWIG_arg_fail(3)) SWIG_fail;
3129 }
3130 {
3131 arg4 = (int)(SWIG_As_int(obj3));
3132 if (SWIG_arg_fail(4)) SWIG_fail;
3133 }
3134 {
3135 arg5 = (int)(SWIG_As_int(obj4));
3136 if (SWIG_arg_fail(5)) SWIG_fail;
3137 }
3138 if (obj5) {
3139 {
3140 arg6 = (int)(SWIG_As_int(obj5));
3141 if (SWIG_arg_fail(6)) SWIG_fail;
3142 }
3143 }
3144 if (obj6) {
3145 {
3146 arg7 = (int)(SWIG_As_int(obj6));
3147 if (SWIG_arg_fail(7)) SWIG_fail;
3148 }
3149 }
3150 if (obj7) {
3151 {
3152 arg8 = (bool)(SWIG_As_bool(obj7));
3153 if (SWIG_arg_fail(8)) SWIG_fail;
3154 }
3155 }
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 Py_INCREF(Py_None); resultobj = Py_None;
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3173 int arg2 ;
3174 int arg3 ;
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj1 = 0 ;
3177 PyObject * obj2 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self",(char *) "x",(char *) "y", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3184 if (SWIG_arg_fail(1)) SWIG_fail;
3185 {
3186 arg2 = (int)(SWIG_As_int(obj1));
3187 if (SWIG_arg_fail(2)) SWIG_fail;
3188 }
3189 {
3190 arg3 = (int)(SWIG_As_int(obj2));
3191 if (SWIG_arg_fail(3)) SWIG_fail;
3192 }
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->Scroll(arg2,arg3);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3210 int arg2 ;
3211 int result;
3212 PyObject * obj0 = 0 ;
3213 PyObject * obj1 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self",(char *) "orient", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3220 if (SWIG_arg_fail(1)) SWIG_fail;
3221 {
3222 arg2 = (int)(SWIG_As_int(obj1));
3223 if (SWIG_arg_fail(2)) SWIG_fail;
3224 }
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 resultobj = SWIG_From_int((int)(result));
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3244 int arg2 ;
3245 int arg3 ;
3246 PyObject * obj0 = 0 ;
3247 PyObject * obj1 = 0 ;
3248 PyObject * obj2 = 0 ;
3249 char *kwnames[] = {
3250 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3251 };
3252
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3255 if (SWIG_arg_fail(1)) SWIG_fail;
3256 {
3257 arg2 = (int)(SWIG_As_int(obj1));
3258 if (SWIG_arg_fail(2)) SWIG_fail;
3259 }
3260 {
3261 arg3 = (int)(SWIG_As_int(obj2));
3262 if (SWIG_arg_fail(3)) SWIG_fail;
3263 }
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->SetScrollPageSize(arg2,arg3);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275 }
3276
3277
3278 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3281 int arg2 ;
3282 int arg3 ;
3283 PyObject * obj0 = 0 ;
3284 PyObject * obj1 = 0 ;
3285 PyObject * obj2 = 0 ;
3286 char *kwnames[] = {
3287 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3288 };
3289
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3292 if (SWIG_arg_fail(1)) SWIG_fail;
3293 {
3294 arg2 = (int)(SWIG_As_int(obj1));
3295 if (SWIG_arg_fail(2)) SWIG_fail;
3296 }
3297 {
3298 arg3 = (int)(SWIG_As_int(obj2));
3299 if (SWIG_arg_fail(3)) SWIG_fail;
3300 }
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->SetScrollRate(arg2,arg3);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3318 int *arg2 = (int *) 0 ;
3319 int *arg3 = (int *) 0 ;
3320 int temp2 ;
3321 int res2 = 0 ;
3322 int temp3 ;
3323 int res3 = 0 ;
3324 PyObject * obj0 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self", NULL
3327 };
3328
3329 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3330 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3333 if (SWIG_arg_fail(1)) SWIG_fail;
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 Py_INCREF(Py_None); resultobj = Py_None;
3342 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3343 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3344 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3345 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3355 bool arg2 ;
3356 bool arg3 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 PyObject * obj2 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail;
3367 {
3368 arg2 = (bool)(SWIG_As_bool(obj1));
3369 if (SWIG_arg_fail(2)) SWIG_fail;
3370 }
3371 {
3372 arg3 = (bool)(SWIG_As_bool(obj2));
3373 if (SWIG_arg_fail(3)) SWIG_fail;
3374 }
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 (arg1)->EnableScrolling(arg2,arg3);
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 Py_INCREF(Py_None); resultobj = Py_None;
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3390 PyObject *resultobj;
3391 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3392 int *arg2 = (int *) 0 ;
3393 int *arg3 = (int *) 0 ;
3394 int temp2 ;
3395 int res2 = 0 ;
3396 int temp3 ;
3397 int res3 = 0 ;
3398 PyObject * obj0 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self", NULL
3401 };
3402
3403 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3404 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3407 if (SWIG_arg_fail(1)) SWIG_fail;
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3417 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3418 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3419 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3429 double arg2 ;
3430 double arg3 ;
3431 PyObject * obj0 = 0 ;
3432 PyObject * obj1 = 0 ;
3433 PyObject * obj2 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self",(char *) "xs",(char *) "ys", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3440 if (SWIG_arg_fail(1)) SWIG_fail;
3441 {
3442 arg2 = (double)(SWIG_As_double(obj1));
3443 if (SWIG_arg_fail(2)) SWIG_fail;
3444 }
3445 {
3446 arg3 = (double)(SWIG_As_double(obj2));
3447 if (SWIG_arg_fail(3)) SWIG_fail;
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 (arg1)->SetScale(arg2,arg3);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 Py_INCREF(Py_None); resultobj = Py_None;
3457 return resultobj;
3458 fail:
3459 return NULL;
3460 }
3461
3462
3463 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3466 double result;
3467 PyObject * obj0 = 0 ;
3468 char *kwnames[] = {
3469 (char *) "self", NULL
3470 };
3471
3472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3474 if (SWIG_arg_fail(1)) SWIG_fail;
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 {
3483 resultobj = SWIG_From_double((double)(result));
3484 }
3485 return resultobj;
3486 fail:
3487 return NULL;
3488 }
3489
3490
3491 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3492 PyObject *resultobj;
3493 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3494 double result;
3495 PyObject * obj0 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "self", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail;
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511 resultobj = SWIG_From_double((double)(result));
3512 }
3513 return resultobj;
3514 fail:
3515 return NULL;
3516 }
3517
3518
3519 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3520 PyObject *resultobj;
3521 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3522 wxPoint *arg2 = 0 ;
3523 wxPoint result;
3524 wxPoint temp2 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527
3528 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) 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 = &temp2;
3533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 {
3543 wxPoint * resultptr;
3544 resultptr = new wxPoint((wxPoint &)(result));
3545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3546 }
3547 return resultobj;
3548 fail:
3549 return NULL;
3550 }
3551
3552
3553 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3554 PyObject *resultobj;
3555 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3556 int arg2 ;
3557 int arg3 ;
3558 int *arg4 = (int *) 0 ;
3559 int *arg5 = (int *) 0 ;
3560 int temp4 ;
3561 int res4 = 0 ;
3562 int temp5 ;
3563 int res5 = 0 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 PyObject * obj2 = 0 ;
3567
3568 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3569 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3570 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3572 if (SWIG_arg_fail(1)) SWIG_fail;
3573 {
3574 arg2 = (int)(SWIG_As_int(obj1));
3575 if (SWIG_arg_fail(2)) SWIG_fail;
3576 }
3577 {
3578 arg3 = (int)(SWIG_As_int(obj2));
3579 if (SWIG_arg_fail(3)) SWIG_fail;
3580 }
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 Py_INCREF(Py_None); resultobj = Py_None;
3589 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3590 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3591 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3592 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3593 return resultobj;
3594 fail:
3595 return NULL;
3596 }
3597
3598
3599 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3600 int argc;
3601 PyObject *argv[4];
3602 int ii;
3603
3604 argc = PyObject_Length(args);
3605 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3606 argv[ii] = PyTuple_GetItem(args,ii);
3607 }
3608 if (argc == 2) {
3609 int _v;
3610 {
3611 void *ptr;
3612 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3613 _v = 0;
3614 PyErr_Clear();
3615 } else {
3616 _v = 1;
3617 }
3618 }
3619 if (_v) {
3620 {
3621 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3622 }
3623 if (_v) {
3624 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3625 }
3626 }
3627 }
3628 if (argc == 3) {
3629 int _v;
3630 {
3631 void *ptr;
3632 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3633 _v = 0;
3634 PyErr_Clear();
3635 } else {
3636 _v = 1;
3637 }
3638 }
3639 if (_v) {
3640 _v = SWIG_Check_int(argv[1]);
3641 if (_v) {
3642 _v = SWIG_Check_int(argv[2]);
3643 if (_v) {
3644 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3645 }
3646 }
3647 }
3648 }
3649
3650 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3651 return NULL;
3652 }
3653
3654
3655 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3656 PyObject *resultobj;
3657 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3658 wxPoint *arg2 = 0 ;
3659 wxPoint result;
3660 wxPoint temp2 ;
3661 PyObject * obj0 = 0 ;
3662 PyObject * obj1 = 0 ;
3663
3664 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) 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 = &temp2;
3669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3670 }
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 {
3679 wxPoint * resultptr;
3680 resultptr = new wxPoint((wxPoint &)(result));
3681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3682 }
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3690 PyObject *resultobj;
3691 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3692 int arg2 ;
3693 int arg3 ;
3694 int *arg4 = (int *) 0 ;
3695 int *arg5 = (int *) 0 ;
3696 int temp4 ;
3697 int res4 = 0 ;
3698 int temp5 ;
3699 int res5 = 0 ;
3700 PyObject * obj0 = 0 ;
3701 PyObject * obj1 = 0 ;
3702 PyObject * obj2 = 0 ;
3703
3704 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3705 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3706 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3708 if (SWIG_arg_fail(1)) SWIG_fail;
3709 {
3710 arg2 = (int)(SWIG_As_int(obj1));
3711 if (SWIG_arg_fail(2)) SWIG_fail;
3712 }
3713 {
3714 arg3 = (int)(SWIG_As_int(obj2));
3715 if (SWIG_arg_fail(3)) SWIG_fail;
3716 }
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 Py_INCREF(Py_None); resultobj = Py_None;
3725 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3726 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3727 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3728 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3736 int argc;
3737 PyObject *argv[4];
3738 int ii;
3739
3740 argc = PyObject_Length(args);
3741 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3742 argv[ii] = PyTuple_GetItem(args,ii);
3743 }
3744 if (argc == 2) {
3745 int _v;
3746 {
3747 void *ptr;
3748 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3749 _v = 0;
3750 PyErr_Clear();
3751 } else {
3752 _v = 1;
3753 }
3754 }
3755 if (_v) {
3756 {
3757 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3758 }
3759 if (_v) {
3760 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3761 }
3762 }
3763 }
3764 if (argc == 3) {
3765 int _v;
3766 {
3767 void *ptr;
3768 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3769 _v = 0;
3770 PyErr_Clear();
3771 } else {
3772 _v = 1;
3773 }
3774 }
3775 if (_v) {
3776 _v = SWIG_Check_int(argv[1]);
3777 if (_v) {
3778 _v = SWIG_Check_int(argv[2]);
3779 if (_v) {
3780 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3781 }
3782 }
3783 }
3784 }
3785
3786 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3794 PyObject * obj0 = 0 ;
3795 char *kwnames[] = {
3796 (char *) "self", NULL
3797 };
3798
3799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3801 if (SWIG_arg_fail(1)) SWIG_fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 (arg1)->AdjustScrollbars();
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 Py_INCREF(Py_None); resultobj = Py_None;
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3819 wxScrollWinEvent *arg2 = 0 ;
3820 int result;
3821 PyObject * obj0 = 0 ;
3822 PyObject * obj1 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "self",(char *) "event", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3829 if (SWIG_arg_fail(1)) SWIG_fail;
3830 {
3831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3832 if (SWIG_arg_fail(2)) SWIG_fail;
3833 if (arg2 == NULL) {
3834 SWIG_null_ref("wxScrollWinEvent");
3835 }
3836 if (SWIG_arg_fail(2)) SWIG_fail;
3837 }
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)(arg1)->CalcScrollInc(*arg2);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 resultobj = SWIG_From_int((int)(result));
3847 }
3848 return resultobj;
3849 fail:
3850 return NULL;
3851 }
3852
3853
3854 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3857 wxWindow *arg2 = (wxWindow *) 0 ;
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "target", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail;
3867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3868 if (SWIG_arg_fail(2)) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetTargetWindow(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3886 wxWindow *result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail;
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = wxPyMake_wxObject(result, 0);
3904 }
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3914 wxRect *arg2 = 0 ;
3915 wxRect temp2 ;
3916 PyObject * obj0 = 0 ;
3917 PyObject * obj1 = 0 ;
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "rect", NULL
3920 };
3921
3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3924 if (SWIG_arg_fail(1)) SWIG_fail;
3925 {
3926 arg2 = &temp2;
3927 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->SetTargetRect((wxRect const &)*arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3946 wxRect result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 {
3963 wxRect * resultptr;
3964 resultptr = new wxRect((wxRect &)(result));
3965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3966 }
3967 return resultobj;
3968 fail:
3969 return NULL;
3970 }
3971
3972
3973 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3976 wxDC *arg2 = 0 ;
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "dc", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3985 if (SWIG_arg_fail(1)) SWIG_fail;
3986 {
3987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3988 if (SWIG_arg_fail(2)) SWIG_fail;
3989 if (arg2 == NULL) {
3990 SWIG_null_ref("wxDC");
3991 }
3992 if (SWIG_arg_fail(2)) SWIG_fail;
3993 }
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 (arg1)->DoPrepareDC(*arg2);
3997
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 Py_INCREF(Py_None); resultobj = Py_None;
4002 return resultobj;
4003 fail:
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4011 wxVisualAttributes result;
4012 PyObject * obj0 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "variant", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4018 if (obj0) {
4019 {
4020 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4021 if (SWIG_arg_fail(1)) SWIG_fail;
4022 }
4023 }
4024 {
4025 if (!wxPyCheckForApp()) SWIG_fail;
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 wxVisualAttributes * resultptr;
4034 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
4035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4036 }
4037 return resultobj;
4038 fail:
4039 return NULL;
4040 }
4041
4042
4043 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4044 PyObject *obj;
4045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4046 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4047 Py_INCREF(obj);
4048 return Py_BuildValue((char *)"");
4049 }
4050 static int _wrap_FrameNameStr_set(PyObject *) {
4051 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4052 return 1;
4053 }
4054
4055
4056 static PyObject *_wrap_FrameNameStr_get(void) {
4057 PyObject *pyobj;
4058
4059 {
4060 #if wxUSE_UNICODE
4061 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4062 #else
4063 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4064 #endif
4065 }
4066 return pyobj;
4067 }
4068
4069
4070 static int _wrap_DialogNameStr_set(PyObject *) {
4071 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4072 return 1;
4073 }
4074
4075
4076 static PyObject *_wrap_DialogNameStr_get(void) {
4077 PyObject *pyobj;
4078
4079 {
4080 #if wxUSE_UNICODE
4081 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4082 #else
4083 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4084 #endif
4085 }
4086 return pyobj;
4087 }
4088
4089
4090 static int _wrap_StatusLineNameStr_set(PyObject *) {
4091 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4092 return 1;
4093 }
4094
4095
4096 static PyObject *_wrap_StatusLineNameStr_get(void) {
4097 PyObject *pyobj;
4098
4099 {
4100 #if wxUSE_UNICODE
4101 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4102 #else
4103 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4104 #endif
4105 }
4106 return pyobj;
4107 }
4108
4109
4110 static int _wrap_ToolBarNameStr_set(PyObject *) {
4111 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4112 return 1;
4113 }
4114
4115
4116 static PyObject *_wrap_ToolBarNameStr_get(void) {
4117 PyObject *pyobj;
4118
4119 {
4120 #if wxUSE_UNICODE
4121 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4122 #else
4123 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4124 #endif
4125 }
4126 return pyobj;
4127 }
4128
4129
4130 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4133 bool arg2 = (bool) true ;
4134 PyObject * obj0 = 0 ;
4135 PyObject * obj1 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self",(char *) "maximize", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail;
4143 if (obj1) {
4144 {
4145 arg2 = (bool)(SWIG_As_bool(obj1));
4146 if (SWIG_arg_fail(2)) SWIG_fail;
4147 }
4148 }
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 (arg1)->Maximize(arg2);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 Py_INCREF(Py_None); resultobj = Py_None;
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj;
4165 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4173 if (SWIG_arg_fail(1)) SWIG_fail;
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 (arg1)->Restore();
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) SWIG_fail;
4180 }
4181 Py_INCREF(Py_None); resultobj = Py_None;
4182 return resultobj;
4183 fail:
4184 return NULL;
4185 }
4186
4187
4188 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4191 bool arg2 = (bool) true ;
4192 PyObject * obj0 = 0 ;
4193 PyObject * obj1 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self",(char *) "iconize", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4200 if (SWIG_arg_fail(1)) SWIG_fail;
4201 if (obj1) {
4202 {
4203 arg2 = (bool)(SWIG_As_bool(obj1));
4204 if (SWIG_arg_fail(2)) SWIG_fail;
4205 }
4206 }
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->Iconize(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218 }
4219
4220
4221 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4224 bool result;
4225 PyObject * obj0 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4232 if (SWIG_arg_fail(1)) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4242 }
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4252 bool result;
4253 PyObject * obj0 = 0 ;
4254 char *kwnames[] = {
4255 (char *) "self", NULL
4256 };
4257
4258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4260 if (SWIG_arg_fail(1)) SWIG_fail;
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4268 {
4269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4270 }
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4280 wxIcon result;
4281 PyObject * obj0 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail;
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 {
4297 wxIcon * resultptr;
4298 resultptr = new wxIcon((wxIcon &)(result));
4299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4300 }
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4310 wxIcon *arg2 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "icon", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail;
4320 {
4321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(2)) SWIG_fail;
4323 if (arg2 == NULL) {
4324 SWIG_null_ref("wxIcon");
4325 }
4326 if (SWIG_arg_fail(2)) SWIG_fail;
4327 }
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 (arg1)->SetIcon((wxIcon const &)*arg2);
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj;
4344 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4345 wxIconBundle *arg2 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 char *kwnames[] = {
4349 (char *) "self",(char *) "icons", NULL
4350 };
4351
4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail;
4355 {
4356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4357 if (SWIG_arg_fail(2)) SWIG_fail;
4358 if (arg2 == NULL) {
4359 SWIG_null_ref("wxIconBundle");
4360 }
4361 if (SWIG_arg_fail(2)) SWIG_fail;
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 Py_INCREF(Py_None); resultobj = Py_None;
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4380 bool arg2 ;
4381 long arg3 = (long) wxFULLSCREEN_ALL ;
4382 bool result;
4383 PyObject * obj0 = 0 ;
4384 PyObject * obj1 = 0 ;
4385 PyObject * obj2 = 0 ;
4386 char *kwnames[] = {
4387 (char *) "self",(char *) "show",(char *) "style", NULL
4388 };
4389
4390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4392 if (SWIG_arg_fail(1)) SWIG_fail;
4393 {
4394 arg2 = (bool)(SWIG_As_bool(obj1));
4395 if (SWIG_arg_fail(2)) SWIG_fail;
4396 }
4397 if (obj2) {
4398 {
4399 arg3 = (long)(SWIG_As_long(obj2));
4400 if (SWIG_arg_fail(3)) SWIG_fail;
4401 }
4402 }
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 {
4411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4412 }
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4422 bool result;
4423 PyObject * obj0 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 {
4439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4440 }
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4450 wxString *arg2 = 0 ;
4451 bool temp2 = false ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self",(char *) "title", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail;
4461 {
4462 arg2 = wxString_in_helper(obj1);
4463 if (arg2 == NULL) SWIG_fail;
4464 temp2 = true;
4465 }
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetTitle((wxString const &)*arg2);
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 Py_INCREF(Py_None); resultobj = Py_None;
4474 {
4475 if (temp2)
4476 delete arg2;
4477 }
4478 return resultobj;
4479 fail:
4480 {
4481 if (temp2)
4482 delete arg2;
4483 }
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4491 wxString result;
4492 PyObject * obj0 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 #if wxUSE_UNICODE
4509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4510 #else
4511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4512 #endif
4513 }
4514 return resultobj;
4515 fail:
4516 return NULL;
4517 }
4518
4519
4520 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4521 PyObject *resultobj;
4522 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4523 wxRegion *arg2 = 0 ;
4524 bool result;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "region", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4533 if (SWIG_arg_fail(1)) SWIG_fail;
4534 {
4535 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(2)) SWIG_fail;
4537 if (arg2 == NULL) {
4538 SWIG_null_ref("wxRegion");
4539 }
4540 if (SWIG_arg_fail(2)) SWIG_fail;
4541 }
4542 {
4543 PyThreadState* __tstate = wxPyBeginAllowThreads();
4544 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4545
4546 wxPyEndAllowThreads(__tstate);
4547 if (PyErr_Occurred()) SWIG_fail;
4548 }
4549 {
4550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4551 }
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4561 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4562 PyObject * obj0 = 0 ;
4563 PyObject * obj1 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self",(char *) "flags", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4570 if (SWIG_arg_fail(1)) SWIG_fail;
4571 if (obj1) {
4572 {
4573 arg2 = (int)(SWIG_As_int(obj1));
4574 if (SWIG_arg_fail(2)) SWIG_fail;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 (arg1)->RequestUserAttention(arg2);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 Py_INCREF(Py_None); resultobj = Py_None;
4585 return resultobj;
4586 fail:
4587 return NULL;
4588 }
4589
4590
4591 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4592 PyObject *resultobj;
4593 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4594 bool result;
4595 PyObject * obj0 = 0 ;
4596 char *kwnames[] = {
4597 (char *) "self", NULL
4598 };
4599
4600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4602 if (SWIG_arg_fail(1)) SWIG_fail;
4603 {
4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
4605 result = (bool)(arg1)->IsActive();
4606
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 {
4611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4612 }
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4620 PyObject *resultobj;
4621 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4622 bool arg2 ;
4623 PyObject * obj0 = 0 ;
4624 PyObject * obj1 = 0 ;
4625 char *kwnames[] = {
4626 (char *) "self",(char *) "on", NULL
4627 };
4628
4629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4631 if (SWIG_arg_fail(1)) SWIG_fail;
4632 {
4633 arg2 = (bool)(SWIG_As_bool(obj1));
4634 if (SWIG_arg_fail(2)) SWIG_fail;
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647 }
4648
4649
4650 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4653 bool result;
4654 PyObject * obj0 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "self", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4661 if (SWIG_arg_fail(1)) SWIG_fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 {
4670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4671 }
4672 return resultobj;
4673 fail:
4674 return NULL;
4675 }
4676
4677
4678 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4679 PyObject *obj;
4680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4681 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4682 Py_INCREF(obj);
4683 return Py_BuildValue((char *)"");
4684 }
4685 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4686 PyObject *resultobj;
4687 wxWindow *arg1 = (wxWindow *) 0 ;
4688 int arg2 = (int) (int)-1 ;
4689 wxString const &arg3_defvalue = wxPyEmptyString ;
4690 wxString *arg3 = (wxString *) &arg3_defvalue ;
4691 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4692 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4693 wxSize const &arg5_defvalue = wxDefaultSize ;
4694 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4695 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4696 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4697 wxString *arg7 = (wxString *) &arg7_defvalue ;
4698 wxFrame *result;
4699 bool temp3 = false ;
4700 wxPoint temp4 ;
4701 wxSize temp5 ;
4702 bool temp7 = false ;
4703 PyObject * obj0 = 0 ;
4704 PyObject * obj1 = 0 ;
4705 PyObject * obj2 = 0 ;
4706 PyObject * obj3 = 0 ;
4707 PyObject * obj4 = 0 ;
4708 PyObject * obj5 = 0 ;
4709 PyObject * obj6 = 0 ;
4710 char *kwnames[] = {
4711 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4712 };
4713
4714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail;
4717 if (obj1) {
4718 {
4719 arg2 = (int const)(SWIG_As_int(obj1));
4720 if (SWIG_arg_fail(2)) SWIG_fail;
4721 }
4722 }
4723 if (obj2) {
4724 {
4725 arg3 = wxString_in_helper(obj2);
4726 if (arg3 == NULL) SWIG_fail;
4727 temp3 = true;
4728 }
4729 }
4730 if (obj3) {
4731 {
4732 arg4 = &temp4;
4733 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4734 }
4735 }
4736 if (obj4) {
4737 {
4738 arg5 = &temp5;
4739 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4740 }
4741 }
4742 if (obj5) {
4743 {
4744 arg6 = (long)(SWIG_As_long(obj5));
4745 if (SWIG_arg_fail(6)) SWIG_fail;
4746 }
4747 }
4748 if (obj6) {
4749 {
4750 arg7 = wxString_in_helper(obj6);
4751 if (arg7 == NULL) SWIG_fail;
4752 temp7 = true;
4753 }
4754 }
4755 {
4756 if (!wxPyCheckForApp()) SWIG_fail;
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4764 {
4765 if (temp3)
4766 delete arg3;
4767 }
4768 {
4769 if (temp7)
4770 delete arg7;
4771 }
4772 return resultobj;
4773 fail:
4774 {
4775 if (temp3)
4776 delete arg3;
4777 }
4778 {
4779 if (temp7)
4780 delete arg7;
4781 }
4782 return NULL;
4783 }
4784
4785
4786 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 wxFrame *result;
4789 char *kwnames[] = {
4790 NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4794 {
4795 if (!wxPyCheckForApp()) SWIG_fail;
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (wxFrame *)new wxFrame();
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxFrame *arg1 = (wxFrame *) 0 ;
4812 wxWindow *arg2 = (wxWindow *) 0 ;
4813 int arg3 = (int) (int)-1 ;
4814 wxString const &arg4_defvalue = wxPyEmptyString ;
4815 wxString *arg4 = (wxString *) &arg4_defvalue ;
4816 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4817 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4818 wxSize const &arg6_defvalue = wxDefaultSize ;
4819 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4820 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4821 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4822 wxString *arg8 = (wxString *) &arg8_defvalue ;
4823 bool result;
4824 bool temp4 = false ;
4825 wxPoint temp5 ;
4826 wxSize temp6 ;
4827 bool temp8 = false ;
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 PyObject * obj2 = 0 ;
4831 PyObject * obj3 = 0 ;
4832 PyObject * obj4 = 0 ;
4833 PyObject * obj5 = 0 ;
4834 PyObject * obj6 = 0 ;
4835 PyObject * obj7 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4842 if (SWIG_arg_fail(1)) SWIG_fail;
4843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4844 if (SWIG_arg_fail(2)) SWIG_fail;
4845 if (obj2) {
4846 {
4847 arg3 = (int const)(SWIG_As_int(obj2));
4848 if (SWIG_arg_fail(3)) SWIG_fail;
4849 }
4850 }
4851 if (obj3) {
4852 {
4853 arg4 = wxString_in_helper(obj3);
4854 if (arg4 == NULL) SWIG_fail;
4855 temp4 = true;
4856 }
4857 }
4858 if (obj4) {
4859 {
4860 arg5 = &temp5;
4861 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4862 }
4863 }
4864 if (obj5) {
4865 {
4866 arg6 = &temp6;
4867 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4868 }
4869 }
4870 if (obj6) {
4871 {
4872 arg7 = (long)(SWIG_As_long(obj6));
4873 if (SWIG_arg_fail(7)) SWIG_fail;
4874 }
4875 }
4876 if (obj7) {
4877 {
4878 arg8 = wxString_in_helper(obj7);
4879 if (arg8 == NULL) SWIG_fail;
4880 temp8 = true;
4881 }
4882 }
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 {
4891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4892 }
4893 {
4894 if (temp4)
4895 delete arg4;
4896 }
4897 {
4898 if (temp8)
4899 delete arg8;
4900 }
4901 return resultobj;
4902 fail:
4903 {
4904 if (temp4)
4905 delete arg4;
4906 }
4907 {
4908 if (temp8)
4909 delete arg8;
4910 }
4911 return NULL;
4912 }
4913
4914
4915 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxFrame *arg1 = (wxFrame *) 0 ;
4918 wxPoint result;
4919 PyObject * obj0 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4926 if (SWIG_arg_fail(1)) SWIG_fail;
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 {
4935 wxPoint * resultptr;
4936 resultptr = new wxPoint((wxPoint &)(result));
4937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4938 }
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4955 if (SWIG_arg_fail(1)) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->SendSizeEvent();
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxFrame *arg1 = (wxFrame *) 0 ;
4973 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "menubar", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4982 if (SWIG_arg_fail(1)) SWIG_fail;
4983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4984 if (SWIG_arg_fail(2)) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 (arg1)->SetMenuBar(arg2);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 Py_INCREF(Py_None); resultobj = Py_None;
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxFrame *arg1 = (wxFrame *) 0 ;
5002 wxMenuBar *result;
5003 PyObject * obj0 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
5009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5010 if (SWIG_arg_fail(1)) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 {
5019 resultobj = wxPyMake_wxObject(result, 0);
5020 }
5021 return resultobj;
5022 fail:
5023 return NULL;
5024 }
5025
5026
5027 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
5028 PyObject *resultobj;
5029 wxFrame *arg1 = (wxFrame *) 0 ;
5030 int arg2 ;
5031 bool result;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "winid", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) 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 {
5042 arg2 = (int)(SWIG_As_int(obj1));
5043 if (SWIG_arg_fail(2)) SWIG_fail;
5044 }
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (bool)(arg1)->ProcessCommand(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5054 }
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxFrame *arg1 = (wxFrame *) 0 ;
5064 int arg2 = (int) 1 ;
5065 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5066 int arg4 = (int) 0 ;
5067 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5068 wxString *arg5 = (wxString *) &arg5_defvalue ;
5069 wxStatusBar *result;
5070 bool temp5 = false ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 PyObject * obj2 = 0 ;
5074 PyObject * obj3 = 0 ;
5075 PyObject * obj4 = 0 ;
5076 char *kwnames[] = {
5077 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5078 };
5079
5080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5082 if (SWIG_arg_fail(1)) SWIG_fail;
5083 if (obj1) {
5084 {
5085 arg2 = (int)(SWIG_As_int(obj1));
5086 if (SWIG_arg_fail(2)) SWIG_fail;
5087 }
5088 }
5089 if (obj2) {
5090 {
5091 arg3 = (long)(SWIG_As_long(obj2));
5092 if (SWIG_arg_fail(3)) SWIG_fail;
5093 }
5094 }
5095 if (obj3) {
5096 {
5097 arg4 = (int)(SWIG_As_int(obj3));
5098 if (SWIG_arg_fail(4)) SWIG_fail;
5099 }
5100 }
5101 if (obj4) {
5102 {
5103 arg5 = wxString_in_helper(obj4);
5104 if (arg5 == NULL) SWIG_fail;
5105 temp5 = true;
5106 }
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = wxPyMake_wxObject(result, 0);
5117 }
5118 {
5119 if (temp5)
5120 delete arg5;
5121 }
5122 return resultobj;
5123 fail:
5124 {
5125 if (temp5)
5126 delete arg5;
5127 }
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxFrame *arg1 = (wxFrame *) 0 ;
5135 wxStatusBar *result;
5136 PyObject * obj0 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail;
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 {
5152 resultobj = wxPyMake_wxObject(result, 0);
5153 }
5154 return resultobj;
5155 fail:
5156 return NULL;
5157 }
5158
5159
5160 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxFrame *arg1 = (wxFrame *) 0 ;
5163 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5164 PyObject * obj0 = 0 ;
5165 PyObject * obj1 = 0 ;
5166 char *kwnames[] = {
5167 (char *) "self",(char *) "statBar", NULL
5168 };
5169
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5172 if (SWIG_arg_fail(1)) SWIG_fail;
5173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5174 if (SWIG_arg_fail(2)) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetStatusBar(arg2);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186 }
5187
5188
5189 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxFrame *arg1 = (wxFrame *) 0 ;
5192 wxString *arg2 = 0 ;
5193 int arg3 = (int) 0 ;
5194 bool temp2 = false ;
5195 PyObject * obj0 = 0 ;
5196 PyObject * obj1 = 0 ;
5197 PyObject * obj2 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "text",(char *) "number", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5204 if (SWIG_arg_fail(1)) SWIG_fail;
5205 {
5206 arg2 = wxString_in_helper(obj1);
5207 if (arg2 == NULL) SWIG_fail;
5208 temp2 = true;
5209 }
5210 if (obj2) {
5211 {
5212 arg3 = (int)(SWIG_As_int(obj2));
5213 if (SWIG_arg_fail(3)) SWIG_fail;
5214 }
5215 }
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 {
5225 if (temp2)
5226 delete arg2;
5227 }
5228 return resultobj;
5229 fail:
5230 {
5231 if (temp2)
5232 delete arg2;
5233 }
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxFrame *arg1 = (wxFrame *) 0 ;
5241 int arg2 ;
5242 int *arg3 = (int *) 0 ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 char *kwnames[] = {
5246 (char *) "self",(char *) "widths", NULL
5247 };
5248
5249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail;
5252 {
5253 arg2 = PyList_Size(obj1);
5254 arg3 = int_LIST_helper(obj1);
5255 if (arg3 == NULL) SWIG_fail;
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 Py_INCREF(Py_None); resultobj = Py_None;
5265 {
5266 if (arg3) delete [] arg3;
5267 }
5268 return resultobj;
5269 fail:
5270 {
5271 if (arg3) delete [] arg3;
5272 }
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxFrame *arg1 = (wxFrame *) 0 ;
5280 wxString *arg2 = 0 ;
5281 int arg3 = (int) 0 ;
5282 bool temp2 = false ;
5283 PyObject * obj0 = 0 ;
5284 PyObject * obj1 = 0 ;
5285 PyObject * obj2 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self",(char *) "text",(char *) "number", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5292 if (SWIG_arg_fail(1)) SWIG_fail;
5293 {
5294 arg2 = wxString_in_helper(obj1);
5295 if (arg2 == NULL) SWIG_fail;
5296 temp2 = true;
5297 }
5298 if (obj2) {
5299 {
5300 arg3 = (int)(SWIG_As_int(obj2));
5301 if (SWIG_arg_fail(3)) SWIG_fail;
5302 }
5303 }
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 {
5313 if (temp2)
5314 delete arg2;
5315 }
5316 return resultobj;
5317 fail:
5318 {
5319 if (temp2)
5320 delete arg2;
5321 }
5322 return NULL;
5323 }
5324
5325
5326 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxFrame *arg1 = (wxFrame *) 0 ;
5329 int arg2 = (int) 0 ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj1 = 0 ;
5332 char *kwnames[] = {
5333 (char *) "self",(char *) "number", NULL
5334 };
5335
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5338 if (SWIG_arg_fail(1)) SWIG_fail;
5339 if (obj1) {
5340 {
5341 arg2 = (int)(SWIG_As_int(obj1));
5342 if (SWIG_arg_fail(2)) SWIG_fail;
5343 }
5344 }
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 (arg1)->PopStatusText(arg2);
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 Py_INCREF(Py_None); resultobj = Py_None;
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj;
5361 wxFrame *arg1 = (wxFrame *) 0 ;
5362 int arg2 ;
5363 PyObject * obj0 = 0 ;
5364 PyObject * obj1 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self",(char *) "n", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5371 if (SWIG_arg_fail(1)) SWIG_fail;
5372 {
5373 arg2 = (int)(SWIG_As_int(obj1));
5374 if (SWIG_arg_fail(2)) SWIG_fail;
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->SetStatusBarPane(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxFrame *arg1 = (wxFrame *) 0 ;
5393 int result;
5394 PyObject * obj0 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5401 if (SWIG_arg_fail(1)) SWIG_fail;
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = SWIG_From_int((int)(result));
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxFrame *arg1 = (wxFrame *) 0 ;
5421 long arg2 = (long) -1 ;
5422 int arg3 = (int) -1 ;
5423 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5424 wxString *arg4 = (wxString *) &arg4_defvalue ;
5425 wxToolBar *result;
5426 bool temp4 = false ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 PyObject * obj2 = 0 ;
5430 PyObject * obj3 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
5438 if (obj1) {
5439 {
5440 arg2 = (long)(SWIG_As_long(obj1));
5441 if (SWIG_arg_fail(2)) SWIG_fail;
5442 }
5443 }
5444 if (obj2) {
5445 {
5446 arg3 = (int)(SWIG_As_int(obj2));
5447 if (SWIG_arg_fail(3)) SWIG_fail;
5448 }
5449 }
5450 if (obj3) {
5451 {
5452 arg4 = wxString_in_helper(obj3);
5453 if (arg4 == NULL) SWIG_fail;
5454 temp4 = true;
5455 }
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 {
5465 resultobj = wxPyMake_wxObject(result, 0);
5466 }
5467 {
5468 if (temp4)
5469 delete arg4;
5470 }
5471 return resultobj;
5472 fail:
5473 {
5474 if (temp4)
5475 delete arg4;
5476 }
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxFrame *arg1 = (wxFrame *) 0 ;
5484 wxToolBar *result;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail;
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 {
5501 resultobj = wxPyMake_wxObject(result, 0);
5502 }
5503 return resultobj;
5504 fail:
5505 return NULL;
5506 }
5507
5508
5509 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj;
5511 wxFrame *arg1 = (wxFrame *) 0 ;
5512 wxToolBar *arg2 = (wxToolBar *) 0 ;
5513 PyObject * obj0 = 0 ;
5514 PyObject * obj1 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self",(char *) "toolbar", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5521 if (SWIG_arg_fail(1)) SWIG_fail;
5522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5523 if (SWIG_arg_fail(2)) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->SetToolBar(arg2);
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxFrame *arg1 = (wxFrame *) 0 ;
5541 wxString *arg2 = 0 ;
5542 bool arg3 ;
5543 bool temp2 = false ;
5544 PyObject * obj0 = 0 ;
5545 PyObject * obj1 = 0 ;
5546 PyObject * obj2 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self",(char *) "text",(char *) "show", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5553 if (SWIG_arg_fail(1)) SWIG_fail;
5554 {
5555 arg2 = wxString_in_helper(obj1);
5556 if (arg2 == NULL) SWIG_fail;
5557 temp2 = true;
5558 }
5559 {
5560 arg3 = (bool)(SWIG_As_bool(obj2));
5561 if (SWIG_arg_fail(3)) SWIG_fail;
5562 }
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5566
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 Py_INCREF(Py_None); resultobj = Py_None;
5571 {
5572 if (temp2)
5573 delete arg2;
5574 }
5575 return resultobj;
5576 fail:
5577 {
5578 if (temp2)
5579 delete arg2;
5580 }
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxFrame *arg1 = (wxFrame *) 0 ;
5588 wxMenu *arg2 = (wxMenu *) NULL ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "menu", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5597 if (SWIG_arg_fail(1)) SWIG_fail;
5598 if (obj1) {
5599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5600 if (SWIG_arg_fail(2)) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->DoMenuUpdates(arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5619 wxVisualAttributes result;
5620 PyObject * obj0 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "variant", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5626 if (obj0) {
5627 {
5628 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5629 if (SWIG_arg_fail(1)) SWIG_fail;
5630 }
5631 }
5632 {
5633 if (!wxPyCheckForApp()) SWIG_fail;
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 {
5641 wxVisualAttributes * resultptr;
5642 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5652 PyObject *obj;
5653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5654 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5655 Py_INCREF(obj);
5656 return Py_BuildValue((char *)"");
5657 }
5658 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5659 PyObject *resultobj;
5660 wxWindow *arg1 = (wxWindow *) 0 ;
5661 int arg2 = (int) (int)-1 ;
5662 wxString const &arg3_defvalue = wxPyEmptyString ;
5663 wxString *arg3 = (wxString *) &arg3_defvalue ;
5664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5666 wxSize const &arg5_defvalue = wxDefaultSize ;
5667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5668 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5669 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5670 wxString *arg7 = (wxString *) &arg7_defvalue ;
5671 wxDialog *result;
5672 bool temp3 = false ;
5673 wxPoint temp4 ;
5674 wxSize temp5 ;
5675 bool temp7 = false ;
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj2 = 0 ;
5679 PyObject * obj3 = 0 ;
5680 PyObject * obj4 = 0 ;
5681 PyObject * obj5 = 0 ;
5682 PyObject * obj6 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail;
5690 if (obj1) {
5691 {
5692 arg2 = (int const)(SWIG_As_int(obj1));
5693 if (SWIG_arg_fail(2)) SWIG_fail;
5694 }
5695 }
5696 if (obj2) {
5697 {
5698 arg3 = wxString_in_helper(obj2);
5699 if (arg3 == NULL) SWIG_fail;
5700 temp3 = true;
5701 }
5702 }
5703 if (obj3) {
5704 {
5705 arg4 = &temp4;
5706 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5707 }
5708 }
5709 if (obj4) {
5710 {
5711 arg5 = &temp5;
5712 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5713 }
5714 }
5715 if (obj5) {
5716 {
5717 arg6 = (long)(SWIG_As_long(obj5));
5718 if (SWIG_arg_fail(6)) SWIG_fail;
5719 }
5720 }
5721 if (obj6) {
5722 {
5723 arg7 = wxString_in_helper(obj6);
5724 if (arg7 == NULL) SWIG_fail;
5725 temp7 = true;
5726 }
5727 }
5728 {
5729 if (!wxPyCheckForApp()) SWIG_fail;
5730 PyThreadState* __tstate = wxPyBeginAllowThreads();
5731 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5732
5733 wxPyEndAllowThreads(__tstate);
5734 if (PyErr_Occurred()) SWIG_fail;
5735 }
5736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5737 {
5738 if (temp3)
5739 delete arg3;
5740 }
5741 {
5742 if (temp7)
5743 delete arg7;
5744 }
5745 return resultobj;
5746 fail:
5747 {
5748 if (temp3)
5749 delete arg3;
5750 }
5751 {
5752 if (temp7)
5753 delete arg7;
5754 }
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxDialog *result;
5762 char *kwnames[] = {
5763 NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5767 {
5768 if (!wxPyCheckForApp()) SWIG_fail;
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (wxDialog *)new wxDialog();
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxDialog *arg1 = (wxDialog *) 0 ;
5785 wxWindow *arg2 = (wxWindow *) 0 ;
5786 int arg3 = (int) (int)-1 ;
5787 wxString const &arg4_defvalue = wxPyEmptyString ;
5788 wxString *arg4 = (wxString *) &arg4_defvalue ;
5789 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5790 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5791 wxSize const &arg6_defvalue = wxDefaultSize ;
5792 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5793 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5794 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5795 wxString *arg8 = (wxString *) &arg8_defvalue ;
5796 bool result;
5797 bool temp4 = false ;
5798 wxPoint temp5 ;
5799 wxSize temp6 ;
5800 bool temp8 = false ;
5801 PyObject * obj0 = 0 ;
5802 PyObject * obj1 = 0 ;
5803 PyObject * obj2 = 0 ;
5804 PyObject * obj3 = 0 ;
5805 PyObject * obj4 = 0 ;
5806 PyObject * obj5 = 0 ;
5807 PyObject * obj6 = 0 ;
5808 PyObject * obj7 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5815 if (SWIG_arg_fail(1)) SWIG_fail;
5816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5817 if (SWIG_arg_fail(2)) SWIG_fail;
5818 if (obj2) {
5819 {
5820 arg3 = (int const)(SWIG_As_int(obj2));
5821 if (SWIG_arg_fail(3)) SWIG_fail;
5822 }
5823 }
5824 if (obj3) {
5825 {
5826 arg4 = wxString_in_helper(obj3);
5827 if (arg4 == NULL) SWIG_fail;
5828 temp4 = true;
5829 }
5830 }
5831 if (obj4) {
5832 {
5833 arg5 = &temp5;
5834 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5835 }
5836 }
5837 if (obj5) {
5838 {
5839 arg6 = &temp6;
5840 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5841 }
5842 }
5843 if (obj6) {
5844 {
5845 arg7 = (long)(SWIG_As_long(obj6));
5846 if (SWIG_arg_fail(7)) SWIG_fail;
5847 }
5848 }
5849 if (obj7) {
5850 {
5851 arg8 = wxString_in_helper(obj7);
5852 if (arg8 == NULL) SWIG_fail;
5853 temp8 = true;
5854 }
5855 }
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 {
5864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5865 }
5866 {
5867 if (temp4)
5868 delete arg4;
5869 }
5870 {
5871 if (temp8)
5872 delete arg8;
5873 }
5874 return resultobj;
5875 fail:
5876 {
5877 if (temp4)
5878 delete arg4;
5879 }
5880 {
5881 if (temp8)
5882 delete arg8;
5883 }
5884 return NULL;
5885 }
5886
5887
5888 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5889 PyObject *resultobj;
5890 wxDialog *arg1 = (wxDialog *) 0 ;
5891 int arg2 ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "returnCode", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail;
5901 {
5902 arg2 = (int)(SWIG_As_int(obj1));
5903 if (SWIG_arg_fail(2)) SWIG_fail;
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->SetReturnCode(arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxDialog *arg1 = (wxDialog *) 0 ;
5922 int result;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail;
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 {
5939 resultobj = SWIG_From_int((int)(result));
5940 }
5941 return resultobj;
5942 fail:
5943 return NULL;
5944 }
5945
5946
5947 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxDialog *arg1 = (wxDialog *) 0 ;
5950 wxString *arg2 = 0 ;
5951 wxSizer *result;
5952 bool temp2 = false ;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "message", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail;
5962 {
5963 arg2 = wxString_in_helper(obj1);
5964 if (arg2 == NULL) SWIG_fail;
5965 temp2 = true;
5966 }
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = wxPyMake_wxObject(result, 0);
5976 }
5977 {
5978 if (temp2)
5979 delete arg2;
5980 }
5981 return resultobj;
5982 fail:
5983 {
5984 if (temp2)
5985 delete arg2;
5986 }
5987 return NULL;
5988 }
5989
5990
5991 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj;
5993 wxDialog *arg1 = (wxDialog *) 0 ;
5994 long arg2 ;
5995 wxSizer *result;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "flags", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail;
6005 {
6006 arg2 = (long)(SWIG_As_long(obj1));
6007 if (SWIG_arg_fail(2)) SWIG_fail;
6008 }
6009 {
6010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6011 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
6012
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 {
6017 resultobj = wxPyMake_wxObject(result, 0);
6018 }
6019 return resultobj;
6020 fail:
6021 return NULL;
6022 }
6023
6024
6025 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxDialog *arg1 = (wxDialog *) 0 ;
6028 long arg2 ;
6029 wxStdDialogButtonSizer *result;
6030 PyObject * obj0 = 0 ;
6031 PyObject * obj1 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self",(char *) "flags", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6038 if (SWIG_arg_fail(1)) SWIG_fail;
6039 {
6040 arg2 = (long)(SWIG_As_long(obj1));
6041 if (SWIG_arg_fail(2)) SWIG_fail;
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj;
6059 wxDialog *arg1 = (wxDialog *) 0 ;
6060 bool result;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6068 if (SWIG_arg_fail(1)) SWIG_fail;
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 result = (bool)((wxDialog const *)arg1)->IsModal();
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6078 }
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxDialog *arg1 = (wxDialog *) 0 ;
6088 int result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6096 if (SWIG_arg_fail(1)) SWIG_fail;
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 result = (int)(arg1)->ShowModal();
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 {
6105 resultobj = SWIG_From_int((int)(result));
6106 }
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxDialog *arg1 = (wxDialog *) 0 ;
6116 int arg2 ;
6117 PyObject * obj0 = 0 ;
6118 PyObject * obj1 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self",(char *) "retCode", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6125 if (SWIG_arg_fail(1)) SWIG_fail;
6126 {
6127 arg2 = (int)(SWIG_As_int(obj1));
6128 if (SWIG_arg_fail(2)) SWIG_fail;
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 (arg1)->EndModal(arg2);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 Py_INCREF(Py_None); resultobj = Py_None;
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6147 wxVisualAttributes result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "variant", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6154 if (obj0) {
6155 {
6156 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6157 if (SWIG_arg_fail(1)) SWIG_fail;
6158 }
6159 }
6160 {
6161 if (!wxPyCheckForApp()) SWIG_fail;
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 {
6169 wxVisualAttributes * resultptr;
6170 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6172 }
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6180 PyObject *obj;
6181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6182 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6183 Py_INCREF(obj);
6184 return Py_BuildValue((char *)"");
6185 }
6186 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxWindow *arg1 = (wxWindow *) 0 ;
6189 int arg2 = (int) (int)-1 ;
6190 wxString const &arg3_defvalue = wxPyEmptyString ;
6191 wxString *arg3 = (wxString *) &arg3_defvalue ;
6192 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6193 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6194 wxSize const &arg5_defvalue = wxDefaultSize ;
6195 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6196 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6197 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6198 wxString *arg7 = (wxString *) &arg7_defvalue ;
6199 wxMiniFrame *result;
6200 bool temp3 = false ;
6201 wxPoint temp4 ;
6202 wxSize temp5 ;
6203 bool temp7 = false ;
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
6206 PyObject * obj2 = 0 ;
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
6210 PyObject * obj6 = 0 ;
6211 char *kwnames[] = {
6212 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6213 };
6214
6215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6217 if (SWIG_arg_fail(1)) SWIG_fail;
6218 if (obj1) {
6219 {
6220 arg2 = (int const)(SWIG_As_int(obj1));
6221 if (SWIG_arg_fail(2)) SWIG_fail;
6222 }
6223 }
6224 if (obj2) {
6225 {
6226 arg3 = wxString_in_helper(obj2);
6227 if (arg3 == NULL) SWIG_fail;
6228 temp3 = true;
6229 }
6230 }
6231 if (obj3) {
6232 {
6233 arg4 = &temp4;
6234 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6235 }
6236 }
6237 if (obj4) {
6238 {
6239 arg5 = &temp5;
6240 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6241 }
6242 }
6243 if (obj5) {
6244 {
6245 arg6 = (long)(SWIG_As_long(obj5));
6246 if (SWIG_arg_fail(6)) SWIG_fail;
6247 }
6248 }
6249 if (obj6) {
6250 {
6251 arg7 = wxString_in_helper(obj6);
6252 if (arg7 == NULL) SWIG_fail;
6253 temp7 = true;
6254 }
6255 }
6256 {
6257 if (!wxPyCheckForApp()) SWIG_fail;
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6265 {
6266 if (temp3)
6267 delete arg3;
6268 }
6269 {
6270 if (temp7)
6271 delete arg7;
6272 }
6273 return resultobj;
6274 fail:
6275 {
6276 if (temp3)
6277 delete arg3;
6278 }
6279 {
6280 if (temp7)
6281 delete arg7;
6282 }
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxMiniFrame *result;
6290 char *kwnames[] = {
6291 NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6295 {
6296 if (!wxPyCheckForApp()) SWIG_fail;
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (wxMiniFrame *)new wxMiniFrame();
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6313 wxWindow *arg2 = (wxWindow *) 0 ;
6314 int arg3 = (int) (int)-1 ;
6315 wxString const &arg4_defvalue = wxPyEmptyString ;
6316 wxString *arg4 = (wxString *) &arg4_defvalue ;
6317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6319 wxSize const &arg6_defvalue = wxDefaultSize ;
6320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6321 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6322 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6323 wxString *arg8 = (wxString *) &arg8_defvalue ;
6324 bool result;
6325 bool temp4 = false ;
6326 wxPoint temp5 ;
6327 wxSize temp6 ;
6328 bool temp8 = false ;
6329 PyObject * obj0 = 0 ;
6330 PyObject * obj1 = 0 ;
6331 PyObject * obj2 = 0 ;
6332 PyObject * obj3 = 0 ;
6333 PyObject * obj4 = 0 ;
6334 PyObject * obj5 = 0 ;
6335 PyObject * obj6 = 0 ;
6336 PyObject * obj7 = 0 ;
6337 char *kwnames[] = {
6338 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6339 };
6340
6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6343 if (SWIG_arg_fail(1)) SWIG_fail;
6344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6345 if (SWIG_arg_fail(2)) SWIG_fail;
6346 if (obj2) {
6347 {
6348 arg3 = (int const)(SWIG_As_int(obj2));
6349 if (SWIG_arg_fail(3)) SWIG_fail;
6350 }
6351 }
6352 if (obj3) {
6353 {
6354 arg4 = wxString_in_helper(obj3);
6355 if (arg4 == NULL) SWIG_fail;
6356 temp4 = true;
6357 }
6358 }
6359 if (obj4) {
6360 {
6361 arg5 = &temp5;
6362 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6363 }
6364 }
6365 if (obj5) {
6366 {
6367 arg6 = &temp6;
6368 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6369 }
6370 }
6371 if (obj6) {
6372 {
6373 arg7 = (long)(SWIG_As_long(obj6));
6374 if (SWIG_arg_fail(7)) SWIG_fail;
6375 }
6376 }
6377 if (obj7) {
6378 {
6379 arg8 = wxString_in_helper(obj7);
6380 if (arg8 == NULL) SWIG_fail;
6381 temp8 = true;
6382 }
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 {
6392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6393 }
6394 {
6395 if (temp4)
6396 delete arg4;
6397 }
6398 {
6399 if (temp8)
6400 delete arg8;
6401 }
6402 return resultobj;
6403 fail:
6404 {
6405 if (temp4)
6406 delete arg4;
6407 }
6408 {
6409 if (temp8)
6410 delete arg8;
6411 }
6412 return NULL;
6413 }
6414
6415
6416 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6417 PyObject *obj;
6418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6419 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6420 Py_INCREF(obj);
6421 return Py_BuildValue((char *)"");
6422 }
6423 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxBitmap *arg1 = 0 ;
6426 wxWindow *arg2 = (wxWindow *) 0 ;
6427 int arg3 ;
6428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6430 wxSize const &arg5_defvalue = wxDefaultSize ;
6431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6432 long arg6 = (long) wxNO_BORDER ;
6433 wxSplashScreenWindow *result;
6434 wxPoint temp4 ;
6435 wxSize temp5 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 PyObject * obj2 = 0 ;
6439 PyObject * obj3 = 0 ;
6440 PyObject * obj4 = 0 ;
6441 PyObject * obj5 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6447 {
6448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6449 if (SWIG_arg_fail(1)) SWIG_fail;
6450 if (arg1 == NULL) {
6451 SWIG_null_ref("wxBitmap");
6452 }
6453 if (SWIG_arg_fail(1)) SWIG_fail;
6454 }
6455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(2)) SWIG_fail;
6457 {
6458 arg3 = (int)(SWIG_As_int(obj2));
6459 if (SWIG_arg_fail(3)) SWIG_fail;
6460 }
6461 if (obj3) {
6462 {
6463 arg4 = &temp4;
6464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6465 }
6466 }
6467 if (obj4) {
6468 {
6469 arg5 = &temp5;
6470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6471 }
6472 }
6473 if (obj5) {
6474 {
6475 arg6 = (long)(SWIG_As_long(obj5));
6476 if (SWIG_arg_fail(6)) SWIG_fail;
6477 }
6478 }
6479 {
6480 if (!wxPyCheckForApp()) SWIG_fail;
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6488 return resultobj;
6489 fail:
6490 return NULL;
6491 }
6492
6493
6494 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6497 wxBitmap *arg2 = 0 ;
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self",(char *) "bitmap", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail;
6507 {
6508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6509 if (SWIG_arg_fail(2)) SWIG_fail;
6510 if (arg2 == NULL) {
6511 SWIG_null_ref("wxBitmap");
6512 }
6513 if (SWIG_arg_fail(2)) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6532 wxBitmap *result;
6533 PyObject * obj0 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 {
6544 wxBitmap &_result_ref = (arg1)->GetBitmap();
6545 result = (wxBitmap *) &_result_ref;
6546 }
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 wxBitmap* resultptr = new wxBitmap(*result);
6553 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6554 }
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6562 PyObject *obj;
6563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6564 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6565 Py_INCREF(obj);
6566 return Py_BuildValue((char *)"");
6567 }
6568 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxBitmap *arg1 = 0 ;
6571 long arg2 ;
6572 int arg3 ;
6573 wxWindow *arg4 = (wxWindow *) 0 ;
6574 int arg5 = (int) -1 ;
6575 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6576 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6577 wxSize const &arg7_defvalue = wxDefaultSize ;
6578 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6579 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6580 wxSplashScreen *result;
6581 wxPoint temp6 ;
6582 wxSize temp7 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 PyObject * obj2 = 0 ;
6586 PyObject * obj3 = 0 ;
6587 PyObject * obj4 = 0 ;
6588 PyObject * obj5 = 0 ;
6589 PyObject * obj6 = 0 ;
6590 PyObject * obj7 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6596 {
6597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6598 if (SWIG_arg_fail(1)) SWIG_fail;
6599 if (arg1 == NULL) {
6600 SWIG_null_ref("wxBitmap");
6601 }
6602 if (SWIG_arg_fail(1)) SWIG_fail;
6603 }
6604 {
6605 arg2 = (long)(SWIG_As_long(obj1));
6606 if (SWIG_arg_fail(2)) SWIG_fail;
6607 }
6608 {
6609 arg3 = (int)(SWIG_As_int(obj2));
6610 if (SWIG_arg_fail(3)) SWIG_fail;
6611 }
6612 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6613 if (SWIG_arg_fail(4)) SWIG_fail;
6614 if (obj4) {
6615 {
6616 arg5 = (int)(SWIG_As_int(obj4));
6617 if (SWIG_arg_fail(5)) SWIG_fail;
6618 }
6619 }
6620 if (obj5) {
6621 {
6622 arg6 = &temp6;
6623 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6624 }
6625 }
6626 if (obj6) {
6627 {
6628 arg7 = &temp7;
6629 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6630 }
6631 }
6632 if (obj7) {
6633 {
6634 arg8 = (long)(SWIG_As_long(obj7));
6635 if (SWIG_arg_fail(8)) SWIG_fail;
6636 }
6637 }
6638 {
6639 if (!wxPyCheckForApp()) SWIG_fail;
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650 }
6651
6652
6653 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6654 PyObject *resultobj;
6655 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6656 long result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 {
6673 resultobj = SWIG_From_long((long)(result));
6674 }
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6684 wxSplashScreenWindow *result;
6685 PyObject * obj0 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail;
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6710 int result;
6711 PyObject * obj0 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 {
6727 resultobj = SWIG_From_int((int)(result));
6728 }
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6736 PyObject *obj;
6737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6738 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6739 Py_INCREF(obj);
6740 return Py_BuildValue((char *)"");
6741 }
6742 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxWindow *arg1 = (wxWindow *) 0 ;
6745 int arg2 = (int) -1 ;
6746 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6747 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6748 wxString *arg4 = (wxString *) &arg4_defvalue ;
6749 wxStatusBar *result;
6750 bool temp4 = false ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 PyObject * obj2 = 0 ;
6754 PyObject * obj3 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail;
6762 if (obj1) {
6763 {
6764 arg2 = (int)(SWIG_As_int(obj1));
6765 if (SWIG_arg_fail(2)) SWIG_fail;
6766 }
6767 }
6768 if (obj2) {
6769 {
6770 arg3 = (long)(SWIG_As_long(obj2));
6771 if (SWIG_arg_fail(3)) SWIG_fail;
6772 }
6773 }
6774 if (obj3) {
6775 {
6776 arg4 = wxString_in_helper(obj3);
6777 if (arg4 == NULL) SWIG_fail;
6778 temp4 = true;
6779 }
6780 }
6781 {
6782 if (!wxPyCheckForApp()) SWIG_fail;
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6790 {
6791 if (temp4)
6792 delete arg4;
6793 }
6794 return resultobj;
6795 fail:
6796 {
6797 if (temp4)
6798 delete arg4;
6799 }
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxStatusBar *result;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6812 {
6813 if (!wxPyCheckForApp()) SWIG_fail;
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxStatusBar *)new wxStatusBar();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6830 wxWindow *arg2 = (wxWindow *) 0 ;
6831 int arg3 = (int) -1 ;
6832 long arg4 = (long) wxST_SIZEGRIP ;
6833 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6834 wxString *arg5 = (wxString *) &arg5_defvalue ;
6835 bool result;
6836 bool temp5 = false ;
6837 PyObject * obj0 = 0 ;
6838 PyObject * obj1 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 PyObject * obj3 = 0 ;
6841 PyObject * obj4 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6848 if (SWIG_arg_fail(1)) SWIG_fail;
6849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6850 if (SWIG_arg_fail(2)) SWIG_fail;
6851 if (obj2) {
6852 {
6853 arg3 = (int)(SWIG_As_int(obj2));
6854 if (SWIG_arg_fail(3)) SWIG_fail;
6855 }
6856 }
6857 if (obj3) {
6858 {
6859 arg4 = (long)(SWIG_As_long(obj3));
6860 if (SWIG_arg_fail(4)) SWIG_fail;
6861 }
6862 }
6863 if (obj4) {
6864 {
6865 arg5 = wxString_in_helper(obj4);
6866 if (arg5 == NULL) SWIG_fail;
6867 temp5 = true;
6868 }
6869 }
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 {
6878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6879 }
6880 {
6881 if (temp5)
6882 delete arg5;
6883 }
6884 return resultobj;
6885 fail:
6886 {
6887 if (temp5)
6888 delete arg5;
6889 }
6890 return NULL;
6891 }
6892
6893
6894 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj;
6896 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6897 int arg2 = (int) 1 ;
6898 PyObject * obj0 = 0 ;
6899 PyObject * obj1 = 0 ;
6900 char *kwnames[] = {
6901 (char *) "self",(char *) "number", NULL
6902 };
6903
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6906 if (SWIG_arg_fail(1)) SWIG_fail;
6907 if (obj1) {
6908 {
6909 arg2 = (int)(SWIG_As_int(obj1));
6910 if (SWIG_arg_fail(2)) SWIG_fail;
6911 }
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 (arg1)->SetFieldsCount(arg2);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 Py_INCREF(Py_None); resultobj = Py_None;
6921 return resultobj;
6922 fail:
6923 return NULL;
6924 }
6925
6926
6927 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6930 int result;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail;
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
6941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 {
6947 resultobj = SWIG_From_int((int)(result));
6948 }
6949 return resultobj;
6950 fail:
6951 return NULL;
6952 }
6953
6954
6955 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6958 wxString *arg2 = 0 ;
6959 int arg3 = (int) 0 ;
6960 bool temp2 = false ;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 PyObject * obj2 = 0 ;
6964 char *kwnames[] = {
6965 (char *) "self",(char *) "text",(char *) "number", NULL
6966 };
6967
6968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6970 if (SWIG_arg_fail(1)) SWIG_fail;
6971 {
6972 arg2 = wxString_in_helper(obj1);
6973 if (arg2 == NULL) SWIG_fail;
6974 temp2 = true;
6975 }
6976 if (obj2) {
6977 {
6978 arg3 = (int)(SWIG_As_int(obj2));
6979 if (SWIG_arg_fail(3)) SWIG_fail;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 Py_INCREF(Py_None); resultobj = Py_None;
6990 {
6991 if (temp2)
6992 delete arg2;
6993 }
6994 return resultobj;
6995 fail:
6996 {
6997 if (temp2)
6998 delete arg2;
6999 }
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7007 int arg2 = (int) 0 ;
7008 wxString result;
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "number", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) 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 if (obj1) {
7019 {
7020 arg2 = (int)(SWIG_As_int(obj1));
7021 if (SWIG_arg_fail(2)) SWIG_fail;
7022 }
7023 }
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 {
7032 #if wxUSE_UNICODE
7033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7034 #else
7035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7036 #endif
7037 }
7038 return resultobj;
7039 fail:
7040 return NULL;
7041 }
7042
7043
7044 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7045 PyObject *resultobj;
7046 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7047 wxString *arg2 = 0 ;
7048 int arg3 = (int) 0 ;
7049 bool temp2 = false ;
7050 PyObject * obj0 = 0 ;
7051 PyObject * obj1 = 0 ;
7052 PyObject * obj2 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "text",(char *) "number", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7059 if (SWIG_arg_fail(1)) SWIG_fail;
7060 {
7061 arg2 = wxString_in_helper(obj1);
7062 if (arg2 == NULL) SWIG_fail;
7063 temp2 = true;
7064 }
7065 if (obj2) {
7066 {
7067 arg3 = (int)(SWIG_As_int(obj2));
7068 if (SWIG_arg_fail(3)) SWIG_fail;
7069 }
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 Py_INCREF(Py_None); resultobj = Py_None;
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return resultobj;
7084 fail:
7085 {
7086 if (temp2)
7087 delete arg2;
7088 }
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7096 int arg2 = (int) 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "number", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 if (obj1) {
7107 {
7108 arg2 = (int)(SWIG_As_int(obj1));
7109 if (SWIG_arg_fail(2)) SWIG_fail;
7110 }
7111 }
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 (arg1)->PopStatusText(arg2);
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 Py_INCREF(Py_None); resultobj = Py_None;
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7129 int arg2 ;
7130 int *arg3 = (int *) 0 ;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "widths", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7139 if (SWIG_arg_fail(1)) SWIG_fail;
7140 {
7141 arg2 = PyList_Size(obj1);
7142 arg3 = int_LIST_helper(obj1);
7143 if (arg3 == NULL) SWIG_fail;
7144 }
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 {
7154 if (arg3) delete [] arg3;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (arg3) delete [] arg3;
7160 }
7161 return NULL;
7162 }
7163
7164
7165 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7168 int arg2 ;
7169 int *arg3 = (int *) 0 ;
7170 PyObject * obj0 = 0 ;
7171 PyObject * obj1 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "styles", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail;
7179 {
7180 arg2 = PyList_Size(obj1);
7181 arg3 = int_LIST_helper(obj1);
7182 if (arg3 == NULL) SWIG_fail;
7183 }
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 Py_INCREF(Py_None); resultobj = Py_None;
7192 {
7193 if (arg3) delete [] arg3;
7194 }
7195 return resultobj;
7196 fail:
7197 {
7198 if (arg3) delete [] arg3;
7199 }
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7207 int arg2 ;
7208 wxRect result;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 char *kwnames[] = {
7212 (char *) "self",(char *) "i", NULL
7213 };
7214
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7217 if (SWIG_arg_fail(1)) SWIG_fail;
7218 {
7219 arg2 = (int)(SWIG_As_int(obj1));
7220 if (SWIG_arg_fail(2)) SWIG_fail;
7221 }
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 result = wxStatusBar_GetFieldRect(arg1,arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 {
7230 wxRect * resultptr;
7231 resultptr = new wxRect((wxRect &)(result));
7232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7233 }
7234 return resultobj;
7235 fail:
7236 return NULL;
7237 }
7238
7239
7240 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj;
7242 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7243 int arg2 ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "height", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7252 if (SWIG_arg_fail(1)) SWIG_fail;
7253 {
7254 arg2 = (int)(SWIG_As_int(obj1));
7255 if (SWIG_arg_fail(2)) SWIG_fail;
7256 }
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 (arg1)->SetMinHeight(arg2);
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 Py_INCREF(Py_None); resultobj = Py_None;
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj;
7273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7274 int result;
7275 PyObject * obj0 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail;
7283 {
7284 PyThreadState* __tstate = wxPyBeginAllowThreads();
7285 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7286
7287 wxPyEndAllowThreads(__tstate);
7288 if (PyErr_Occurred()) SWIG_fail;
7289 }
7290 {
7291 resultobj = SWIG_From_int((int)(result));
7292 }
7293 return resultobj;
7294 fail:
7295 return NULL;
7296 }
7297
7298
7299 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7302 int result;
7303 PyObject * obj0 = 0 ;
7304 char *kwnames[] = {
7305 (char *) "self", NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7310 if (SWIG_arg_fail(1)) SWIG_fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 {
7319 resultobj = SWIG_From_int((int)(result));
7320 }
7321 return resultobj;
7322 fail:
7323 return NULL;
7324 }
7325
7326
7327 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7330 wxVisualAttributes result;
7331 PyObject * obj0 = 0 ;
7332 char *kwnames[] = {
7333 (char *) "variant", NULL
7334 };
7335
7336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7337 if (obj0) {
7338 {
7339 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7340 if (SWIG_arg_fail(1)) SWIG_fail;
7341 }
7342 }
7343 {
7344 if (!wxPyCheckForApp()) SWIG_fail;
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7347
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352 wxVisualAttributes * resultptr;
7353 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7355 }
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7363 PyObject *obj;
7364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7365 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7366 Py_INCREF(obj);
7367 return Py_BuildValue((char *)"");
7368 }
7369 static int _wrap_SplitterNameStr_set(PyObject *) {
7370 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7371 return 1;
7372 }
7373
7374
7375 static PyObject *_wrap_SplitterNameStr_get(void) {
7376 PyObject *pyobj;
7377
7378 {
7379 #if wxUSE_UNICODE
7380 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7381 #else
7382 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7383 #endif
7384 }
7385 return pyobj;
7386 }
7387
7388
7389 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7390 PyObject *resultobj;
7391 wxWindow *arg1 = (wxWindow *) 0 ;
7392 int arg2 = (int) -1 ;
7393 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7394 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7395 wxSize const &arg4_defvalue = wxDefaultSize ;
7396 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7397 long arg5 = (long) wxSP_3D ;
7398 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7399 wxString *arg6 = (wxString *) &arg6_defvalue ;
7400 wxSplitterWindow *result;
7401 wxPoint temp3 ;
7402 wxSize temp4 ;
7403 bool temp6 = false ;
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406 PyObject * obj2 = 0 ;
7407 PyObject * obj3 = 0 ;
7408 PyObject * obj4 = 0 ;
7409 PyObject * obj5 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
7417 if (obj1) {
7418 {
7419 arg2 = (int)(SWIG_As_int(obj1));
7420 if (SWIG_arg_fail(2)) SWIG_fail;
7421 }
7422 }
7423 if (obj2) {
7424 {
7425 arg3 = &temp3;
7426 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7427 }
7428 }
7429 if (obj3) {
7430 {
7431 arg4 = &temp4;
7432 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7433 }
7434 }
7435 if (obj4) {
7436 {
7437 arg5 = (long)(SWIG_As_long(obj4));
7438 if (SWIG_arg_fail(5)) SWIG_fail;
7439 }
7440 }
7441 if (obj5) {
7442 {
7443 arg6 = wxString_in_helper(obj5);
7444 if (arg6 == NULL) SWIG_fail;
7445 temp6 = true;
7446 }
7447 }
7448 {
7449 if (!wxPyCheckForApp()) SWIG_fail;
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7452
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7457 {
7458 if (temp6)
7459 delete arg6;
7460 }
7461 return resultobj;
7462 fail:
7463 {
7464 if (temp6)
7465 delete arg6;
7466 }
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxSplitterWindow *result;
7474 char *kwnames[] = {
7475 NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7479 {
7480 if (!wxPyCheckForApp()) SWIG_fail;
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (wxSplitterWindow *)new wxSplitterWindow();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7497 wxWindow *arg2 = (wxWindow *) 0 ;
7498 int arg3 = (int) -1 ;
7499 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7500 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7501 wxSize const &arg5_defvalue = wxDefaultSize ;
7502 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7503 long arg6 = (long) wxSP_3D ;
7504 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7505 wxString *arg7 = (wxString *) &arg7_defvalue ;
7506 bool result;
7507 wxPoint temp4 ;
7508 wxSize temp5 ;
7509 bool temp7 = false ;
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj1 = 0 ;
7512 PyObject * obj2 = 0 ;
7513 PyObject * obj3 = 0 ;
7514 PyObject * obj4 = 0 ;
7515 PyObject * obj5 = 0 ;
7516 PyObject * obj6 = 0 ;
7517 char *kwnames[] = {
7518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7523 if (SWIG_arg_fail(1)) SWIG_fail;
7524 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7525 if (SWIG_arg_fail(2)) SWIG_fail;
7526 if (obj2) {
7527 {
7528 arg3 = (int)(SWIG_As_int(obj2));
7529 if (SWIG_arg_fail(3)) SWIG_fail;
7530 }
7531 }
7532 if (obj3) {
7533 {
7534 arg4 = &temp4;
7535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7536 }
7537 }
7538 if (obj4) {
7539 {
7540 arg5 = &temp5;
7541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7542 }
7543 }
7544 if (obj5) {
7545 {
7546 arg6 = (long)(SWIG_As_long(obj5));
7547 if (SWIG_arg_fail(6)) SWIG_fail;
7548 }
7549 }
7550 if (obj6) {
7551 {
7552 arg7 = wxString_in_helper(obj6);
7553 if (arg7 == NULL) SWIG_fail;
7554 temp7 = true;
7555 }
7556 }
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 {
7565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7566 }
7567 {
7568 if (temp7)
7569 delete arg7;
7570 }
7571 return resultobj;
7572 fail:
7573 {
7574 if (temp7)
7575 delete arg7;
7576 }
7577 return NULL;
7578 }
7579
7580
7581 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7582 PyObject *resultobj;
7583 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7584 wxWindow *result;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 {
7601 resultobj = wxPyMake_wxObject(result, 0);
7602 }
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7612 wxWindow *result;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7620 if (SWIG_arg_fail(1)) SWIG_fail;
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 {
7629 resultobj = wxPyMake_wxObject(result, 0);
7630 }
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7640 int arg2 ;
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "mode", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
7650 {
7651 arg2 = (int)(SWIG_As_int(obj1));
7652 if (SWIG_arg_fail(2)) SWIG_fail;
7653 }
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 (arg1)->SetSplitMode(arg2);
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 Py_INCREF(Py_None); resultobj = Py_None;
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7671 wxSplitMode result;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 resultobj = SWIG_From_int((result));
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7697 wxWindow *arg2 = (wxWindow *) 0 ;
7698 PyObject * obj0 = 0 ;
7699 PyObject * obj1 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self",(char *) "window", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7706 if (SWIG_arg_fail(1)) SWIG_fail;
7707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(2)) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 (arg1)->Initialize(arg2);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 Py_INCREF(Py_None); resultobj = Py_None;
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7726 wxWindow *arg2 = (wxWindow *) 0 ;
7727 wxWindow *arg3 = (wxWindow *) 0 ;
7728 int arg4 = (int) 0 ;
7729 bool result;
7730 PyObject * obj0 = 0 ;
7731 PyObject * obj1 = 0 ;
7732 PyObject * obj2 = 0 ;
7733 PyObject * obj3 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7740 if (SWIG_arg_fail(1)) SWIG_fail;
7741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(2)) SWIG_fail;
7743 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(3)) SWIG_fail;
7745 if (obj3) {
7746 {
7747 arg4 = (int)(SWIG_As_int(obj3));
7748 if (SWIG_arg_fail(4)) SWIG_fail;
7749 }
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 {
7759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7760 }
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7770 wxWindow *arg2 = (wxWindow *) 0 ;
7771 wxWindow *arg3 = (wxWindow *) 0 ;
7772 int arg4 = (int) 0 ;
7773 bool result;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 PyObject * obj2 = 0 ;
7777 PyObject * obj3 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(2)) SWIG_fail;
7787 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7788 if (SWIG_arg_fail(3)) SWIG_fail;
7789 if (obj3) {
7790 {
7791 arg4 = (int)(SWIG_As_int(obj3));
7792 if (SWIG_arg_fail(4)) SWIG_fail;
7793 }
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 {
7803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7804 }
7805 return resultobj;
7806 fail:
7807 return NULL;
7808 }
7809
7810
7811 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7814 wxWindow *arg2 = (wxWindow *) NULL ;
7815 bool result;
7816 PyObject * obj0 = 0 ;
7817 PyObject * obj1 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self",(char *) "toRemove", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7824 if (SWIG_arg_fail(1)) SWIG_fail;
7825 if (obj1) {
7826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7827 if (SWIG_arg_fail(2)) SWIG_fail;
7828 }
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (bool)(arg1)->Unsplit(arg2);
7832
7833 wxPyEndAllowThreads(__tstate);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 }
7836 {
7837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7838 }
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7848 wxWindow *arg2 = (wxWindow *) 0 ;
7849 wxWindow *arg3 = (wxWindow *) 0 ;
7850 bool result;
7851 PyObject * obj0 = 0 ;
7852 PyObject * obj1 = 0 ;
7853 PyObject * obj2 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7860 if (SWIG_arg_fail(1)) SWIG_fail;
7861 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7862 if (SWIG_arg_fail(2)) SWIG_fail;
7863 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7864 if (SWIG_arg_fail(3)) SWIG_fail;
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) SWIG_fail;
7871 }
7872 {
7873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7874 }
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 (arg1)->UpdateSize();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 Py_INCREF(Py_None); resultobj = Py_None;
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7909 bool result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 {
7926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7927 }
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7937 int arg2 ;
7938 PyObject * obj0 = 0 ;
7939 PyObject * obj1 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self",(char *) "width", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail;
7947 {
7948 arg2 = (int)(SWIG_As_int(obj1));
7949 if (SWIG_arg_fail(2)) SWIG_fail;
7950 }
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 (arg1)->SetSashSize(arg2);
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 Py_INCREF(Py_None); resultobj = Py_None;
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7968 int arg2 ;
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "width", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
7978 {
7979 arg2 = (int)(SWIG_As_int(obj1));
7980 if (SWIG_arg_fail(2)) SWIG_fail;
7981 }
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 (arg1)->SetBorderSize(arg2);
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
7989 Py_INCREF(Py_None); resultobj = Py_None;
7990 return resultobj;
7991 fail:
7992 return NULL;
7993 }
7994
7995
7996 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7999 int result;
8000 PyObject * obj0 = 0 ;
8001 char *kwnames[] = {
8002 (char *) "self", NULL
8003 };
8004
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
8006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8007 if (SWIG_arg_fail(1)) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 {
8016 resultobj = SWIG_From_int((int)(result));
8017 }
8018 return resultobj;
8019 fail:
8020 return NULL;
8021 }
8022
8023
8024 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8025 PyObject *resultobj;
8026 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8027 int result;
8028 PyObject * obj0 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
8034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail;
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 {
8044 resultobj = SWIG_From_int((int)(result));
8045 }
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8055 int arg2 ;
8056 bool arg3 = (bool) true ;
8057 PyObject * obj0 = 0 ;
8058 PyObject * obj1 = 0 ;
8059 PyObject * obj2 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self",(char *) "position",(char *) "redraw", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8066 if (SWIG_arg_fail(1)) SWIG_fail;
8067 {
8068 arg2 = (int)(SWIG_As_int(obj1));
8069 if (SWIG_arg_fail(2)) SWIG_fail;
8070 }
8071 if (obj2) {
8072 {
8073 arg3 = (bool)(SWIG_As_bool(obj2));
8074 if (SWIG_arg_fail(3)) SWIG_fail;
8075 }
8076 }
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 (arg1)->SetSashPosition(arg2,arg3);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 Py_INCREF(Py_None); resultobj = Py_None;
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8092 PyObject *resultobj;
8093 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8094 int result;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8102 if (SWIG_arg_fail(1)) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 {
8111 resultobj = SWIG_From_int((int)(result));
8112 }
8113 return resultobj;
8114 fail:
8115 return NULL;
8116 }
8117
8118
8119 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8120 PyObject *resultobj;
8121 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8122 double arg2 ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "gravity", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8131 if (SWIG_arg_fail(1)) SWIG_fail;
8132 {
8133 arg2 = (double)(SWIG_As_double(obj1));
8134 if (SWIG_arg_fail(2)) SWIG_fail;
8135 }
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->SetSashGravity(arg2);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8153 double result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 {
8170 resultobj = SWIG_From_double((double)(result));
8171 }
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8181 int arg2 ;
8182 PyObject * obj0 = 0 ;
8183 PyObject * obj1 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "min", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8190 if (SWIG_arg_fail(1)) SWIG_fail;
8191 {
8192 arg2 = (int)(SWIG_As_int(obj1));
8193 if (SWIG_arg_fail(2)) SWIG_fail;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 (arg1)->SetMinimumPaneSize(arg2);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8212 int result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail;
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 resultobj = SWIG_From_int((int)(result));
8230 }
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8240 int arg2 ;
8241 int arg3 ;
8242 int arg4 = (int) 5 ;
8243 bool result;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 PyObject * obj2 = 0 ;
8247 PyObject * obj3 = 0 ;
8248 char *kwnames[] = {
8249 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8250 };
8251
8252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8254 if (SWIG_arg_fail(1)) SWIG_fail;
8255 {
8256 arg2 = (int)(SWIG_As_int(obj1));
8257 if (SWIG_arg_fail(2)) SWIG_fail;
8258 }
8259 {
8260 arg3 = (int)(SWIG_As_int(obj2));
8261 if (SWIG_arg_fail(3)) SWIG_fail;
8262 }
8263 if (obj3) {
8264 {
8265 arg4 = (int)(SWIG_As_int(obj3));
8266 if (SWIG_arg_fail(4)) SWIG_fail;
8267 }
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 {
8277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8278 }
8279 return resultobj;
8280 fail:
8281 return NULL;
8282 }
8283
8284
8285 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8286 PyObject *resultobj;
8287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8295 if (SWIG_arg_fail(1)) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 (arg1)->SizeWindows();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 Py_INCREF(Py_None); resultobj = Py_None;
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8313 bool arg2 ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self",(char *) "needUpdating", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8322 if (SWIG_arg_fail(1)) SWIG_fail;
8323 {
8324 arg2 = (bool)(SWIG_As_bool(obj1));
8325 if (SWIG_arg_fail(2)) SWIG_fail;
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 (arg1)->SetNeedUpdating(arg2);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 Py_INCREF(Py_None); resultobj = Py_None;
8335 return resultobj;
8336 fail:
8337 return NULL;
8338 }
8339
8340
8341 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8344 bool result;
8345 PyObject * obj0 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "self", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8352 if (SWIG_arg_fail(1)) SWIG_fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 {
8361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8362 }
8363 return resultobj;
8364 fail:
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8372 wxVisualAttributes result;
8373 PyObject * obj0 = 0 ;
8374 char *kwnames[] = {
8375 (char *) "variant", NULL
8376 };
8377
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8379 if (obj0) {
8380 {
8381 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8382 if (SWIG_arg_fail(1)) SWIG_fail;
8383 }
8384 }
8385 {
8386 if (!wxPyCheckForApp()) SWIG_fail;
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 {
8394 wxVisualAttributes * resultptr;
8395 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8397 }
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8405 PyObject *obj;
8406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8407 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8408 Py_INCREF(obj);
8409 return Py_BuildValue((char *)"");
8410 }
8411 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj;
8413 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8414 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8415 wxSplitterEvent *result;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "type",(char *) "splitter", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8423 if (obj0) {
8424 {
8425 arg1 = (wxEventType)(SWIG_As_int(obj0));
8426 if (SWIG_arg_fail(1)) SWIG_fail;
8427 }
8428 }
8429 if (obj1) {
8430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8431 if (SWIG_arg_fail(2)) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8450 int arg2 ;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self",(char *) "pos", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8459 if (SWIG_arg_fail(1)) SWIG_fail;
8460 {
8461 arg2 = (int)(SWIG_As_int(obj1));
8462 if (SWIG_arg_fail(2)) SWIG_fail;
8463 }
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->SetSashPosition(arg2);
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8479 PyObject *resultobj;
8480 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8481 int result;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 {
8498 resultobj = SWIG_From_int((int)(result));
8499 }
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8509 wxWindow *result;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 {
8526 resultobj = wxPyMake_wxObject(result, 0);
8527 }
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8537 int result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail;
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 {
8554 resultobj = SWIG_From_int((int)(result));
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8565 int result;
8566 PyObject * obj0 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail;
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 {
8582 resultobj = SWIG_From_int((int)(result));
8583 }
8584 return resultobj;
8585 fail:
8586 return NULL;
8587 }
8588
8589
8590 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8591 PyObject *obj;
8592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8594 Py_INCREF(obj);
8595 return Py_BuildValue((char *)"");
8596 }
8597 static int _wrap_SashNameStr_set(PyObject *) {
8598 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8599 return 1;
8600 }
8601
8602
8603 static PyObject *_wrap_SashNameStr_get(void) {
8604 PyObject *pyobj;
8605
8606 {
8607 #if wxUSE_UNICODE
8608 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8609 #else
8610 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8611 #endif
8612 }
8613 return pyobj;
8614 }
8615
8616
8617 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8618 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8619 return 1;
8620 }
8621
8622
8623 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8624 PyObject *pyobj;
8625
8626 {
8627 #if wxUSE_UNICODE
8628 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8629 #else
8630 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8631 #endif
8632 }
8633 return pyobj;
8634 }
8635
8636
8637 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxWindow *arg1 = (wxWindow *) 0 ;
8640 int arg2 = (int) -1 ;
8641 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8642 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8643 wxSize const &arg4_defvalue = wxDefaultSize ;
8644 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8645 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8646 wxString const &arg6_defvalue = wxPySashNameStr ;
8647 wxString *arg6 = (wxString *) &arg6_defvalue ;
8648 wxSashWindow *result;
8649 wxPoint temp3 ;
8650 wxSize temp4 ;
8651 bool temp6 = false ;
8652 PyObject * obj0 = 0 ;
8653 PyObject * obj1 = 0 ;
8654 PyObject * obj2 = 0 ;
8655 PyObject * obj3 = 0 ;
8656 PyObject * obj4 = 0 ;
8657 PyObject * obj5 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8664 if (SWIG_arg_fail(1)) SWIG_fail;
8665 if (obj1) {
8666 {
8667 arg2 = (int)(SWIG_As_int(obj1));
8668 if (SWIG_arg_fail(2)) SWIG_fail;
8669 }
8670 }
8671 if (obj2) {
8672 {
8673 arg3 = &temp3;
8674 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8675 }
8676 }
8677 if (obj3) {
8678 {
8679 arg4 = &temp4;
8680 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8681 }
8682 }
8683 if (obj4) {
8684 {
8685 arg5 = (long)(SWIG_As_long(obj4));
8686 if (SWIG_arg_fail(5)) SWIG_fail;
8687 }
8688 }
8689 if (obj5) {
8690 {
8691 arg6 = wxString_in_helper(obj5);
8692 if (arg6 == NULL) SWIG_fail;
8693 temp6 = true;
8694 }
8695 }
8696 {
8697 if (!wxPyCheckForApp()) SWIG_fail;
8698 PyThreadState* __tstate = wxPyBeginAllowThreads();
8699 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8700
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8705 {
8706 if (temp6)
8707 delete arg6;
8708 }
8709 return resultobj;
8710 fail:
8711 {
8712 if (temp6)
8713 delete arg6;
8714 }
8715 return NULL;
8716 }
8717
8718
8719 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxSashWindow *result;
8722 char *kwnames[] = {
8723 NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8727 {
8728 if (!wxPyCheckForApp()) SWIG_fail;
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (wxSashWindow *)new wxSashWindow();
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8745 wxWindow *arg2 = (wxWindow *) 0 ;
8746 int arg3 = (int) -1 ;
8747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8749 wxSize const &arg5_defvalue = wxDefaultSize ;
8750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8751 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8752 wxString const &arg7_defvalue = wxPySashNameStr ;
8753 wxString *arg7 = (wxString *) &arg7_defvalue ;
8754 bool result;
8755 wxPoint temp4 ;
8756 wxSize temp5 ;
8757 bool temp7 = false ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 PyObject * obj2 = 0 ;
8761 PyObject * obj3 = 0 ;
8762 PyObject * obj4 = 0 ;
8763 PyObject * obj5 = 0 ;
8764 PyObject * obj6 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8771 if (SWIG_arg_fail(1)) SWIG_fail;
8772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(2)) SWIG_fail;
8774 if (obj2) {
8775 {
8776 arg3 = (int)(SWIG_As_int(obj2));
8777 if (SWIG_arg_fail(3)) SWIG_fail;
8778 }
8779 }
8780 if (obj3) {
8781 {
8782 arg4 = &temp4;
8783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8784 }
8785 }
8786 if (obj4) {
8787 {
8788 arg5 = &temp5;
8789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8790 }
8791 }
8792 if (obj5) {
8793 {
8794 arg6 = (long)(SWIG_As_long(obj5));
8795 if (SWIG_arg_fail(6)) SWIG_fail;
8796 }
8797 }
8798 if (obj6) {
8799 {
8800 arg7 = wxString_in_helper(obj6);
8801 if (arg7 == NULL) SWIG_fail;
8802 temp7 = true;
8803 }
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 {
8813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8814 }
8815 {
8816 if (temp7)
8817 delete arg7;
8818 }
8819 return resultobj;
8820 fail:
8821 {
8822 if (temp7)
8823 delete arg7;
8824 }
8825 return NULL;
8826 }
8827
8828
8829 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8832 wxSashEdgePosition arg2 ;
8833 bool arg3 ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "edge",(char *) "sash", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail;
8844 {
8845 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8846 if (SWIG_arg_fail(2)) SWIG_fail;
8847 }
8848 {
8849 arg3 = (bool)(SWIG_As_bool(obj2));
8850 if (SWIG_arg_fail(3)) SWIG_fail;
8851 }
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 Py_INCREF(Py_None); resultobj = Py_None;
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8869 wxSashEdgePosition arg2 ;
8870 bool result;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 char *kwnames[] = {
8874 (char *) "self",(char *) "edge", NULL
8875 };
8876
8877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail;
8880 {
8881 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8882 if (SWIG_arg_fail(2)) SWIG_fail;
8883 }
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 {
8892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8893 }
8894 return resultobj;
8895 fail:
8896 return NULL;
8897 }
8898
8899
8900 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8901 PyObject *resultobj;
8902 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8903 wxSashEdgePosition arg2 ;
8904 bool arg3 ;
8905 PyObject * obj0 = 0 ;
8906 PyObject * obj1 = 0 ;
8907 PyObject * obj2 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "edge",(char *) "border", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail;
8915 {
8916 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8917 if (SWIG_arg_fail(2)) SWIG_fail;
8918 }
8919 {
8920 arg3 = (bool)(SWIG_As_bool(obj2));
8921 if (SWIG_arg_fail(3)) SWIG_fail;
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8940 wxSashEdgePosition arg2 ;
8941 bool result;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 char *kwnames[] = {
8945 (char *) "self",(char *) "edge", NULL
8946 };
8947
8948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8950 if (SWIG_arg_fail(1)) SWIG_fail;
8951 {
8952 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8953 if (SWIG_arg_fail(2)) SWIG_fail;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 {
8963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8964 }
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8974 wxSashEdgePosition arg2 ;
8975 int result;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self",(char *) "edge", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail;
8985 {
8986 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8987 if (SWIG_arg_fail(2)) SWIG_fail;
8988 }
8989 {
8990 PyThreadState* __tstate = wxPyBeginAllowThreads();
8991 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8992
8993 wxPyEndAllowThreads(__tstate);
8994 if (PyErr_Occurred()) SWIG_fail;
8995 }
8996 {
8997 resultobj = SWIG_From_int((int)(result));
8998 }
8999 return resultobj;
9000 fail:
9001 return NULL;
9002 }
9003
9004
9005 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9008 int arg2 ;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 char *kwnames[] = {
9012 (char *) "self",(char *) "width", NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
9016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9017 if (SWIG_arg_fail(1)) SWIG_fail;
9018 {
9019 arg2 = (int)(SWIG_As_int(obj1));
9020 if (SWIG_arg_fail(2)) SWIG_fail;
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->SetDefaultBorderSize(arg2);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9047 if (SWIG_arg_fail(1)) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = SWIG_From_int((int)(result));
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9067 int arg2 ;
9068 PyObject * obj0 = 0 ;
9069 PyObject * obj1 = 0 ;
9070 char *kwnames[] = {
9071 (char *) "self",(char *) "width", NULL
9072 };
9073
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9076 if (SWIG_arg_fail(1)) SWIG_fail;
9077 {
9078 arg2 = (int)(SWIG_As_int(obj1));
9079 if (SWIG_arg_fail(2)) SWIG_fail;
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 (arg1)->SetExtraBorderSize(arg2);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9098 int result;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9106 if (SWIG_arg_fail(1)) SWIG_fail;
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 {
9115 resultobj = SWIG_From_int((int)(result));
9116 }
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9126 int arg2 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 char *kwnames[] = {
9130 (char *) "self",(char *) "min", NULL
9131 };
9132
9133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9135 if (SWIG_arg_fail(1)) SWIG_fail;
9136 {
9137 arg2 = (int)(SWIG_As_int(obj1));
9138 if (SWIG_arg_fail(2)) SWIG_fail;
9139 }
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->SetMinimumSizeX(arg2);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9157 int arg2 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self",(char *) "min", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9166 if (SWIG_arg_fail(1)) SWIG_fail;
9167 {
9168 arg2 = (int)(SWIG_As_int(obj1));
9169 if (SWIG_arg_fail(2)) SWIG_fail;
9170 }
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 (arg1)->SetMinimumSizeY(arg2);
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 Py_INCREF(Py_None); resultobj = Py_None;
9179 return resultobj;
9180 fail:
9181 return NULL;
9182 }
9183
9184
9185 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9186 PyObject *resultobj;
9187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9188 int result;
9189 PyObject * obj0 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9196 if (SWIG_arg_fail(1)) SWIG_fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 {
9205 resultobj = SWIG_From_int((int)(result));
9206 }
9207 return resultobj;
9208 fail:
9209 return NULL;
9210 }
9211
9212
9213 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj;
9215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9216 int result;
9217 PyObject * obj0 = 0 ;
9218 char *kwnames[] = {
9219 (char *) "self", NULL
9220 };
9221
9222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 {
9233 resultobj = SWIG_From_int((int)(result));
9234 }
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9244 int arg2 ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self",(char *) "max", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 {
9255 arg2 = (int)(SWIG_As_int(obj1));
9256 if (SWIG_arg_fail(2)) SWIG_fail;
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->SetMaximumSizeX(arg2);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269 }
9270
9271
9272 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj;
9274 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9275 int arg2 ;
9276 PyObject * obj0 = 0 ;
9277 PyObject * obj1 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "self",(char *) "max", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9284 if (SWIG_arg_fail(1)) SWIG_fail;
9285 {
9286 arg2 = (int)(SWIG_As_int(obj1));
9287 if (SWIG_arg_fail(2)) SWIG_fail;
9288 }
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 (arg1)->SetMaximumSizeY(arg2);
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 Py_INCREF(Py_None); resultobj = Py_None;
9297 return resultobj;
9298 fail:
9299 return NULL;
9300 }
9301
9302
9303 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9306 int result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9314 if (SWIG_arg_fail(1)) SWIG_fail;
9315 {
9316 PyThreadState* __tstate = wxPyBeginAllowThreads();
9317 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9318
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 resultobj = SWIG_From_int((int)(result));
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9334 int result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9342 if (SWIG_arg_fail(1)) SWIG_fail;
9343 {
9344 PyThreadState* __tstate = wxPyBeginAllowThreads();
9345 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9346
9347 wxPyEndAllowThreads(__tstate);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 resultobj = SWIG_From_int((int)(result));
9352 }
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9362 int arg2 ;
9363 int arg3 ;
9364 int arg4 = (int) 2 ;
9365 wxSashEdgePosition result;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 PyObject * obj2 = 0 ;
9369 PyObject * obj3 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9376 if (SWIG_arg_fail(1)) SWIG_fail;
9377 {
9378 arg2 = (int)(SWIG_As_int(obj1));
9379 if (SWIG_arg_fail(2)) SWIG_fail;
9380 }
9381 {
9382 arg3 = (int)(SWIG_As_int(obj2));
9383 if (SWIG_arg_fail(3)) SWIG_fail;
9384 }
9385 if (obj3) {
9386 {
9387 arg4 = (int)(SWIG_As_int(obj3));
9388 if (SWIG_arg_fail(4)) SWIG_fail;
9389 }
9390 }
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_From_int((result));
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 (arg1)->SizeWindows();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 Py_INCREF(Py_None); resultobj = Py_None;
9424 return resultobj;
9425 fail:
9426 return NULL;
9427 }
9428
9429
9430 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9431 PyObject *obj;
9432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9433 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9434 Py_INCREF(obj);
9435 return Py_BuildValue((char *)"");
9436 }
9437 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9438 PyObject *resultobj;
9439 int arg1 = (int) 0 ;
9440 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9441 wxSashEvent *result;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "id",(char *) "edge", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9449 if (obj0) {
9450 {
9451 arg1 = (int)(SWIG_As_int(obj0));
9452 if (SWIG_arg_fail(1)) SWIG_fail;
9453 }
9454 }
9455 if (obj1) {
9456 {
9457 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9458 if (SWIG_arg_fail(2)) SWIG_fail;
9459 }
9460 }
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9478 wxSashEdgePosition arg2 ;
9479 PyObject * obj0 = 0 ;
9480 PyObject * obj1 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "edge", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9487 if (SWIG_arg_fail(1)) SWIG_fail;
9488 {
9489 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9490 if (SWIG_arg_fail(2)) SWIG_fail;
9491 }
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 Py_INCREF(Py_None); resultobj = Py_None;
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9509 wxSashEdgePosition result;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9517 if (SWIG_arg_fail(1)) SWIG_fail;
9518 {
9519 PyThreadState* __tstate = wxPyBeginAllowThreads();
9520 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9521
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 resultobj = SWIG_From_int((result));
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj;
9534 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9535 wxRect *arg2 = 0 ;
9536 wxRect temp2 ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "rect", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9545 if (SWIG_arg_fail(1)) SWIG_fail;
9546 {
9547 arg2 = &temp2;
9548 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 (arg1)->SetDragRect((wxRect const &)*arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 Py_INCREF(Py_None); resultobj = Py_None;
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj;
9566 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9567 wxRect result;
9568 PyObject * obj0 = 0 ;
9569 char *kwnames[] = {
9570 (char *) "self", NULL
9571 };
9572
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail;
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = ((wxSashEvent const *)arg1)->GetDragRect();
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 {
9584 wxRect * resultptr;
9585 resultptr = new wxRect((wxRect &)(result));
9586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9587 }
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9597 wxSashDragStatus arg2 ;
9598 PyObject * obj0 = 0 ;
9599 PyObject * obj1 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "status", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9606 if (SWIG_arg_fail(1)) SWIG_fail;
9607 {
9608 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9609 if (SWIG_arg_fail(2)) SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9628 wxSashDragStatus result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9636 if (SWIG_arg_fail(1)) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 resultobj = SWIG_From_int((result));
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9652 PyObject *obj;
9653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9654 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9655 Py_INCREF(obj);
9656 return Py_BuildValue((char *)"");
9657 }
9658 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 int arg1 = (int) 0 ;
9661 wxQueryLayoutInfoEvent *result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "id", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9668 if (obj0) {
9669 {
9670 arg1 = (int)(SWIG_As_int(obj0));
9671 if (SWIG_arg_fail(1)) SWIG_fail;
9672 }
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9682 return resultobj;
9683 fail:
9684 return NULL;
9685 }
9686
9687
9688 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj;
9690 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9691 int arg2 ;
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "length", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9700 if (SWIG_arg_fail(1)) SWIG_fail;
9701 {
9702 arg2 = (int)(SWIG_As_int(obj1));
9703 if (SWIG_arg_fail(2)) SWIG_fail;
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 (arg1)->SetRequestedLength(arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 Py_INCREF(Py_None); resultobj = Py_None;
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9722 int result;
9723 PyObject * obj0 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9730 if (SWIG_arg_fail(1)) SWIG_fail;
9731 {
9732 PyThreadState* __tstate = wxPyBeginAllowThreads();
9733 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9734
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 {
9739 resultobj = SWIG_From_int((int)(result));
9740 }
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9750 int arg2 ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "flags", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail;
9760 {
9761 arg2 = (int)(SWIG_As_int(obj1));
9762 if (SWIG_arg_fail(2)) SWIG_fail;
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 (arg1)->SetFlags(arg2);
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 Py_INCREF(Py_None); resultobj = Py_None;
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9781 int result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9789 if (SWIG_arg_fail(1)) SWIG_fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 resultobj = SWIG_From_int((int)(result));
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9809 wxSize *arg2 = 0 ;
9810 wxSize temp2 ;
9811 PyObject * obj0 = 0 ;
9812 PyObject * obj1 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self",(char *) "size", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail;
9820 {
9821 arg2 = &temp2;
9822 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 (arg1)->SetSize((wxSize const &)*arg2);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 Py_INCREF(Py_None); resultobj = Py_None;
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj;
9840 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9841 wxSize result;
9842 PyObject * obj0 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 {
9858 wxSize * resultptr;
9859 resultptr = new wxSize((wxSize &)(result));
9860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9861 }
9862 return resultobj;
9863 fail:
9864 return NULL;
9865 }
9866
9867
9868 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9871 wxLayoutOrientation arg2 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "orient", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9880 if (SWIG_arg_fail(1)) SWIG_fail;
9881 {
9882 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9883 if (SWIG_arg_fail(2)) SWIG_fail;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 Py_INCREF(Py_None); resultobj = Py_None;
9893 return resultobj;
9894 fail:
9895 return NULL;
9896 }
9897
9898
9899 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9900 PyObject *resultobj;
9901 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9902 wxLayoutOrientation result;
9903 PyObject * obj0 = 0 ;
9904 char *kwnames[] = {
9905 (char *) "self", NULL
9906 };
9907
9908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail;
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 resultobj = SWIG_From_int((result));
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9928 wxLayoutAlignment arg2 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "align", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail;
9938 {
9939 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9940 if (SWIG_arg_fail(2)) SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9959 wxLayoutAlignment result;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 resultobj = SWIG_From_int((result));
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9983 PyObject *obj;
9984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9985 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9986 Py_INCREF(obj);
9987 return Py_BuildValue((char *)"");
9988 }
9989 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 int arg1 = (int) 0 ;
9992 wxCalculateLayoutEvent *result;
9993 PyObject * obj0 = 0 ;
9994 char *kwnames[] = {
9995 (char *) "id", NULL
9996 };
9997
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9999 if (obj0) {
10000 {
10001 arg1 = (int)(SWIG_As_int(obj0));
10002 if (SWIG_arg_fail(1)) SWIG_fail;
10003 }
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10022 int arg2 ;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "flags", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
10030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10031 if (SWIG_arg_fail(1)) SWIG_fail;
10032 {
10033 arg2 = (int)(SWIG_As_int(obj1));
10034 if (SWIG_arg_fail(2)) SWIG_fail;
10035 }
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->SetFlags(arg2);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 Py_INCREF(Py_None); resultobj = Py_None;
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10053 int result;
10054 PyObject * obj0 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10061 if (SWIG_arg_fail(1)) SWIG_fail;
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10065
10066 wxPyEndAllowThreads(__tstate);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 }
10069 {
10070 resultobj = SWIG_From_int((int)(result));
10071 }
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10081 wxRect *arg2 = 0 ;
10082 wxRect temp2 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "rect", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10091 if (SWIG_arg_fail(1)) SWIG_fail;
10092 {
10093 arg2 = &temp2;
10094 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10095 }
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 (arg1)->SetRect((wxRect const &)*arg2);
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 Py_INCREF(Py_None); resultobj = Py_None;
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10113 wxRect result;
10114 PyObject * obj0 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 {
10130 wxRect * resultptr;
10131 resultptr = new wxRect((wxRect &)(result));
10132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10133 }
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10141 PyObject *obj;
10142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10144 Py_INCREF(obj);
10145 return Py_BuildValue((char *)"");
10146 }
10147 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxWindow *arg1 = (wxWindow *) 0 ;
10150 int arg2 = (int) -1 ;
10151 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10152 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10153 wxSize const &arg4_defvalue = wxDefaultSize ;
10154 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10155 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10156 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10157 wxString *arg6 = (wxString *) &arg6_defvalue ;
10158 wxSashLayoutWindow *result;
10159 wxPoint temp3 ;
10160 wxSize temp4 ;
10161 bool temp6 = false ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 PyObject * obj3 = 0 ;
10166 PyObject * obj4 = 0 ;
10167 PyObject * obj5 = 0 ;
10168 char *kwnames[] = {
10169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10170 };
10171
10172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10174 if (SWIG_arg_fail(1)) SWIG_fail;
10175 if (obj1) {
10176 {
10177 arg2 = (int)(SWIG_As_int(obj1));
10178 if (SWIG_arg_fail(2)) SWIG_fail;
10179 }
10180 }
10181 if (obj2) {
10182 {
10183 arg3 = &temp3;
10184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10185 }
10186 }
10187 if (obj3) {
10188 {
10189 arg4 = &temp4;
10190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10191 }
10192 }
10193 if (obj4) {
10194 {
10195 arg5 = (long)(SWIG_As_long(obj4));
10196 if (SWIG_arg_fail(5)) SWIG_fail;
10197 }
10198 }
10199 if (obj5) {
10200 {
10201 arg6 = wxString_in_helper(obj5);
10202 if (arg6 == NULL) SWIG_fail;
10203 temp6 = true;
10204 }
10205 }
10206 {
10207 if (!wxPyCheckForApp()) SWIG_fail;
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10215 {
10216 if (temp6)
10217 delete arg6;
10218 }
10219 return resultobj;
10220 fail:
10221 {
10222 if (temp6)
10223 delete arg6;
10224 }
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxSashLayoutWindow *result;
10232 char *kwnames[] = {
10233 NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10237 {
10238 if (!wxPyCheckForApp()) SWIG_fail;
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10246 return resultobj;
10247 fail:
10248 return NULL;
10249 }
10250
10251
10252 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10253 PyObject *resultobj;
10254 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10255 wxWindow *arg2 = (wxWindow *) 0 ;
10256 int arg3 = (int) -1 ;
10257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10259 wxSize const &arg5_defvalue = wxDefaultSize ;
10260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10261 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10262 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10263 wxString *arg7 = (wxString *) &arg7_defvalue ;
10264 bool result;
10265 wxPoint temp4 ;
10266 wxSize temp5 ;
10267 bool temp7 = false ;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270 PyObject * obj2 = 0 ;
10271 PyObject * obj3 = 0 ;
10272 PyObject * obj4 = 0 ;
10273 PyObject * obj5 = 0 ;
10274 PyObject * obj6 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10281 if (SWIG_arg_fail(1)) SWIG_fail;
10282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10283 if (SWIG_arg_fail(2)) SWIG_fail;
10284 if (obj2) {
10285 {
10286 arg3 = (int)(SWIG_As_int(obj2));
10287 if (SWIG_arg_fail(3)) SWIG_fail;
10288 }
10289 }
10290 if (obj3) {
10291 {
10292 arg4 = &temp4;
10293 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10294 }
10295 }
10296 if (obj4) {
10297 {
10298 arg5 = &temp5;
10299 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10300 }
10301 }
10302 if (obj5) {
10303 {
10304 arg6 = (long)(SWIG_As_long(obj5));
10305 if (SWIG_arg_fail(6)) SWIG_fail;
10306 }
10307 }
10308 if (obj6) {
10309 {
10310 arg7 = wxString_in_helper(obj6);
10311 if (arg7 == NULL) SWIG_fail;
10312 temp7 = true;
10313 }
10314 }
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 {
10323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10324 }
10325 {
10326 if (temp7)
10327 delete arg7;
10328 }
10329 return resultobj;
10330 fail:
10331 {
10332 if (temp7)
10333 delete arg7;
10334 }
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10342 wxLayoutAlignment result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = SWIG_From_int((result));
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10368 wxLayoutOrientation result;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10376 if (SWIG_arg_fail(1)) SWIG_fail;
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
10379 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_From_int((result));
10385 return resultobj;
10386 fail:
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10394 wxLayoutAlignment arg2 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "alignment", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10403 if (SWIG_arg_fail(1)) SWIG_fail;
10404 {
10405 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10406 if (SWIG_arg_fail(2)) SWIG_fail;
10407 }
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10411
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 Py_INCREF(Py_None); resultobj = Py_None;
10416 return resultobj;
10417 fail:
10418 return NULL;
10419 }
10420
10421
10422 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10423 PyObject *resultobj;
10424 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10425 wxSize *arg2 = 0 ;
10426 wxSize temp2 ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self",(char *) "size", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail;
10436 {
10437 arg2 = &temp2;
10438 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 return resultobj;
10449 fail:
10450 return NULL;
10451 }
10452
10453
10454 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj;
10456 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10457 wxLayoutOrientation arg2 ;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "self",(char *) "orientation", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10466 if (SWIG_arg_fail(1)) SWIG_fail;
10467 {
10468 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10469 if (SWIG_arg_fail(2)) SWIG_fail;
10470 }
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482 }
10483
10484
10485 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10486 PyObject *obj;
10487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10488 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10489 Py_INCREF(obj);
10490 return Py_BuildValue((char *)"");
10491 }
10492 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxLayoutAlgorithm *result;
10495 char *kwnames[] = {
10496 NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10517 PyObject * obj0 = 0 ;
10518 char *kwnames[] = {
10519 (char *) "self", NULL
10520 };
10521
10522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10524 if (SWIG_arg_fail(1)) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 delete arg1;
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 Py_INCREF(Py_None); resultobj = Py_None;
10533 return resultobj;
10534 fail:
10535 return NULL;
10536 }
10537
10538
10539 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10542 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10543 wxRect *arg3 = (wxRect *) NULL ;
10544 bool result;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 PyObject * obj2 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "frame",(char *) "rect", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10554 if (SWIG_arg_fail(1)) SWIG_fail;
10555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(2)) SWIG_fail;
10557 if (obj2) {
10558 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10559 if (SWIG_arg_fail(3)) SWIG_fail;
10560 }
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10570 }
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10580 wxFrame *arg2 = (wxFrame *) 0 ;
10581 wxWindow *arg3 = (wxWindow *) NULL ;
10582 bool result;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 PyObject * obj2 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10592 if (SWIG_arg_fail(1)) SWIG_fail;
10593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10594 if (SWIG_arg_fail(2)) SWIG_fail;
10595 if (obj2) {
10596 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10597 if (SWIG_arg_fail(3)) SWIG_fail;
10598 }
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 {
10607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10608 }
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10618 wxWindow *arg2 = (wxWindow *) 0 ;
10619 wxWindow *arg3 = (wxWindow *) NULL ;
10620 bool result;
10621 PyObject * obj0 = 0 ;
10622 PyObject * obj1 = 0 ;
10623 PyObject * obj2 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10630 if (SWIG_arg_fail(1)) SWIG_fail;
10631 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10632 if (SWIG_arg_fail(2)) SWIG_fail;
10633 if (obj2) {
10634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10635 if (SWIG_arg_fail(3)) SWIG_fail;
10636 }
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 {
10645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10646 }
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10654 PyObject *obj;
10655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10656 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10657 Py_INCREF(obj);
10658 return Py_BuildValue((char *)"");
10659 }
10660 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj;
10662 wxWindow *arg1 = (wxWindow *) 0 ;
10663 int arg2 = (int) wxBORDER_NONE ;
10664 wxPopupWindow *result;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "parent",(char *) "flags", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
10674 if (obj1) {
10675 {
10676 arg2 = (int)(SWIG_As_int(obj1));
10677 if (SWIG_arg_fail(2)) SWIG_fail;
10678 }
10679 }
10680 {
10681 if (!wxPyCheckForApp()) SWIG_fail;
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxPopupWindow *result;
10698 char *kwnames[] = {
10699 NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10703 {
10704 if (!wxPyCheckForApp()) SWIG_fail;
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (wxPopupWindow *)new wxPopupWindow();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10721 wxWindow *arg2 = (wxWindow *) 0 ;
10722 int arg3 = (int) wxBORDER_NONE ;
10723 bool result;
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self",(char *) "parent",(char *) "flags", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10733 if (SWIG_arg_fail(1)) SWIG_fail;
10734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10735 if (SWIG_arg_fail(2)) SWIG_fail;
10736 if (obj2) {
10737 {
10738 arg3 = (int)(SWIG_As_int(obj2));
10739 if (SWIG_arg_fail(3)) SWIG_fail;
10740 }
10741 }
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (bool)(arg1)->Create(arg2,arg3);
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 {
10750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10751 }
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10761 wxPoint *arg2 = 0 ;
10762 wxSize *arg3 = 0 ;
10763 wxPoint temp2 ;
10764 wxSize temp3 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 PyObject * obj2 = 0 ;
10768 char *kwnames[] = {
10769 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail;
10775 {
10776 arg2 = &temp2;
10777 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10778 }
10779 {
10780 arg3 = &temp3;
10781 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 Py_INCREF(Py_None); resultobj = Py_None;
10791 return resultobj;
10792 fail:
10793 return NULL;
10794 }
10795
10796
10797 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10798 PyObject *obj;
10799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10800 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10801 Py_INCREF(obj);
10802 return Py_BuildValue((char *)"");
10803 }
10804 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxWindow *arg1 = (wxWindow *) 0 ;
10807 int arg2 = (int) wxBORDER_NONE ;
10808 wxPyPopupTransientWindow *result;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 char *kwnames[] = {
10812 (char *) "parent",(char *) "style", NULL
10813 };
10814
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10817 if (SWIG_arg_fail(1)) SWIG_fail;
10818 if (obj1) {
10819 {
10820 arg2 = (int)(SWIG_As_int(obj1));
10821 if (SWIG_arg_fail(2)) SWIG_fail;
10822 }
10823 }
10824 {
10825 if (!wxPyCheckForApp()) SWIG_fail;
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10833 return resultobj;
10834 fail:
10835 return NULL;
10836 }
10837
10838
10839 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxPyPopupTransientWindow *result;
10842 char *kwnames[] = {
10843 NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10847 {
10848 if (!wxPyCheckForApp()) SWIG_fail;
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10865 PyObject *arg2 = (PyObject *) 0 ;
10866 PyObject *arg3 = (PyObject *) 0 ;
10867 PyObject * obj0 = 0 ;
10868 PyObject * obj1 = 0 ;
10869 PyObject * obj2 = 0 ;
10870 char *kwnames[] = {
10871 (char *) "self",(char *) "self",(char *) "_class", NULL
10872 };
10873
10874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10876 if (SWIG_arg_fail(1)) SWIG_fail;
10877 arg2 = obj1;
10878 arg3 = obj2;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->_setCallbackInfo(arg2,arg3);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10896 wxWindow *arg2 = (wxWindow *) NULL ;
10897 PyObject * obj0 = 0 ;
10898 PyObject * obj1 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "focus", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail;
10906 if (obj1) {
10907 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10908 if (SWIG_arg_fail(2)) SWIG_fail;
10909 }
10910 {
10911 PyThreadState* __tstate = wxPyBeginAllowThreads();
10912 (arg1)->Popup(arg2);
10913
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 Py_INCREF(Py_None); resultobj = Py_None;
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj;
10926 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10927 PyObject * obj0 = 0 ;
10928 char *kwnames[] = {
10929 (char *) "self", NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail;
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 (arg1)->Dismiss();
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 Py_INCREF(Py_None); resultobj = Py_None;
10943 return resultobj;
10944 fail:
10945 return NULL;
10946 }
10947
10948
10949 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10950 PyObject *obj;
10951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10953 Py_INCREF(obj);
10954 return Py_BuildValue((char *)"");
10955 }
10956 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxWindow *arg1 = (wxWindow *) 0 ;
10959 wxString *arg2 = 0 ;
10960 int arg3 = (int) 100 ;
10961 wxRect *arg4 = (wxRect *) NULL ;
10962 wxTipWindow *result;
10963 bool temp2 = false ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 PyObject * obj3 = 0 ;
10968 char *kwnames[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10970 };
10971
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail;
10975 {
10976 arg2 = wxString_in_helper(obj1);
10977 if (arg2 == NULL) SWIG_fail;
10978 temp2 = true;
10979 }
10980 if (obj2) {
10981 {
10982 arg3 = (int)(SWIG_As_int(obj2));
10983 if (SWIG_arg_fail(3)) SWIG_fail;
10984 }
10985 }
10986 if (obj3) {
10987 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail;
10989 }
10990 {
10991 if (!wxPyCheckForApp()) SWIG_fail;
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10999 {
11000 if (temp2)
11001 delete arg2;
11002 }
11003 return resultobj;
11004 fail:
11005 {
11006 if (temp2)
11007 delete arg2;
11008 }
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11016 wxRect *arg2 = 0 ;
11017 wxRect temp2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
11025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail;
11027 {
11028 arg2 = &temp2;
11029 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11030 }
11031 {
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11034
11035 wxPyEndAllowThreads(__tstate);
11036 if (PyErr_Occurred()) SWIG_fail;
11037 }
11038 Py_INCREF(Py_None); resultobj = Py_None;
11039 return resultobj;
11040 fail:
11041 return NULL;
11042 }
11043
11044
11045 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
11046 PyObject *resultobj;
11047 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
11054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 (arg1)->Close();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 Py_INCREF(Py_None); resultobj = Py_None;
11064 return resultobj;
11065 fail:
11066 return NULL;
11067 }
11068
11069
11070 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076 }
11077 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxWindow *arg1 = (wxWindow *) 0 ;
11080 int arg2 = (int) wxID_ANY ;
11081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11083 wxSize const &arg4_defvalue = wxDefaultSize ;
11084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11085 long arg5 = (long) 0 ;
11086 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11087 wxString *arg6 = (wxString *) &arg6_defvalue ;
11088 wxPyVScrolledWindow *result;
11089 wxPoint temp3 ;
11090 wxSize temp4 ;
11091 bool temp6 = false ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 PyObject * obj2 = 0 ;
11095 PyObject * obj3 = 0 ;
11096 PyObject * obj4 = 0 ;
11097 PyObject * obj5 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 if (obj1) {
11106 {
11107 arg2 = (int)(SWIG_As_int(obj1));
11108 if (SWIG_arg_fail(2)) SWIG_fail;
11109 }
11110 }
11111 if (obj2) {
11112 {
11113 arg3 = &temp3;
11114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11115 }
11116 }
11117 if (obj3) {
11118 {
11119 arg4 = &temp4;
11120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11121 }
11122 }
11123 if (obj4) {
11124 {
11125 arg5 = (long)(SWIG_As_long(obj4));
11126 if (SWIG_arg_fail(5)) SWIG_fail;
11127 }
11128 }
11129 if (obj5) {
11130 {
11131 arg6 = wxString_in_helper(obj5);
11132 if (arg6 == NULL) SWIG_fail;
11133 temp6 = true;
11134 }
11135 }
11136 {
11137 if (!wxPyCheckForApp()) SWIG_fail;
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11145 {
11146 if (temp6)
11147 delete arg6;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp6)
11153 delete arg6;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11160 PyObject *resultobj;
11161 wxPyVScrolledWindow *result;
11162 char *kwnames[] = {
11163 NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11167 {
11168 if (!wxPyCheckForApp()) SWIG_fail;
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11185 PyObject *arg2 = (PyObject *) 0 ;
11186 PyObject *arg3 = (PyObject *) 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 PyObject * obj2 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
11197 arg2 = obj1;
11198 arg3 = obj2;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->_setCallbackInfo(arg2,arg3);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11216 wxWindow *arg2 = (wxWindow *) 0 ;
11217 int arg3 = (int) wxID_ANY ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11224 wxString *arg7 = (wxString *) &arg7_defvalue ;
11225 bool result;
11226 wxPoint temp4 ;
11227 wxSize temp5 ;
11228 bool temp7 = false ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 PyObject * obj3 = 0 ;
11233 PyObject * obj4 = 0 ;
11234 PyObject * obj5 = 0 ;
11235 PyObject * obj6 = 0 ;
11236 char *kwnames[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11238 };
11239
11240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail;
11243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail;
11245 if (obj2) {
11246 {
11247 arg3 = (int)(SWIG_As_int(obj2));
11248 if (SWIG_arg_fail(3)) SWIG_fail;
11249 }
11250 }
11251 if (obj3) {
11252 {
11253 arg4 = &temp4;
11254 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11255 }
11256 }
11257 if (obj4) {
11258 {
11259 arg5 = &temp5;
11260 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11261 }
11262 }
11263 if (obj5) {
11264 {
11265 arg6 = (long)(SWIG_As_long(obj5));
11266 if (SWIG_arg_fail(6)) SWIG_fail;
11267 }
11268 }
11269 if (obj6) {
11270 {
11271 arg7 = wxString_in_helper(obj6);
11272 if (arg7 == NULL) SWIG_fail;
11273 temp7 = true;
11274 }
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11285 }
11286 {
11287 if (temp7)
11288 delete arg7;
11289 }
11290 return resultobj;
11291 fail:
11292 {
11293 if (temp7)
11294 delete arg7;
11295 }
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11303 size_t arg2 ;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "count", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail;
11313 {
11314 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11315 if (SWIG_arg_fail(2)) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetLineCount(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11334 size_t arg2 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "line", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
11345 {
11346 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11347 if (SWIG_arg_fail(2)) SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (bool)(arg1)->ScrollToLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11358 }
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11366 PyObject *resultobj;
11367 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11368 int arg2 ;
11369 bool result;
11370 PyObject * obj0 = 0 ;
11371 PyObject * obj1 = 0 ;
11372 char *kwnames[] = {
11373 (char *) "self",(char *) "lines", NULL
11374 };
11375
11376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail;
11379 {
11380 arg2 = (int)(SWIG_As_int(obj1));
11381 if (SWIG_arg_fail(2)) SWIG_fail;
11382 }
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (bool)(arg1)->ScrollLines(arg2);
11386
11387 wxPyEndAllowThreads(__tstate);
11388 if (PyErr_Occurred()) SWIG_fail;
11389 }
11390 {
11391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11402 int arg2 ;
11403 bool result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "pages", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail;
11413 {
11414 arg2 = (int)(SWIG_As_int(obj1));
11415 if (SWIG_arg_fail(2)) SWIG_fail;
11416 }
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (bool)(arg1)->ScrollPages(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11426 }
11427 return resultobj;
11428 fail:
11429 return NULL;
11430 }
11431
11432
11433 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11436 size_t arg2 ;
11437 PyObject * obj0 = 0 ;
11438 PyObject * obj1 = 0 ;
11439 char *kwnames[] = {
11440 (char *) "self",(char *) "line", NULL
11441 };
11442
11443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail;
11446 {
11447 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11448 if (SWIG_arg_fail(2)) SWIG_fail;
11449 }
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 (arg1)->RefreshLine(arg2);
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11467 size_t arg2 ;
11468 size_t arg3 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 PyObject * obj2 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
11479 {
11480 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11481 if (SWIG_arg_fail(2)) SWIG_fail;
11482 }
11483 {
11484 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11485 if (SWIG_arg_fail(3)) SWIG_fail;
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->RefreshLines(arg2,arg3);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 return resultobj;
11496 fail:
11497 return NULL;
11498 }
11499
11500
11501 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11504 int arg2 ;
11505 int arg3 ;
11506 int result;
11507 PyObject * obj0 = 0 ;
11508 PyObject * obj1 = 0 ;
11509 PyObject * obj2 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail;
11517 {
11518 arg2 = (int)(SWIG_As_int(obj1));
11519 if (SWIG_arg_fail(2)) SWIG_fail;
11520 }
11521 {
11522 arg3 = (int)(SWIG_As_int(obj2));
11523 if (SWIG_arg_fail(3)) SWIG_fail;
11524 }
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 resultobj = SWIG_From_int((int)(result));
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 wxPoint *arg2 = 0 ;
11545 int result;
11546 wxPoint temp2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "pt", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail;
11556 {
11557 arg2 = &temp2;
11558 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = SWIG_From_int((int)(result));
11569 }
11570 return resultobj;
11571 fail:
11572 return NULL;
11573 }
11574
11575
11576 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->RefreshAll();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 Py_INCREF(Py_None); resultobj = Py_None;
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11604 size_t result;
11605 PyObject * obj0 = 0 ;
11606 char *kwnames[] = {
11607 (char *) "self", NULL
11608 };
11609
11610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 {
11621 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11622 }
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11632 size_t result;
11633 PyObject * obj0 = 0 ;
11634 char *kwnames[] = {
11635 (char *) "self", NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail;
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11650 }
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11660 size_t result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 {
11677 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11678 }
11679 return resultobj;
11680 fail:
11681 return NULL;
11682 }
11683
11684
11685 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t arg2 ;
11689 bool result;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self",(char *) "line", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail;
11699 {
11700 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11712 }
11713 return resultobj;
11714 fail:
11715 return NULL;
11716 }
11717
11718
11719 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj;
11721 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11722 size_t result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11750 size_t result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 {
11767 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11768 }
11769 return resultobj;
11770 fail:
11771 return NULL;
11772 }
11773
11774
11775 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11776 PyObject *obj;
11777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11779 Py_INCREF(obj);
11780 return Py_BuildValue((char *)"");
11781 }
11782 static int _wrap_VListBoxNameStr_set(PyObject *) {
11783 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11784 return 1;
11785 }
11786
11787
11788 static PyObject *_wrap_VListBoxNameStr_get(void) {
11789 PyObject *pyobj;
11790
11791 {
11792 #if wxUSE_UNICODE
11793 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11794 #else
11795 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11796 #endif
11797 }
11798 return pyobj;
11799 }
11800
11801
11802 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 = (int) wxID_ANY ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxPyVListBox *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
11816 bool temp6 = false ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 PyObject * obj2 = 0 ;
11820 PyObject * obj3 = 0 ;
11821 PyObject * obj4 = 0 ;
11822 PyObject * obj5 = 0 ;
11823 char *kwnames[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11825 };
11826
11827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail;
11830 if (obj1) {
11831 {
11832 arg2 = (int)(SWIG_As_int(obj1));
11833 if (SWIG_arg_fail(2)) SWIG_fail;
11834 }
11835 }
11836 if (obj2) {
11837 {
11838 arg3 = &temp3;
11839 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11840 }
11841 }
11842 if (obj3) {
11843 {
11844 arg4 = &temp4;
11845 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11846 }
11847 }
11848 if (obj4) {
11849 {
11850 arg5 = (long)(SWIG_As_long(obj4));
11851 if (SWIG_arg_fail(5)) SWIG_fail;
11852 }
11853 }
11854 if (obj5) {
11855 {
11856 arg6 = wxString_in_helper(obj5);
11857 if (arg6 == NULL) SWIG_fail;
11858 temp6 = true;
11859 }
11860 }
11861 {
11862 if (!wxPyCheckForApp()) SWIG_fail;
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11870 {
11871 if (temp6)
11872 delete arg6;
11873 }
11874 return resultobj;
11875 fail:
11876 {
11877 if (temp6)
11878 delete arg6;
11879 }
11880 return NULL;
11881 }
11882
11883
11884 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11885 PyObject *resultobj;
11886 wxPyVListBox *result;
11887 char *kwnames[] = {
11888 NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11892 {
11893 if (!wxPyCheckForApp()) SWIG_fail;
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (wxPyVListBox *)new wxPyVListBox();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11910 PyObject *arg2 = (PyObject *) 0 ;
11911 PyObject *arg3 = (PyObject *) 0 ;
11912 PyObject * obj0 = 0 ;
11913 PyObject * obj1 = 0 ;
11914 PyObject * obj2 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail;
11922 arg2 = obj1;
11923 arg3 = obj2;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->_setCallbackInfo(arg2,arg3);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11941 wxWindow *arg2 = (wxWindow *) 0 ;
11942 int arg3 = (int) wxID_ANY ;
11943 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11944 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11945 wxSize const &arg5_defvalue = wxDefaultSize ;
11946 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11947 long arg6 = (long) 0 ;
11948 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11949 wxString *arg7 = (wxString *) &arg7_defvalue ;
11950 bool result;
11951 wxPoint temp4 ;
11952 wxSize temp5 ;
11953 bool temp7 = false ;
11954 PyObject * obj0 = 0 ;
11955 PyObject * obj1 = 0 ;
11956 PyObject * obj2 = 0 ;
11957 PyObject * obj3 = 0 ;
11958 PyObject * obj4 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 PyObject * obj6 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail;
11968 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail;
11970 if (obj2) {
11971 {
11972 arg3 = (int)(SWIG_As_int(obj2));
11973 if (SWIG_arg_fail(3)) SWIG_fail;
11974 }
11975 }
11976 if (obj3) {
11977 {
11978 arg4 = &temp4;
11979 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11980 }
11981 }
11982 if (obj4) {
11983 {
11984 arg5 = &temp5;
11985 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11986 }
11987 }
11988 if (obj5) {
11989 {
11990 arg6 = (long)(SWIG_As_long(obj5));
11991 if (SWIG_arg_fail(6)) SWIG_fail;
11992 }
11993 }
11994 if (obj6) {
11995 {
11996 arg7 = wxString_in_helper(obj6);
11997 if (arg7 == NULL) SWIG_fail;
11998 temp7 = true;
11999 }
12000 }
12001 {
12002 PyThreadState* __tstate = wxPyBeginAllowThreads();
12003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12004
12005 wxPyEndAllowThreads(__tstate);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12010 }
12011 {
12012 if (temp7)
12013 delete arg7;
12014 }
12015 return resultobj;
12016 fail:
12017 {
12018 if (temp7)
12019 delete arg7;
12020 }
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 size_t result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12040
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 {
12045 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12046 }
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12056 bool result;
12057 PyObject * obj0 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078 }
12079
12080
12081 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 int result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 {
12101 resultobj = SWIG_From_int((int)(result));
12102 }
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12112 size_t arg2 ;
12113 bool result;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "item", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 size_t arg2 ;
12147 bool result;
12148 PyObject * obj0 = 0 ;
12149 PyObject * obj1 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
12158 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12180 size_t result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 {
12197 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12198 }
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12208 PyObject *result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 resultobj = result;
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12234 unsigned long arg2 ;
12235 PyObject *result;
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "cookie", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
12246 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12247 if (SWIG_arg_fail(2)) SWIG_fail;
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = result;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12266 wxPoint result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail;
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = ((wxPyVListBox const *)arg1)->GetMargins();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 {
12283 wxPoint * resultptr;
12284 resultptr = new wxPoint((wxPoint &)(result));
12285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12286 }
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12296 wxColour *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 {
12308 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12309 result = (wxColour *) &_result_ref;
12310 }
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12325 size_t arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "count", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
12336 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 (arg1)->SetItemCount(arg2);
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 Py_INCREF(Py_None); resultobj = Py_None;
12347 return resultobj;
12348 fail:
12349 return NULL;
12350 }
12351
12352
12353 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 (arg1)->Clear();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 Py_INCREF(Py_None); resultobj = Py_None;
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 PyObject * obj1 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self",(char *) "selection", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail;
12391 {
12392 arg2 = (int)(SWIG_As_int(obj1));
12393 if (SWIG_arg_fail(2)) SWIG_fail;
12394 }
12395 {
12396 PyThreadState* __tstate = wxPyBeginAllowThreads();
12397 (arg1)->SetSelection(arg2);
12398
12399 wxPyEndAllowThreads(__tstate);
12400 if (PyErr_Occurred()) SWIG_fail;
12401 }
12402 Py_INCREF(Py_None); resultobj = Py_None;
12403 return resultobj;
12404 fail:
12405 return NULL;
12406 }
12407
12408
12409 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12412 size_t arg2 ;
12413 bool arg3 = (bool) true ;
12414 bool result;
12415 PyObject * obj0 = 0 ;
12416 PyObject * obj1 = 0 ;
12417 PyObject * obj2 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail;
12425 {
12426 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12427 if (SWIG_arg_fail(2)) SWIG_fail;
12428 }
12429 if (obj2) {
12430 {
12431 arg3 = (bool)(SWIG_As_bool(obj2));
12432 if (SWIG_arg_fail(3)) SWIG_fail;
12433 }
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Select(arg2,arg3);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 {
12443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12444 }
12445 return resultobj;
12446 fail:
12447 return NULL;
12448 }
12449
12450
12451 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12452 PyObject *resultobj;
12453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12454 size_t arg2 ;
12455 size_t arg3 ;
12456 bool result;
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 PyObject * obj2 = 0 ;
12460 char *kwnames[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12462 };
12463
12464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail;
12467 {
12468 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12469 if (SWIG_arg_fail(2)) SWIG_fail;
12470 }
12471 {
12472 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12473 if (SWIG_arg_fail(3)) SWIG_fail;
12474 }
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (bool)(arg1)->SelectRange(arg2,arg3);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 {
12483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12484 }
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12494 size_t arg2 ;
12495 PyObject * obj0 = 0 ;
12496 PyObject * obj1 = 0 ;
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "item", NULL
12499 };
12500
12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 {
12505 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 (arg1)->Toggle(arg2);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12525 bool result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "self", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail;
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 result = (bool)(arg1)->SelectAll();
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 {
12542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12543 }
12544 return resultobj;
12545 fail:
12546 return NULL;
12547 }
12548
12549
12550 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12551 PyObject *resultobj;
12552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12553 bool result;
12554 PyObject * obj0 = 0 ;
12555 char *kwnames[] = {
12556 (char *) "self", NULL
12557 };
12558
12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail;
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 result = (bool)(arg1)->DeselectAll();
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 {
12570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12571 }
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12581 wxPoint *arg2 = 0 ;
12582 wxPoint temp2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "pt", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail;
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetMargins((wxPoint const &)*arg2);
12599
12600 wxPyEndAllowThreads(__tstate);
12601 if (PyErr_Occurred()) SWIG_fail;
12602 }
12603 Py_INCREF(Py_None); resultobj = Py_None;
12604 return resultobj;
12605 fail:
12606 return NULL;
12607 }
12608
12609
12610 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12611 PyObject *resultobj;
12612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12613 int arg2 ;
12614 int arg3 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
12625 {
12626 arg2 = (int)(SWIG_As_int(obj1));
12627 if (SWIG_arg_fail(2)) SWIG_fail;
12628 }
12629 {
12630 arg3 = (int)(SWIG_As_int(obj2));
12631 if (SWIG_arg_fail(3)) SWIG_fail;
12632 }
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 (arg1)->SetMargins(arg2,arg3);
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 Py_INCREF(Py_None); resultobj = Py_None;
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12650 wxColour *arg2 = 0 ;
12651 wxColour temp2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "col", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail;
12661 {
12662 arg2 = &temp2;
12663 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12680 PyObject *obj;
12681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12683 Py_INCREF(obj);
12684 return Py_BuildValue((char *)"");
12685 }
12686 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxWindow *arg1 = (wxWindow *) 0 ;
12689 int arg2 = (int) wxID_ANY ;
12690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12692 wxSize const &arg4_defvalue = wxDefaultSize ;
12693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12694 long arg5 = (long) 0 ;
12695 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12696 wxString *arg6 = (wxString *) &arg6_defvalue ;
12697 wxPyHtmlListBox *result;
12698 wxPoint temp3 ;
12699 wxSize temp4 ;
12700 bool temp6 = false ;
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail;
12714 if (obj1) {
12715 {
12716 arg2 = (int)(SWIG_As_int(obj1));
12717 if (SWIG_arg_fail(2)) SWIG_fail;
12718 }
12719 }
12720 if (obj2) {
12721 {
12722 arg3 = &temp3;
12723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12724 }
12725 }
12726 if (obj3) {
12727 {
12728 arg4 = &temp4;
12729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12730 }
12731 }
12732 if (obj4) {
12733 {
12734 arg5 = (long)(SWIG_As_long(obj4));
12735 if (SWIG_arg_fail(5)) SWIG_fail;
12736 }
12737 }
12738 if (obj5) {
12739 {
12740 arg6 = wxString_in_helper(obj5);
12741 if (arg6 == NULL) SWIG_fail;
12742 temp6 = true;
12743 }
12744 }
12745 {
12746 if (!wxPyCheckForApp()) SWIG_fail;
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12754 {
12755 if (temp6)
12756 delete arg6;
12757 }
12758 return resultobj;
12759 fail:
12760 {
12761 if (temp6)
12762 delete arg6;
12763 }
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxPyHtmlListBox *result;
12771 char *kwnames[] = {
12772 NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12776 {
12777 if (!wxPyCheckForApp()) SWIG_fail;
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12794 PyObject *arg2 = (PyObject *) 0 ;
12795 PyObject *arg3 = (PyObject *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
12806 arg2 = obj1;
12807 arg3 = obj2;
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 (arg1)->_setCallbackInfo(arg2,arg3);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 Py_INCREF(Py_None); resultobj = Py_None;
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12825 wxWindow *arg2 = (wxWindow *) 0 ;
12826 int arg3 = (int) wxID_ANY ;
12827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12829 wxSize const &arg5_defvalue = wxDefaultSize ;
12830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12831 long arg6 = (long) 0 ;
12832 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12833 wxString *arg7 = (wxString *) &arg7_defvalue ;
12834 bool result;
12835 wxPoint temp4 ;
12836 wxSize temp5 ;
12837 bool temp7 = false ;
12838 PyObject * obj0 = 0 ;
12839 PyObject * obj1 = 0 ;
12840 PyObject * obj2 = 0 ;
12841 PyObject * obj3 = 0 ;
12842 PyObject * obj4 = 0 ;
12843 PyObject * obj5 = 0 ;
12844 PyObject * obj6 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
12852 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail;
12854 if (obj2) {
12855 {
12856 arg3 = (int)(SWIG_As_int(obj2));
12857 if (SWIG_arg_fail(3)) SWIG_fail;
12858 }
12859 }
12860 if (obj3) {
12861 {
12862 arg4 = &temp4;
12863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12864 }
12865 }
12866 if (obj4) {
12867 {
12868 arg5 = &temp5;
12869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12870 }
12871 }
12872 if (obj5) {
12873 {
12874 arg6 = (long)(SWIG_As_long(obj5));
12875 if (SWIG_arg_fail(6)) SWIG_fail;
12876 }
12877 }
12878 if (obj6) {
12879 {
12880 arg7 = wxString_in_helper(obj6);
12881 if (arg7 == NULL) SWIG_fail;
12882 temp7 = true;
12883 }
12884 }
12885 {
12886 PyThreadState* __tstate = wxPyBeginAllowThreads();
12887 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12888
12889 wxPyEndAllowThreads(__tstate);
12890 if (PyErr_Occurred()) SWIG_fail;
12891 }
12892 {
12893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12894 }
12895 {
12896 if (temp7)
12897 delete arg7;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp7)
12903 delete arg7;
12904 }
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12912 PyObject * obj0 = 0 ;
12913 char *kwnames[] = {
12914 (char *) "self", NULL
12915 };
12916
12917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 (arg1)->RefreshAll();
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 Py_INCREF(Py_None); resultobj = Py_None;
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12937 size_t arg2 ;
12938 PyObject * obj0 = 0 ;
12939 PyObject * obj1 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self",(char *) "count", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
12947 {
12948 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12949 if (SWIG_arg_fail(2)) SWIG_fail;
12950 }
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 (arg1)->SetItemCount(arg2);
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 Py_INCREF(Py_None); resultobj = Py_None;
12959 return resultobj;
12960 fail:
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12968 wxFileSystem *result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 {
12980 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12981 result = (wxFileSystem *) &_result_ref;
12982 }
12983
12984 wxPyEndAllowThreads(__tstate);
12985 if (PyErr_Occurred()) SWIG_fail;
12986 }
12987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12988 return resultobj;
12989 fail:
12990 return NULL;
12991 }
12992
12993
12994 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12995 PyObject *obj;
12996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12998 Py_INCREF(obj);
12999 return Py_BuildValue((char *)"");
13000 }
13001 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13002 PyObject *resultobj;
13003 wxPyTaskBarIcon *result;
13004 char *kwnames[] = {
13005 NULL
13006 };
13007
13008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
13009 {
13010 if (!wxPyCheckForApp()) SWIG_fail;
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 PyObject *arg2 = (PyObject *) 0 ;
13028 PyObject *arg3 = (PyObject *) 0 ;
13029 int arg4 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 PyObject * obj2 = 0 ;
13033 PyObject * obj3 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13040 if (SWIG_arg_fail(1)) SWIG_fail;
13041 arg2 = obj1;
13042 arg3 = obj2;
13043 {
13044 arg4 = (int)(SWIG_As_int(obj3));
13045 if (SWIG_arg_fail(4)) SWIG_fail;
13046 }
13047 {
13048 PyThreadState* __tstate = wxPyBeginAllowThreads();
13049 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
13050
13051 wxPyEndAllowThreads(__tstate);
13052 if (PyErr_Occurred()) SWIG_fail;
13053 }
13054 Py_INCREF(Py_None); resultobj = Py_None;
13055 return resultobj;
13056 fail:
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13064 PyObject * obj0 = 0 ;
13065 char *kwnames[] = {
13066 (char *) "self", NULL
13067 };
13068
13069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13071 if (SWIG_arg_fail(1)) SWIG_fail;
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 wxPyTaskBarIcon_Destroy(arg1);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13089 bool result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13097 if (SWIG_arg_fail(1)) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 {
13106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13107 }
13108 return resultobj;
13109 fail:
13110 return NULL;
13111 }
13112
13113
13114 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13117 bool result;
13118 PyObject * obj0 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail;
13126 {
13127 PyThreadState* __tstate = wxPyBeginAllowThreads();
13128 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13129
13130 wxPyEndAllowThreads(__tstate);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 {
13134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13135 }
13136 return resultobj;
13137 fail:
13138 return NULL;
13139 }
13140
13141
13142 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13145 wxIcon *arg2 = 0 ;
13146 wxString const &arg3_defvalue = wxPyEmptyString ;
13147 wxString *arg3 = (wxString *) &arg3_defvalue ;
13148 bool result;
13149 bool temp3 = false ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13159 if (SWIG_arg_fail(1)) SWIG_fail;
13160 {
13161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(2)) SWIG_fail;
13163 if (arg2 == NULL) {
13164 SWIG_null_ref("wxIcon");
13165 }
13166 if (SWIG_arg_fail(2)) SWIG_fail;
13167 }
13168 if (obj2) {
13169 {
13170 arg3 = wxString_in_helper(obj2);
13171 if (arg3 == NULL) SWIG_fail;
13172 temp3 = true;
13173 }
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13184 }
13185 {
13186 if (temp3)
13187 delete arg3;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp3)
13193 delete arg3;
13194 }
13195 return NULL;
13196 }
13197
13198
13199 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13200 PyObject *resultobj;
13201 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13202 bool result;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13210 if (SWIG_arg_fail(1)) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 result = (bool)(arg1)->RemoveIcon();
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 {
13219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13220 }
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13230 wxMenu *arg2 = (wxMenu *) 0 ;
13231 bool result;
13232 PyObject * obj0 = 0 ;
13233 PyObject * obj1 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self",(char *) "menu", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail;
13241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13242 if (SWIG_arg_fail(2)) SWIG_fail;
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 result = (bool)(arg1)->PopupMenu(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 {
13251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13252 }
13253 return resultobj;
13254 fail:
13255 return NULL;
13256 }
13257
13258
13259 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13260 PyObject *obj;
13261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13262 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13263 Py_INCREF(obj);
13264 return Py_BuildValue((char *)"");
13265 }
13266 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj;
13268 wxEventType arg1 ;
13269 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13270 wxTaskBarIconEvent *result;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 char *kwnames[] = {
13274 (char *) "evtType",(char *) "tbIcon", NULL
13275 };
13276
13277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13278 {
13279 arg1 = (wxEventType)(SWIG_As_int(obj0));
13280 if (SWIG_arg_fail(1)) SWIG_fail;
13281 }
13282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13283 if (SWIG_arg_fail(2)) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13299 PyObject *obj;
13300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13302 Py_INCREF(obj);
13303 return Py_BuildValue((char *)"");
13304 }
13305 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13306 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13307 return 1;
13308 }
13309
13310
13311 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13312 PyObject *pyobj;
13313
13314 {
13315 #if wxUSE_UNICODE
13316 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13317 #else
13318 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13319 #endif
13320 }
13321 return pyobj;
13322 }
13323
13324
13325 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13326 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13327 return 1;
13328 }
13329
13330
13331 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13332 PyObject *pyobj;
13333
13334 {
13335 #if wxUSE_UNICODE
13336 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13337 #else
13338 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13339 #endif
13340 }
13341 return pyobj;
13342 }
13343
13344
13345 static int _wrap_DirDialogNameStr_set(PyObject *) {
13346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13347 return 1;
13348 }
13349
13350
13351 static PyObject *_wrap_DirDialogNameStr_get(void) {
13352 PyObject *pyobj;
13353
13354 {
13355 #if wxUSE_UNICODE
13356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13357 #else
13358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13359 #endif
13360 }
13361 return pyobj;
13362 }
13363
13364
13365 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13366 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13367 return 1;
13368 }
13369
13370
13371 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13372 PyObject *pyobj;
13373
13374 {
13375 #if wxUSE_UNICODE
13376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13377 #else
13378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13379 #endif
13380 }
13381 return pyobj;
13382 }
13383
13384
13385 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13386 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13387 return 1;
13388 }
13389
13390
13391 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13392 PyObject *pyobj;
13393
13394 {
13395 #if wxUSE_UNICODE
13396 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13397 #else
13398 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13399 #endif
13400 }
13401 return pyobj;
13402 }
13403
13404
13405 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13406 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13407 return 1;
13408 }
13409
13410
13411 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13412 PyObject *pyobj;
13413
13414 {
13415 #if wxUSE_UNICODE
13416 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13417 #else
13418 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13419 #endif
13420 }
13421 return pyobj;
13422 }
13423
13424
13425 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxColourData *result;
13428 char *kwnames[] = {
13429 NULL
13430 };
13431
13432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 result = (wxColourData *)new wxColourData();
13436
13437 wxPyEndAllowThreads(__tstate);
13438 if (PyErr_Occurred()) SWIG_fail;
13439 }
13440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13441 return resultobj;
13442 fail:
13443 return NULL;
13444 }
13445
13446
13447 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13448 PyObject *resultobj;
13449 wxColourData *arg1 = (wxColourData *) 0 ;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 delete arg1;
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxColourData *arg1 = (wxColourData *) 0 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13483 if (SWIG_arg_fail(1)) SWIG_fail;
13484 {
13485 PyThreadState* __tstate = wxPyBeginAllowThreads();
13486 result = (bool)(arg1)->GetChooseFull();
13487
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 {
13492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13493 }
13494 return resultobj;
13495 fail:
13496 return NULL;
13497 }
13498
13499
13500 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxColourData *arg1 = (wxColourData *) 0 ;
13503 wxColour result;
13504 PyObject * obj0 = 0 ;
13505 char *kwnames[] = {
13506 (char *) "self", NULL
13507 };
13508
13509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13511 if (SWIG_arg_fail(1)) SWIG_fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (arg1)->GetColour();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 {
13520 wxColour * resultptr;
13521 resultptr = new wxColour((wxColour &)(result));
13522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13523 }
13524 return resultobj;
13525 fail:
13526 return NULL;
13527 }
13528
13529
13530 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxColourData *arg1 = (wxColourData *) 0 ;
13533 int arg2 ;
13534 wxColour result;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self",(char *) "i", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13543 if (SWIG_arg_fail(1)) SWIG_fail;
13544 {
13545 arg2 = (int)(SWIG_As_int(obj1));
13546 if (SWIG_arg_fail(2)) SWIG_fail;
13547 }
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (arg1)->GetCustomColour(arg2);
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 wxColour * resultptr;
13557 resultptr = new wxColour((wxColour &)(result));
13558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13559 }
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxColourData *arg1 = (wxColourData *) 0 ;
13569 int arg2 ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "flag", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13578 if (SWIG_arg_fail(1)) SWIG_fail;
13579 {
13580 arg2 = (int)(SWIG_As_int(obj1));
13581 if (SWIG_arg_fail(2)) SWIG_fail;
13582 }
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->SetChooseFull(arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxColourData *arg1 = (wxColourData *) 0 ;
13600 wxColour *arg2 = 0 ;
13601 wxColour temp2 ;
13602 PyObject * obj0 = 0 ;
13603 PyObject * obj1 = 0 ;
13604 char *kwnames[] = {
13605 (char *) "self",(char *) "colour", NULL
13606 };
13607
13608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13610 if (SWIG_arg_fail(1)) SWIG_fail;
13611 {
13612 arg2 = &temp2;
13613 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13614 }
13615 {
13616 PyThreadState* __tstate = wxPyBeginAllowThreads();
13617 (arg1)->SetColour((wxColour const &)*arg2);
13618
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 Py_INCREF(Py_None); resultobj = Py_None;
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13630 PyObject *resultobj;
13631 wxColourData *arg1 = (wxColourData *) 0 ;
13632 int arg2 ;
13633 wxColour *arg3 = 0 ;
13634 wxColour temp3 ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "i",(char *) "colour", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail;
13645 {
13646 arg2 = (int)(SWIG_As_int(obj1));
13647 if (SWIG_arg_fail(2)) SWIG_fail;
13648 }
13649 {
13650 arg3 = &temp3;
13651 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13652 }
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 Py_INCREF(Py_None); resultobj = Py_None;
13661 return resultobj;
13662 fail:
13663 return NULL;
13664 }
13665
13666
13667 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13668 PyObject *obj;
13669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13670 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13671 Py_INCREF(obj);
13672 return Py_BuildValue((char *)"");
13673 }
13674 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13675 PyObject *resultobj;
13676 wxWindow *arg1 = (wxWindow *) 0 ;
13677 wxColourData *arg2 = (wxColourData *) NULL ;
13678 wxColourDialog *result;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "parent",(char *) "data", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13687 if (SWIG_arg_fail(1)) SWIG_fail;
13688 if (obj1) {
13689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13690 if (SWIG_arg_fail(2)) SWIG_fail;
13691 }
13692 {
13693 if (!wxPyCheckForApp()) SWIG_fail;
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13710 wxColourData *result;
13711 PyObject * obj0 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 {
13722 wxColourData &_result_ref = (arg1)->GetColourData();
13723 result = (wxColourData *) &_result_ref;
13724 }
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13730 return resultobj;
13731 fail:
13732 return NULL;
13733 }
13734
13735
13736 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13737 PyObject *obj;
13738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13740 Py_INCREF(obj);
13741 return Py_BuildValue((char *)"");
13742 }
13743 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13744 PyObject *resultobj;
13745 wxWindow *arg1 = (wxWindow *) 0 ;
13746 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13747 wxString *arg2 = (wxString *) &arg2_defvalue ;
13748 wxString const &arg3_defvalue = wxPyEmptyString ;
13749 wxString *arg3 = (wxString *) &arg3_defvalue ;
13750 long arg4 = (long) 0 ;
13751 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13752 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13753 wxSize const &arg6_defvalue = wxDefaultSize ;
13754 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13755 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13756 wxString *arg7 = (wxString *) &arg7_defvalue ;
13757 wxDirDialog *result;
13758 bool temp2 = false ;
13759 bool temp3 = false ;
13760 wxPoint temp5 ;
13761 wxSize temp6 ;
13762 bool temp7 = false ;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 PyObject * obj2 = 0 ;
13766 PyObject * obj3 = 0 ;
13767 PyObject * obj4 = 0 ;
13768 PyObject * obj5 = 0 ;
13769 PyObject * obj6 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13776 if (SWIG_arg_fail(1)) SWIG_fail;
13777 if (obj1) {
13778 {
13779 arg2 = wxString_in_helper(obj1);
13780 if (arg2 == NULL) SWIG_fail;
13781 temp2 = true;
13782 }
13783 }
13784 if (obj2) {
13785 {
13786 arg3 = wxString_in_helper(obj2);
13787 if (arg3 == NULL) SWIG_fail;
13788 temp3 = true;
13789 }
13790 }
13791 if (obj3) {
13792 {
13793 arg4 = (long)(SWIG_As_long(obj3));
13794 if (SWIG_arg_fail(4)) SWIG_fail;
13795 }
13796 }
13797 if (obj4) {
13798 {
13799 arg5 = &temp5;
13800 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13801 }
13802 }
13803 if (obj5) {
13804 {
13805 arg6 = &temp6;
13806 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13807 }
13808 }
13809 if (obj6) {
13810 {
13811 arg7 = wxString_in_helper(obj6);
13812 if (arg7 == NULL) SWIG_fail;
13813 temp7 = true;
13814 }
13815 }
13816 {
13817 if (!wxPyCheckForApp()) SWIG_fail;
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13825 {
13826 if (temp2)
13827 delete arg2;
13828 }
13829 {
13830 if (temp3)
13831 delete arg3;
13832 }
13833 {
13834 if (temp7)
13835 delete arg7;
13836 }
13837 return resultobj;
13838 fail:
13839 {
13840 if (temp2)
13841 delete arg2;
13842 }
13843 {
13844 if (temp3)
13845 delete arg3;
13846 }
13847 {
13848 if (temp7)
13849 delete arg7;
13850 }
13851 return NULL;
13852 }
13853
13854
13855 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13856 PyObject *resultobj;
13857 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13858 wxString result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail;
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = (arg1)->GetPath();
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 {
13875 #if wxUSE_UNICODE
13876 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13877 #else
13878 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13879 #endif
13880 }
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj;
13889 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13890 wxString result;
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13898 if (SWIG_arg_fail(1)) SWIG_fail;
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (arg1)->GetMessage();
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 {
13907 #if wxUSE_UNICODE
13908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13909 #else
13910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13911 #endif
13912 }
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13922 long result;
13923 PyObject * obj0 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail;
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (long)(arg1)->GetStyle();
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 {
13939 resultobj = SWIG_From_long((long)(result));
13940 }
13941 return resultobj;
13942 fail:
13943 return NULL;
13944 }
13945
13946
13947 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13950 wxString *arg2 = 0 ;
13951 bool temp2 = false ;
13952 PyObject * obj0 = 0 ;
13953 PyObject * obj1 = 0 ;
13954 char *kwnames[] = {
13955 (char *) "self",(char *) "message", NULL
13956 };
13957
13958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13960 if (SWIG_arg_fail(1)) SWIG_fail;
13961 {
13962 arg2 = wxString_in_helper(obj1);
13963 if (arg2 == NULL) SWIG_fail;
13964 temp2 = true;
13965 }
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 (arg1)->SetMessage((wxString const &)*arg2);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 Py_INCREF(Py_None); resultobj = Py_None;
13974 {
13975 if (temp2)
13976 delete arg2;
13977 }
13978 return resultobj;
13979 fail:
13980 {
13981 if (temp2)
13982 delete arg2;
13983 }
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13991 wxString *arg2 = 0 ;
13992 bool temp2 = false ;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "path", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
14001 if (SWIG_arg_fail(1)) SWIG_fail;
14002 {
14003 arg2 = wxString_in_helper(obj1);
14004 if (arg2 == NULL) SWIG_fail;
14005 temp2 = true;
14006 }
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 (arg1)->SetPath((wxString const &)*arg2);
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 Py_INCREF(Py_None); resultobj = Py_None;
14015 {
14016 if (temp2)
14017 delete arg2;
14018 }
14019 return resultobj;
14020 fail:
14021 {
14022 if (temp2)
14023 delete arg2;
14024 }
14025 return NULL;
14026 }
14027
14028
14029 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
14030 PyObject *obj;
14031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14032 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14033 Py_INCREF(obj);
14034 return Py_BuildValue((char *)"");
14035 }
14036 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxWindow *arg1 = (wxWindow *) 0 ;
14039 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14040 wxString *arg2 = (wxString *) &arg2_defvalue ;
14041 wxString const &arg3_defvalue = wxPyEmptyString ;
14042 wxString *arg3 = (wxString *) &arg3_defvalue ;
14043 wxString const &arg4_defvalue = wxPyEmptyString ;
14044 wxString *arg4 = (wxString *) &arg4_defvalue ;
14045 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14046 wxString *arg5 = (wxString *) &arg5_defvalue ;
14047 long arg6 = (long) 0 ;
14048 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14049 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14050 wxFileDialog *result;
14051 bool temp2 = false ;
14052 bool temp3 = false ;
14053 bool temp4 = false ;
14054 bool temp5 = false ;
14055 wxPoint temp7 ;
14056 PyObject * obj0 = 0 ;
14057 PyObject * obj1 = 0 ;
14058 PyObject * obj2 = 0 ;
14059 PyObject * obj3 = 0 ;
14060 PyObject * obj4 = 0 ;
14061 PyObject * obj5 = 0 ;
14062 PyObject * obj6 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14069 if (SWIG_arg_fail(1)) SWIG_fail;
14070 if (obj1) {
14071 {
14072 arg2 = wxString_in_helper(obj1);
14073 if (arg2 == NULL) SWIG_fail;
14074 temp2 = true;
14075 }
14076 }
14077 if (obj2) {
14078 {
14079 arg3 = wxString_in_helper(obj2);
14080 if (arg3 == NULL) SWIG_fail;
14081 temp3 = true;
14082 }
14083 }
14084 if (obj3) {
14085 {
14086 arg4 = wxString_in_helper(obj3);
14087 if (arg4 == NULL) SWIG_fail;
14088 temp4 = true;
14089 }
14090 }
14091 if (obj4) {
14092 {
14093 arg5 = wxString_in_helper(obj4);
14094 if (arg5 == NULL) SWIG_fail;
14095 temp5 = true;
14096 }
14097 }
14098 if (obj5) {
14099 {
14100 arg6 = (long)(SWIG_As_long(obj5));
14101 if (SWIG_arg_fail(6)) SWIG_fail;
14102 }
14103 }
14104 if (obj6) {
14105 {
14106 arg7 = &temp7;
14107 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14108 }
14109 }
14110 {
14111 if (!wxPyCheckForApp()) SWIG_fail;
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14119 {
14120 if (temp2)
14121 delete arg2;
14122 }
14123 {
14124 if (temp3)
14125 delete arg3;
14126 }
14127 {
14128 if (temp4)
14129 delete arg4;
14130 }
14131 {
14132 if (temp5)
14133 delete arg5;
14134 }
14135 return resultobj;
14136 fail:
14137 {
14138 if (temp2)
14139 delete arg2;
14140 }
14141 {
14142 if (temp3)
14143 delete arg3;
14144 }
14145 {
14146 if (temp4)
14147 delete arg4;
14148 }
14149 {
14150 if (temp5)
14151 delete arg5;
14152 }
14153 return NULL;
14154 }
14155
14156
14157 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14158 PyObject *resultobj;
14159 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14160 wxString *arg2 = 0 ;
14161 bool temp2 = false ;
14162 PyObject * obj0 = 0 ;
14163 PyObject * obj1 = 0 ;
14164 char *kwnames[] = {
14165 (char *) "self",(char *) "message", NULL
14166 };
14167
14168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14170 if (SWIG_arg_fail(1)) SWIG_fail;
14171 {
14172 arg2 = wxString_in_helper(obj1);
14173 if (arg2 == NULL) SWIG_fail;
14174 temp2 = true;
14175 }
14176 {
14177 PyThreadState* __tstate = wxPyBeginAllowThreads();
14178 (arg1)->SetMessage((wxString const &)*arg2);
14179
14180 wxPyEndAllowThreads(__tstate);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 }
14183 Py_INCREF(Py_None); resultobj = Py_None;
14184 {
14185 if (temp2)
14186 delete arg2;
14187 }
14188 return resultobj;
14189 fail:
14190 {
14191 if (temp2)
14192 delete arg2;
14193 }
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14201 wxString *arg2 = 0 ;
14202 bool temp2 = false ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self",(char *) "path", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14211 if (SWIG_arg_fail(1)) SWIG_fail;
14212 {
14213 arg2 = wxString_in_helper(obj1);
14214 if (arg2 == NULL) SWIG_fail;
14215 temp2 = true;
14216 }
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 (arg1)->SetPath((wxString const &)*arg2);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 Py_INCREF(Py_None); resultobj = Py_None;
14225 {
14226 if (temp2)
14227 delete arg2;
14228 }
14229 return resultobj;
14230 fail:
14231 {
14232 if (temp2)
14233 delete arg2;
14234 }
14235 return NULL;
14236 }
14237
14238
14239 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14240 PyObject *resultobj;
14241 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14242 wxString *arg2 = 0 ;
14243 bool temp2 = false ;
14244 PyObject * obj0 = 0 ;
14245 PyObject * obj1 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self",(char *) "dir", NULL
14248 };
14249
14250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14252 if (SWIG_arg_fail(1)) SWIG_fail;
14253 {
14254 arg2 = wxString_in_helper(obj1);
14255 if (arg2 == NULL) SWIG_fail;
14256 temp2 = true;
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 (arg1)->SetDirectory((wxString const &)*arg2);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 Py_INCREF(Py_None); resultobj = Py_None;
14266 {
14267 if (temp2)
14268 delete arg2;
14269 }
14270 return resultobj;
14271 fail:
14272 {
14273 if (temp2)
14274 delete arg2;
14275 }
14276 return NULL;
14277 }
14278
14279
14280 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj;
14282 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14283 wxString *arg2 = 0 ;
14284 bool temp2 = false ;
14285 PyObject * obj0 = 0 ;
14286 PyObject * obj1 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self",(char *) "name", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14293 if (SWIG_arg_fail(1)) SWIG_fail;
14294 {
14295 arg2 = wxString_in_helper(obj1);
14296 if (arg2 == NULL) SWIG_fail;
14297 temp2 = true;
14298 }
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 (arg1)->SetFilename((wxString const &)*arg2);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 Py_INCREF(Py_None); resultobj = Py_None;
14307 {
14308 if (temp2)
14309 delete arg2;
14310 }
14311 return resultobj;
14312 fail:
14313 {
14314 if (temp2)
14315 delete arg2;
14316 }
14317 return NULL;
14318 }
14319
14320
14321 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14324 wxString *arg2 = 0 ;
14325 bool temp2 = false ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "wildCard", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14334 if (SWIG_arg_fail(1)) SWIG_fail;
14335 {
14336 arg2 = wxString_in_helper(obj1);
14337 if (arg2 == NULL) SWIG_fail;
14338 temp2 = true;
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->SetWildcard((wxString const &)*arg2);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 {
14349 if (temp2)
14350 delete arg2;
14351 }
14352 return resultobj;
14353 fail:
14354 {
14355 if (temp2)
14356 delete arg2;
14357 }
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14365 long arg2 ;
14366 PyObject * obj0 = 0 ;
14367 PyObject * obj1 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self",(char *) "style", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail;
14375 {
14376 arg2 = (long)(SWIG_As_long(obj1));
14377 if (SWIG_arg_fail(2)) SWIG_fail;
14378 }
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 (arg1)->SetStyle(arg2);
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 Py_INCREF(Py_None); resultobj = Py_None;
14387 return resultobj;
14388 fail:
14389 return NULL;
14390 }
14391
14392
14393 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14396 int arg2 ;
14397 PyObject * obj0 = 0 ;
14398 PyObject * obj1 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self",(char *) "filterIndex", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail;
14406 {
14407 arg2 = (int)(SWIG_As_int(obj1));
14408 if (SWIG_arg_fail(2)) SWIG_fail;
14409 }
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 (arg1)->SetFilterIndex(arg2);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 Py_INCREF(Py_None); resultobj = Py_None;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14427 wxString result;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14435 if (SWIG_arg_fail(1)) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = ((wxFileDialog const *)arg1)->GetMessage();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 #if wxUSE_UNICODE
14445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14446 #else
14447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14448 #endif
14449 }
14450 return resultobj;
14451 fail:
14452 return NULL;
14453 }
14454
14455
14456 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14459 wxString result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail;
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = ((wxFileDialog const *)arg1)->GetPath();
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 {
14476 #if wxUSE_UNICODE
14477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14478 #else
14479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14480 #endif
14481 }
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14491 wxString result;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14499 if (SWIG_arg_fail(1)) SWIG_fail;
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 result = ((wxFileDialog const *)arg1)->GetDirectory();
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 {
14508 #if wxUSE_UNICODE
14509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14510 #else
14511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14512 #endif
14513 }
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14521 PyObject *resultobj;
14522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14523 wxString result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail;
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = ((wxFileDialog const *)arg1)->GetFilename();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 #if wxUSE_UNICODE
14541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14542 #else
14543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14544 #endif
14545 }
14546 return resultobj;
14547 fail:
14548 return NULL;
14549 }
14550
14551
14552 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj;
14554 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14555 wxString result;
14556 PyObject * obj0 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = ((wxFileDialog const *)arg1)->GetWildcard();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 {
14572 #if wxUSE_UNICODE
14573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14574 #else
14575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14576 #endif
14577 }
14578 return resultobj;
14579 fail:
14580 return NULL;
14581 }
14582
14583
14584 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj;
14586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14587 long result;
14588 PyObject * obj0 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail;
14596 {
14597 PyThreadState* __tstate = wxPyBeginAllowThreads();
14598 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14599
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 {
14604 resultobj = SWIG_From_long((long)(result));
14605 }
14606 return resultobj;
14607 fail:
14608 return NULL;
14609 }
14610
14611
14612 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14615 int result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 {
14632 resultobj = SWIG_From_int((int)(result));
14633 }
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14643 PyObject *result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail;
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 resultobj = result;
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14669 PyObject *result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14677 if (SWIG_arg_fail(1)) SWIG_fail;
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = result;
14686 return resultobj;
14687 fail:
14688 return NULL;
14689 }
14690
14691
14692 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14693 PyObject *obj;
14694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14695 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14696 Py_INCREF(obj);
14697 return Py_BuildValue((char *)"");
14698 }
14699 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14700 PyObject *resultobj;
14701 wxWindow *arg1 = (wxWindow *) 0 ;
14702 wxString *arg2 = 0 ;
14703 wxString *arg3 = 0 ;
14704 int arg4 = (int) 0 ;
14705 wxString *arg5 = (wxString *) NULL ;
14706 long arg6 = (long) wxCHOICEDLG_STYLE ;
14707 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14708 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14709 wxMultiChoiceDialog *result;
14710 bool temp2 = false ;
14711 bool temp3 = false ;
14712 wxPoint temp7 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 PyObject * obj2 = 0 ;
14716 PyObject * obj3 = 0 ;
14717 PyObject * obj4 = 0 ;
14718 PyObject * obj5 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail;
14726 {
14727 arg2 = wxString_in_helper(obj1);
14728 if (arg2 == NULL) SWIG_fail;
14729 temp2 = true;
14730 }
14731 {
14732 arg3 = wxString_in_helper(obj2);
14733 if (arg3 == NULL) SWIG_fail;
14734 temp3 = true;
14735 }
14736 if (obj3) {
14737 {
14738 arg4 = PyList_Size(obj3);
14739 arg5 = wxString_LIST_helper(obj3);
14740 if (arg5 == NULL) SWIG_fail;
14741 }
14742 }
14743 if (obj4) {
14744 {
14745 arg6 = (long)(SWIG_As_long(obj4));
14746 if (SWIG_arg_fail(6)) SWIG_fail;
14747 }
14748 }
14749 if (obj5) {
14750 {
14751 arg7 = &temp7;
14752 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14753 }
14754 }
14755 {
14756 if (!wxPyCheckForApp()) SWIG_fail;
14757 PyThreadState* __tstate = wxPyBeginAllowThreads();
14758 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14759
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14764 {
14765 if (temp2)
14766 delete arg2;
14767 }
14768 {
14769 if (temp3)
14770 delete arg3;
14771 }
14772 {
14773 if (arg5) delete [] arg5;
14774 }
14775 return resultobj;
14776 fail:
14777 {
14778 if (temp2)
14779 delete arg2;
14780 }
14781 {
14782 if (temp3)
14783 delete arg3;
14784 }
14785 {
14786 if (arg5) delete [] arg5;
14787 }
14788 return NULL;
14789 }
14790
14791
14792 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14793 PyObject *resultobj;
14794 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14795 wxArrayInt *arg2 = 0 ;
14796 bool temp2 = false ;
14797 PyObject * obj0 = 0 ;
14798 PyObject * obj1 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self",(char *) "selections", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail;
14806 {
14807 if (! PySequence_Check(obj1)) {
14808 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14809 SWIG_fail;
14810 }
14811 arg2 = new wxArrayInt;
14812 temp2 = true;
14813 int i, len=PySequence_Length(obj1);
14814 for (i=0; i<len; i++) {
14815 PyObject* item = PySequence_GetItem(obj1, i);
14816 PyObject* number = PyNumber_Int(item);
14817 arg2->Add(PyInt_AS_LONG(number));
14818 Py_DECREF(item);
14819 Py_DECREF(number);
14820 }
14821 }
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14825
14826 wxPyEndAllowThreads(__tstate);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 }
14829 Py_INCREF(Py_None); resultobj = Py_None;
14830 {
14831 if (temp2) delete arg2;
14832 }
14833 return resultobj;
14834 fail:
14835 {
14836 if (temp2) delete arg2;
14837 }
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail;
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14869 PyObject *obj;
14870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14872 Py_INCREF(obj);
14873 return Py_BuildValue((char *)"");
14874 }
14875 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxWindow *arg1 = (wxWindow *) 0 ;
14878 wxString *arg2 = 0 ;
14879 wxString *arg3 = 0 ;
14880 int arg4 ;
14881 wxString *arg5 = (wxString *) 0 ;
14882 long arg6 = (long) wxCHOICEDLG_STYLE ;
14883 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14884 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14885 wxSingleChoiceDialog *result;
14886 bool temp2 = false ;
14887 bool temp3 = false ;
14888 wxPoint temp7 ;
14889 PyObject * obj0 = 0 ;
14890 PyObject * obj1 = 0 ;
14891 PyObject * obj2 = 0 ;
14892 PyObject * obj3 = 0 ;
14893 PyObject * obj4 = 0 ;
14894 PyObject * obj5 = 0 ;
14895 char *kwnames[] = {
14896 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14897 };
14898
14899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14901 if (SWIG_arg_fail(1)) SWIG_fail;
14902 {
14903 arg2 = wxString_in_helper(obj1);
14904 if (arg2 == NULL) SWIG_fail;
14905 temp2 = true;
14906 }
14907 {
14908 arg3 = wxString_in_helper(obj2);
14909 if (arg3 == NULL) SWIG_fail;
14910 temp3 = true;
14911 }
14912 {
14913 arg4 = PyList_Size(obj3);
14914 arg5 = wxString_LIST_helper(obj3);
14915 if (arg5 == NULL) SWIG_fail;
14916 }
14917 if (obj4) {
14918 {
14919 arg6 = (long)(SWIG_As_long(obj4));
14920 if (SWIG_arg_fail(6)) SWIG_fail;
14921 }
14922 }
14923 if (obj5) {
14924 {
14925 arg7 = &temp7;
14926 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14927 }
14928 }
14929 {
14930 if (!wxPyCheckForApp()) SWIG_fail;
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14938 {
14939 if (temp2)
14940 delete arg2;
14941 }
14942 {
14943 if (temp3)
14944 delete arg3;
14945 }
14946 {
14947 if (arg5) delete [] arg5;
14948 }
14949 return resultobj;
14950 fail:
14951 {
14952 if (temp2)
14953 delete arg2;
14954 }
14955 {
14956 if (temp3)
14957 delete arg3;
14958 }
14959 {
14960 if (arg5) delete [] arg5;
14961 }
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14969 int result;
14970 PyObject * obj0 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14977 if (SWIG_arg_fail(1)) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 result = (int)(arg1)->GetSelection();
14981
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 {
14986 resultobj = SWIG_From_int((int)(result));
14987 }
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14997 wxString result;
14998 PyObject * obj0 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
15004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15005 if (SWIG_arg_fail(1)) SWIG_fail;
15006 {
15007 PyThreadState* __tstate = wxPyBeginAllowThreads();
15008 result = (arg1)->GetStringSelection();
15009
15010 wxPyEndAllowThreads(__tstate);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 }
15013 {
15014 #if wxUSE_UNICODE
15015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15016 #else
15017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15018 #endif
15019 }
15020 return resultobj;
15021 fail:
15022 return NULL;
15023 }
15024
15025
15026 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
15027 PyObject *resultobj;
15028 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15029 int arg2 ;
15030 PyObject * obj0 = 0 ;
15031 PyObject * obj1 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self",(char *) "sel", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15038 if (SWIG_arg_fail(1)) SWIG_fail;
15039 {
15040 arg2 = (int)(SWIG_As_int(obj1));
15041 if (SWIG_arg_fail(2)) SWIG_fail;
15042 }
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 (arg1)->SetSelection(arg2);
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 Py_INCREF(Py_None); resultobj = Py_None;
15051 return resultobj;
15052 fail:
15053 return NULL;
15054 }
15055
15056
15057 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
15058 PyObject *obj;
15059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15060 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15061 Py_INCREF(obj);
15062 return Py_BuildValue((char *)"");
15063 }
15064 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj;
15066 wxWindow *arg1 = (wxWindow *) 0 ;
15067 wxString *arg2 = 0 ;
15068 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15069 wxString *arg3 = (wxString *) &arg3_defvalue ;
15070 wxString const &arg4_defvalue = wxPyEmptyString ;
15071 wxString *arg4 = (wxString *) &arg4_defvalue ;
15072 long arg5 = (long) wxTextEntryDialogStyle ;
15073 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15074 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15075 wxTextEntryDialog *result;
15076 bool temp2 = false ;
15077 bool temp3 = false ;
15078 bool temp4 = false ;
15079 wxPoint temp6 ;
15080 PyObject * obj0 = 0 ;
15081 PyObject * obj1 = 0 ;
15082 PyObject * obj2 = 0 ;
15083 PyObject * obj3 = 0 ;
15084 PyObject * obj4 = 0 ;
15085 PyObject * obj5 = 0 ;
15086 char *kwnames[] = {
15087 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15088 };
15089
15090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail;
15093 {
15094 arg2 = wxString_in_helper(obj1);
15095 if (arg2 == NULL) SWIG_fail;
15096 temp2 = true;
15097 }
15098 if (obj2) {
15099 {
15100 arg3 = wxString_in_helper(obj2);
15101 if (arg3 == NULL) SWIG_fail;
15102 temp3 = true;
15103 }
15104 }
15105 if (obj3) {
15106 {
15107 arg4 = wxString_in_helper(obj3);
15108 if (arg4 == NULL) SWIG_fail;
15109 temp4 = true;
15110 }
15111 }
15112 if (obj4) {
15113 {
15114 arg5 = (long)(SWIG_As_long(obj4));
15115 if (SWIG_arg_fail(5)) SWIG_fail;
15116 }
15117 }
15118 if (obj5) {
15119 {
15120 arg6 = &temp6;
15121 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15122 }
15123 }
15124 {
15125 if (!wxPyCheckForApp()) SWIG_fail;
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15128
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15133 {
15134 if (temp2)
15135 delete arg2;
15136 }
15137 {
15138 if (temp3)
15139 delete arg3;
15140 }
15141 {
15142 if (temp4)
15143 delete arg4;
15144 }
15145 return resultobj;
15146 fail:
15147 {
15148 if (temp2)
15149 delete arg2;
15150 }
15151 {
15152 if (temp3)
15153 delete arg3;
15154 }
15155 {
15156 if (temp4)
15157 delete arg4;
15158 }
15159 return NULL;
15160 }
15161
15162
15163 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj;
15165 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15166 wxString result;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15174 if (SWIG_arg_fail(1)) SWIG_fail;
15175 {
15176 PyThreadState* __tstate = wxPyBeginAllowThreads();
15177 result = (arg1)->GetValue();
15178
15179 wxPyEndAllowThreads(__tstate);
15180 if (PyErr_Occurred()) SWIG_fail;
15181 }
15182 {
15183 #if wxUSE_UNICODE
15184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15185 #else
15186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15187 #endif
15188 }
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15198 wxString *arg2 = 0 ;
15199 bool temp2 = false ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "value", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15208 if (SWIG_arg_fail(1)) SWIG_fail;
15209 {
15210 arg2 = wxString_in_helper(obj1);
15211 if (arg2 == NULL) SWIG_fail;
15212 temp2 = true;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 (arg1)->SetValue((wxString const &)*arg2);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 Py_INCREF(Py_None); resultobj = Py_None;
15222 {
15223 if (temp2)
15224 delete arg2;
15225 }
15226 return resultobj;
15227 fail:
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 return NULL;
15233 }
15234
15235
15236 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15237 PyObject *obj;
15238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15239 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15240 Py_INCREF(obj);
15241 return Py_BuildValue((char *)"");
15242 }
15243 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15244 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15245 return 1;
15246 }
15247
15248
15249 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15250 PyObject *pyobj;
15251
15252 {
15253 #if wxUSE_UNICODE
15254 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15255 #else
15256 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15257 #endif
15258 }
15259 return pyobj;
15260 }
15261
15262
15263 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxWindow *arg1 = (wxWindow *) 0 ;
15266 wxString *arg2 = 0 ;
15267 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15268 wxString *arg3 = (wxString *) &arg3_defvalue ;
15269 wxString const &arg4_defvalue = wxPyEmptyString ;
15270 wxString *arg4 = (wxString *) &arg4_defvalue ;
15271 long arg5 = (long) wxTextEntryDialogStyle ;
15272 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15273 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15274 wxPasswordEntryDialog *result;
15275 bool temp2 = false ;
15276 bool temp3 = false ;
15277 bool temp4 = false ;
15278 wxPoint temp6 ;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 PyObject * obj2 = 0 ;
15282 PyObject * obj3 = 0 ;
15283 PyObject * obj4 = 0 ;
15284 PyObject * obj5 = 0 ;
15285 char *kwnames[] = {
15286 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15287 };
15288
15289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15291 if (SWIG_arg_fail(1)) SWIG_fail;
15292 {
15293 arg2 = wxString_in_helper(obj1);
15294 if (arg2 == NULL) SWIG_fail;
15295 temp2 = true;
15296 }
15297 if (obj2) {
15298 {
15299 arg3 = wxString_in_helper(obj2);
15300 if (arg3 == NULL) SWIG_fail;
15301 temp3 = true;
15302 }
15303 }
15304 if (obj3) {
15305 {
15306 arg4 = wxString_in_helper(obj3);
15307 if (arg4 == NULL) SWIG_fail;
15308 temp4 = true;
15309 }
15310 }
15311 if (obj4) {
15312 {
15313 arg5 = (long)(SWIG_As_long(obj4));
15314 if (SWIG_arg_fail(5)) SWIG_fail;
15315 }
15316 }
15317 if (obj5) {
15318 {
15319 arg6 = &temp6;
15320 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15321 }
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15331 {
15332 if (temp2)
15333 delete arg2;
15334 }
15335 {
15336 if (temp3)
15337 delete arg3;
15338 }
15339 {
15340 if (temp4)
15341 delete arg4;
15342 }
15343 return resultobj;
15344 fail:
15345 {
15346 if (temp2)
15347 delete arg2;
15348 }
15349 {
15350 if (temp3)
15351 delete arg3;
15352 }
15353 {
15354 if (temp4)
15355 delete arg4;
15356 }
15357 return NULL;
15358 }
15359
15360
15361 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15362 PyObject *obj;
15363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15364 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15365 Py_INCREF(obj);
15366 return Py_BuildValue((char *)"");
15367 }
15368 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxFontData *result;
15371 char *kwnames[] = {
15372 NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (wxFontData *)new wxFontData();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxFontData *arg1 = (wxFontData *) 0 ;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15400 if (SWIG_arg_fail(1)) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 delete arg1;
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 Py_INCREF(Py_None); resultobj = Py_None;
15409 return resultobj;
15410 fail:
15411 return NULL;
15412 }
15413
15414
15415 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15416 PyObject *resultobj;
15417 wxFontData *arg1 = (wxFontData *) 0 ;
15418 bool arg2 ;
15419 PyObject * obj0 = 0 ;
15420 PyObject * obj1 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self",(char *) "enable", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15427 if (SWIG_arg_fail(1)) SWIG_fail;
15428 {
15429 arg2 = (bool)(SWIG_As_bool(obj1));
15430 if (SWIG_arg_fail(2)) SWIG_fail;
15431 }
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 (arg1)->EnableEffects(arg2);
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
15439 Py_INCREF(Py_None); resultobj = Py_None;
15440 return resultobj;
15441 fail:
15442 return NULL;
15443 }
15444
15445
15446 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15447 PyObject *resultobj;
15448 wxFontData *arg1 = (wxFontData *) 0 ;
15449 bool result;
15450 PyObject * obj0 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15457 if (SWIG_arg_fail(1)) SWIG_fail;
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 result = (bool)(arg1)->GetAllowSymbols();
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 {
15466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15467 }
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxFontData *arg1 = (wxFontData *) 0 ;
15477 wxColour result;
15478 PyObject * obj0 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail;
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (arg1)->GetColour();
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 {
15494 wxColour * resultptr;
15495 resultptr = new wxColour((wxColour &)(result));
15496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15497 }
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxFontData *arg1 = (wxFontData *) 0 ;
15507 wxFont result;
15508 PyObject * obj0 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15515 if (SWIG_arg_fail(1)) SWIG_fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 result = (arg1)->GetChosenFont();
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 {
15524 wxFont * resultptr;
15525 resultptr = new wxFont((wxFont &)(result));
15526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15527 }
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxFontData *arg1 = (wxFontData *) 0 ;
15537 bool result;
15538 PyObject * obj0 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (bool)(arg1)->GetEnableEffects();
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559 }
15560
15561
15562 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxFontData *arg1 = (wxFontData *) 0 ;
15565 wxFont result;
15566 PyObject * obj0 = 0 ;
15567 char *kwnames[] = {
15568 (char *) "self", NULL
15569 };
15570
15571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail;
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = (arg1)->GetInitialFont();
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 wxFont * resultptr;
15583 resultptr = new wxFont((wxFont &)(result));
15584 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15585 }
15586 return resultobj;
15587 fail:
15588 return NULL;
15589 }
15590
15591
15592 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15593 PyObject *resultobj;
15594 wxFontData *arg1 = (wxFontData *) 0 ;
15595 bool result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15603 if (SWIG_arg_fail(1)) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (bool)(arg1)->GetShowHelp();
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15613 }
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxFontData *arg1 = (wxFontData *) 0 ;
15623 bool arg2 ;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "allowSymbols", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15632 if (SWIG_arg_fail(1)) SWIG_fail;
15633 {
15634 arg2 = (bool)(SWIG_As_bool(obj1));
15635 if (SWIG_arg_fail(2)) SWIG_fail;
15636 }
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetAllowSymbols(arg2);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxFontData *arg1 = (wxFontData *) 0 ;
15654 wxFont *arg2 = 0 ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self",(char *) "font", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15663 if (SWIG_arg_fail(1)) SWIG_fail;
15664 {
15665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15666 if (SWIG_arg_fail(2)) SWIG_fail;
15667 if (arg2 == NULL) {
15668 SWIG_null_ref("wxFont");
15669 }
15670 if (SWIG_arg_fail(2)) SWIG_fail;
15671 }
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 (arg1)->SetChosenFont((wxFont const &)*arg2);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 Py_INCREF(Py_None); resultobj = Py_None;
15680 return resultobj;
15681 fail:
15682 return NULL;
15683 }
15684
15685
15686 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15687 PyObject *resultobj;
15688 wxFontData *arg1 = (wxFontData *) 0 ;
15689 wxColour *arg2 = 0 ;
15690 wxColour temp2 ;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj1 = 0 ;
15693 char *kwnames[] = {
15694 (char *) "self",(char *) "colour", NULL
15695 };
15696
15697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15699 if (SWIG_arg_fail(1)) SWIG_fail;
15700 {
15701 arg2 = &temp2;
15702 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15703 }
15704 {
15705 PyThreadState* __tstate = wxPyBeginAllowThreads();
15706 (arg1)->SetColour((wxColour const &)*arg2);
15707
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 Py_INCREF(Py_None); resultobj = Py_None;
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxFontData *arg1 = (wxFontData *) 0 ;
15721 wxFont *arg2 = 0 ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "font", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15730 if (SWIG_arg_fail(1)) SWIG_fail;
15731 {
15732 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15733 if (SWIG_arg_fail(2)) SWIG_fail;
15734 if (arg2 == NULL) {
15735 SWIG_null_ref("wxFont");
15736 }
15737 if (SWIG_arg_fail(2)) SWIG_fail;
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->SetInitialFont((wxFont const &)*arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxFontData *arg1 = (wxFontData *) 0 ;
15756 int arg2 ;
15757 int arg3 ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 PyObject * obj2 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self",(char *) "min",(char *) "max", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail;
15768 {
15769 arg2 = (int)(SWIG_As_int(obj1));
15770 if (SWIG_arg_fail(2)) SWIG_fail;
15771 }
15772 {
15773 arg3 = (int)(SWIG_As_int(obj2));
15774 if (SWIG_arg_fail(3)) SWIG_fail;
15775 }
15776 {
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 (arg1)->SetRange(arg2,arg3);
15779
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 Py_INCREF(Py_None); resultobj = Py_None;
15784 return resultobj;
15785 fail:
15786 return NULL;
15787 }
15788
15789
15790 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxFontData *arg1 = (wxFontData *) 0 ;
15793 bool arg2 ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "showHelp", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail;
15803 {
15804 arg2 = (bool)(SWIG_As_bool(obj1));
15805 if (SWIG_arg_fail(2)) SWIG_fail;
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 (arg1)->SetShowHelp(arg2);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818 }
15819
15820
15821 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15822 PyObject *obj;
15823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15824 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15825 Py_INCREF(obj);
15826 return Py_BuildValue((char *)"");
15827 }
15828 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15829 PyObject *resultobj;
15830 wxWindow *arg1 = (wxWindow *) 0 ;
15831 wxFontData *arg2 = 0 ;
15832 wxFontDialog *result;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "parent",(char *) "data", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail;
15842 {
15843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15844 if (SWIG_arg_fail(2)) SWIG_fail;
15845 if (arg2 == NULL) {
15846 SWIG_null_ref("wxFontData");
15847 }
15848 if (SWIG_arg_fail(2)) SWIG_fail;
15849 }
15850 {
15851 if (!wxPyCheckForApp()) SWIG_fail;
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15868 wxFontData *result;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15876 if (SWIG_arg_fail(1)) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 {
15880 wxFontData &_result_ref = (arg1)->GetFontData();
15881 result = (wxFontData *) &_result_ref;
15882 }
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15888 return resultobj;
15889 fail:
15890 return NULL;
15891 }
15892
15893
15894 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15895 PyObject *obj;
15896 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15897 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15898 Py_INCREF(obj);
15899 return Py_BuildValue((char *)"");
15900 }
15901 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxWindow *arg1 = (wxWindow *) 0 ;
15904 wxString *arg2 = 0 ;
15905 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15906 wxString *arg3 = (wxString *) &arg3_defvalue ;
15907 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15908 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15909 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15910 wxMessageDialog *result;
15911 bool temp2 = false ;
15912 bool temp3 = false ;
15913 wxPoint temp5 ;
15914 PyObject * obj0 = 0 ;
15915 PyObject * obj1 = 0 ;
15916 PyObject * obj2 = 0 ;
15917 PyObject * obj3 = 0 ;
15918 PyObject * obj4 = 0 ;
15919 char *kwnames[] = {
15920 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15921 };
15922
15923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15925 if (SWIG_arg_fail(1)) SWIG_fail;
15926 {
15927 arg2 = wxString_in_helper(obj1);
15928 if (arg2 == NULL) SWIG_fail;
15929 temp2 = true;
15930 }
15931 if (obj2) {
15932 {
15933 arg3 = wxString_in_helper(obj2);
15934 if (arg3 == NULL) SWIG_fail;
15935 temp3 = true;
15936 }
15937 }
15938 if (obj3) {
15939 {
15940 arg4 = (long)(SWIG_As_long(obj3));
15941 if (SWIG_arg_fail(4)) SWIG_fail;
15942 }
15943 }
15944 if (obj4) {
15945 {
15946 arg5 = &temp5;
15947 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15948 }
15949 }
15950 {
15951 if (!wxPyCheckForApp()) SWIG_fail;
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15959 {
15960 if (temp2)
15961 delete arg2;
15962 }
15963 {
15964 if (temp3)
15965 delete arg3;
15966 }
15967 return resultobj;
15968 fail:
15969 {
15970 if (temp2)
15971 delete arg2;
15972 }
15973 {
15974 if (temp3)
15975 delete arg3;
15976 }
15977 return NULL;
15978 }
15979
15980
15981 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15982 PyObject *obj;
15983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15984 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15985 Py_INCREF(obj);
15986 return Py_BuildValue((char *)"");
15987 }
15988 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxString *arg1 = 0 ;
15991 wxString *arg2 = 0 ;
15992 int arg3 = (int) 100 ;
15993 wxWindow *arg4 = (wxWindow *) NULL ;
15994 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15995 wxProgressDialog *result;
15996 bool temp1 = false ;
15997 bool temp2 = false ;
15998 PyObject * obj0 = 0 ;
15999 PyObject * obj1 = 0 ;
16000 PyObject * obj2 = 0 ;
16001 PyObject * obj3 = 0 ;
16002 PyObject * obj4 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16008 {
16009 arg1 = wxString_in_helper(obj0);
16010 if (arg1 == NULL) SWIG_fail;
16011 temp1 = true;
16012 }
16013 {
16014 arg2 = wxString_in_helper(obj1);
16015 if (arg2 == NULL) SWIG_fail;
16016 temp2 = true;
16017 }
16018 if (obj2) {
16019 {
16020 arg3 = (int)(SWIG_As_int(obj2));
16021 if (SWIG_arg_fail(3)) SWIG_fail;
16022 }
16023 }
16024 if (obj3) {
16025 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16026 if (SWIG_arg_fail(4)) SWIG_fail;
16027 }
16028 if (obj4) {
16029 {
16030 arg5 = (int)(SWIG_As_int(obj4));
16031 if (SWIG_arg_fail(5)) SWIG_fail;
16032 }
16033 }
16034 {
16035 if (!wxPyCheckForApp()) SWIG_fail;
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16043 {
16044 if (temp1)
16045 delete arg1;
16046 }
16047 {
16048 if (temp2)
16049 delete arg2;
16050 }
16051 return resultobj;
16052 fail:
16053 {
16054 if (temp1)
16055 delete arg1;
16056 }
16057 {
16058 if (temp2)
16059 delete arg2;
16060 }
16061 return NULL;
16062 }
16063
16064
16065 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj;
16067 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16068 int arg2 ;
16069 wxString const &arg3_defvalue = wxPyEmptyString ;
16070 wxString *arg3 = (wxString *) &arg3_defvalue ;
16071 bool result;
16072 bool temp3 = false ;
16073 PyObject * obj0 = 0 ;
16074 PyObject * obj1 = 0 ;
16075 PyObject * obj2 = 0 ;
16076 char *kwnames[] = {
16077 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16078 };
16079
16080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16082 if (SWIG_arg_fail(1)) SWIG_fail;
16083 {
16084 arg2 = (int)(SWIG_As_int(obj1));
16085 if (SWIG_arg_fail(2)) SWIG_fail;
16086 }
16087 if (obj2) {
16088 {
16089 arg3 = wxString_in_helper(obj2);
16090 if (arg3 == NULL) SWIG_fail;
16091 temp3 = true;
16092 }
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16103 }
16104 {
16105 if (temp3)
16106 delete arg3;
16107 }
16108 return resultobj;
16109 fail:
16110 {
16111 if (temp3)
16112 delete arg3;
16113 }
16114 return NULL;
16115 }
16116
16117
16118 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16119 PyObject *resultobj;
16120 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16128 if (SWIG_arg_fail(1)) SWIG_fail;
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 (arg1)->Resume();
16132
16133 wxPyEndAllowThreads(__tstate);
16134 if (PyErr_Occurred()) SWIG_fail;
16135 }
16136 Py_INCREF(Py_None); resultobj = Py_None;
16137 return resultobj;
16138 fail:
16139 return NULL;
16140 }
16141
16142
16143 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16144 PyObject *obj;
16145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16146 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16147 Py_INCREF(obj);
16148 return Py_BuildValue((char *)"");
16149 }
16150 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16153 int arg2 = (int) 0 ;
16154 wxFindDialogEvent *result;
16155 PyObject * obj0 = 0 ;
16156 PyObject * obj1 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "commandType",(char *) "id", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16162 if (obj0) {
16163 {
16164 arg1 = (wxEventType)(SWIG_As_int(obj0));
16165 if (SWIG_arg_fail(1)) SWIG_fail;
16166 }
16167 }
16168 if (obj1) {
16169 {
16170 arg2 = (int)(SWIG_As_int(obj1));
16171 if (SWIG_arg_fail(2)) SWIG_fail;
16172 }
16173 }
16174 {
16175 PyThreadState* __tstate = wxPyBeginAllowThreads();
16176 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16177
16178 wxPyEndAllowThreads(__tstate);
16179 if (PyErr_Occurred()) SWIG_fail;
16180 }
16181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16182 return resultobj;
16183 fail:
16184 return NULL;
16185 }
16186
16187
16188 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj;
16190 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16191 int result;
16192 PyObject * obj0 = 0 ;
16193 char *kwnames[] = {
16194 (char *) "self", NULL
16195 };
16196
16197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16199 if (SWIG_arg_fail(1)) SWIG_fail;
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (int)(arg1)->GetFlags();
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 resultobj = SWIG_From_int((int)(result));
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16219 wxString *result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail;
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 {
16231 wxString const &_result_ref = (arg1)->GetFindString();
16232 result = (wxString *) &_result_ref;
16233 }
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 {
16239 #if wxUSE_UNICODE
16240 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16241 #else
16242 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16243 #endif
16244 }
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16254 wxString *result;
16255 PyObject * obj0 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail;
16263 {
16264 PyThreadState* __tstate = wxPyBeginAllowThreads();
16265 {
16266 wxString const &_result_ref = (arg1)->GetReplaceString();
16267 result = (wxString *) &_result_ref;
16268 }
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 {
16274 #if wxUSE_UNICODE
16275 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16276 #else
16277 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16278 #endif
16279 }
16280 return resultobj;
16281 fail:
16282 return NULL;
16283 }
16284
16285
16286 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16287 PyObject *resultobj;
16288 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16289 wxFindReplaceDialog *result;
16290 PyObject * obj0 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail;
16298 {
16299 PyThreadState* __tstate = wxPyBeginAllowThreads();
16300 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16301
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16315 int arg2 ;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "flags", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16324 if (SWIG_arg_fail(1)) SWIG_fail;
16325 {
16326 arg2 = (int)(SWIG_As_int(obj1));
16327 if (SWIG_arg_fail(2)) SWIG_fail;
16328 }
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetFlags(arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 return resultobj;
16338 fail:
16339 return NULL;
16340 }
16341
16342
16343 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16346 wxString *arg2 = 0 ;
16347 bool temp2 = false ;
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "str", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16356 if (SWIG_arg_fail(1)) SWIG_fail;
16357 {
16358 arg2 = wxString_in_helper(obj1);
16359 if (arg2 == NULL) SWIG_fail;
16360 temp2 = true;
16361 }
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 (arg1)->SetFindString((wxString const &)*arg2);
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 Py_INCREF(Py_None); resultobj = Py_None;
16370 {
16371 if (temp2)
16372 delete arg2;
16373 }
16374 return resultobj;
16375 fail:
16376 {
16377 if (temp2)
16378 delete arg2;
16379 }
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16387 wxString *arg2 = 0 ;
16388 bool temp2 = false ;
16389 PyObject * obj0 = 0 ;
16390 PyObject * obj1 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "str", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16397 if (SWIG_arg_fail(1)) SWIG_fail;
16398 {
16399 arg2 = wxString_in_helper(obj1);
16400 if (arg2 == NULL) SWIG_fail;
16401 temp2 = true;
16402 }
16403 {
16404 PyThreadState* __tstate = wxPyBeginAllowThreads();
16405 (arg1)->SetReplaceString((wxString const &)*arg2);
16406
16407 wxPyEndAllowThreads(__tstate);
16408 if (PyErr_Occurred()) SWIG_fail;
16409 }
16410 Py_INCREF(Py_None); resultobj = Py_None;
16411 {
16412 if (temp2)
16413 delete arg2;
16414 }
16415 return resultobj;
16416 fail:
16417 {
16418 if (temp2)
16419 delete arg2;
16420 }
16421 return NULL;
16422 }
16423
16424
16425 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16426 PyObject *obj;
16427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16428 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16429 Py_INCREF(obj);
16430 return Py_BuildValue((char *)"");
16431 }
16432 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16433 PyObject *resultobj;
16434 int arg1 = (int) 0 ;
16435 wxFindReplaceData *result;
16436 PyObject * obj0 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "flags", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16442 if (obj0) {
16443 {
16444 arg1 = (int)(SWIG_As_int(obj0));
16445 if (SWIG_arg_fail(1)) SWIG_fail;
16446 }
16447 }
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16465 PyObject * obj0 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16472 if (SWIG_arg_fail(1)) SWIG_fail;
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 delete arg1;
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 Py_INCREF(Py_None); resultobj = Py_None;
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16490 wxString *result;
16491 PyObject * obj0 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail;
16499 {
16500 PyThreadState* __tstate = wxPyBeginAllowThreads();
16501 {
16502 wxString const &_result_ref = (arg1)->GetFindString();
16503 result = (wxString *) &_result_ref;
16504 }
16505
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 {
16510 #if wxUSE_UNICODE
16511 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16512 #else
16513 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16514 #endif
16515 }
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16525 wxString *result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16533 if (SWIG_arg_fail(1)) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 {
16537 wxString const &_result_ref = (arg1)->GetReplaceString();
16538 result = (wxString *) &_result_ref;
16539 }
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 {
16545 #if wxUSE_UNICODE
16546 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16547 #else
16548 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16549 #endif
16550 }
16551 return resultobj;
16552 fail:
16553 return NULL;
16554 }
16555
16556
16557 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16560 int result;
16561 PyObject * obj0 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (int)(arg1)->GetFlags();
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 {
16577 resultobj = SWIG_From_int((int)(result));
16578 }
16579 return resultobj;
16580 fail:
16581 return NULL;
16582 }
16583
16584
16585 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16586 PyObject *resultobj;
16587 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16588 int arg2 ;
16589 PyObject * obj0 = 0 ;
16590 PyObject * obj1 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self",(char *) "flags", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail;
16598 {
16599 arg2 = (int)(SWIG_As_int(obj1));
16600 if (SWIG_arg_fail(2)) SWIG_fail;
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetFlags(arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16619 wxString *arg2 = 0 ;
16620 bool temp2 = false ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "str", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16629 if (SWIG_arg_fail(1)) SWIG_fail;
16630 {
16631 arg2 = wxString_in_helper(obj1);
16632 if (arg2 == NULL) SWIG_fail;
16633 temp2 = true;
16634 }
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->SetFindString((wxString const &)*arg2);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 {
16644 if (temp2)
16645 delete arg2;
16646 }
16647 return resultobj;
16648 fail:
16649 {
16650 if (temp2)
16651 delete arg2;
16652 }
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16660 wxString *arg2 = 0 ;
16661 bool temp2 = false ;
16662 PyObject * obj0 = 0 ;
16663 PyObject * obj1 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self",(char *) "str", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail;
16671 {
16672 arg2 = wxString_in_helper(obj1);
16673 if (arg2 == NULL) SWIG_fail;
16674 temp2 = true;
16675 }
16676 {
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 (arg1)->SetReplaceString((wxString const &)*arg2);
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 Py_INCREF(Py_None); resultobj = Py_None;
16684 {
16685 if (temp2)
16686 delete arg2;
16687 }
16688 return resultobj;
16689 fail:
16690 {
16691 if (temp2)
16692 delete arg2;
16693 }
16694 return NULL;
16695 }
16696
16697
16698 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16699 PyObject *obj;
16700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16701 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16702 Py_INCREF(obj);
16703 return Py_BuildValue((char *)"");
16704 }
16705 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxWindow *arg1 = (wxWindow *) 0 ;
16708 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16709 wxString *arg3 = 0 ;
16710 int arg4 = (int) 0 ;
16711 wxFindReplaceDialog *result;
16712 bool temp3 = false ;
16713 PyObject * obj0 = 0 ;
16714 PyObject * obj1 = 0 ;
16715 PyObject * obj2 = 0 ;
16716 PyObject * obj3 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16723 if (SWIG_arg_fail(1)) SWIG_fail;
16724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16725 if (SWIG_arg_fail(2)) SWIG_fail;
16726 {
16727 arg3 = wxString_in_helper(obj2);
16728 if (arg3 == NULL) SWIG_fail;
16729 temp3 = true;
16730 }
16731 if (obj3) {
16732 {
16733 arg4 = (int)(SWIG_As_int(obj3));
16734 if (SWIG_arg_fail(4)) SWIG_fail;
16735 }
16736 }
16737 {
16738 if (!wxPyCheckForApp()) SWIG_fail;
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16741
16742 wxPyEndAllowThreads(__tstate);
16743 if (PyErr_Occurred()) SWIG_fail;
16744 }
16745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16746 {
16747 if (temp3)
16748 delete arg3;
16749 }
16750 return resultobj;
16751 fail:
16752 {
16753 if (temp3)
16754 delete arg3;
16755 }
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxFindReplaceDialog *result;
16763 char *kwnames[] = {
16764 NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16768 {
16769 if (!wxPyCheckForApp()) SWIG_fail;
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16777 return resultobj;
16778 fail:
16779 return NULL;
16780 }
16781
16782
16783 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16784 PyObject *resultobj;
16785 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16786 wxWindow *arg2 = (wxWindow *) 0 ;
16787 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16788 wxString *arg4 = 0 ;
16789 int arg5 = (int) 0 ;
16790 bool result;
16791 bool temp4 = false ;
16792 PyObject * obj0 = 0 ;
16793 PyObject * obj1 = 0 ;
16794 PyObject * obj2 = 0 ;
16795 PyObject * obj3 = 0 ;
16796 PyObject * obj4 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16803 if (SWIG_arg_fail(1)) SWIG_fail;
16804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16805 if (SWIG_arg_fail(2)) SWIG_fail;
16806 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16807 if (SWIG_arg_fail(3)) SWIG_fail;
16808 {
16809 arg4 = wxString_in_helper(obj3);
16810 if (arg4 == NULL) SWIG_fail;
16811 temp4 = true;
16812 }
16813 if (obj4) {
16814 {
16815 arg5 = (int)(SWIG_As_int(obj4));
16816 if (SWIG_arg_fail(5)) SWIG_fail;
16817 }
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16828 }
16829 {
16830 if (temp4)
16831 delete arg4;
16832 }
16833 return resultobj;
16834 fail:
16835 {
16836 if (temp4)
16837 delete arg4;
16838 }
16839 return NULL;
16840 }
16841
16842
16843 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16844 PyObject *resultobj;
16845 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16846 wxFindReplaceData *result;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16854 if (SWIG_arg_fail(1)) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (wxFindReplaceData *)(arg1)->GetData();
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16863 return resultobj;
16864 fail:
16865 return NULL;
16866 }
16867
16868
16869 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj;
16871 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16872 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16873 PyObject * obj0 = 0 ;
16874 PyObject * obj1 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "data", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16881 if (SWIG_arg_fail(1)) SWIG_fail;
16882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(2)) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 (arg1)->SetData(arg2);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 Py_INCREF(Py_None); resultobj = Py_None;
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16899 PyObject *obj;
16900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16901 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16902 Py_INCREF(obj);
16903 return Py_BuildValue((char *)"");
16904 }
16905 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxWindow *arg1 = (wxWindow *) 0 ;
16908 int arg2 = (int) (int)-1 ;
16909 wxString const &arg3_defvalue = wxPyEmptyString ;
16910 wxString *arg3 = (wxString *) &arg3_defvalue ;
16911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16913 wxSize const &arg5_defvalue = wxDefaultSize ;
16914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16915 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16916 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16917 wxString *arg7 = (wxString *) &arg7_defvalue ;
16918 wxMDIParentFrame *result;
16919 bool temp3 = false ;
16920 wxPoint temp4 ;
16921 wxSize temp5 ;
16922 bool temp7 = false ;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 PyObject * obj2 = 0 ;
16926 PyObject * obj3 = 0 ;
16927 PyObject * obj4 = 0 ;
16928 PyObject * obj5 = 0 ;
16929 PyObject * obj6 = 0 ;
16930 char *kwnames[] = {
16931 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16932 };
16933
16934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16936 if (SWIG_arg_fail(1)) SWIG_fail;
16937 if (obj1) {
16938 {
16939 arg2 = (int const)(SWIG_As_int(obj1));
16940 if (SWIG_arg_fail(2)) SWIG_fail;
16941 }
16942 }
16943 if (obj2) {
16944 {
16945 arg3 = wxString_in_helper(obj2);
16946 if (arg3 == NULL) SWIG_fail;
16947 temp3 = true;
16948 }
16949 }
16950 if (obj3) {
16951 {
16952 arg4 = &temp4;
16953 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16954 }
16955 }
16956 if (obj4) {
16957 {
16958 arg5 = &temp5;
16959 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16960 }
16961 }
16962 if (obj5) {
16963 {
16964 arg6 = (long)(SWIG_As_long(obj5));
16965 if (SWIG_arg_fail(6)) SWIG_fail;
16966 }
16967 }
16968 if (obj6) {
16969 {
16970 arg7 = wxString_in_helper(obj6);
16971 if (arg7 == NULL) SWIG_fail;
16972 temp7 = true;
16973 }
16974 }
16975 {
16976 if (!wxPyCheckForApp()) SWIG_fail;
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16984 {
16985 if (temp3)
16986 delete arg3;
16987 }
16988 {
16989 if (temp7)
16990 delete arg7;
16991 }
16992 return resultobj;
16993 fail:
16994 {
16995 if (temp3)
16996 delete arg3;
16997 }
16998 {
16999 if (temp7)
17000 delete arg7;
17001 }
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxMDIParentFrame *result;
17009 char *kwnames[] = {
17010 NULL
17011 };
17012
17013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17014 {
17015 if (!wxPyCheckForApp()) SWIG_fail;
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17032 wxWindow *arg2 = (wxWindow *) 0 ;
17033 int arg3 = (int) (int)-1 ;
17034 wxString const &arg4_defvalue = wxPyEmptyString ;
17035 wxString *arg4 = (wxString *) &arg4_defvalue ;
17036 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17037 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17038 wxSize const &arg6_defvalue = wxDefaultSize ;
17039 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17040 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17041 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17042 wxString *arg8 = (wxString *) &arg8_defvalue ;
17043 bool result;
17044 bool temp4 = false ;
17045 wxPoint temp5 ;
17046 wxSize temp6 ;
17047 bool temp8 = false ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
17052 PyObject * obj4 = 0 ;
17053 PyObject * obj5 = 0 ;
17054 PyObject * obj6 = 0 ;
17055 PyObject * obj7 = 0 ;
17056 char *kwnames[] = {
17057 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17058 };
17059
17060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17062 if (SWIG_arg_fail(1)) SWIG_fail;
17063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17064 if (SWIG_arg_fail(2)) SWIG_fail;
17065 if (obj2) {
17066 {
17067 arg3 = (int const)(SWIG_As_int(obj2));
17068 if (SWIG_arg_fail(3)) SWIG_fail;
17069 }
17070 }
17071 if (obj3) {
17072 {
17073 arg4 = wxString_in_helper(obj3);
17074 if (arg4 == NULL) SWIG_fail;
17075 temp4 = true;
17076 }
17077 }
17078 if (obj4) {
17079 {
17080 arg5 = &temp5;
17081 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17082 }
17083 }
17084 if (obj5) {
17085 {
17086 arg6 = &temp6;
17087 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17088 }
17089 }
17090 if (obj6) {
17091 {
17092 arg7 = (long)(SWIG_As_long(obj6));
17093 if (SWIG_arg_fail(7)) SWIG_fail;
17094 }
17095 }
17096 if (obj7) {
17097 {
17098 arg8 = wxString_in_helper(obj7);
17099 if (arg8 == NULL) SWIG_fail;
17100 temp8 = true;
17101 }
17102 }
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17112 }
17113 {
17114 if (temp4)
17115 delete arg4;
17116 }
17117 {
17118 if (temp8)
17119 delete arg8;
17120 }
17121 return resultobj;
17122 fail:
17123 {
17124 if (temp4)
17125 delete arg4;
17126 }
17127 {
17128 if (temp8)
17129 delete arg8;
17130 }
17131 return NULL;
17132 }
17133
17134
17135 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17138 PyObject * obj0 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "self", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17145 if (SWIG_arg_fail(1)) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->ActivateNext();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 Py_INCREF(Py_None); resultobj = Py_None;
17154 return resultobj;
17155 fail:
17156 return NULL;
17157 }
17158
17159
17160 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17163 PyObject * obj0 = 0 ;
17164 char *kwnames[] = {
17165 (char *) "self", NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17170 if (SWIG_arg_fail(1)) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->ActivatePrevious();
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->ArrangeIcons();
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->Cascade();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232 }
17233
17234
17235 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17238 wxMDIChildFrame *result;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail;
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 resultobj = wxPyMake_wxObject(result, 0);
17256 }
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17266 wxMDIClientWindow *result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
17275 {
17276 PyThreadState* __tstate = wxPyBeginAllowThreads();
17277 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17278
17279 wxPyEndAllowThreads(__tstate);
17280 if (PyErr_Occurred()) SWIG_fail;
17281 }
17282 {
17283 resultobj = wxPyMake_wxObject(result, 0);
17284 }
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17294 wxWindow *result;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17302 if (SWIG_arg_fail(1)) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 result = (wxWindow *)(arg1)->GetToolBar();
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 {
17311 resultobj = wxPyMake_wxObject(result, 0);
17312 }
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17322 wxMenu *result;
17323 PyObject * obj0 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
17329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17330 if (SWIG_arg_fail(1)) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 result = (wxMenu *)(arg1)->GetWindowMenu();
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 {
17339 resultobj = wxPyMake_wxObject(result, 0);
17340 }
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17350 wxMenu *arg2 = (wxMenu *) 0 ;
17351 PyObject * obj0 = 0 ;
17352 PyObject * obj1 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "self",(char *) "menu", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
17358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17359 if (SWIG_arg_fail(1)) SWIG_fail;
17360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17361 if (SWIG_arg_fail(2)) SWIG_fail;
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 (arg1)->SetWindowMenu(arg2);
17365
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 Py_INCREF(Py_None); resultobj = Py_None;
17370 return resultobj;
17371 fail:
17372 return NULL;
17373 }
17374
17375
17376 static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17379 wxToolBar *arg2 = (wxToolBar *) 0 ;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "toolbar", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
17387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail;
17389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17390 if (SWIG_arg_fail(2)) SWIG_fail;
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 (arg1)->SetToolBar(arg2);
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 Py_INCREF(Py_None); resultobj = Py_None;
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17408 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17409 PyObject * obj0 = 0 ;
17410 PyObject * obj1 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "orient", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail;
17418 if (obj1) {
17419 {
17420 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17421 if (SWIG_arg_fail(2)) SWIG_fail;
17422 }
17423 }
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 (arg1)->Tile((wxOrientation )arg2);
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 Py_INCREF(Py_None); resultobj = Py_None;
17432 return resultobj;
17433 fail:
17434 return NULL;
17435 }
17436
17437
17438 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17439 PyObject *obj;
17440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17441 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17442 Py_INCREF(obj);
17443 return Py_BuildValue((char *)"");
17444 }
17445 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17448 int arg2 = (int) (int)-1 ;
17449 wxString const &arg3_defvalue = wxPyEmptyString ;
17450 wxString *arg3 = (wxString *) &arg3_defvalue ;
17451 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17452 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17453 wxSize const &arg5_defvalue = wxDefaultSize ;
17454 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17455 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17456 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17457 wxString *arg7 = (wxString *) &arg7_defvalue ;
17458 wxMDIChildFrame *result;
17459 bool temp3 = false ;
17460 wxPoint temp4 ;
17461 wxSize temp5 ;
17462 bool temp7 = false ;
17463 PyObject * obj0 = 0 ;
17464 PyObject * obj1 = 0 ;
17465 PyObject * obj2 = 0 ;
17466 PyObject * obj3 = 0 ;
17467 PyObject * obj4 = 0 ;
17468 PyObject * obj5 = 0 ;
17469 PyObject * obj6 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail;
17477 if (obj1) {
17478 {
17479 arg2 = (int const)(SWIG_As_int(obj1));
17480 if (SWIG_arg_fail(2)) SWIG_fail;
17481 }
17482 }
17483 if (obj2) {
17484 {
17485 arg3 = wxString_in_helper(obj2);
17486 if (arg3 == NULL) SWIG_fail;
17487 temp3 = true;
17488 }
17489 }
17490 if (obj3) {
17491 {
17492 arg4 = &temp4;
17493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17494 }
17495 }
17496 if (obj4) {
17497 {
17498 arg5 = &temp5;
17499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17500 }
17501 }
17502 if (obj5) {
17503 {
17504 arg6 = (long)(SWIG_As_long(obj5));
17505 if (SWIG_arg_fail(6)) SWIG_fail;
17506 }
17507 }
17508 if (obj6) {
17509 {
17510 arg7 = wxString_in_helper(obj6);
17511 if (arg7 == NULL) SWIG_fail;
17512 temp7 = true;
17513 }
17514 }
17515 {
17516 if (!wxPyCheckForApp()) SWIG_fail;
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17519
17520 wxPyEndAllowThreads(__tstate);
17521 if (PyErr_Occurred()) SWIG_fail;
17522 }
17523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17524 {
17525 if (temp3)
17526 delete arg3;
17527 }
17528 {
17529 if (temp7)
17530 delete arg7;
17531 }
17532 return resultobj;
17533 fail:
17534 {
17535 if (temp3)
17536 delete arg3;
17537 }
17538 {
17539 if (temp7)
17540 delete arg7;
17541 }
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxMDIChildFrame *result;
17549 char *kwnames[] = {
17550 NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17554 {
17555 if (!wxPyCheckForApp()) SWIG_fail;
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17563 return resultobj;
17564 fail:
17565 return NULL;
17566 }
17567
17568
17569 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17572 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17573 int arg3 = (int) (int)-1 ;
17574 wxString const &arg4_defvalue = wxPyEmptyString ;
17575 wxString *arg4 = (wxString *) &arg4_defvalue ;
17576 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17577 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17578 wxSize const &arg6_defvalue = wxDefaultSize ;
17579 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17580 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17581 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17582 wxString *arg8 = (wxString *) &arg8_defvalue ;
17583 bool result;
17584 bool temp4 = false ;
17585 wxPoint temp5 ;
17586 wxSize temp6 ;
17587 bool temp8 = false ;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 PyObject * obj3 = 0 ;
17592 PyObject * obj4 = 0 ;
17593 PyObject * obj5 = 0 ;
17594 PyObject * obj6 = 0 ;
17595 PyObject * obj7 = 0 ;
17596 char *kwnames[] = {
17597 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17598 };
17599
17600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17602 if (SWIG_arg_fail(1)) SWIG_fail;
17603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17604 if (SWIG_arg_fail(2)) SWIG_fail;
17605 if (obj2) {
17606 {
17607 arg3 = (int const)(SWIG_As_int(obj2));
17608 if (SWIG_arg_fail(3)) SWIG_fail;
17609 }
17610 }
17611 if (obj3) {
17612 {
17613 arg4 = wxString_in_helper(obj3);
17614 if (arg4 == NULL) SWIG_fail;
17615 temp4 = true;
17616 }
17617 }
17618 if (obj4) {
17619 {
17620 arg5 = &temp5;
17621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17622 }
17623 }
17624 if (obj5) {
17625 {
17626 arg6 = &temp6;
17627 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17628 }
17629 }
17630 if (obj6) {
17631 {
17632 arg7 = (long)(SWIG_As_long(obj6));
17633 if (SWIG_arg_fail(7)) SWIG_fail;
17634 }
17635 }
17636 if (obj7) {
17637 {
17638 arg8 = wxString_in_helper(obj7);
17639 if (arg8 == NULL) SWIG_fail;
17640 temp8 = true;
17641 }
17642 }
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 {
17651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17652 }
17653 {
17654 if (temp4)
17655 delete arg4;
17656 }
17657 {
17658 if (temp8)
17659 delete arg8;
17660 }
17661 return resultobj;
17662 fail:
17663 {
17664 if (temp4)
17665 delete arg4;
17666 }
17667 {
17668 if (temp8)
17669 delete arg8;
17670 }
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17678 PyObject * obj0 = 0 ;
17679 char *kwnames[] = {
17680 (char *) "self", NULL
17681 };
17682
17683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail;
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 (arg1)->Activate();
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 Py_INCREF(Py_None); resultobj = Py_None;
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17703 bool arg2 = (bool) true ;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj1 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "maximize", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17712 if (SWIG_arg_fail(1)) SWIG_fail;
17713 if (obj1) {
17714 {
17715 arg2 = (bool)(SWIG_As_bool(obj1));
17716 if (SWIG_arg_fail(2)) SWIG_fail;
17717 }
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 (arg1)->Maximize(arg2);
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 Py_INCREF(Py_None); resultobj = Py_None;
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17736 PyObject * obj0 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail;
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->Restore();
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755 }
17756
17757
17758 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17759 PyObject *obj;
17760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17761 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17762 Py_INCREF(obj);
17763 return Py_BuildValue((char *)"");
17764 }
17765 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17768 long arg2 = (long) 0 ;
17769 wxMDIClientWindow *result;
17770 PyObject * obj0 = 0 ;
17771 PyObject * obj1 = 0 ;
17772 char *kwnames[] = {
17773 (char *) "parent",(char *) "style", NULL
17774 };
17775
17776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail;
17779 if (obj1) {
17780 {
17781 arg2 = (long)(SWIG_As_long(obj1));
17782 if (SWIG_arg_fail(2)) SWIG_fail;
17783 }
17784 }
17785 {
17786 if (!wxPyCheckForApp()) SWIG_fail;
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxMDIClientWindow *result;
17803 char *kwnames[] = {
17804 NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17808 {
17809 if (!wxPyCheckForApp()) SWIG_fail;
17810 PyThreadState* __tstate = wxPyBeginAllowThreads();
17811 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17812
17813 wxPyEndAllowThreads(__tstate);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17817 return resultobj;
17818 fail:
17819 return NULL;
17820 }
17821
17822
17823 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj;
17825 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17826 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17827 long arg3 = (long) 0 ;
17828 bool result;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 PyObject * obj2 = 0 ;
17832 char *kwnames[] = {
17833 (char *) "self",(char *) "parent",(char *) "style", NULL
17834 };
17835
17836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail;
17839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17840 if (SWIG_arg_fail(2)) SWIG_fail;
17841 if (obj2) {
17842 {
17843 arg3 = (long)(SWIG_As_long(obj2));
17844 if (SWIG_arg_fail(3)) SWIG_fail;
17845 }
17846 }
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (bool)(arg1)->Create(arg2,arg3);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17856 }
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17864 PyObject *obj;
17865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17866 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17867 Py_INCREF(obj);
17868 return Py_BuildValue((char *)"");
17869 }
17870 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxWindow *arg1 = (wxWindow *) 0 ;
17873 int arg2 = (int) (int)-1 ;
17874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17876 wxSize const &arg4_defvalue = wxDefaultSize ;
17877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17878 long arg5 = (long) 0 ;
17879 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17880 wxString *arg6 = (wxString *) &arg6_defvalue ;
17881 wxPyWindow *result;
17882 wxPoint temp3 ;
17883 wxSize temp4 ;
17884 bool temp6 = false ;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 PyObject * obj4 = 0 ;
17890 PyObject * obj5 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
17898 if (obj1) {
17899 {
17900 arg2 = (int const)(SWIG_As_int(obj1));
17901 if (SWIG_arg_fail(2)) SWIG_fail;
17902 }
17903 }
17904 if (obj2) {
17905 {
17906 arg3 = &temp3;
17907 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17908 }
17909 }
17910 if (obj3) {
17911 {
17912 arg4 = &temp4;
17913 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17914 }
17915 }
17916 if (obj4) {
17917 {
17918 arg5 = (long)(SWIG_As_long(obj4));
17919 if (SWIG_arg_fail(5)) SWIG_fail;
17920 }
17921 }
17922 if (obj5) {
17923 {
17924 arg6 = wxString_in_helper(obj5);
17925 if (arg6 == NULL) SWIG_fail;
17926 temp6 = true;
17927 }
17928 }
17929 {
17930 if (!wxPyCheckForApp()) SWIG_fail;
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
17937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17938 {
17939 if (temp6)
17940 delete arg6;
17941 }
17942 return resultobj;
17943 fail:
17944 {
17945 if (temp6)
17946 delete arg6;
17947 }
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxPyWindow *result;
17955 char *kwnames[] = {
17956 NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17960 {
17961 if (!wxPyCheckForApp()) SWIG_fail;
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (wxPyWindow *)new wxPyWindow();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17978 PyObject *arg2 = (PyObject *) 0 ;
17979 PyObject *arg3 = (PyObject *) 0 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "self",(char *) "_class", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
17990 arg2 = obj1;
17991 arg3 = obj2;
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->_setCallbackInfo(arg2,arg3);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003 }
18004
18005
18006 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18009 wxSize *arg2 = 0 ;
18010 wxSize temp2 ;
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 char *kwnames[] = {
18014 (char *) "self",(char *) "size", NULL
18015 };
18016
18017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18019 if (SWIG_arg_fail(1)) SWIG_fail;
18020 {
18021 arg2 = &temp2;
18022 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18023 }
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 (arg1)->SetBestSize((wxSize const &)*arg2);
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 Py_INCREF(Py_None); resultobj = Py_None;
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18041 wxDC *arg2 = (wxDC *) 0 ;
18042 bool result;
18043 PyObject * obj0 = 0 ;
18044 PyObject * obj1 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "self",(char *) "dc", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18051 if (SWIG_arg_fail(1)) SWIG_fail;
18052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18053 if (SWIG_arg_fail(2)) SWIG_fail;
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (bool)(arg1)->DoEraseBackground(arg2);
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 {
18062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18063 }
18064 return resultobj;
18065 fail:
18066 return NULL;
18067 }
18068
18069
18070 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18071 PyObject *resultobj;
18072 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18073 int arg2 ;
18074 int arg3 ;
18075 int arg4 ;
18076 int arg5 ;
18077 PyObject * obj0 = 0 ;
18078 PyObject * obj1 = 0 ;
18079 PyObject * obj2 = 0 ;
18080 PyObject * obj3 = 0 ;
18081 PyObject * obj4 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18088 if (SWIG_arg_fail(1)) SWIG_fail;
18089 {
18090 arg2 = (int)(SWIG_As_int(obj1));
18091 if (SWIG_arg_fail(2)) SWIG_fail;
18092 }
18093 {
18094 arg3 = (int)(SWIG_As_int(obj2));
18095 if (SWIG_arg_fail(3)) SWIG_fail;
18096 }
18097 {
18098 arg4 = (int)(SWIG_As_int(obj3));
18099 if (SWIG_arg_fail(4)) SWIG_fail;
18100 }
18101 {
18102 arg5 = (int)(SWIG_As_int(obj4));
18103 if (SWIG_arg_fail(5)) SWIG_fail;
18104 }
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 Py_INCREF(Py_None); resultobj = Py_None;
18113 return resultobj;
18114 fail:
18115 return NULL;
18116 }
18117
18118
18119 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18120 PyObject *resultobj;
18121 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18122 int arg2 ;
18123 int arg3 ;
18124 int arg4 ;
18125 int arg5 ;
18126 int arg6 = (int) wxSIZE_AUTO ;
18127 PyObject * obj0 = 0 ;
18128 PyObject * obj1 = 0 ;
18129 PyObject * obj2 = 0 ;
18130 PyObject * obj3 = 0 ;
18131 PyObject * obj4 = 0 ;
18132 PyObject * obj5 = 0 ;
18133 char *kwnames[] = {
18134 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18135 };
18136
18137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18139 if (SWIG_arg_fail(1)) SWIG_fail;
18140 {
18141 arg2 = (int)(SWIG_As_int(obj1));
18142 if (SWIG_arg_fail(2)) SWIG_fail;
18143 }
18144 {
18145 arg3 = (int)(SWIG_As_int(obj2));
18146 if (SWIG_arg_fail(3)) SWIG_fail;
18147 }
18148 {
18149 arg4 = (int)(SWIG_As_int(obj3));
18150 if (SWIG_arg_fail(4)) SWIG_fail;
18151 }
18152 {
18153 arg5 = (int)(SWIG_As_int(obj4));
18154 if (SWIG_arg_fail(5)) SWIG_fail;
18155 }
18156 if (obj5) {
18157 {
18158 arg6 = (int)(SWIG_As_int(obj5));
18159 if (SWIG_arg_fail(6)) SWIG_fail;
18160 }
18161 }
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 Py_INCREF(Py_None); resultobj = Py_None;
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 int arg2 ;
18180 int arg3 ;
18181 PyObject * obj0 = 0 ;
18182 PyObject * obj1 = 0 ;
18183 PyObject * obj2 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self",(char *) "width",(char *) "height", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18190 if (SWIG_arg_fail(1)) SWIG_fail;
18191 {
18192 arg2 = (int)(SWIG_As_int(obj1));
18193 if (SWIG_arg_fail(2)) SWIG_fail;
18194 }
18195 {
18196 arg3 = (int)(SWIG_As_int(obj2));
18197 if (SWIG_arg_fail(3)) SWIG_fail;
18198 }
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 (arg1)->base_DoSetClientSize(arg2,arg3);
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 Py_INCREF(Py_None); resultobj = Py_None;
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18216 int arg2 ;
18217 int arg3 ;
18218 PyObject * obj0 = 0 ;
18219 PyObject * obj1 = 0 ;
18220 PyObject * obj2 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self",(char *) "x",(char *) "y", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18227 if (SWIG_arg_fail(1)) SWIG_fail;
18228 {
18229 arg2 = (int)(SWIG_As_int(obj1));
18230 if (SWIG_arg_fail(2)) SWIG_fail;
18231 }
18232 {
18233 arg3 = (int)(SWIG_As_int(obj2));
18234 if (SWIG_arg_fail(3)) SWIG_fail;
18235 }
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18253 int *arg2 = (int *) 0 ;
18254 int *arg3 = (int *) 0 ;
18255 int temp2 ;
18256 int res2 = 0 ;
18257 int temp3 ;
18258 int res3 = 0 ;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self", NULL
18262 };
18263
18264 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18265 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail;
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 Py_INCREF(Py_None); resultobj = Py_None;
18277 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18278 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18279 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18280 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18290 int *arg2 = (int *) 0 ;
18291 int *arg3 = (int *) 0 ;
18292 int temp2 ;
18293 int res2 = 0 ;
18294 int temp3 ;
18295 int res3 = 0 ;
18296 PyObject * obj0 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self", NULL
18299 };
18300
18301 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18302 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18305 if (SWIG_arg_fail(1)) SWIG_fail;
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 Py_INCREF(Py_None); resultobj = Py_None;
18314 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18315 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18316 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18317 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18327 int *arg2 = (int *) 0 ;
18328 int *arg3 = (int *) 0 ;
18329 int temp2 ;
18330 int res2 = 0 ;
18331 int temp3 ;
18332 int res3 = 0 ;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18339 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 Py_INCREF(Py_None); resultobj = Py_None;
18351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18353 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18354 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18364 wxSize result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 {
18381 wxSize * resultptr;
18382 resultptr = new wxSize((wxSize &)(result));
18383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18384 }
18385 return resultobj;
18386 fail:
18387 return NULL;
18388 }
18389
18390
18391 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18394 wxSize result;
18395 PyObject * obj0 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18402 if (SWIG_arg_fail(1)) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 {
18411 wxSize * resultptr;
18412 resultptr = new wxSize((wxSize &)(result));
18413 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18414 }
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->base_InitDialog();
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 return resultobj;
18441 fail:
18442 return NULL;
18443 }
18444
18445
18446 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj;
18448 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18449 bool result;
18450 PyObject * obj0 = 0 ;
18451 char *kwnames[] = {
18452 (char *) "self", NULL
18453 };
18454
18455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18457 if (SWIG_arg_fail(1)) SWIG_fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->base_TransferDataToWindow();
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18467 }
18468 return resultobj;
18469 fail:
18470 return NULL;
18471 }
18472
18473
18474 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18475 PyObject *resultobj;
18476 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18477 bool result;
18478 PyObject * obj0 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18485 if (SWIG_arg_fail(1)) SWIG_fail;
18486 {
18487 PyThreadState* __tstate = wxPyBeginAllowThreads();
18488 result = (bool)(arg1)->base_TransferDataFromWindow();
18489
18490 wxPyEndAllowThreads(__tstate);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 {
18494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18495 }
18496 return resultobj;
18497 fail:
18498 return NULL;
18499 }
18500
18501
18502 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18505 bool result;
18506 PyObject * obj0 = 0 ;
18507 char *kwnames[] = {
18508 (char *) "self", NULL
18509 };
18510
18511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (bool)(arg1)->base_Validate();
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 {
18522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527 }
18528
18529
18530 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18533 bool result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18541 if (SWIG_arg_fail(1)) SWIG_fail;
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 {
18550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18551 }
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18561 bool result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18569 if (SWIG_arg_fail(1)) SWIG_fail;
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 {
18578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18579 }
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18589 wxSize result;
18590 PyObject * obj0 = 0 ;
18591 char *kwnames[] = {
18592 (char *) "self", NULL
18593 };
18594
18595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18597 if (SWIG_arg_fail(1)) SWIG_fail;
18598 {
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18601
18602 wxPyEndAllowThreads(__tstate);
18603 if (PyErr_Occurred()) SWIG_fail;
18604 }
18605 {
18606 wxSize * resultptr;
18607 resultptr = new wxSize((wxSize &)(result));
18608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18609 }
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18619 wxWindow *arg2 = (wxWindow *) 0 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "child", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18628 if (SWIG_arg_fail(1)) SWIG_fail;
18629 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18630 if (SWIG_arg_fail(2)) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->base_AddChild(arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18648 wxWindow *arg2 = (wxWindow *) 0 ;
18649 PyObject * obj0 = 0 ;
18650 PyObject * obj1 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "child", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail;
18658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18659 if (SWIG_arg_fail(2)) SWIG_fail;
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->base_RemoveChild(arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18677 bool result;
18678 PyObject * obj0 = 0 ;
18679 char *kwnames[] = {
18680 (char *) "self", NULL
18681 };
18682
18683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail;
18686 {
18687 PyThreadState* __tstate = wxPyBeginAllowThreads();
18688 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18689
18690 wxPyEndAllowThreads(__tstate);
18691 if (PyErr_Occurred()) SWIG_fail;
18692 }
18693 {
18694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18695 }
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18705 wxVisualAttributes result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18713 if (SWIG_arg_fail(1)) SWIG_fail;
18714 {
18715 PyThreadState* __tstate = wxPyBeginAllowThreads();
18716 result = (arg1)->base_GetDefaultAttributes();
18717
18718 wxPyEndAllowThreads(__tstate);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 {
18722 wxVisualAttributes * resultptr;
18723 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18725 }
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->base_OnInternalIdle();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18758 PyObject *obj;
18759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18760 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18761 Py_INCREF(obj);
18762 return Py_BuildValue((char *)"");
18763 }
18764 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxWindow *arg1 = (wxWindow *) 0 ;
18767 int arg2 = (int) (int)-1 ;
18768 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18769 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18770 wxSize const &arg4_defvalue = wxDefaultSize ;
18771 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18772 long arg5 = (long) 0 ;
18773 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18774 wxString *arg6 = (wxString *) &arg6_defvalue ;
18775 wxPyPanel *result;
18776 wxPoint temp3 ;
18777 wxSize temp4 ;
18778 bool temp6 = false ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj1 = 0 ;
18781 PyObject * obj2 = 0 ;
18782 PyObject * obj3 = 0 ;
18783 PyObject * obj4 = 0 ;
18784 PyObject * obj5 = 0 ;
18785 char *kwnames[] = {
18786 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18787 };
18788
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18791 if (SWIG_arg_fail(1)) SWIG_fail;
18792 if (obj1) {
18793 {
18794 arg2 = (int const)(SWIG_As_int(obj1));
18795 if (SWIG_arg_fail(2)) SWIG_fail;
18796 }
18797 }
18798 if (obj2) {
18799 {
18800 arg3 = &temp3;
18801 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18802 }
18803 }
18804 if (obj3) {
18805 {
18806 arg4 = &temp4;
18807 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18808 }
18809 }
18810 if (obj4) {
18811 {
18812 arg5 = (long)(SWIG_As_long(obj4));
18813 if (SWIG_arg_fail(5)) SWIG_fail;
18814 }
18815 }
18816 if (obj5) {
18817 {
18818 arg6 = wxString_in_helper(obj5);
18819 if (arg6 == NULL) SWIG_fail;
18820 temp6 = true;
18821 }
18822 }
18823 {
18824 if (!wxPyCheckForApp()) SWIG_fail;
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18832 {
18833 if (temp6)
18834 delete arg6;
18835 }
18836 return resultobj;
18837 fail:
18838 {
18839 if (temp6)
18840 delete arg6;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxPyPanel *result;
18849 char *kwnames[] = {
18850 NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18854 {
18855 if (!wxPyCheckForApp()) SWIG_fail;
18856 PyThreadState* __tstate = wxPyBeginAllowThreads();
18857 result = (wxPyPanel *)new wxPyPanel();
18858
18859 wxPyEndAllowThreads(__tstate);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18863 return resultobj;
18864 fail:
18865 return NULL;
18866 }
18867
18868
18869 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18870 PyObject *resultobj;
18871 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18872 PyObject *arg2 = (PyObject *) 0 ;
18873 PyObject *arg3 = (PyObject *) 0 ;
18874 PyObject * obj0 = 0 ;
18875 PyObject * obj1 = 0 ;
18876 PyObject * obj2 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "self",(char *) "_class", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail;
18884 arg2 = obj1;
18885 arg3 = obj2;
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->_setCallbackInfo(arg2,arg3);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 Py_INCREF(Py_None); resultobj = Py_None;
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18903 wxSize *arg2 = 0 ;
18904 wxSize temp2 ;
18905 PyObject * obj0 = 0 ;
18906 PyObject * obj1 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self",(char *) "size", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail;
18914 {
18915 arg2 = &temp2;
18916 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18917 }
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 (arg1)->SetBestSize((wxSize const &)*arg2);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 wxDC *arg2 = (wxDC *) 0 ;
18936 bool result;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "dc", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
18946 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18947 if (SWIG_arg_fail(2)) SWIG_fail;
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (bool)(arg1)->DoEraseBackground(arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 {
18956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18957 }
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18967 int arg2 ;
18968 int arg3 ;
18969 int arg4 ;
18970 int arg5 ;
18971 PyObject * obj0 = 0 ;
18972 PyObject * obj1 = 0 ;
18973 PyObject * obj2 = 0 ;
18974 PyObject * obj3 = 0 ;
18975 PyObject * obj4 = 0 ;
18976 char *kwnames[] = {
18977 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18978 };
18979
18980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail;
18983 {
18984 arg2 = (int)(SWIG_As_int(obj1));
18985 if (SWIG_arg_fail(2)) SWIG_fail;
18986 }
18987 {
18988 arg3 = (int)(SWIG_As_int(obj2));
18989 if (SWIG_arg_fail(3)) SWIG_fail;
18990 }
18991 {
18992 arg4 = (int)(SWIG_As_int(obj3));
18993 if (SWIG_arg_fail(4)) SWIG_fail;
18994 }
18995 {
18996 arg5 = (int)(SWIG_As_int(obj4));
18997 if (SWIG_arg_fail(5)) SWIG_fail;
18998 }
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19016 int arg2 ;
19017 int arg3 ;
19018 int arg4 ;
19019 int arg5 ;
19020 int arg6 = (int) wxSIZE_AUTO ;
19021 PyObject * obj0 = 0 ;
19022 PyObject * obj1 = 0 ;
19023 PyObject * obj2 = 0 ;
19024 PyObject * obj3 = 0 ;
19025 PyObject * obj4 = 0 ;
19026 PyObject * obj5 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail;
19034 {
19035 arg2 = (int)(SWIG_As_int(obj1));
19036 if (SWIG_arg_fail(2)) SWIG_fail;
19037 }
19038 {
19039 arg3 = (int)(SWIG_As_int(obj2));
19040 if (SWIG_arg_fail(3)) SWIG_fail;
19041 }
19042 {
19043 arg4 = (int)(SWIG_As_int(obj3));
19044 if (SWIG_arg_fail(4)) SWIG_fail;
19045 }
19046 {
19047 arg5 = (int)(SWIG_As_int(obj4));
19048 if (SWIG_arg_fail(5)) SWIG_fail;
19049 }
19050 if (obj5) {
19051 {
19052 arg6 = (int)(SWIG_As_int(obj5));
19053 if (SWIG_arg_fail(6)) SWIG_fail;
19054 }
19055 }
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 int arg2 ;
19074 int arg3 ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 PyObject * obj2 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "width",(char *) "height", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 {
19086 arg2 = (int)(SWIG_As_int(obj1));
19087 if (SWIG_arg_fail(2)) SWIG_fail;
19088 }
19089 {
19090 arg3 = (int)(SWIG_As_int(obj2));
19091 if (SWIG_arg_fail(3)) SWIG_fail;
19092 }
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->base_DoSetClientSize(arg2,arg3);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19110 int arg2 ;
19111 int arg3 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 PyObject * obj2 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "x",(char *) "y", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail;
19122 {
19123 arg2 = (int)(SWIG_As_int(obj1));
19124 if (SWIG_arg_fail(2)) SWIG_fail;
19125 }
19126 {
19127 arg3 = (int)(SWIG_As_int(obj2));
19128 if (SWIG_arg_fail(3)) SWIG_fail;
19129 }
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 Py_INCREF(Py_None); resultobj = Py_None;
19138 return resultobj;
19139 fail:
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19147 int *arg2 = (int *) 0 ;
19148 int *arg3 = (int *) 0 ;
19149 int temp2 ;
19150 int res2 = 0 ;
19151 int temp3 ;
19152 int res3 = 0 ;
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
19158 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
19171 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19172 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19173 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19174 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19184 int *arg2 = (int *) 0 ;
19185 int *arg3 = (int *) 0 ;
19186 int temp2 ;
19187 int res2 = 0 ;
19188 int temp3 ;
19189 int res3 = 0 ;
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
19195 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19196 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
19208 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19209 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19210 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19211 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19221 int *arg2 = (int *) 0 ;
19222 int *arg3 = (int *) 0 ;
19223 int temp2 ;
19224 int res2 = 0 ;
19225 int temp3 ;
19226 int res3 = 0 ;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19233 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19236 if (SWIG_arg_fail(1)) SWIG_fail;
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 Py_INCREF(Py_None); resultobj = Py_None;
19245 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19246 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19247 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19248 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19249 return resultobj;
19250 fail:
19251 return NULL;
19252 }
19253
19254
19255 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19258 wxSize result;
19259 PyObject * obj0 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 wxSize * resultptr;
19276 resultptr = new wxSize((wxSize &)(result));
19277 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19278 }
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19288 wxSize result;
19289 PyObject * obj0 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail;
19297 {
19298 PyThreadState* __tstate = wxPyBeginAllowThreads();
19299 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19300
19301 wxPyEndAllowThreads(__tstate);
19302 if (PyErr_Occurred()) SWIG_fail;
19303 }
19304 {
19305 wxSize * resultptr;
19306 resultptr = new wxSize((wxSize &)(result));
19307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19308 }
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19325 if (SWIG_arg_fail(1)) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 (arg1)->base_InitDialog();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 Py_INCREF(Py_None); resultobj = Py_None;
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19343 bool result;
19344 PyObject * obj0 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19351 if (SWIG_arg_fail(1)) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (bool)(arg1)->base_TransferDataToWindow();
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 {
19360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19361 }
19362 return resultobj;
19363 fail:
19364 return NULL;
19365 }
19366
19367
19368 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj;
19370 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19371 bool result;
19372 PyObject * obj0 = 0 ;
19373 char *kwnames[] = {
19374 (char *) "self", NULL
19375 };
19376
19377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19379 if (SWIG_arg_fail(1)) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (bool)(arg1)->base_TransferDataFromWindow();
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 {
19388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19389 }
19390 return resultobj;
19391 fail:
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19399 bool result;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail;
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 result = (bool)(arg1)->base_Validate();
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 {
19416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19417 }
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19427 bool result;
19428 PyObject * obj0 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail;
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 {
19444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19445 }
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19455 bool result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 {
19472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19473 }
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19483 wxSize result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail;
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 {
19500 wxSize * resultptr;
19501 resultptr = new wxSize((wxSize &)(result));
19502 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19503 }
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19513 wxWindow *arg2 = (wxWindow *) 0 ;
19514 PyObject * obj0 = 0 ;
19515 PyObject * obj1 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "child", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19522 if (SWIG_arg_fail(1)) SWIG_fail;
19523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19524 if (SWIG_arg_fail(2)) SWIG_fail;
19525 {
19526 PyThreadState* __tstate = wxPyBeginAllowThreads();
19527 (arg1)->base_AddChild(arg2);
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 Py_INCREF(Py_None); resultobj = Py_None;
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19542 wxWindow *arg2 = (wxWindow *) 0 ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "child", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail;
19552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19553 if (SWIG_arg_fail(2)) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 (arg1)->base_RemoveChild(arg2);
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 Py_INCREF(Py_None); resultobj = Py_None;
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19571 bool result;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 {
19588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19589 }
19590 return resultobj;
19591 fail:
19592 return NULL;
19593 }
19594
19595
19596 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19597 PyObject *resultobj;
19598 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19599 wxVisualAttributes result;
19600 PyObject * obj0 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail;
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 result = (arg1)->base_GetDefaultAttributes();
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 {
19616 wxVisualAttributes * resultptr;
19617 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19619 }
19620 return resultobj;
19621 fail:
19622 return NULL;
19623 }
19624
19625
19626 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19629 PyObject * obj0 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail;
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 (arg1)->base_OnInternalIdle();
19640
19641 wxPyEndAllowThreads(__tstate);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 Py_INCREF(Py_None); resultobj = Py_None;
19645 return resultobj;
19646 fail:
19647 return NULL;
19648 }
19649
19650
19651 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19652 PyObject *obj;
19653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19654 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19655 Py_INCREF(obj);
19656 return Py_BuildValue((char *)"");
19657 }
19658 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxWindow *arg1 = (wxWindow *) 0 ;
19661 int arg2 = (int) (int)-1 ;
19662 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19663 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19664 wxSize const &arg4_defvalue = wxDefaultSize ;
19665 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19666 long arg5 = (long) 0 ;
19667 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19668 wxString *arg6 = (wxString *) &arg6_defvalue ;
19669 wxPyScrolledWindow *result;
19670 wxPoint temp3 ;
19671 wxSize temp4 ;
19672 bool temp6 = false ;
19673 PyObject * obj0 = 0 ;
19674 PyObject * obj1 = 0 ;
19675 PyObject * obj2 = 0 ;
19676 PyObject * obj3 = 0 ;
19677 PyObject * obj4 = 0 ;
19678 PyObject * obj5 = 0 ;
19679 char *kwnames[] = {
19680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19681 };
19682
19683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail;
19686 if (obj1) {
19687 {
19688 arg2 = (int const)(SWIG_As_int(obj1));
19689 if (SWIG_arg_fail(2)) SWIG_fail;
19690 }
19691 }
19692 if (obj2) {
19693 {
19694 arg3 = &temp3;
19695 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19696 }
19697 }
19698 if (obj3) {
19699 {
19700 arg4 = &temp4;
19701 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19702 }
19703 }
19704 if (obj4) {
19705 {
19706 arg5 = (long)(SWIG_As_long(obj4));
19707 if (SWIG_arg_fail(5)) SWIG_fail;
19708 }
19709 }
19710 if (obj5) {
19711 {
19712 arg6 = wxString_in_helper(obj5);
19713 if (arg6 == NULL) SWIG_fail;
19714 temp6 = true;
19715 }
19716 }
19717 {
19718 if (!wxPyCheckForApp()) SWIG_fail;
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19726 {
19727 if (temp6)
19728 delete arg6;
19729 }
19730 return resultobj;
19731 fail:
19732 {
19733 if (temp6)
19734 delete arg6;
19735 }
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxPyScrolledWindow *result;
19743 char *kwnames[] = {
19744 NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19748 {
19749 if (!wxPyCheckForApp()) SWIG_fail;
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19766 PyObject *arg2 = (PyObject *) 0 ;
19767 PyObject *arg3 = (PyObject *) 0 ;
19768 PyObject * obj0 = 0 ;
19769 PyObject * obj1 = 0 ;
19770 PyObject * obj2 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "self",(char *) "_class", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail;
19778 arg2 = obj1;
19779 arg3 = obj2;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 (arg1)->_setCallbackInfo(arg2,arg3);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 Py_INCREF(Py_None); resultobj = Py_None;
19788 return resultobj;
19789 fail:
19790 return NULL;
19791 }
19792
19793
19794 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19795 PyObject *resultobj;
19796 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19797 wxSize *arg2 = 0 ;
19798 wxSize temp2 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self",(char *) "size", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail;
19808 {
19809 arg2 = &temp2;
19810 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19811 }
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->SetBestSize((wxSize const &)*arg2);
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 Py_INCREF(Py_None); resultobj = Py_None;
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19829 wxDC *arg2 = (wxDC *) 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 PyObject * obj1 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "dc", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19839 if (SWIG_arg_fail(1)) SWIG_fail;
19840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19841 if (SWIG_arg_fail(2)) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (bool)(arg1)->DoEraseBackground(arg2);
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19851 }
19852 return resultobj;
19853 fail:
19854 return NULL;
19855 }
19856
19857
19858 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19859 PyObject *resultobj;
19860 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19861 int arg2 ;
19862 int arg3 ;
19863 int arg4 ;
19864 int arg5 ;
19865 PyObject * obj0 = 0 ;
19866 PyObject * obj1 = 0 ;
19867 PyObject * obj2 = 0 ;
19868 PyObject * obj3 = 0 ;
19869 PyObject * obj4 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19876 if (SWIG_arg_fail(1)) SWIG_fail;
19877 {
19878 arg2 = (int)(SWIG_As_int(obj1));
19879 if (SWIG_arg_fail(2)) SWIG_fail;
19880 }
19881 {
19882 arg3 = (int)(SWIG_As_int(obj2));
19883 if (SWIG_arg_fail(3)) SWIG_fail;
19884 }
19885 {
19886 arg4 = (int)(SWIG_As_int(obj3));
19887 if (SWIG_arg_fail(4)) SWIG_fail;
19888 }
19889 {
19890 arg5 = (int)(SWIG_As_int(obj4));
19891 if (SWIG_arg_fail(5)) SWIG_fail;
19892 }
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19896
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 Py_INCREF(Py_None); resultobj = Py_None;
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19910 int arg2 ;
19911 int arg3 ;
19912 int arg4 ;
19913 int arg5 ;
19914 int arg6 = (int) wxSIZE_AUTO ;
19915 PyObject * obj0 = 0 ;
19916 PyObject * obj1 = 0 ;
19917 PyObject * obj2 = 0 ;
19918 PyObject * obj3 = 0 ;
19919 PyObject * obj4 = 0 ;
19920 PyObject * obj5 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail;
19928 {
19929 arg2 = (int)(SWIG_As_int(obj1));
19930 if (SWIG_arg_fail(2)) SWIG_fail;
19931 }
19932 {
19933 arg3 = (int)(SWIG_As_int(obj2));
19934 if (SWIG_arg_fail(3)) SWIG_fail;
19935 }
19936 {
19937 arg4 = (int)(SWIG_As_int(obj3));
19938 if (SWIG_arg_fail(4)) SWIG_fail;
19939 }
19940 {
19941 arg5 = (int)(SWIG_As_int(obj4));
19942 if (SWIG_arg_fail(5)) SWIG_fail;
19943 }
19944 if (obj5) {
19945 {
19946 arg6 = (int)(SWIG_As_int(obj5));
19947 if (SWIG_arg_fail(6)) SWIG_fail;
19948 }
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19967 int arg2 ;
19968 int arg3 ;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 PyObject * obj2 = 0 ;
19972 char *kwnames[] = {
19973 (char *) "self",(char *) "width",(char *) "height", NULL
19974 };
19975
19976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19978 if (SWIG_arg_fail(1)) SWIG_fail;
19979 {
19980 arg2 = (int)(SWIG_As_int(obj1));
19981 if (SWIG_arg_fail(2)) SWIG_fail;
19982 }
19983 {
19984 arg3 = (int)(SWIG_As_int(obj2));
19985 if (SWIG_arg_fail(3)) SWIG_fail;
19986 }
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
19989 (arg1)->base_DoSetClientSize(arg2,arg3);
19990
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 Py_INCREF(Py_None); resultobj = Py_None;
19995 return resultobj;
19996 fail:
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20004 int arg2 ;
20005 int arg3 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 PyObject * obj2 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self",(char *) "x",(char *) "y", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
20014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20015 if (SWIG_arg_fail(1)) SWIG_fail;
20016 {
20017 arg2 = (int)(SWIG_As_int(obj1));
20018 if (SWIG_arg_fail(2)) SWIG_fail;
20019 }
20020 {
20021 arg3 = (int)(SWIG_As_int(obj2));
20022 if (SWIG_arg_fail(3)) SWIG_fail;
20023 }
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 (arg1)->base_DoSetVirtualSize(arg2,arg3);
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 Py_INCREF(Py_None); resultobj = Py_None;
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj;
20040 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20041 int *arg2 = (int *) 0 ;
20042 int *arg3 = (int *) 0 ;
20043 int temp2 ;
20044 int res2 = 0 ;
20045 int temp3 ;
20046 int res3 = 0 ;
20047 PyObject * obj0 = 0 ;
20048 char *kwnames[] = {
20049 (char *) "self", NULL
20050 };
20051
20052 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20053 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
20055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20056 if (SWIG_arg_fail(1)) SWIG_fail;
20057 {
20058 PyThreadState* __tstate = wxPyBeginAllowThreads();
20059 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
20060
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 Py_INCREF(Py_None); resultobj = Py_None;
20065 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20066 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20067 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20068 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj;
20077 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20078 int *arg2 = (int *) 0 ;
20079 int *arg3 = (int *) 0 ;
20080 int temp2 ;
20081 int res2 = 0 ;
20082 int temp3 ;
20083 int res3 = 0 ;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20090 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
20092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20093 if (SWIG_arg_fail(1)) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20103 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20104 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20105 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20106 return resultobj;
20107 fail:
20108 return NULL;
20109 }
20110
20111
20112 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20115 int *arg2 = (int *) 0 ;
20116 int *arg3 = (int *) 0 ;
20117 int temp2 ;
20118 int res2 = 0 ;
20119 int temp3 ;
20120 int res3 = 0 ;
20121 PyObject * obj0 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self", NULL
20124 };
20125
20126 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20127 arg3 = &temp3; res3 = SWIG_NEWOBJ;
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
20129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail;
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 Py_INCREF(Py_None); resultobj = Py_None;
20139 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20140 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20141 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20142 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
20143 return resultobj;
20144 fail:
20145 return NULL;
20146 }
20147
20148
20149 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20150 PyObject *resultobj;
20151 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20152 wxSize result;
20153 PyObject * obj0 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20160 if (SWIG_arg_fail(1)) SWIG_fail;
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 {
20169 wxSize * resultptr;
20170 resultptr = new wxSize((wxSize &)(result));
20171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20172 }
20173 return resultobj;
20174 fail:
20175 return NULL;
20176 }
20177
20178
20179 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20180 PyObject *resultobj;
20181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20182 wxSize result;
20183 PyObject * obj0 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20190 if (SWIG_arg_fail(1)) SWIG_fail;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 {
20199 wxSize * resultptr;
20200 resultptr = new wxSize((wxSize &)(result));
20201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20202 }
20203 return resultobj;
20204 fail:
20205 return NULL;
20206 }
20207
20208
20209 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20219 if (SWIG_arg_fail(1)) SWIG_fail;
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 (arg1)->base_InitDialog();
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
20227 Py_INCREF(Py_None); resultobj = Py_None;
20228 return resultobj;
20229 fail:
20230 return NULL;
20231 }
20232
20233
20234 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20235 PyObject *resultobj;
20236 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20237 bool result;
20238 PyObject * obj0 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (bool)(arg1)->base_TransferDataToWindow();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 {
20254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20255 }
20256 return resultobj;
20257 fail:
20258 return NULL;
20259 }
20260
20261
20262 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20265 bool result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (bool)(arg1)->base_TransferDataFromWindow();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20293 bool result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20301 if (SWIG_arg_fail(1)) SWIG_fail;
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (bool)(arg1)->base_Validate();
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
20309 {
20310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20311 }
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20321 bool result;
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20329 if (SWIG_arg_fail(1)) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 {
20338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20339 }
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20349 bool result;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20357 if (SWIG_arg_fail(1)) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20367 }
20368 return resultobj;
20369 fail:
20370 return NULL;
20371 }
20372
20373
20374 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20375 PyObject *resultobj;
20376 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20377 wxSize result;
20378 PyObject * obj0 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail;
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 {
20394 wxSize * resultptr;
20395 resultptr = new wxSize((wxSize &)(result));
20396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20397 }
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20407 wxWindow *arg2 = (wxWindow *) 0 ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 char *kwnames[] = {
20411 (char *) "self",(char *) "child", NULL
20412 };
20413
20414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20416 if (SWIG_arg_fail(1)) SWIG_fail;
20417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20418 if (SWIG_arg_fail(2)) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->base_AddChild(arg2);
20422
20423 wxPyEndAllowThreads(__tstate);
20424 if (PyErr_Occurred()) SWIG_fail;
20425 }
20426 Py_INCREF(Py_None); resultobj = Py_None;
20427 return resultobj;
20428 fail:
20429 return NULL;
20430 }
20431
20432
20433 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20434 PyObject *resultobj;
20435 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20436 wxWindow *arg2 = (wxWindow *) 0 ;
20437 PyObject * obj0 = 0 ;
20438 PyObject * obj1 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self",(char *) "child", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
20446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20447 if (SWIG_arg_fail(2)) SWIG_fail;
20448 {
20449 PyThreadState* __tstate = wxPyBeginAllowThreads();
20450 (arg1)->base_RemoveChild(arg2);
20451
20452 wxPyEndAllowThreads(__tstate);
20453 if (PyErr_Occurred()) SWIG_fail;
20454 }
20455 Py_INCREF(Py_None); resultobj = Py_None;
20456 return resultobj;
20457 fail:
20458 return NULL;
20459 }
20460
20461
20462 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20463 PyObject *resultobj;
20464 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20465 bool result;
20466 PyObject * obj0 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail;
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20477
20478 wxPyEndAllowThreads(__tstate);
20479 if (PyErr_Occurred()) SWIG_fail;
20480 }
20481 {
20482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20483 }
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20493 wxVisualAttributes result;
20494 PyObject * obj0 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail;
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (arg1)->base_GetDefaultAttributes();
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 {
20510 wxVisualAttributes * resultptr;
20511 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20513 }
20514 return resultobj;
20515 fail:
20516 return NULL;
20517 }
20518
20519
20520 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20521 PyObject *resultobj;
20522 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail;
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 (arg1)->base_OnInternalIdle();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 Py_INCREF(Py_None); resultobj = Py_None;
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20546 PyObject *obj;
20547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20548 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20549 Py_INCREF(obj);
20550 return Py_BuildValue((char *)"");
20551 }
20552 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20553 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20554 return 1;
20555 }
20556
20557
20558 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20559 PyObject *pyobj;
20560
20561 {
20562 #if wxUSE_UNICODE
20563 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20564 #else
20565 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20566 #endif
20567 }
20568 return pyobj;
20569 }
20570
20571
20572 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20573 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20574 return 1;
20575 }
20576
20577
20578 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20579 PyObject *pyobj;
20580
20581 {
20582 #if wxUSE_UNICODE
20583 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20584 #else
20585 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20586 #endif
20587 }
20588 return pyobj;
20589 }
20590
20591
20592 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20593 PyObject *resultobj;
20594 wxPrintData *result;
20595
20596 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 result = (wxPrintData *)new wxPrintData();
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608 }
20609
20610
20611 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20612 PyObject *resultobj;
20613 wxPrintData *arg1 = 0 ;
20614 wxPrintData *result;
20615 PyObject * obj0 = 0 ;
20616
20617 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20618 {
20619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20620 if (SWIG_arg_fail(1)) SWIG_fail;
20621 if (arg1 == NULL) {
20622 SWIG_null_ref("wxPrintData");
20623 }
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20629
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20634 return resultobj;
20635 fail:
20636 return NULL;
20637 }
20638
20639
20640 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20641 int argc;
20642 PyObject *argv[2];
20643 int ii;
20644
20645 argc = PyObject_Length(args);
20646 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20647 argv[ii] = PyTuple_GetItem(args,ii);
20648 }
20649 if (argc == 0) {
20650 return _wrap_new_PrintData__SWIG_0(self,args);
20651 }
20652 if (argc == 1) {
20653 int _v;
20654 {
20655 void *ptr = 0;
20656 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20657 _v = 0;
20658 PyErr_Clear();
20659 } else {
20660 _v = (ptr != 0);
20661 }
20662 }
20663 if (_v) {
20664 return _wrap_new_PrintData__SWIG_1(self,args);
20665 }
20666 }
20667
20668 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxPrintData *arg1 = (wxPrintData *) 0 ;
20676 PyObject * obj0 = 0 ;
20677 char *kwnames[] = {
20678 (char *) "self", NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20683 if (SWIG_arg_fail(1)) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 delete arg1;
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPrintData *arg1 = (wxPrintData *) 0 ;
20701 int result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20709 if (SWIG_arg_fail(1)) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (int)(arg1)->GetNoCopies();
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 {
20718 resultobj = SWIG_From_int((int)(result));
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPrintData *arg1 = (wxPrintData *) 0 ;
20729 bool result;
20730 PyObject * obj0 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail;
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 result = (bool)(arg1)->GetCollate();
20741
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 {
20746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20747 }
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPrintData *arg1 = (wxPrintData *) 0 ;
20757 int result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20765 if (SWIG_arg_fail(1)) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (int)(arg1)->GetOrientation();
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 {
20774 resultobj = SWIG_From_int((int)(result));
20775 }
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20783 PyObject *resultobj;
20784 wxPrintData *arg1 = (wxPrintData *) 0 ;
20785 bool result;
20786 PyObject * obj0 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = (bool)(arg1)->Ok();
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20803 }
20804 return resultobj;
20805 fail:
20806 return NULL;
20807 }
20808
20809
20810 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20811 PyObject *resultobj;
20812 wxPrintData *arg1 = (wxPrintData *) 0 ;
20813 wxString *result;
20814 PyObject * obj0 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 {
20825 wxString const &_result_ref = (arg1)->GetPrinterName();
20826 result = (wxString *) &_result_ref;
20827 }
20828
20829 wxPyEndAllowThreads(__tstate);
20830 if (PyErr_Occurred()) SWIG_fail;
20831 }
20832 {
20833 #if wxUSE_UNICODE
20834 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20835 #else
20836 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20837 #endif
20838 }
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPrintData *arg1 = (wxPrintData *) 0 ;
20848 bool result;
20849 PyObject * obj0 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 result = (bool)(arg1)->GetColour();
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 {
20865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20866 }
20867 return resultobj;
20868 fail:
20869 return NULL;
20870 }
20871
20872
20873 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20874 PyObject *resultobj;
20875 wxPrintData *arg1 = (wxPrintData *) 0 ;
20876 wxDuplexMode result;
20877 PyObject * obj0 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail;
20885 {
20886 PyThreadState* __tstate = wxPyBeginAllowThreads();
20887 result = (wxDuplexMode)(arg1)->GetDuplex();
20888
20889 wxPyEndAllowThreads(__tstate);
20890 if (PyErr_Occurred()) SWIG_fail;
20891 }
20892 resultobj = SWIG_From_int((result));
20893 return resultobj;
20894 fail:
20895 return NULL;
20896 }
20897
20898
20899 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20900 PyObject *resultobj;
20901 wxPrintData *arg1 = (wxPrintData *) 0 ;
20902 wxPaperSize result;
20903 PyObject * obj0 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20910 if (SWIG_arg_fail(1)) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (wxPaperSize)(arg1)->GetPaperId();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_From_int((result));
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPrintData *arg1 = (wxPrintData *) 0 ;
20928 wxSize *result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20936 if (SWIG_arg_fail(1)) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 {
20940 wxSize const &_result_ref = (arg1)->GetPaperSize();
20941 result = (wxSize *) &_result_ref;
20942 }
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20948 return resultobj;
20949 fail:
20950 return NULL;
20951 }
20952
20953
20954 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20955 PyObject *resultobj;
20956 wxPrintData *arg1 = (wxPrintData *) 0 ;
20957 int result;
20958 PyObject * obj0 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail;
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (int)(arg1)->GetQuality();
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 {
20974 resultobj = SWIG_From_int((int)(result));
20975 }
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxPrintData *arg1 = (wxPrintData *) 0 ;
20985 wxPrintBin result;
20986 PyObject * obj0 = 0 ;
20987 char *kwnames[] = {
20988 (char *) "self", NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail;
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = (wxPrintBin)(arg1)->GetBin();
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 resultobj = SWIG_From_int((result));
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 wxPrintData *arg1 = (wxPrintData *) 0 ;
21011 wxPrintMode result;
21012 PyObject * obj0 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
21018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21019 if (SWIG_arg_fail(1)) SWIG_fail;
21020 {
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
21023
21024 wxPyEndAllowThreads(__tstate);
21025 if (PyErr_Occurred()) SWIG_fail;
21026 }
21027 resultobj = SWIG_From_int((result));
21028 return resultobj;
21029 fail:
21030 return NULL;
21031 }
21032
21033
21034 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
21035 PyObject *resultobj;
21036 wxPrintData *arg1 = (wxPrintData *) 0 ;
21037 int arg2 ;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self",(char *) "v", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
21045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21046 if (SWIG_arg_fail(1)) SWIG_fail;
21047 {
21048 arg2 = (int)(SWIG_As_int(obj1));
21049 if (SWIG_arg_fail(2)) SWIG_fail;
21050 }
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 (arg1)->SetNoCopies(arg2);
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 return resultobj;
21060 fail:
21061 return NULL;
21062 }
21063
21064
21065 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj;
21067 wxPrintData *arg1 = (wxPrintData *) 0 ;
21068 bool arg2 ;
21069 PyObject * obj0 = 0 ;
21070 PyObject * obj1 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "self",(char *) "flag", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
21076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21077 if (SWIG_arg_fail(1)) SWIG_fail;
21078 {
21079 arg2 = (bool)(SWIG_As_bool(obj1));
21080 if (SWIG_arg_fail(2)) SWIG_fail;
21081 }
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->SetCollate(arg2);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPrintData *arg1 = (wxPrintData *) 0 ;
21099 int arg2 ;
21100 PyObject * obj0 = 0 ;
21101 PyObject * obj1 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self",(char *) "orient", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
21107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail;
21109 {
21110 arg2 = (int)(SWIG_As_int(obj1));
21111 if (SWIG_arg_fail(2)) SWIG_fail;
21112 }
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 (arg1)->SetOrientation(arg2);
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 Py_INCREF(Py_None); resultobj = Py_None;
21121 return resultobj;
21122 fail:
21123 return NULL;
21124 }
21125
21126
21127 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxPrintData *arg1 = (wxPrintData *) 0 ;
21130 wxString *arg2 = 0 ;
21131 bool temp2 = false ;
21132 PyObject * obj0 = 0 ;
21133 PyObject * obj1 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "name", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
21139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail;
21141 {
21142 arg2 = wxString_in_helper(obj1);
21143 if (arg2 == NULL) SWIG_fail;
21144 temp2 = true;
21145 }
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 (arg1)->SetPrinterName((wxString const &)*arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 Py_INCREF(Py_None); resultobj = Py_None;
21154 {
21155 if (temp2)
21156 delete arg2;
21157 }
21158 return resultobj;
21159 fail:
21160 {
21161 if (temp2)
21162 delete arg2;
21163 }
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxPrintData *arg1 = (wxPrintData *) 0 ;
21171 bool arg2 ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "colour", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21180 if (SWIG_arg_fail(1)) SWIG_fail;
21181 {
21182 arg2 = (bool)(SWIG_As_bool(obj1));
21183 if (SWIG_arg_fail(2)) SWIG_fail;
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->SetColour(arg2);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxPrintData *arg1 = (wxPrintData *) 0 ;
21202 wxDuplexMode arg2 ;
21203 PyObject * obj0 = 0 ;
21204 PyObject * obj1 = 0 ;
21205 char *kwnames[] = {
21206 (char *) "self",(char *) "duplex", NULL
21207 };
21208
21209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21211 if (SWIG_arg_fail(1)) SWIG_fail;
21212 {
21213 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21214 if (SWIG_arg_fail(2)) SWIG_fail;
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 (arg1)->SetDuplex((wxDuplexMode )arg2);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 Py_INCREF(Py_None); resultobj = Py_None;
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPrintData *arg1 = (wxPrintData *) 0 ;
21233 wxPaperSize arg2 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "sizeId", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21242 if (SWIG_arg_fail(1)) SWIG_fail;
21243 {
21244 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21245 if (SWIG_arg_fail(2)) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 (arg1)->SetPaperId((wxPaperSize )arg2);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 Py_INCREF(Py_None); resultobj = Py_None;
21255 return resultobj;
21256 fail:
21257 return NULL;
21258 }
21259
21260
21261 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21262 PyObject *resultobj;
21263 wxPrintData *arg1 = (wxPrintData *) 0 ;
21264 wxSize *arg2 = 0 ;
21265 wxSize temp2 ;
21266 PyObject * obj0 = 0 ;
21267 PyObject * obj1 = 0 ;
21268 char *kwnames[] = {
21269 (char *) "self",(char *) "sz", NULL
21270 };
21271
21272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail;
21275 {
21276 arg2 = &temp2;
21277 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 (arg1)->SetPaperSize((wxSize const &)*arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 Py_INCREF(Py_None); resultobj = Py_None;
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPrintData *arg1 = (wxPrintData *) 0 ;
21296 int arg2 ;
21297 PyObject * obj0 = 0 ;
21298 PyObject * obj1 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "quality", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail;
21306 {
21307 arg2 = (int)(SWIG_As_int(obj1));
21308 if (SWIG_arg_fail(2)) SWIG_fail;
21309 }
21310 {
21311 PyThreadState* __tstate = wxPyBeginAllowThreads();
21312 (arg1)->SetQuality(arg2);
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 Py_INCREF(Py_None); resultobj = Py_None;
21318 return resultobj;
21319 fail:
21320 return NULL;
21321 }
21322
21323
21324 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj;
21326 wxPrintData *arg1 = (wxPrintData *) 0 ;
21327 wxPrintBin arg2 ;
21328 PyObject * obj0 = 0 ;
21329 PyObject * obj1 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "bin", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail;
21337 {
21338 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21339 if (SWIG_arg_fail(2)) SWIG_fail;
21340 }
21341 {
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 (arg1)->SetBin((wxPrintBin )arg2);
21344
21345 wxPyEndAllowThreads(__tstate);
21346 if (PyErr_Occurred()) SWIG_fail;
21347 }
21348 Py_INCREF(Py_None); resultobj = Py_None;
21349 return resultobj;
21350 fail:
21351 return NULL;
21352 }
21353
21354
21355 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxPrintData *arg1 = (wxPrintData *) 0 ;
21358 wxPrintMode arg2 ;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self",(char *) "printMode", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21367 if (SWIG_arg_fail(1)) SWIG_fail;
21368 {
21369 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21370 if (SWIG_arg_fail(2)) SWIG_fail;
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 (arg1)->SetPrintMode((wxPrintMode )arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 Py_INCREF(Py_None); resultobj = Py_None;
21380 return resultobj;
21381 fail:
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 wxPrintData *arg1 = (wxPrintData *) 0 ;
21389 wxString result;
21390 PyObject * obj0 = 0 ;
21391 char *kwnames[] = {
21392 (char *) "self", NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail;
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 result = ((wxPrintData const *)arg1)->GetFilename();
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 {
21406 #if wxUSE_UNICODE
21407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21408 #else
21409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21410 #endif
21411 }
21412 return resultobj;
21413 fail:
21414 return NULL;
21415 }
21416
21417
21418 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPrintData *arg1 = (wxPrintData *) 0 ;
21421 wxString *arg2 = 0 ;
21422 bool temp2 = false ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "filename", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 arg2 = wxString_in_helper(obj1);
21434 if (arg2 == NULL) SWIG_fail;
21435 temp2 = true;
21436 }
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 (arg1)->SetFilename((wxString const &)*arg2);
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 {
21446 if (temp2)
21447 delete arg2;
21448 }
21449 return resultobj;
21450 fail:
21451 {
21452 if (temp2)
21453 delete arg2;
21454 }
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPrintData *arg1 = (wxPrintData *) 0 ;
21462 PyObject *result;
21463 PyObject * obj0 = 0 ;
21464 char *kwnames[] = {
21465 (char *) "self", NULL
21466 };
21467
21468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21470 if (SWIG_arg_fail(1)) SWIG_fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 resultobj = result;
21479 return resultobj;
21480 fail:
21481 return NULL;
21482 }
21483
21484
21485 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21486 PyObject *resultobj;
21487 wxPrintData *arg1 = (wxPrintData *) 0 ;
21488 PyObject *arg2 = (PyObject *) 0 ;
21489 PyObject * obj0 = 0 ;
21490 PyObject * obj1 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "data", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail;
21498 arg2 = obj1;
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 wxPrintData_SetPrivData(arg1,arg2);
21502
21503 wxPyEndAllowThreads(__tstate);
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 Py_INCREF(Py_None); resultobj = Py_None;
21507 return resultobj;
21508 fail:
21509 return NULL;
21510 }
21511
21512
21513 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21514 PyObject *obj;
21515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21516 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21517 Py_INCREF(obj);
21518 return Py_BuildValue((char *)"");
21519 }
21520 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21521 PyObject *resultobj;
21522 wxPageSetupDialogData *result;
21523
21524 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21540 PyObject *resultobj;
21541 wxPageSetupDialogData *arg1 = 0 ;
21542 wxPageSetupDialogData *result;
21543 PyObject * obj0 = 0 ;
21544
21545 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21546 {
21547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21548 if (SWIG_arg_fail(1)) SWIG_fail;
21549 if (arg1 == NULL) {
21550 SWIG_null_ref("wxPageSetupDialogData");
21551 }
21552 if (SWIG_arg_fail(1)) SWIG_fail;
21553 }
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21562 return resultobj;
21563 fail:
21564 return NULL;
21565 }
21566
21567
21568 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21569 PyObject *resultobj;
21570 wxPrintData *arg1 = 0 ;
21571 wxPageSetupDialogData *result;
21572 PyObject * obj0 = 0 ;
21573
21574 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21575 {
21576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail;
21578 if (arg1 == NULL) {
21579 SWIG_null_ref("wxPrintData");
21580 }
21581 if (SWIG_arg_fail(1)) SWIG_fail;
21582 }
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21598 int argc;
21599 PyObject *argv[2];
21600 int ii;
21601
21602 argc = PyObject_Length(args);
21603 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21604 argv[ii] = PyTuple_GetItem(args,ii);
21605 }
21606 if (argc == 0) {
21607 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21608 }
21609 if (argc == 1) {
21610 int _v;
21611 {
21612 void *ptr = 0;
21613 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21614 _v = 0;
21615 PyErr_Clear();
21616 } else {
21617 _v = (ptr != 0);
21618 }
21619 }
21620 if (_v) {
21621 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21622 }
21623 }
21624 if (argc == 1) {
21625 int _v;
21626 {
21627 void *ptr = 0;
21628 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21629 _v = 0;
21630 PyErr_Clear();
21631 } else {
21632 _v = (ptr != 0);
21633 }
21634 }
21635 if (_v) {
21636 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21637 }
21638 }
21639
21640 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21641 return NULL;
21642 }
21643
21644
21645 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21646 PyObject *resultobj;
21647 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21648 PyObject * obj0 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21655 if (SWIG_arg_fail(1)) SWIG_fail;
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 delete arg1;
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 Py_INCREF(Py_None); resultobj = Py_None;
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21673 bool arg2 ;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "flag", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21682 if (SWIG_arg_fail(1)) SWIG_fail;
21683 {
21684 arg2 = (bool)(SWIG_As_bool(obj1));
21685 if (SWIG_arg_fail(2)) SWIG_fail;
21686 }
21687 {
21688 PyThreadState* __tstate = wxPyBeginAllowThreads();
21689 (arg1)->EnableHelp(arg2);
21690
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 Py_INCREF(Py_None); resultobj = Py_None;
21695 return resultobj;
21696 fail:
21697 return NULL;
21698 }
21699
21700
21701 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21702 PyObject *resultobj;
21703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21704 bool arg2 ;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "flag", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21713 if (SWIG_arg_fail(1)) SWIG_fail;
21714 {
21715 arg2 = (bool)(SWIG_As_bool(obj1));
21716 if (SWIG_arg_fail(2)) SWIG_fail;
21717 }
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 (arg1)->EnableMargins(arg2);
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 Py_INCREF(Py_None); resultobj = Py_None;
21726 return resultobj;
21727 fail:
21728 return NULL;
21729 }
21730
21731
21732 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj;
21734 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21735 bool arg2 ;
21736 PyObject * obj0 = 0 ;
21737 PyObject * obj1 = 0 ;
21738 char *kwnames[] = {
21739 (char *) "self",(char *) "flag", NULL
21740 };
21741
21742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail;
21745 {
21746 arg2 = (bool)(SWIG_As_bool(obj1));
21747 if (SWIG_arg_fail(2)) SWIG_fail;
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 (arg1)->EnableOrientation(arg2);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 Py_INCREF(Py_None); resultobj = Py_None;
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21766 bool arg2 ;
21767 PyObject * obj0 = 0 ;
21768 PyObject * obj1 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "flag", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21775 if (SWIG_arg_fail(1)) SWIG_fail;
21776 {
21777 arg2 = (bool)(SWIG_As_bool(obj1));
21778 if (SWIG_arg_fail(2)) SWIG_fail;
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 (arg1)->EnablePaper(arg2);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 Py_INCREF(Py_None); resultobj = Py_None;
21788 return resultobj;
21789 fail:
21790 return NULL;
21791 }
21792
21793
21794 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21797 bool arg2 ;
21798 PyObject * obj0 = 0 ;
21799 PyObject * obj1 = 0 ;
21800 char *kwnames[] = {
21801 (char *) "self",(char *) "flag", NULL
21802 };
21803
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21806 if (SWIG_arg_fail(1)) SWIG_fail;
21807 {
21808 arg2 = (bool)(SWIG_As_bool(obj1));
21809 if (SWIG_arg_fail(2)) SWIG_fail;
21810 }
21811 {
21812 PyThreadState* __tstate = wxPyBeginAllowThreads();
21813 (arg1)->EnablePrinter(arg2);
21814
21815 wxPyEndAllowThreads(__tstate);
21816 if (PyErr_Occurred()) SWIG_fail;
21817 }
21818 Py_INCREF(Py_None); resultobj = Py_None;
21819 return resultobj;
21820 fail:
21821 return NULL;
21822 }
21823
21824
21825 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21826 PyObject *resultobj;
21827 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21828 bool result;
21829 PyObject * obj0 = 0 ;
21830 char *kwnames[] = {
21831 (char *) "self", NULL
21832 };
21833
21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
21835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail;
21837 {
21838 PyThreadState* __tstate = wxPyBeginAllowThreads();
21839 result = (bool)(arg1)->GetDefaultMinMargins();
21840
21841 wxPyEndAllowThreads(__tstate);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 }
21844 {
21845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21846 }
21847 return resultobj;
21848 fail:
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21856 bool result;
21857 PyObject * obj0 = 0 ;
21858 char *kwnames[] = {
21859 (char *) "self", NULL
21860 };
21861
21862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
21863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21864 if (SWIG_arg_fail(1)) SWIG_fail;
21865 {
21866 PyThreadState* __tstate = wxPyBeginAllowThreads();
21867 result = (bool)(arg1)->GetEnableMargins();
21868
21869 wxPyEndAllowThreads(__tstate);
21870 if (PyErr_Occurred()) SWIG_fail;
21871 }
21872 {
21873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21874 }
21875 return resultobj;
21876 fail:
21877 return NULL;
21878 }
21879
21880
21881 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21884 bool result;
21885 PyObject * obj0 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
21891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail;
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 result = (bool)(arg1)->GetEnableOrientation();
21896
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 {
21901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21902 }
21903 return resultobj;
21904 fail:
21905 return NULL;
21906 }
21907
21908
21909 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21912 bool result;
21913 PyObject * obj0 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
21919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21920 if (SWIG_arg_fail(1)) SWIG_fail;
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (bool)(arg1)->GetEnablePaper();
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 {
21929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21930 }
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21940 bool result;
21941 PyObject * obj0 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
21947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (bool)(arg1)->GetEnablePrinter();
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 {
21957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21958 }
21959 return resultobj;
21960 fail:
21961 return NULL;
21962 }
21963
21964
21965 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21968 bool result;
21969 PyObject * obj0 = 0 ;
21970 char *kwnames[] = {
21971 (char *) "self", NULL
21972 };
21973
21974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
21975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21976 if (SWIG_arg_fail(1)) SWIG_fail;
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 result = (bool)(arg1)->GetEnableHelp();
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 {
21985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21996 bool result;
21997 PyObject * obj0 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail;
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
22007 result = (bool)(arg1)->GetDefaultInfo();
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 {
22013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22014 }
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22024 wxPoint result;
22025 PyObject * obj0 = 0 ;
22026 char *kwnames[] = {
22027 (char *) "self", NULL
22028 };
22029
22030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22032 if (SWIG_arg_fail(1)) SWIG_fail;
22033 {
22034 PyThreadState* __tstate = wxPyBeginAllowThreads();
22035 result = (arg1)->GetMarginTopLeft();
22036
22037 wxPyEndAllowThreads(__tstate);
22038 if (PyErr_Occurred()) SWIG_fail;
22039 }
22040 {
22041 wxPoint * resultptr;
22042 resultptr = new wxPoint((wxPoint &)(result));
22043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22044 }
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22054 wxPoint result;
22055 PyObject * obj0 = 0 ;
22056 char *kwnames[] = {
22057 (char *) "self", NULL
22058 };
22059
22060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22062 if (SWIG_arg_fail(1)) SWIG_fail;
22063 {
22064 PyThreadState* __tstate = wxPyBeginAllowThreads();
22065 result = (arg1)->GetMarginBottomRight();
22066
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 {
22071 wxPoint * resultptr;
22072 resultptr = new wxPoint((wxPoint &)(result));
22073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22074 }
22075 return resultobj;
22076 fail:
22077 return NULL;
22078 }
22079
22080
22081 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22084 wxPoint result;
22085 PyObject * obj0 = 0 ;
22086 char *kwnames[] = {
22087 (char *) "self", NULL
22088 };
22089
22090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail;
22093 {
22094 PyThreadState* __tstate = wxPyBeginAllowThreads();
22095 result = (arg1)->GetMinMarginTopLeft();
22096
22097 wxPyEndAllowThreads(__tstate);
22098 if (PyErr_Occurred()) SWIG_fail;
22099 }
22100 {
22101 wxPoint * resultptr;
22102 resultptr = new wxPoint((wxPoint &)(result));
22103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22114 wxPoint result;
22115 PyObject * obj0 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self", NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22122 if (SWIG_arg_fail(1)) SWIG_fail;
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (arg1)->GetMinMarginBottomRight();
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 {
22131 wxPoint * resultptr;
22132 resultptr = new wxPoint((wxPoint &)(result));
22133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22134 }
22135 return resultobj;
22136 fail:
22137 return NULL;
22138 }
22139
22140
22141 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22142 PyObject *resultobj;
22143 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22144 wxPaperSize result;
22145 PyObject * obj0 = 0 ;
22146 char *kwnames[] = {
22147 (char *) "self", NULL
22148 };
22149
22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail;
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 result = (wxPaperSize)(arg1)->GetPaperId();
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 resultobj = SWIG_From_int((result));
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22168 PyObject *resultobj;
22169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22170 wxSize result;
22171 PyObject * obj0 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22178 if (SWIG_arg_fail(1)) SWIG_fail;
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 result = (arg1)->GetPaperSize();
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 {
22187 wxSize * resultptr;
22188 resultptr = new wxSize((wxSize &)(result));
22189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22190 }
22191 return resultobj;
22192 fail:
22193 return NULL;
22194 }
22195
22196
22197 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22198 PyObject *resultobj;
22199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22200 wxPrintData *result;
22201 PyObject * obj0 = 0 ;
22202 char *kwnames[] = {
22203 (char *) "self", NULL
22204 };
22205
22206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22208 if (SWIG_arg_fail(1)) SWIG_fail;
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 {
22212 wxPrintData &_result_ref = (arg1)->GetPrintData();
22213 result = (wxPrintData *) &_result_ref;
22214 }
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22229 bool result;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail;
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = (bool)(arg1)->Ok();
22241
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 {
22246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22247 }
22248 return resultobj;
22249 fail:
22250 return NULL;
22251 }
22252
22253
22254 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj;
22256 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22257 bool arg2 ;
22258 PyObject * obj0 = 0 ;
22259 PyObject * obj1 = 0 ;
22260 char *kwnames[] = {
22261 (char *) "self",(char *) "flag", NULL
22262 };
22263
22264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22266 if (SWIG_arg_fail(1)) SWIG_fail;
22267 {
22268 arg2 = (bool)(SWIG_As_bool(obj1));
22269 if (SWIG_arg_fail(2)) SWIG_fail;
22270 }
22271 {
22272 PyThreadState* __tstate = wxPyBeginAllowThreads();
22273 (arg1)->SetDefaultInfo(arg2);
22274
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 Py_INCREF(Py_None); resultobj = Py_None;
22279 return resultobj;
22280 fail:
22281 return NULL;
22282 }
22283
22284
22285 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22288 bool arg2 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 char *kwnames[] = {
22292 (char *) "self",(char *) "flag", NULL
22293 };
22294
22295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22297 if (SWIG_arg_fail(1)) SWIG_fail;
22298 {
22299 arg2 = (bool)(SWIG_As_bool(obj1));
22300 if (SWIG_arg_fail(2)) SWIG_fail;
22301 }
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 (arg1)->SetDefaultMinMargins(arg2);
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
22309 Py_INCREF(Py_None); resultobj = Py_None;
22310 return resultobj;
22311 fail:
22312 return NULL;
22313 }
22314
22315
22316 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22319 wxPoint *arg2 = 0 ;
22320 wxPoint temp2 ;
22321 PyObject * obj0 = 0 ;
22322 PyObject * obj1 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self",(char *) "pt", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
22332 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22333 }
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 Py_INCREF(Py_None); resultobj = Py_None;
22342 return resultobj;
22343 fail:
22344 return NULL;
22345 }
22346
22347
22348 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22349 PyObject *resultobj;
22350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22351 wxPoint *arg2 = 0 ;
22352 wxPoint temp2 ;
22353 PyObject * obj0 = 0 ;
22354 PyObject * obj1 = 0 ;
22355 char *kwnames[] = {
22356 (char *) "self",(char *) "pt", NULL
22357 };
22358
22359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail;
22362 {
22363 arg2 = &temp2;
22364 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22365 }
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 Py_INCREF(Py_None); resultobj = Py_None;
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22383 wxPoint *arg2 = 0 ;
22384 wxPoint temp2 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "pt", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail;
22394 {
22395 arg2 = &temp2;
22396 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22397 }
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 Py_INCREF(Py_None); resultobj = Py_None;
22406 return resultobj;
22407 fail:
22408 return NULL;
22409 }
22410
22411
22412 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22413 PyObject *resultobj;
22414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22415 wxPoint *arg2 = 0 ;
22416 wxPoint temp2 ;
22417 PyObject * obj0 = 0 ;
22418 PyObject * obj1 = 0 ;
22419 char *kwnames[] = {
22420 (char *) "self",(char *) "pt", NULL
22421 };
22422
22423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail;
22426 {
22427 arg2 = &temp2;
22428 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 Py_INCREF(Py_None); resultobj = Py_None;
22438 return resultobj;
22439 fail:
22440 return NULL;
22441 }
22442
22443
22444 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22445 PyObject *resultobj;
22446 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22447 wxPaperSize arg2 ;
22448 PyObject * obj0 = 0 ;
22449 PyObject * obj1 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self",(char *) "id", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail;
22457 {
22458 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22459 if (SWIG_arg_fail(2)) SWIG_fail;
22460 }
22461 {
22462 PyThreadState* __tstate = wxPyBeginAllowThreads();
22463 (arg1)->SetPaperId((wxPaperSize )arg2);
22464
22465 wxPyEndAllowThreads(__tstate);
22466 if (PyErr_Occurred()) SWIG_fail;
22467 }
22468 Py_INCREF(Py_None); resultobj = Py_None;
22469 return resultobj;
22470 fail:
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22478 wxSize *arg2 = 0 ;
22479 wxSize temp2 ;
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self",(char *) "size", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail;
22489 {
22490 arg2 = &temp2;
22491 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22492 }
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 (arg1)->SetPaperSize((wxSize const &)*arg2);
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 Py_INCREF(Py_None); resultobj = Py_None;
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22510 wxPrintData *arg2 = 0 ;
22511 PyObject * obj0 = 0 ;
22512 PyObject * obj1 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self",(char *) "printData", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22519 if (SWIG_arg_fail(1)) SWIG_fail;
22520 {
22521 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22522 if (SWIG_arg_fail(2)) SWIG_fail;
22523 if (arg2 == NULL) {
22524 SWIG_null_ref("wxPrintData");
22525 }
22526 if (SWIG_arg_fail(2)) SWIG_fail;
22527 }
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 Py_INCREF(Py_None); resultobj = Py_None;
22536 return resultobj;
22537 fail:
22538 return NULL;
22539 }
22540
22541
22542 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj;
22544 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22545 PyObject * obj0 = 0 ;
22546 char *kwnames[] = {
22547 (char *) "self", NULL
22548 };
22549
22550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail;
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 (arg1)->CalculateIdFromPaperSize();
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 Py_INCREF(Py_None); resultobj = Py_None;
22561 return resultobj;
22562 fail:
22563 return NULL;
22564 }
22565
22566
22567 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj;
22569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22570 PyObject * obj0 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22577 if (SWIG_arg_fail(1)) SWIG_fail;
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 (arg1)->CalculatePaperSizeFromId();
22581
22582 wxPyEndAllowThreads(__tstate);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 Py_INCREF(Py_None); resultobj = Py_None;
22586 return resultobj;
22587 fail:
22588 return NULL;
22589 }
22590
22591
22592 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22593 PyObject *obj;
22594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22595 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22596 Py_INCREF(obj);
22597 return Py_BuildValue((char *)"");
22598 }
22599 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxWindow *arg1 = (wxWindow *) 0 ;
22602 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22603 wxPageSetupDialog *result;
22604 PyObject * obj0 = 0 ;
22605 PyObject * obj1 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "parent",(char *) "data", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail;
22613 if (obj1) {
22614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22615 if (SWIG_arg_fail(2)) SWIG_fail;
22616 }
22617 {
22618 if (!wxPyCheckForApp()) SWIG_fail;
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22626 return resultobj;
22627 fail:
22628 return NULL;
22629 }
22630
22631
22632 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22635 wxPageSetupDialogData *result;
22636 PyObject * obj0 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22643 if (SWIG_arg_fail(1)) SWIG_fail;
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 {
22647 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22648 result = (wxPageSetupDialogData *) &_result_ref;
22649 }
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22664 wxPageSetupDialogData *result;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22672 if (SWIG_arg_fail(1)) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 {
22676 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22677 result = (wxPageSetupDialogData *) &_result_ref;
22678 }
22679
22680 wxPyEndAllowThreads(__tstate);
22681 if (PyErr_Occurred()) SWIG_fail;
22682 }
22683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22693 int result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22701 if (SWIG_arg_fail(1)) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = (int)(arg1)->ShowModal();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 resultobj = SWIG_From_int((int)(result));
22711 }
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22719 PyObject *obj;
22720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22721 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22722 Py_INCREF(obj);
22723 return Py_BuildValue((char *)"");
22724 }
22725 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22726 PyObject *resultobj;
22727 wxPrintDialogData *result;
22728
22729 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = (wxPrintDialogData *)new wxPrintDialogData();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22738 return resultobj;
22739 fail:
22740 return NULL;
22741 }
22742
22743
22744 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22745 PyObject *resultobj;
22746 wxPrintData *arg1 = 0 ;
22747 wxPrintDialogData *result;
22748 PyObject * obj0 = 0 ;
22749
22750 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22751 {
22752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22753 if (SWIG_arg_fail(1)) SWIG_fail;
22754 if (arg1 == NULL) {
22755 SWIG_null_ref("wxPrintData");
22756 }
22757 if (SWIG_arg_fail(1)) SWIG_fail;
22758 }
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22762
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22767 return resultobj;
22768 fail:
22769 return NULL;
22770 }
22771
22772
22773 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22774 PyObject *resultobj;
22775 wxPrintDialogData *arg1 = 0 ;
22776 wxPrintDialogData *result;
22777 PyObject * obj0 = 0 ;
22778
22779 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22780 {
22781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22782 if (SWIG_arg_fail(1)) SWIG_fail;
22783 if (arg1 == NULL) {
22784 SWIG_null_ref("wxPrintDialogData");
22785 }
22786 if (SWIG_arg_fail(1)) SWIG_fail;
22787 }
22788 {
22789 PyThreadState* __tstate = wxPyBeginAllowThreads();
22790 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22791
22792 wxPyEndAllowThreads(__tstate);
22793 if (PyErr_Occurred()) SWIG_fail;
22794 }
22795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22796 return resultobj;
22797 fail:
22798 return NULL;
22799 }
22800
22801
22802 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22803 int argc;
22804 PyObject *argv[2];
22805 int ii;
22806
22807 argc = PyObject_Length(args);
22808 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22809 argv[ii] = PyTuple_GetItem(args,ii);
22810 }
22811 if (argc == 0) {
22812 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22813 }
22814 if (argc == 1) {
22815 int _v;
22816 {
22817 void *ptr = 0;
22818 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22819 _v = 0;
22820 PyErr_Clear();
22821 } else {
22822 _v = (ptr != 0);
22823 }
22824 }
22825 if (_v) {
22826 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22827 }
22828 }
22829 if (argc == 1) {
22830 int _v;
22831 {
22832 void *ptr = 0;
22833 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
22834 _v = 0;
22835 PyErr_Clear();
22836 } else {
22837 _v = (ptr != 0);
22838 }
22839 }
22840 if (_v) {
22841 return _wrap_new_PrintDialogData__SWIG_2(self,args);
22842 }
22843 }
22844
22845 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
22846 return NULL;
22847 }
22848
22849
22850 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22851 PyObject *resultobj;
22852 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
22859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22860 if (SWIG_arg_fail(1)) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 delete arg1;
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22878 int result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 {
22895 resultobj = SWIG_From_int((int)(result));
22896 }
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj;
22905 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22906 int result;
22907 PyObject * obj0 = 0 ;
22908 char *kwnames[] = {
22909 (char *) "self", NULL
22910 };
22911
22912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
22913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail;
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 {
22923 resultobj = SWIG_From_int((int)(result));
22924 }
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22934 int result;
22935 PyObject * obj0 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
22941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22942 if (SWIG_arg_fail(1)) SWIG_fail;
22943 {
22944 PyThreadState* __tstate = wxPyBeginAllowThreads();
22945 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
22946
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 {
22951 resultobj = SWIG_From_int((int)(result));
22952 }
22953 return resultobj;
22954 fail:
22955 return NULL;
22956 }
22957
22958
22959 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
22960 PyObject *resultobj;
22961 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22962 int result;
22963 PyObject * obj0 = 0 ;
22964 char *kwnames[] = {
22965 (char *) "self", NULL
22966 };
22967
22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
22969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22970 if (SWIG_arg_fail(1)) SWIG_fail;
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
22974
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 {
22979 resultobj = SWIG_From_int((int)(result));
22980 }
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22990 int result;
22991 PyObject * obj0 = 0 ;
22992 char *kwnames[] = {
22993 (char *) "self", NULL
22994 };
22995
22996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
22997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22998 if (SWIG_arg_fail(1)) SWIG_fail;
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 {
23007 resultobj = SWIG_From_int((int)(result));
23008 }
23009 return resultobj;
23010 fail:
23011 return NULL;
23012 }
23013
23014
23015 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23016 PyObject *resultobj;
23017 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23018 bool result;
23019 PyObject * obj0 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail;
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 {
23035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23036 }
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23046 bool result;
23047 PyObject * obj0 = 0 ;
23048 char *kwnames[] = {
23049 (char *) "self", NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23054 if (SWIG_arg_fail(1)) SWIG_fail;
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 {
23063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23064 }
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23074 bool result;
23075 PyObject * obj0 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail;
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23086
23087 wxPyEndAllowThreads(__tstate);
23088 if (PyErr_Occurred()) SWIG_fail;
23089 }
23090 {
23091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23092 }
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23102 bool result;
23103 PyObject * obj0 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23110 if (SWIG_arg_fail(1)) SWIG_fail;
23111 {
23112 PyThreadState* __tstate = wxPyBeginAllowThreads();
23113 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23114
23115 wxPyEndAllowThreads(__tstate);
23116 if (PyErr_Occurred()) SWIG_fail;
23117 }
23118 {
23119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23120 }
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23130 int arg2 ;
23131 PyObject * obj0 = 0 ;
23132 PyObject * obj1 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "self",(char *) "v", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail;
23140 {
23141 arg2 = (int)(SWIG_As_int(obj1));
23142 if (SWIG_arg_fail(2)) SWIG_fail;
23143 }
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 (arg1)->SetFromPage(arg2);
23147
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 Py_INCREF(Py_None); resultobj = Py_None;
23152 return resultobj;
23153 fail:
23154 return NULL;
23155 }
23156
23157
23158 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23159 PyObject *resultobj;
23160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23161 int arg2 ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self",(char *) "v", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail;
23171 {
23172 arg2 = (int)(SWIG_As_int(obj1));
23173 if (SWIG_arg_fail(2)) SWIG_fail;
23174 }
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 (arg1)->SetToPage(arg2);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 Py_INCREF(Py_None); resultobj = Py_None;
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23190 PyObject *resultobj;
23191 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23192 int arg2 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "v", NULL
23197 };
23198
23199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail;
23202 {
23203 arg2 = (int)(SWIG_As_int(obj1));
23204 if (SWIG_arg_fail(2)) SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 (arg1)->SetMinPage(arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 Py_INCREF(Py_None); resultobj = Py_None;
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23223 int arg2 ;
23224 PyObject * obj0 = 0 ;
23225 PyObject * obj1 = 0 ;
23226 char *kwnames[] = {
23227 (char *) "self",(char *) "v", NULL
23228 };
23229
23230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail;
23233 {
23234 arg2 = (int)(SWIG_As_int(obj1));
23235 if (SWIG_arg_fail(2)) SWIG_fail;
23236 }
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 (arg1)->SetMaxPage(arg2);
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 Py_INCREF(Py_None); resultobj = Py_None;
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23252 PyObject *resultobj;
23253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23254 int arg2 ;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "v", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail;
23264 {
23265 arg2 = (int)(SWIG_As_int(obj1));
23266 if (SWIG_arg_fail(2)) SWIG_fail;
23267 }
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->SetNoCopies(arg2);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 Py_INCREF(Py_None); resultobj = Py_None;
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23285 bool arg2 ;
23286 PyObject * obj0 = 0 ;
23287 PyObject * obj1 = 0 ;
23288 char *kwnames[] = {
23289 (char *) "self",(char *) "flag", NULL
23290 };
23291
23292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23294 if (SWIG_arg_fail(1)) SWIG_fail;
23295 {
23296 arg2 = (bool)(SWIG_As_bool(obj1));
23297 if (SWIG_arg_fail(2)) SWIG_fail;
23298 }
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 (arg1)->SetAllPages(arg2);
23302
23303 wxPyEndAllowThreads(__tstate);
23304 if (PyErr_Occurred()) SWIG_fail;
23305 }
23306 Py_INCREF(Py_None); resultobj = Py_None;
23307 return resultobj;
23308 fail:
23309 return NULL;
23310 }
23311
23312
23313 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj;
23315 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23316 bool arg2 ;
23317 PyObject * obj0 = 0 ;
23318 PyObject * obj1 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self",(char *) "flag", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
23326 {
23327 arg2 = (bool)(SWIG_As_bool(obj1));
23328 if (SWIG_arg_fail(2)) SWIG_fail;
23329 }
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 (arg1)->SetSelection(arg2);
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
23338 return resultobj;
23339 fail:
23340 return NULL;
23341 }
23342
23343
23344 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23345 PyObject *resultobj;
23346 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23347 bool arg2 ;
23348 PyObject * obj0 = 0 ;
23349 PyObject * obj1 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self",(char *) "flag", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail;
23357 {
23358 arg2 = (bool)(SWIG_As_bool(obj1));
23359 if (SWIG_arg_fail(2)) SWIG_fail;
23360 }
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 (arg1)->SetCollate(arg2);
23364
23365 wxPyEndAllowThreads(__tstate);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 }
23368 Py_INCREF(Py_None); resultobj = Py_None;
23369 return resultobj;
23370 fail:
23371 return NULL;
23372 }
23373
23374
23375 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23376 PyObject *resultobj;
23377 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23378 bool arg2 ;
23379 PyObject * obj0 = 0 ;
23380 PyObject * obj1 = 0 ;
23381 char *kwnames[] = {
23382 (char *) "self",(char *) "flag", NULL
23383 };
23384
23385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23387 if (SWIG_arg_fail(1)) SWIG_fail;
23388 {
23389 arg2 = (bool)(SWIG_As_bool(obj1));
23390 if (SWIG_arg_fail(2)) SWIG_fail;
23391 }
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 (arg1)->SetPrintToFile(arg2);
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 Py_INCREF(Py_None); resultobj = Py_None;
23400 return resultobj;
23401 fail:
23402 return NULL;
23403 }
23404
23405
23406 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23407 PyObject *resultobj;
23408 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23409 bool arg2 ;
23410 PyObject * obj0 = 0 ;
23411 PyObject * obj1 = 0 ;
23412 char *kwnames[] = {
23413 (char *) "self",(char *) "flag", NULL
23414 };
23415
23416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23418 if (SWIG_arg_fail(1)) SWIG_fail;
23419 {
23420 arg2 = (bool)(SWIG_As_bool(obj1));
23421 if (SWIG_arg_fail(2)) SWIG_fail;
23422 }
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 (arg1)->EnablePrintToFile(arg2);
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 Py_INCREF(Py_None); resultobj = Py_None;
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23440 bool arg2 ;
23441 PyObject * obj0 = 0 ;
23442 PyObject * obj1 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self",(char *) "flag", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail;
23450 {
23451 arg2 = (bool)(SWIG_As_bool(obj1));
23452 if (SWIG_arg_fail(2)) SWIG_fail;
23453 }
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 (arg1)->EnableSelection(arg2);
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 Py_INCREF(Py_None); resultobj = Py_None;
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23471 bool arg2 ;
23472 PyObject * obj0 = 0 ;
23473 PyObject * obj1 = 0 ;
23474 char *kwnames[] = {
23475 (char *) "self",(char *) "flag", NULL
23476 };
23477
23478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23480 if (SWIG_arg_fail(1)) SWIG_fail;
23481 {
23482 arg2 = (bool)(SWIG_As_bool(obj1));
23483 if (SWIG_arg_fail(2)) SWIG_fail;
23484 }
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 (arg1)->EnablePageNumbers(arg2);
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
23492 Py_INCREF(Py_None); resultobj = Py_None;
23493 return resultobj;
23494 fail:
23495 return NULL;
23496 }
23497
23498
23499 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23500 PyObject *resultobj;
23501 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23502 bool arg2 ;
23503 PyObject * obj0 = 0 ;
23504 PyObject * obj1 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self",(char *) "flag", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23511 if (SWIG_arg_fail(1)) SWIG_fail;
23512 {
23513 arg2 = (bool)(SWIG_As_bool(obj1));
23514 if (SWIG_arg_fail(2)) SWIG_fail;
23515 }
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 (arg1)->EnableHelp(arg2);
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 Py_INCREF(Py_None); resultobj = Py_None;
23524 return resultobj;
23525 fail:
23526 return NULL;
23527 }
23528
23529
23530 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23531 PyObject *resultobj;
23532 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23533 bool result;
23534 PyObject * obj0 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 {
23550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23551 }
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23561 bool result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail;
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23579 }
23580 return resultobj;
23581 fail:
23582 return NULL;
23583 }
23584
23585
23586 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23587 PyObject *resultobj;
23588 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23589 bool result;
23590 PyObject * obj0 = 0 ;
23591 char *kwnames[] = {
23592 (char *) "self", NULL
23593 };
23594
23595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23597 if (SWIG_arg_fail(1)) SWIG_fail;
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 {
23606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23617 bool result;
23618 PyObject * obj0 = 0 ;
23619 char *kwnames[] = {
23620 (char *) "self", NULL
23621 };
23622
23623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail;
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23629
23630 wxPyEndAllowThreads(__tstate);
23631 if (PyErr_Occurred()) SWIG_fail;
23632 }
23633 {
23634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23635 }
23636 return resultobj;
23637 fail:
23638 return NULL;
23639 }
23640
23641
23642 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23643 PyObject *resultobj;
23644 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23645 bool result;
23646 PyObject * obj0 = 0 ;
23647 char *kwnames[] = {
23648 (char *) "self", NULL
23649 };
23650
23651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23653 if (SWIG_arg_fail(1)) SWIG_fail;
23654 {
23655 PyThreadState* __tstate = wxPyBeginAllowThreads();
23656 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23657
23658 wxPyEndAllowThreads(__tstate);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 {
23662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23663 }
23664 return resultobj;
23665 fail:
23666 return NULL;
23667 }
23668
23669
23670 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23671 PyObject *resultobj;
23672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23673 wxPrintData *result;
23674 PyObject * obj0 = 0 ;
23675 char *kwnames[] = {
23676 (char *) "self", NULL
23677 };
23678
23679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23681 if (SWIG_arg_fail(1)) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 {
23685 wxPrintData &_result_ref = (arg1)->GetPrintData();
23686 result = (wxPrintData *) &_result_ref;
23687 }
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23702 wxPrintData *arg2 = 0 ;
23703 PyObject * obj0 = 0 ;
23704 PyObject * obj1 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "self",(char *) "printData", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23711 if (SWIG_arg_fail(1)) SWIG_fail;
23712 {
23713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23714 if (SWIG_arg_fail(2)) SWIG_fail;
23715 if (arg2 == NULL) {
23716 SWIG_null_ref("wxPrintData");
23717 }
23718 if (SWIG_arg_fail(2)) SWIG_fail;
23719 }
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 Py_INCREF(Py_None); resultobj = Py_None;
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23735 PyObject *obj;
23736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23737 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23738 Py_INCREF(obj);
23739 return Py_BuildValue((char *)"");
23740 }
23741 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23742 PyObject *resultobj;
23743 wxWindow *arg1 = (wxWindow *) 0 ;
23744 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23745 wxPrintDialog *result;
23746 PyObject * obj0 = 0 ;
23747 PyObject * obj1 = 0 ;
23748 char *kwnames[] = {
23749 (char *) "parent",(char *) "data", NULL
23750 };
23751
23752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23754 if (SWIG_arg_fail(1)) SWIG_fail;
23755 if (obj1) {
23756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23757 if (SWIG_arg_fail(2)) SWIG_fail;
23758 }
23759 {
23760 if (!wxPyCheckForApp()) SWIG_fail;
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23777 int result;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (int)(arg1)->ShowModal();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = SWIG_From_int((int)(result));
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23805 wxPrintDialogData *result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 {
23817 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23818 result = (wxPrintDialogData *) &_result_ref;
23819 }
23820
23821 wxPyEndAllowThreads(__tstate);
23822 if (PyErr_Occurred()) SWIG_fail;
23823 }
23824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23825 return resultobj;
23826 fail:
23827 return NULL;
23828 }
23829
23830
23831 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23832 PyObject *resultobj;
23833 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23834 wxPrintData *result;
23835 PyObject * obj0 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
23841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail;
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 {
23846 wxPrintData &_result_ref = (arg1)->GetPrintData();
23847 result = (wxPrintData *) &_result_ref;
23848 }
23849
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj;
23862 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23863 wxDC *result;
23864 PyObject * obj0 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
23870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 result = (wxDC *)(arg1)->GetPrintDC();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 {
23880 resultobj = wxPyMake_wxObject(result, 1);
23881 }
23882 return resultobj;
23883 fail:
23884 return NULL;
23885 }
23886
23887
23888 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
23889 PyObject *obj;
23890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23891 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23892 Py_INCREF(obj);
23893 return Py_BuildValue((char *)"");
23894 }
23895 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23896 PyObject *resultobj;
23897 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23898 wxPrinter *result;
23899 PyObject * obj0 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "data", NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23905 if (obj0) {
23906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23907 if (SWIG_arg_fail(1)) SWIG_fail;
23908 }
23909 {
23910 if (!wxPyCheckForApp()) SWIG_fail;
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (wxPrinter *)new wxPrinter(arg1);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23918 return resultobj;
23919 fail:
23920 return NULL;
23921 }
23922
23923
23924 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
23925 PyObject *resultobj;
23926 wxPrinter *arg1 = (wxPrinter *) 0 ;
23927 PyObject * obj0 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "self", NULL
23930 };
23931
23932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
23933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23934 if (SWIG_arg_fail(1)) SWIG_fail;
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 delete arg1;
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 Py_INCREF(Py_None); resultobj = Py_None;
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxPrinter *arg1 = (wxPrinter *) 0 ;
23952 wxWindow *arg2 = (wxWindow *) 0 ;
23953 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
23954 wxWindow *result;
23955 PyObject * obj0 = 0 ;
23956 PyObject * obj1 = 0 ;
23957 PyObject * obj2 = 0 ;
23958 char *kwnames[] = {
23959 (char *) "self",(char *) "parent",(char *) "printout", NULL
23960 };
23961
23962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
23963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23964 if (SWIG_arg_fail(1)) SWIG_fail;
23965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(2)) SWIG_fail;
23967 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
23968 if (SWIG_arg_fail(3)) SWIG_fail;
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
23972
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 {
23977 resultobj = wxPyMake_wxObject(result, 0);
23978 }
23979 return resultobj;
23980 fail:
23981 return NULL;
23982 }
23983
23984
23985 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj;
23987 wxPrinter *arg1 = (wxPrinter *) 0 ;
23988 wxWindow *arg2 = (wxWindow *) 0 ;
23989 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
23990 wxString *arg4 = 0 ;
23991 bool temp4 = false ;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 PyObject * obj2 = 0 ;
23995 PyObject * obj3 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
23998 };
23999
24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24002 if (SWIG_arg_fail(1)) SWIG_fail;
24003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(2)) SWIG_fail;
24005 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24006 if (SWIG_arg_fail(3)) SWIG_fail;
24007 {
24008 arg4 = wxString_in_helper(obj3);
24009 if (arg4 == NULL) SWIG_fail;
24010 temp4 = true;
24011 }
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 Py_INCREF(Py_None); resultobj = Py_None;
24020 {
24021 if (temp4)
24022 delete arg4;
24023 }
24024 return resultobj;
24025 fail:
24026 {
24027 if (temp4)
24028 delete arg4;
24029 }
24030 return NULL;
24031 }
24032
24033
24034 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxPrinter *arg1 = (wxPrinter *) 0 ;
24037 wxWindow *arg2 = (wxWindow *) 0 ;
24038 bool result;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj1 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "parent", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail;
24048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24049 if (SWIG_arg_fail(2)) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = (bool)(arg1)->Setup(arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 {
24058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24059 }
24060 return resultobj;
24061 fail:
24062 return NULL;
24063 }
24064
24065
24066 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxPrinter *arg1 = (wxPrinter *) 0 ;
24069 wxWindow *arg2 = (wxWindow *) 0 ;
24070 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24071 bool arg4 = (bool) true ;
24072 bool result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 PyObject * obj2 = 0 ;
24076 PyObject * obj3 = 0 ;
24077 char *kwnames[] = {
24078 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24079 };
24080
24081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24083 if (SWIG_arg_fail(1)) SWIG_fail;
24084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24085 if (SWIG_arg_fail(2)) SWIG_fail;
24086 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24087 if (SWIG_arg_fail(3)) SWIG_fail;
24088 if (obj3) {
24089 {
24090 arg4 = (bool)(SWIG_As_bool(obj3));
24091 if (SWIG_arg_fail(4)) SWIG_fail;
24092 }
24093 }
24094 {
24095 PyThreadState* __tstate = wxPyBeginAllowThreads();
24096 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24097
24098 wxPyEndAllowThreads(__tstate);
24099 if (PyErr_Occurred()) SWIG_fail;
24100 }
24101 {
24102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24103 }
24104 return resultobj;
24105 fail:
24106 return NULL;
24107 }
24108
24109
24110 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24111 PyObject *resultobj;
24112 wxPrinter *arg1 = (wxPrinter *) 0 ;
24113 wxWindow *arg2 = (wxWindow *) 0 ;
24114 wxDC *result;
24115 PyObject * obj0 = 0 ;
24116 PyObject * obj1 = 0 ;
24117 char *kwnames[] = {
24118 (char *) "self",(char *) "parent", NULL
24119 };
24120
24121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail;
24124 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24125 if (SWIG_arg_fail(2)) SWIG_fail;
24126 {
24127 PyThreadState* __tstate = wxPyBeginAllowThreads();
24128 result = (wxDC *)(arg1)->PrintDialog(arg2);
24129
24130 wxPyEndAllowThreads(__tstate);
24131 if (PyErr_Occurred()) SWIG_fail;
24132 }
24133 {
24134 resultobj = wxPyMake_wxObject(result, 0);
24135 }
24136 return resultobj;
24137 fail:
24138 return NULL;
24139 }
24140
24141
24142 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24143 PyObject *resultobj;
24144 wxPrinter *arg1 = (wxPrinter *) 0 ;
24145 wxPrintDialogData *result;
24146 PyObject * obj0 = 0 ;
24147 char *kwnames[] = {
24148 (char *) "self", NULL
24149 };
24150
24151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail;
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 {
24157 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24158 result = (wxPrintDialogData *) &_result_ref;
24159 }
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPrinter *arg1 = (wxPrinter *) 0 ;
24174 bool result;
24175 PyObject * obj0 = 0 ;
24176 char *kwnames[] = {
24177 (char *) "self", NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24182 if (SWIG_arg_fail(1)) SWIG_fail;
24183 {
24184 PyThreadState* __tstate = wxPyBeginAllowThreads();
24185 result = (bool)(arg1)->GetAbort();
24186
24187 wxPyEndAllowThreads(__tstate);
24188 if (PyErr_Occurred()) SWIG_fail;
24189 }
24190 {
24191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24192 }
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj;
24201 wxPrinterError result;
24202 char *kwnames[] = {
24203 NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 result = (wxPrinterError)wxPrinter::GetLastError();
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 resultobj = SWIG_From_int((result));
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24222 PyObject *obj;
24223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24224 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24225 Py_INCREF(obj);
24226 return Py_BuildValue((char *)"");
24227 }
24228 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24231 wxString *arg1 = (wxString *) &arg1_defvalue ;
24232 wxPyPrintout *result;
24233 bool temp1 = false ;
24234 PyObject * obj0 = 0 ;
24235 char *kwnames[] = {
24236 (char *) "title", NULL
24237 };
24238
24239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24240 if (obj0) {
24241 {
24242 arg1 = wxString_in_helper(obj0);
24243 if (arg1 == NULL) SWIG_fail;
24244 temp1 = true;
24245 }
24246 }
24247 {
24248 if (!wxPyCheckForApp()) SWIG_fail;
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = wxPyMake_wxObject(result, 1);
24257 }
24258 {
24259 if (temp1)
24260 delete arg1;
24261 }
24262 return resultobj;
24263 fail:
24264 {
24265 if (temp1)
24266 delete arg1;
24267 }
24268 return NULL;
24269 }
24270
24271
24272 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24273 PyObject *resultobj;
24274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24275 PyObject *arg2 = (PyObject *) 0 ;
24276 PyObject *arg3 = (PyObject *) 0 ;
24277 PyObject * obj0 = 0 ;
24278 PyObject * obj1 = 0 ;
24279 PyObject * obj2 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self",(char *) "self",(char *) "_class", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail;
24287 arg2 = obj1;
24288 arg3 = obj2;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->_setCallbackInfo(arg2,arg3);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24306 wxString result;
24307 PyObject * obj0 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24314 if (SWIG_arg_fail(1)) SWIG_fail;
24315 {
24316 PyThreadState* __tstate = wxPyBeginAllowThreads();
24317 result = ((wxPyPrintout const *)arg1)->GetTitle();
24318
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 {
24323 #if wxUSE_UNICODE
24324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24325 #else
24326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24327 #endif
24328 }
24329 return resultobj;
24330 fail:
24331 return NULL;
24332 }
24333
24334
24335 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24336 PyObject *resultobj;
24337 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24338 wxDC *result;
24339 PyObject * obj0 = 0 ;
24340 char *kwnames[] = {
24341 (char *) "self", NULL
24342 };
24343
24344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24346 if (SWIG_arg_fail(1)) SWIG_fail;
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 result = (wxDC *)(arg1)->GetDC();
24350
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 {
24355 resultobj = wxPyMake_wxObject(result, 0);
24356 }
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24366 wxDC *arg2 = (wxDC *) 0 ;
24367 PyObject * obj0 = 0 ;
24368 PyObject * obj1 = 0 ;
24369 char *kwnames[] = {
24370 (char *) "self",(char *) "dc", NULL
24371 };
24372
24373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24375 if (SWIG_arg_fail(1)) SWIG_fail;
24376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24377 if (SWIG_arg_fail(2)) SWIG_fail;
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 (arg1)->SetDC(arg2);
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 Py_INCREF(Py_None); resultobj = Py_None;
24386 return resultobj;
24387 fail:
24388 return NULL;
24389 }
24390
24391
24392 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24393 PyObject *resultobj;
24394 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24395 int arg2 ;
24396 int arg3 ;
24397 PyObject * obj0 = 0 ;
24398 PyObject * obj1 = 0 ;
24399 PyObject * obj2 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self",(char *) "w",(char *) "h", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24406 if (SWIG_arg_fail(1)) SWIG_fail;
24407 {
24408 arg2 = (int)(SWIG_As_int(obj1));
24409 if (SWIG_arg_fail(2)) SWIG_fail;
24410 }
24411 {
24412 arg3 = (int)(SWIG_As_int(obj2));
24413 if (SWIG_arg_fail(3)) SWIG_fail;
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 (arg1)->SetPageSizePixels(arg2,arg3);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 Py_INCREF(Py_None); resultobj = Py_None;
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24432 int *arg2 = (int *) 0 ;
24433 int *arg3 = (int *) 0 ;
24434 int temp2 ;
24435 int res2 = 0 ;
24436 int temp3 ;
24437 int res3 = 0 ;
24438 PyObject * obj0 = 0 ;
24439 char *kwnames[] = {
24440 (char *) "self", NULL
24441 };
24442
24443 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24444 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24447 if (SWIG_arg_fail(1)) SWIG_fail;
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 (arg1)->GetPageSizePixels(arg2,arg3);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 Py_INCREF(Py_None); resultobj = Py_None;
24456 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24457 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24458 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24459 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24469 int arg2 ;
24470 int arg3 ;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 PyObject * obj2 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self",(char *) "w",(char *) "h", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail;
24481 {
24482 arg2 = (int)(SWIG_As_int(obj1));
24483 if (SWIG_arg_fail(2)) SWIG_fail;
24484 }
24485 {
24486 arg3 = (int)(SWIG_As_int(obj2));
24487 if (SWIG_arg_fail(3)) SWIG_fail;
24488 }
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->SetPageSizeMM(arg2,arg3);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 Py_INCREF(Py_None); resultobj = Py_None;
24497 return resultobj;
24498 fail:
24499 return NULL;
24500 }
24501
24502
24503 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24504 PyObject *resultobj;
24505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24506 int *arg2 = (int *) 0 ;
24507 int *arg3 = (int *) 0 ;
24508 int temp2 ;
24509 int res2 = 0 ;
24510 int temp3 ;
24511 int res3 = 0 ;
24512 PyObject * obj0 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "self", NULL
24515 };
24516
24517 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24518 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 (arg1)->GetPageSizeMM(arg2,arg3);
24525
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 Py_INCREF(Py_None); resultobj = Py_None;
24530 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24531 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24532 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24533 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24543 int arg2 ;
24544 int arg3 ;
24545 PyObject * obj0 = 0 ;
24546 PyObject * obj1 = 0 ;
24547 PyObject * obj2 = 0 ;
24548 char *kwnames[] = {
24549 (char *) "self",(char *) "x",(char *) "y", NULL
24550 };
24551
24552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail;
24555 {
24556 arg2 = (int)(SWIG_As_int(obj1));
24557 if (SWIG_arg_fail(2)) SWIG_fail;
24558 }
24559 {
24560 arg3 = (int)(SWIG_As_int(obj2));
24561 if (SWIG_arg_fail(3)) SWIG_fail;
24562 }
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 (arg1)->SetPPIScreen(arg2,arg3);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 Py_INCREF(Py_None); resultobj = Py_None;
24571 return resultobj;
24572 fail:
24573 return NULL;
24574 }
24575
24576
24577 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24578 PyObject *resultobj;
24579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24580 int *arg2 = (int *) 0 ;
24581 int *arg3 = (int *) 0 ;
24582 int temp2 ;
24583 int res2 = 0 ;
24584 int temp3 ;
24585 int res3 = 0 ;
24586 PyObject * obj0 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self", NULL
24589 };
24590
24591 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24592 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24595 if (SWIG_arg_fail(1)) SWIG_fail;
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 (arg1)->GetPPIScreen(arg2,arg3);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 Py_INCREF(Py_None); resultobj = Py_None;
24604 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24605 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24606 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24607 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24617 int arg2 ;
24618 int arg3 ;
24619 PyObject * obj0 = 0 ;
24620 PyObject * obj1 = 0 ;
24621 PyObject * obj2 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "x",(char *) "y", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail;
24629 {
24630 arg2 = (int)(SWIG_As_int(obj1));
24631 if (SWIG_arg_fail(2)) SWIG_fail;
24632 }
24633 {
24634 arg3 = (int)(SWIG_As_int(obj2));
24635 if (SWIG_arg_fail(3)) SWIG_fail;
24636 }
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 (arg1)->SetPPIPrinter(arg2,arg3);
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 Py_INCREF(Py_None); resultobj = Py_None;
24645 return resultobj;
24646 fail:
24647 return NULL;
24648 }
24649
24650
24651 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj;
24653 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24654 int *arg2 = (int *) 0 ;
24655 int *arg3 = (int *) 0 ;
24656 int temp2 ;
24657 int res2 = 0 ;
24658 int temp3 ;
24659 int res3 = 0 ;
24660 PyObject * obj0 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self", NULL
24663 };
24664
24665 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24666 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24669 if (SWIG_arg_fail(1)) SWIG_fail;
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 (arg1)->GetPPIPrinter(arg2,arg3);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 Py_INCREF(Py_None); resultobj = Py_None;
24678 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24679 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24680 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24681 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj;
24690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24691 bool result;
24692 PyObject * obj0 = 0 ;
24693 char *kwnames[] = {
24694 (char *) "self", NULL
24695 };
24696
24697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24699 if (SWIG_arg_fail(1)) SWIG_fail;
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 result = (bool)(arg1)->IsPreview();
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 {
24708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24709 }
24710 return resultobj;
24711 fail:
24712 return NULL;
24713 }
24714
24715
24716 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24719 bool arg2 ;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self",(char *) "p", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail;
24729 {
24730 arg2 = (bool)(SWIG_As_bool(obj1));
24731 if (SWIG_arg_fail(2)) SWIG_fail;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 (arg1)->SetIsPreview(arg2);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 Py_INCREF(Py_None); resultobj = Py_None;
24741 return resultobj;
24742 fail:
24743 return NULL;
24744 }
24745
24746
24747 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24750 int arg2 ;
24751 int arg3 ;
24752 bool result;
24753 PyObject * obj0 = 0 ;
24754 PyObject * obj1 = 0 ;
24755 PyObject * obj2 = 0 ;
24756 char *kwnames[] = {
24757 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24762 if (SWIG_arg_fail(1)) SWIG_fail;
24763 {
24764 arg2 = (int)(SWIG_As_int(obj1));
24765 if (SWIG_arg_fail(2)) SWIG_fail;
24766 }
24767 {
24768 arg3 = (int)(SWIG_As_int(obj2));
24769 if (SWIG_arg_fail(3)) SWIG_fail;
24770 }
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 {
24779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24780 }
24781 return resultobj;
24782 fail:
24783 return NULL;
24784 }
24785
24786
24787 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24788 PyObject *resultobj;
24789 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24790 PyObject * obj0 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
24796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24797 if (SWIG_arg_fail(1)) SWIG_fail;
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->base_OnEndDocument();
24801
24802 wxPyEndAllowThreads(__tstate);
24803 if (PyErr_Occurred()) SWIG_fail;
24804 }
24805 Py_INCREF(Py_None); resultobj = Py_None;
24806 return resultobj;
24807 fail:
24808 return NULL;
24809 }
24810
24811
24812 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24815 PyObject * obj0 = 0 ;
24816 char *kwnames[] = {
24817 (char *) "self", NULL
24818 };
24819
24820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
24821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24822 if (SWIG_arg_fail(1)) SWIG_fail;
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 (arg1)->base_OnBeginPrinting();
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 Py_INCREF(Py_None); resultobj = Py_None;
24831 return resultobj;
24832 fail:
24833 return NULL;
24834 }
24835
24836
24837 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24838 PyObject *resultobj;
24839 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
24846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24847 if (SWIG_arg_fail(1)) SWIG_fail;
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->base_OnEndPrinting();
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 Py_INCREF(Py_None); resultobj = Py_None;
24856 return resultobj;
24857 fail:
24858 return NULL;
24859 }
24860
24861
24862 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24863 PyObject *resultobj;
24864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24865 PyObject * obj0 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->base_OnPreparePrinting();
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_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24890 int arg2 ;
24891 bool result;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self",(char *) "page", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
24899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail;
24901 {
24902 arg2 = (int)(SWIG_As_int(obj1));
24903 if (SWIG_arg_fail(2)) SWIG_fail;
24904 }
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (bool)(arg1)->base_HasPage(arg2);
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 {
24913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24914 }
24915 return resultobj;
24916 fail:
24917 return NULL;
24918 }
24919
24920
24921 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24922 PyObject *resultobj;
24923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24924 int *arg2 = (int *) 0 ;
24925 int *arg3 = (int *) 0 ;
24926 int *arg4 = (int *) 0 ;
24927 int *arg5 = (int *) 0 ;
24928 int temp2 ;
24929 int res2 = 0 ;
24930 int temp3 ;
24931 int res3 = 0 ;
24932 int temp4 ;
24933 int res4 = 0 ;
24934 int temp5 ;
24935 int res5 = 0 ;
24936 PyObject * obj0 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "self", NULL
24939 };
24940
24941 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24942 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24943 arg4 = &temp4; res4 = SWIG_NEWOBJ;
24944 arg5 = &temp5; res5 = SWIG_NEWOBJ;
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
24946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail;
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 Py_INCREF(Py_None); resultobj = Py_None;
24956 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24957 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24958 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24959 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24960 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
24961 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
24962 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
24963 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
24971 PyObject *obj;
24972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24973 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
24974 Py_INCREF(obj);
24975 return Py_BuildValue((char *)"");
24976 }
24977 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24980 wxWindow *arg2 = (wxWindow *) 0 ;
24981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24983 wxSize const &arg4_defvalue = wxDefaultSize ;
24984 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24985 long arg5 = (long) 0 ;
24986 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
24987 wxString *arg6 = (wxString *) &arg6_defvalue ;
24988 wxPreviewCanvas *result;
24989 wxPoint temp3 ;
24990 wxSize temp4 ;
24991 bool temp6 = false ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj1 = 0 ;
24994 PyObject * obj2 = 0 ;
24995 PyObject * obj3 = 0 ;
24996 PyObject * obj4 = 0 ;
24997 PyObject * obj5 = 0 ;
24998 char *kwnames[] = {
24999 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25000 };
25001
25002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail;
25005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25006 if (SWIG_arg_fail(2)) SWIG_fail;
25007 if (obj2) {
25008 {
25009 arg3 = &temp3;
25010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25011 }
25012 }
25013 if (obj3) {
25014 {
25015 arg4 = &temp4;
25016 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25017 }
25018 }
25019 if (obj4) {
25020 {
25021 arg5 = (long)(SWIG_As_long(obj4));
25022 if (SWIG_arg_fail(5)) SWIG_fail;
25023 }
25024 }
25025 if (obj5) {
25026 {
25027 arg6 = wxString_in_helper(obj5);
25028 if (arg6 == NULL) SWIG_fail;
25029 temp6 = true;
25030 }
25031 }
25032 {
25033 if (!wxPyCheckForApp()) SWIG_fail;
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25041 {
25042 if (temp6)
25043 delete arg6;
25044 }
25045 return resultobj;
25046 fail:
25047 {
25048 if (temp6)
25049 delete arg6;
25050 }
25051 return NULL;
25052 }
25053
25054
25055 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25056 PyObject *obj;
25057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25059 Py_INCREF(obj);
25060 return Py_BuildValue((char *)"");
25061 }
25062 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25063 PyObject *resultobj;
25064 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25065 wxFrame *arg2 = (wxFrame *) 0 ;
25066 wxString *arg3 = 0 ;
25067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25069 wxSize const &arg5_defvalue = wxDefaultSize ;
25070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25071 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25072 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25073 wxString *arg7 = (wxString *) &arg7_defvalue ;
25074 wxPreviewFrame *result;
25075 bool temp3 = false ;
25076 wxPoint temp4 ;
25077 wxSize temp5 ;
25078 bool temp7 = false ;
25079 PyObject * obj0 = 0 ;
25080 PyObject * obj1 = 0 ;
25081 PyObject * obj2 = 0 ;
25082 PyObject * obj3 = 0 ;
25083 PyObject * obj4 = 0 ;
25084 PyObject * obj5 = 0 ;
25085 PyObject * obj6 = 0 ;
25086 char *kwnames[] = {
25087 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25088 };
25089
25090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail;
25093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25094 if (SWIG_arg_fail(2)) SWIG_fail;
25095 {
25096 arg3 = wxString_in_helper(obj2);
25097 if (arg3 == NULL) SWIG_fail;
25098 temp3 = true;
25099 }
25100 if (obj3) {
25101 {
25102 arg4 = &temp4;
25103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25104 }
25105 }
25106 if (obj4) {
25107 {
25108 arg5 = &temp5;
25109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25110 }
25111 }
25112 if (obj5) {
25113 {
25114 arg6 = (long)(SWIG_As_long(obj5));
25115 if (SWIG_arg_fail(6)) SWIG_fail;
25116 }
25117 }
25118 if (obj6) {
25119 {
25120 arg7 = wxString_in_helper(obj6);
25121 if (arg7 == NULL) SWIG_fail;
25122 temp7 = true;
25123 }
25124 }
25125 {
25126 if (!wxPyCheckForApp()) SWIG_fail;
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25134 {
25135 if (temp3)
25136 delete arg3;
25137 }
25138 {
25139 if (temp7)
25140 delete arg7;
25141 }
25142 return resultobj;
25143 fail:
25144 {
25145 if (temp3)
25146 delete arg3;
25147 }
25148 {
25149 if (temp7)
25150 delete arg7;
25151 }
25152 return NULL;
25153 }
25154
25155
25156 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25159 PyObject * obj0 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail;
25167 {
25168 PyThreadState* __tstate = wxPyBeginAllowThreads();
25169 (arg1)->Initialize();
25170
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 Py_INCREF(Py_None); resultobj = Py_None;
25175 return resultobj;
25176 fail:
25177 return NULL;
25178 }
25179
25180
25181 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25182 PyObject *resultobj;
25183 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25184 PyObject * obj0 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "self", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->CreateControlBar();
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 return resultobj;
25201 fail:
25202 return NULL;
25203 }
25204
25205
25206 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj;
25208 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25209 PyObject * obj0 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25216 if (SWIG_arg_fail(1)) SWIG_fail;
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 (arg1)->CreateCanvas();
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 Py_INCREF(Py_None); resultobj = Py_None;
25225 return resultobj;
25226 fail:
25227 return NULL;
25228 }
25229
25230
25231 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25232 PyObject *resultobj;
25233 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25234 wxPreviewControlBar *result;
25235 PyObject * obj0 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail;
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25258 PyObject *obj;
25259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25260 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25261 Py_INCREF(obj);
25262 return Py_BuildValue((char *)"");
25263 }
25264 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj;
25266 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25267 long arg2 ;
25268 wxWindow *arg3 = (wxWindow *) 0 ;
25269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25271 wxSize const &arg5_defvalue = wxDefaultSize ;
25272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25273 long arg6 = (long) wxTAB_TRAVERSAL ;
25274 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25275 wxString *arg7 = (wxString *) &arg7_defvalue ;
25276 wxPreviewControlBar *result;
25277 wxPoint temp4 ;
25278 wxSize temp5 ;
25279 bool temp7 = false ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 PyObject * obj2 = 0 ;
25283 PyObject * obj3 = 0 ;
25284 PyObject * obj4 = 0 ;
25285 PyObject * obj5 = 0 ;
25286 PyObject * obj6 = 0 ;
25287 char *kwnames[] = {
25288 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25289 };
25290
25291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail;
25294 {
25295 arg2 = (long)(SWIG_As_long(obj1));
25296 if (SWIG_arg_fail(2)) SWIG_fail;
25297 }
25298 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25299 if (SWIG_arg_fail(3)) SWIG_fail;
25300 if (obj3) {
25301 {
25302 arg4 = &temp4;
25303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25304 }
25305 }
25306 if (obj4) {
25307 {
25308 arg5 = &temp5;
25309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25310 }
25311 }
25312 if (obj5) {
25313 {
25314 arg6 = (long)(SWIG_As_long(obj5));
25315 if (SWIG_arg_fail(6)) SWIG_fail;
25316 }
25317 }
25318 if (obj6) {
25319 {
25320 arg7 = wxString_in_helper(obj6);
25321 if (arg7 == NULL) SWIG_fail;
25322 temp7 = true;
25323 }
25324 }
25325 {
25326 if (!wxPyCheckForApp()) SWIG_fail;
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25329
25330 wxPyEndAllowThreads(__tstate);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25334 {
25335 if (temp7)
25336 delete arg7;
25337 }
25338 return resultobj;
25339 fail:
25340 {
25341 if (temp7)
25342 delete arg7;
25343 }
25344 return NULL;
25345 }
25346
25347
25348 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25349 PyObject *resultobj;
25350 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25351 int result;
25352 PyObject * obj0 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "self", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25359 if (SWIG_arg_fail(1)) SWIG_fail;
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (int)(arg1)->GetZoomControl();
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 {
25368 resultobj = SWIG_From_int((int)(result));
25369 }
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj;
25378 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25379 int arg2 ;
25380 PyObject * obj0 = 0 ;
25381 PyObject * obj1 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self",(char *) "zoom", NULL
25384 };
25385
25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail;
25389 {
25390 arg2 = (int)(SWIG_As_int(obj1));
25391 if (SWIG_arg_fail(2)) SWIG_fail;
25392 }
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 (arg1)->SetZoomControl(arg2);
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 Py_INCREF(Py_None); resultobj = Py_None;
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25410 wxPrintPreview *result;
25411 PyObject * obj0 = 0 ;
25412 char *kwnames[] = {
25413 (char *) "self", NULL
25414 };
25415
25416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25418 if (SWIG_arg_fail(1)) SWIG_fail;
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25427 return resultobj;
25428 fail:
25429 return NULL;
25430 }
25431
25432
25433 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25436 PyObject * obj0 = 0 ;
25437 char *kwnames[] = {
25438 (char *) "self", NULL
25439 };
25440
25441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25443 if (SWIG_arg_fail(1)) SWIG_fail;
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 (arg1)->OnNext();
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 Py_INCREF(Py_None); resultobj = Py_None;
25452 return resultobj;
25453 fail:
25454 return NULL;
25455 }
25456
25457
25458 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25459 PyObject *resultobj;
25460 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25461 PyObject * obj0 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self", NULL
25464 };
25465
25466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail;
25469 {
25470 PyThreadState* __tstate = wxPyBeginAllowThreads();
25471 (arg1)->OnPrevious();
25472
25473 wxPyEndAllowThreads(__tstate);
25474 if (PyErr_Occurred()) SWIG_fail;
25475 }
25476 Py_INCREF(Py_None); resultobj = Py_None;
25477 return resultobj;
25478 fail:
25479 return NULL;
25480 }
25481
25482
25483 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25484 PyObject *resultobj;
25485 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail;
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 (arg1)->OnFirst();
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 Py_INCREF(Py_None); resultobj = Py_None;
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail;
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 (arg1)->OnLast();
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 Py_INCREF(Py_None); resultobj = Py_None;
25527 return resultobj;
25528 fail:
25529 return NULL;
25530 }
25531
25532
25533 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25536 PyObject * obj0 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail;
25544 {
25545 PyThreadState* __tstate = wxPyBeginAllowThreads();
25546 (arg1)->OnGoto();
25547
25548 wxPyEndAllowThreads(__tstate);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 Py_INCREF(Py_None); resultobj = Py_None;
25552 return resultobj;
25553 fail:
25554 return NULL;
25555 }
25556
25557
25558 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25559 PyObject *obj;
25560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25561 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25562 Py_INCREF(obj);
25563 return Py_BuildValue((char *)"");
25564 }
25565 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25566 PyObject *resultobj;
25567 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25568 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25569 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25570 wxPrintPreview *result;
25571 PyObject * obj0 = 0 ;
25572 PyObject * obj1 = 0 ;
25573 PyObject * obj2 = 0 ;
25574
25575 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail;
25578 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25579 if (SWIG_arg_fail(2)) SWIG_fail;
25580 if (obj2) {
25581 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25582 if (SWIG_arg_fail(3)) SWIG_fail;
25583 }
25584 {
25585 if (!wxPyCheckForApp()) SWIG_fail;
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25588
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25593 return resultobj;
25594 fail:
25595 return NULL;
25596 }
25597
25598
25599 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25600 PyObject *resultobj;
25601 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25602 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25603 wxPrintData *arg3 = (wxPrintData *) 0 ;
25604 wxPrintPreview *result;
25605 PyObject * obj0 = 0 ;
25606 PyObject * obj1 = 0 ;
25607 PyObject * obj2 = 0 ;
25608
25609 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail;
25612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25613 if (SWIG_arg_fail(2)) SWIG_fail;
25614 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25615 if (SWIG_arg_fail(3)) SWIG_fail;
25616 {
25617 if (!wxPyCheckForApp()) SWIG_fail;
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25632 int argc;
25633 PyObject *argv[4];
25634 int ii;
25635
25636 argc = PyObject_Length(args);
25637 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25638 argv[ii] = PyTuple_GetItem(args,ii);
25639 }
25640 if ((argc >= 2) && (argc <= 3)) {
25641 int _v;
25642 {
25643 void *ptr;
25644 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25645 _v = 0;
25646 PyErr_Clear();
25647 } else {
25648 _v = 1;
25649 }
25650 }
25651 if (_v) {
25652 {
25653 void *ptr;
25654 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25655 _v = 0;
25656 PyErr_Clear();
25657 } else {
25658 _v = 1;
25659 }
25660 }
25661 if (_v) {
25662 if (argc <= 2) {
25663 return _wrap_new_PrintPreview__SWIG_0(self,args);
25664 }
25665 {
25666 void *ptr;
25667 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25668 _v = 0;
25669 PyErr_Clear();
25670 } else {
25671 _v = 1;
25672 }
25673 }
25674 if (_v) {
25675 return _wrap_new_PrintPreview__SWIG_0(self,args);
25676 }
25677 }
25678 }
25679 }
25680 if (argc == 3) {
25681 int _v;
25682 {
25683 void *ptr;
25684 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25685 _v = 0;
25686 PyErr_Clear();
25687 } else {
25688 _v = 1;
25689 }
25690 }
25691 if (_v) {
25692 {
25693 void *ptr;
25694 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25695 _v = 0;
25696 PyErr_Clear();
25697 } else {
25698 _v = 1;
25699 }
25700 }
25701 if (_v) {
25702 {
25703 void *ptr;
25704 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25705 _v = 0;
25706 PyErr_Clear();
25707 } else {
25708 _v = 1;
25709 }
25710 }
25711 if (_v) {
25712 return _wrap_new_PrintPreview__SWIG_1(self,args);
25713 }
25714 }
25715 }
25716 }
25717
25718 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25726 int arg2 ;
25727 bool result;
25728 PyObject * obj0 = 0 ;
25729 PyObject * obj1 = 0 ;
25730 char *kwnames[] = {
25731 (char *) "self",(char *) "pageNum", NULL
25732 };
25733
25734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25736 if (SWIG_arg_fail(1)) SWIG_fail;
25737 {
25738 arg2 = (int)(SWIG_As_int(obj1));
25739 if (SWIG_arg_fail(2)) SWIG_fail;
25740 }
25741 {
25742 PyThreadState* __tstate = wxPyBeginAllowThreads();
25743 result = (bool)(arg1)->SetCurrentPage(arg2);
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25750 }
25751 return resultobj;
25752 fail:
25753 return NULL;
25754 }
25755
25756
25757 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25758 PyObject *resultobj;
25759 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25760 int result;
25761 PyObject * obj0 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25768 if (SWIG_arg_fail(1)) SWIG_fail;
25769 {
25770 PyThreadState* __tstate = wxPyBeginAllowThreads();
25771 result = (int)(arg1)->GetCurrentPage();
25772
25773 wxPyEndAllowThreads(__tstate);
25774 if (PyErr_Occurred()) SWIG_fail;
25775 }
25776 {
25777 resultobj = SWIG_From_int((int)(result));
25778 }
25779 return resultobj;
25780 fail:
25781 return NULL;
25782 }
25783
25784
25785 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25786 PyObject *resultobj;
25787 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25788 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25789 PyObject * obj0 = 0 ;
25790 PyObject * obj1 = 0 ;
25791 char *kwnames[] = {
25792 (char *) "self",(char *) "printout", NULL
25793 };
25794
25795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25797 if (SWIG_arg_fail(1)) SWIG_fail;
25798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25799 if (SWIG_arg_fail(2)) SWIG_fail;
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 (arg1)->SetPrintout(arg2);
25803
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 Py_INCREF(Py_None); resultobj = Py_None;
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25815 PyObject *resultobj;
25816 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25817 wxPyPrintout *result;
25818 PyObject * obj0 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
25824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail;
25826 {
25827 PyThreadState* __tstate = wxPyBeginAllowThreads();
25828 result = (wxPyPrintout *)(arg1)->GetPrintout();
25829
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 {
25834 resultobj = wxPyMake_wxObject(result, 0);
25835 }
25836 return resultobj;
25837 fail:
25838 return NULL;
25839 }
25840
25841
25842 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25843 PyObject *resultobj;
25844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25845 wxPyPrintout *result;
25846 PyObject * obj0 = 0 ;
25847 char *kwnames[] = {
25848 (char *) "self", NULL
25849 };
25850
25851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
25852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25853 if (SWIG_arg_fail(1)) SWIG_fail;
25854 {
25855 PyThreadState* __tstate = wxPyBeginAllowThreads();
25856 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25857
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 {
25862 resultobj = wxPyMake_wxObject(result, 0);
25863 }
25864 return resultobj;
25865 fail:
25866 return NULL;
25867 }
25868
25869
25870 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25873 wxFrame *arg2 = (wxFrame *) 0 ;
25874 PyObject * obj0 = 0 ;
25875 PyObject * obj1 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self",(char *) "frame", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
25881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail;
25883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25884 if (SWIG_arg_fail(2)) SWIG_fail;
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 (arg1)->SetFrame(arg2);
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
25892 Py_INCREF(Py_None); resultobj = Py_None;
25893 return resultobj;
25894 fail:
25895 return NULL;
25896 }
25897
25898
25899 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25900 PyObject *resultobj;
25901 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25902 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25903 PyObject * obj0 = 0 ;
25904 PyObject * obj1 = 0 ;
25905 char *kwnames[] = {
25906 (char *) "self",(char *) "canvas", NULL
25907 };
25908
25909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
25910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25911 if (SWIG_arg_fail(1)) SWIG_fail;
25912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(2)) SWIG_fail;
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 (arg1)->SetCanvas(arg2);
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 Py_INCREF(Py_None); resultobj = Py_None;
25922 return resultobj;
25923 fail:
25924 return NULL;
25925 }
25926
25927
25928 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25929 PyObject *resultobj;
25930 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25931 wxFrame *result;
25932 PyObject * obj0 = 0 ;
25933 char *kwnames[] = {
25934 (char *) "self", NULL
25935 };
25936
25937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
25938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail;
25940 {
25941 PyThreadState* __tstate = wxPyBeginAllowThreads();
25942 result = (wxFrame *)(arg1)->GetFrame();
25943
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 {
25948 resultobj = wxPyMake_wxObject(result, 0);
25949 }
25950 return resultobj;
25951 fail:
25952 return NULL;
25953 }
25954
25955
25956 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25957 PyObject *resultobj;
25958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25959 wxPreviewCanvas *result;
25960 PyObject * obj0 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "self", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
25966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail;
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
25971
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj;
25984 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25985 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25986 wxDC *arg3 = 0 ;
25987 bool result;
25988 PyObject * obj0 = 0 ;
25989 PyObject * obj1 = 0 ;
25990 PyObject * obj2 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "self",(char *) "canvas",(char *) "dc", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail;
25998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
25999 if (SWIG_arg_fail(2)) SWIG_fail;
26000 {
26001 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26002 if (SWIG_arg_fail(3)) SWIG_fail;
26003 if (arg3 == NULL) {
26004 SWIG_null_ref("wxDC");
26005 }
26006 if (SWIG_arg_fail(3)) SWIG_fail;
26007 }
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 {
26016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26017 }
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26027 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26028 wxDC *arg3 = 0 ;
26029 bool result;
26030 PyObject * obj0 = 0 ;
26031 PyObject * obj1 = 0 ;
26032 PyObject * obj2 = 0 ;
26033 char *kwnames[] = {
26034 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26035 };
26036
26037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26039 if (SWIG_arg_fail(1)) SWIG_fail;
26040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(2)) SWIG_fail;
26042 {
26043 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26044 if (SWIG_arg_fail(3)) SWIG_fail;
26045 if (arg3 == NULL) {
26046 SWIG_null_ref("wxDC");
26047 }
26048 if (SWIG_arg_fail(3)) SWIG_fail;
26049 }
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 {
26058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26059 }
26060 return resultobj;
26061 fail:
26062 return NULL;
26063 }
26064
26065
26066 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26067 PyObject *resultobj;
26068 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26069 int arg2 ;
26070 bool result;
26071 PyObject * obj0 = 0 ;
26072 PyObject * obj1 = 0 ;
26073 char *kwnames[] = {
26074 (char *) "self",(char *) "pageNum", NULL
26075 };
26076
26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
26080 {
26081 arg2 = (int)(SWIG_As_int(obj1));
26082 if (SWIG_arg_fail(2)) SWIG_fail;
26083 }
26084 {
26085 PyThreadState* __tstate = wxPyBeginAllowThreads();
26086 result = (bool)(arg1)->RenderPage(arg2);
26087
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
26091 {
26092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26093 }
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26103 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26104 PyObject * obj0 = 0 ;
26105 PyObject * obj1 = 0 ;
26106 char *kwnames[] = {
26107 (char *) "self",(char *) "canvas", NULL
26108 };
26109
26110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26112 if (SWIG_arg_fail(1)) SWIG_fail;
26113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26114 if (SWIG_arg_fail(2)) SWIG_fail;
26115 {
26116 PyThreadState* __tstate = wxPyBeginAllowThreads();
26117 (arg1)->AdjustScrollbars(arg2);
26118
26119 wxPyEndAllowThreads(__tstate);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 Py_INCREF(Py_None); resultobj = Py_None;
26123 return resultobj;
26124 fail:
26125 return NULL;
26126 }
26127
26128
26129 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26130 PyObject *resultobj;
26131 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26132 wxPrintDialogData *result;
26133 PyObject * obj0 = 0 ;
26134 char *kwnames[] = {
26135 (char *) "self", NULL
26136 };
26137
26138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26140 if (SWIG_arg_fail(1)) SWIG_fail;
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 {
26144 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26145 result = (wxPrintDialogData *) &_result_ref;
26146 }
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26152 return resultobj;
26153 fail:
26154 return NULL;
26155 }
26156
26157
26158 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj;
26160 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26161 int arg2 ;
26162 PyObject * obj0 = 0 ;
26163 PyObject * obj1 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self",(char *) "percent", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail;
26171 {
26172 arg2 = (int)(SWIG_As_int(obj1));
26173 if (SWIG_arg_fail(2)) SWIG_fail;
26174 }
26175 {
26176 PyThreadState* __tstate = wxPyBeginAllowThreads();
26177 (arg1)->SetZoom(arg2);
26178
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 Py_INCREF(Py_None); resultobj = Py_None;
26183 return resultobj;
26184 fail:
26185 return NULL;
26186 }
26187
26188
26189 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26190 PyObject *resultobj;
26191 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26192 int result;
26193 PyObject * obj0 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail;
26201 {
26202 PyThreadState* __tstate = wxPyBeginAllowThreads();
26203 result = (int)(arg1)->GetZoom();
26204
26205 wxPyEndAllowThreads(__tstate);
26206 if (PyErr_Occurred()) SWIG_fail;
26207 }
26208 {
26209 resultobj = SWIG_From_int((int)(result));
26210 }
26211 return resultobj;
26212 fail:
26213 return NULL;
26214 }
26215
26216
26217 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26218 PyObject *resultobj;
26219 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26220 int result;
26221 PyObject * obj0 = 0 ;
26222 char *kwnames[] = {
26223 (char *) "self", NULL
26224 };
26225
26226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail;
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 result = (int)(arg1)->GetMaxPage();
26232
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 {
26237 resultobj = SWIG_From_int((int)(result));
26238 }
26239 return resultobj;
26240 fail:
26241 return NULL;
26242 }
26243
26244
26245 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26246 PyObject *resultobj;
26247 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26248 int result;
26249 PyObject * obj0 = 0 ;
26250 char *kwnames[] = {
26251 (char *) "self", NULL
26252 };
26253
26254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26256 if (SWIG_arg_fail(1)) SWIG_fail;
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 result = (int)(arg1)->GetMinPage();
26260
26261 wxPyEndAllowThreads(__tstate);
26262 if (PyErr_Occurred()) SWIG_fail;
26263 }
26264 {
26265 resultobj = SWIG_From_int((int)(result));
26266 }
26267 return resultobj;
26268 fail:
26269 return NULL;
26270 }
26271
26272
26273 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26274 PyObject *resultobj;
26275 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26276 bool result;
26277 PyObject * obj0 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 result = (bool)(arg1)->Ok();
26288
26289 wxPyEndAllowThreads(__tstate);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
26292 {
26293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26294 }
26295 return resultobj;
26296 fail:
26297 return NULL;
26298 }
26299
26300
26301 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj;
26303 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26304 bool arg2 ;
26305 PyObject * obj0 = 0 ;
26306 PyObject * obj1 = 0 ;
26307 char *kwnames[] = {
26308 (char *) "self",(char *) "ok", NULL
26309 };
26310
26311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail;
26314 {
26315 arg2 = (bool)(SWIG_As_bool(obj1));
26316 if (SWIG_arg_fail(2)) SWIG_fail;
26317 }
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->SetOk(arg2);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 Py_INCREF(Py_None); resultobj = Py_None;
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj;
26334 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26335 bool arg2 ;
26336 bool result;
26337 PyObject * obj0 = 0 ;
26338 PyObject * obj1 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "interactive", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail;
26346 {
26347 arg2 = (bool)(SWIG_As_bool(obj1));
26348 if (SWIG_arg_fail(2)) SWIG_fail;
26349 }
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (bool)(arg1)->Print(arg2);
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26359 }
26360 return resultobj;
26361 fail:
26362 return NULL;
26363 }
26364
26365
26366 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj;
26368 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26369 PyObject * obj0 = 0 ;
26370 char *kwnames[] = {
26371 (char *) "self", NULL
26372 };
26373
26374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",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 (arg1)->DetermineScaling();
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 Py_INCREF(Py_None); resultobj = Py_None;
26385 return resultobj;
26386 fail:
26387 return NULL;
26388 }
26389
26390
26391 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26392 PyObject *obj;
26393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26394 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26395 Py_INCREF(obj);
26396 return Py_BuildValue((char *)"");
26397 }
26398 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26399 PyObject *resultobj;
26400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26401 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26402 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26403 wxPyPrintPreview *result;
26404 PyObject * obj0 = 0 ;
26405 PyObject * obj1 = 0 ;
26406 PyObject * obj2 = 0 ;
26407
26408 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26410 if (SWIG_arg_fail(1)) SWIG_fail;
26411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26412 if (SWIG_arg_fail(2)) SWIG_fail;
26413 if (obj2) {
26414 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26415 if (SWIG_arg_fail(3)) SWIG_fail;
26416 }
26417 {
26418 if (!wxPyCheckForApp()) SWIG_fail;
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26421
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26426 return resultobj;
26427 fail:
26428 return NULL;
26429 }
26430
26431
26432 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26433 PyObject *resultobj;
26434 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26435 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26436 wxPrintData *arg3 = (wxPrintData *) 0 ;
26437 wxPyPrintPreview *result;
26438 PyObject * obj0 = 0 ;
26439 PyObject * obj1 = 0 ;
26440 PyObject * obj2 = 0 ;
26441
26442 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail;
26445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26446 if (SWIG_arg_fail(2)) SWIG_fail;
26447 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26448 if (SWIG_arg_fail(3)) SWIG_fail;
26449 {
26450 if (!wxPyCheckForApp()) SWIG_fail;
26451 PyThreadState* __tstate = wxPyBeginAllowThreads();
26452 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26453
26454 wxPyEndAllowThreads(__tstate);
26455 if (PyErr_Occurred()) SWIG_fail;
26456 }
26457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26458 return resultobj;
26459 fail:
26460 return NULL;
26461 }
26462
26463
26464 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26465 int argc;
26466 PyObject *argv[4];
26467 int ii;
26468
26469 argc = PyObject_Length(args);
26470 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26471 argv[ii] = PyTuple_GetItem(args,ii);
26472 }
26473 if ((argc >= 2) && (argc <= 3)) {
26474 int _v;
26475 {
26476 void *ptr;
26477 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26478 _v = 0;
26479 PyErr_Clear();
26480 } else {
26481 _v = 1;
26482 }
26483 }
26484 if (_v) {
26485 {
26486 void *ptr;
26487 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26488 _v = 0;
26489 PyErr_Clear();
26490 } else {
26491 _v = 1;
26492 }
26493 }
26494 if (_v) {
26495 if (argc <= 2) {
26496 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26497 }
26498 {
26499 void *ptr;
26500 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26501 _v = 0;
26502 PyErr_Clear();
26503 } else {
26504 _v = 1;
26505 }
26506 }
26507 if (_v) {
26508 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26509 }
26510 }
26511 }
26512 }
26513 if (argc == 3) {
26514 int _v;
26515 {
26516 void *ptr;
26517 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26518 _v = 0;
26519 PyErr_Clear();
26520 } else {
26521 _v = 1;
26522 }
26523 }
26524 if (_v) {
26525 {
26526 void *ptr;
26527 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26528 _v = 0;
26529 PyErr_Clear();
26530 } else {
26531 _v = 1;
26532 }
26533 }
26534 if (_v) {
26535 {
26536 void *ptr;
26537 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26538 _v = 0;
26539 PyErr_Clear();
26540 } else {
26541 _v = 1;
26542 }
26543 }
26544 if (_v) {
26545 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26546 }
26547 }
26548 }
26549 }
26550
26551 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26552 return NULL;
26553 }
26554
26555
26556 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26557 PyObject *resultobj;
26558 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26559 PyObject *arg2 = (PyObject *) 0 ;
26560 PyObject *arg3 = (PyObject *) 0 ;
26561 PyObject * obj0 = 0 ;
26562 PyObject * obj1 = 0 ;
26563 PyObject * obj2 = 0 ;
26564 char *kwnames[] = {
26565 (char *) "self",(char *) "self",(char *) "_class", NULL
26566 };
26567
26568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail;
26571 arg2 = obj1;
26572 arg3 = obj2;
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 (arg1)->_setCallbackInfo(arg2,arg3);
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 Py_INCREF(Py_None); resultobj = Py_None;
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26590 int arg2 ;
26591 bool result;
26592 PyObject * obj0 = 0 ;
26593 PyObject * obj1 = 0 ;
26594 char *kwnames[] = {
26595 (char *) "self",(char *) "pageNum", NULL
26596 };
26597
26598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26600 if (SWIG_arg_fail(1)) SWIG_fail;
26601 {
26602 arg2 = (int)(SWIG_As_int(obj1));
26603 if (SWIG_arg_fail(2)) SWIG_fail;
26604 }
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
26612 {
26613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26614 }
26615 return resultobj;
26616 fail:
26617 return NULL;
26618 }
26619
26620
26621 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26622 PyObject *resultobj;
26623 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26624 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26625 wxDC *arg3 = 0 ;
26626 bool result;
26627 PyObject * obj0 = 0 ;
26628 PyObject * obj1 = 0 ;
26629 PyObject * obj2 = 0 ;
26630 char *kwnames[] = {
26631 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26632 };
26633
26634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26636 if (SWIG_arg_fail(1)) SWIG_fail;
26637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26638 if (SWIG_arg_fail(2)) SWIG_fail;
26639 {
26640 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26641 if (SWIG_arg_fail(3)) SWIG_fail;
26642 if (arg3 == NULL) {
26643 SWIG_null_ref("wxDC");
26644 }
26645 if (SWIG_arg_fail(3)) SWIG_fail;
26646 }
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 {
26655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26656 }
26657 return resultobj;
26658 fail:
26659 return NULL;
26660 }
26661
26662
26663 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26664 PyObject *resultobj;
26665 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26666 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26667 wxDC *arg3 = 0 ;
26668 bool result;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 PyObject * obj2 = 0 ;
26672 char *kwnames[] = {
26673 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26674 };
26675
26676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail;
26679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26680 if (SWIG_arg_fail(2)) SWIG_fail;
26681 {
26682 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26683 if (SWIG_arg_fail(3)) SWIG_fail;
26684 if (arg3 == NULL) {
26685 SWIG_null_ref("wxDC");
26686 }
26687 if (SWIG_arg_fail(3)) SWIG_fail;
26688 }
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26692
26693 wxPyEndAllowThreads(__tstate);
26694 if (PyErr_Occurred()) SWIG_fail;
26695 }
26696 {
26697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26698 }
26699 return resultobj;
26700 fail:
26701 return NULL;
26702 }
26703
26704
26705 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26706 PyObject *resultobj;
26707 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26708 int arg2 ;
26709 bool result;
26710 PyObject * obj0 = 0 ;
26711 PyObject * obj1 = 0 ;
26712 char *kwnames[] = {
26713 (char *) "self",(char *) "pageNum", NULL
26714 };
26715
26716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail;
26719 {
26720 arg2 = (int)(SWIG_As_int(obj1));
26721 if (SWIG_arg_fail(2)) SWIG_fail;
26722 }
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 result = (bool)(arg1)->base_RenderPage(arg2);
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 {
26731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26732 }
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj;
26741 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26742 int arg2 ;
26743 PyObject * obj0 = 0 ;
26744 PyObject * obj1 = 0 ;
26745 char *kwnames[] = {
26746 (char *) "self",(char *) "percent", NULL
26747 };
26748
26749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail;
26752 {
26753 arg2 = (int)(SWIG_As_int(obj1));
26754 if (SWIG_arg_fail(2)) SWIG_fail;
26755 }
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 (arg1)->base_SetZoom(arg2);
26759
26760 wxPyEndAllowThreads(__tstate);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 Py_INCREF(Py_None); resultobj = Py_None;
26764 return resultobj;
26765 fail:
26766 return NULL;
26767 }
26768
26769
26770 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26771 PyObject *resultobj;
26772 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26773 bool arg2 ;
26774 bool result;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "interactive", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
26785 arg2 = (bool)(SWIG_As_bool(obj1));
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = (bool)(arg1)->base_Print(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 {
26796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26797 }
26798 return resultobj;
26799 fail:
26800 return NULL;
26801 }
26802
26803
26804 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26805 PyObject *resultobj;
26806 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26807 PyObject * obj0 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 (arg1)->base_DetermineScaling();
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 Py_INCREF(Py_None); resultobj = Py_None;
26823 return resultobj;
26824 fail:
26825 return NULL;
26826 }
26827
26828
26829 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
26830 PyObject *obj;
26831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26832 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26833 Py_INCREF(obj);
26834 return Py_BuildValue((char *)"");
26835 }
26836 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26837 PyObject *resultobj;
26838 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26839 wxFrame *arg2 = (wxFrame *) 0 ;
26840 wxString *arg3 = 0 ;
26841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26843 wxSize const &arg5_defvalue = wxDefaultSize ;
26844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26845 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26846 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26847 wxString *arg7 = (wxString *) &arg7_defvalue ;
26848 wxPyPreviewFrame *result;
26849 bool temp3 = false ;
26850 wxPoint temp4 ;
26851 wxSize temp5 ;
26852 bool temp7 = false ;
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 PyObject * obj2 = 0 ;
26856 PyObject * obj3 = 0 ;
26857 PyObject * obj4 = 0 ;
26858 PyObject * obj5 = 0 ;
26859 PyObject * obj6 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26862 };
26863
26864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26866 if (SWIG_arg_fail(1)) SWIG_fail;
26867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26868 if (SWIG_arg_fail(2)) SWIG_fail;
26869 {
26870 arg3 = wxString_in_helper(obj2);
26871 if (arg3 == NULL) SWIG_fail;
26872 temp3 = true;
26873 }
26874 if (obj3) {
26875 {
26876 arg4 = &temp4;
26877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26878 }
26879 }
26880 if (obj4) {
26881 {
26882 arg5 = &temp5;
26883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26884 }
26885 }
26886 if (obj5) {
26887 {
26888 arg6 = (long)(SWIG_As_long(obj5));
26889 if (SWIG_arg_fail(6)) SWIG_fail;
26890 }
26891 }
26892 if (obj6) {
26893 {
26894 arg7 = wxString_in_helper(obj6);
26895 if (arg7 == NULL) SWIG_fail;
26896 temp7 = true;
26897 }
26898 }
26899 {
26900 if (!wxPyCheckForApp()) SWIG_fail;
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
26908 {
26909 if (temp3)
26910 delete arg3;
26911 }
26912 {
26913 if (temp7)
26914 delete arg7;
26915 }
26916 return resultobj;
26917 fail:
26918 {
26919 if (temp3)
26920 delete arg3;
26921 }
26922 {
26923 if (temp7)
26924 delete arg7;
26925 }
26926 return NULL;
26927 }
26928
26929
26930 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26931 PyObject *resultobj;
26932 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26933 PyObject *arg2 = (PyObject *) 0 ;
26934 PyObject *arg3 = (PyObject *) 0 ;
26935 PyObject * obj0 = 0 ;
26936 PyObject * obj1 = 0 ;
26937 PyObject * obj2 = 0 ;
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "self",(char *) "_class", NULL
26940 };
26941
26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
26944 if (SWIG_arg_fail(1)) SWIG_fail;
26945 arg2 = obj1;
26946 arg3 = obj2;
26947 {
26948 PyThreadState* __tstate = wxPyBeginAllowThreads();
26949 (arg1)->_setCallbackInfo(arg2,arg3);
26950
26951 wxPyEndAllowThreads(__tstate);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 Py_INCREF(Py_None); resultobj = Py_None;
26955 return resultobj;
26956 fail:
26957 return NULL;
26958 }
26959
26960
26961 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26962 PyObject *resultobj;
26963 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26964 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26965 PyObject * obj0 = 0 ;
26966 PyObject * obj1 = 0 ;
26967 char *kwnames[] = {
26968 (char *) "self",(char *) "canvas", NULL
26969 };
26970
26971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
26972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
26973 if (SWIG_arg_fail(1)) SWIG_fail;
26974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26975 if (SWIG_arg_fail(2)) SWIG_fail;
26976 {
26977 PyThreadState* __tstate = wxPyBeginAllowThreads();
26978 (arg1)->SetPreviewCanvas(arg2);
26979
26980 wxPyEndAllowThreads(__tstate);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 Py_INCREF(Py_None); resultobj = Py_None;
26984 return resultobj;
26985 fail:
26986 return NULL;
26987 }
26988
26989
26990 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
26991 PyObject *resultobj;
26992 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26993 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
26994 PyObject * obj0 = 0 ;
26995 PyObject * obj1 = 0 ;
26996 char *kwnames[] = {
26997 (char *) "self",(char *) "bar", NULL
26998 };
26999
27000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail;
27003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27004 if (SWIG_arg_fail(2)) SWIG_fail;
27005 {
27006 PyThreadState* __tstate = wxPyBeginAllowThreads();
27007 (arg1)->SetControlBar(arg2);
27008
27009 wxPyEndAllowThreads(__tstate);
27010 if (PyErr_Occurred()) SWIG_fail;
27011 }
27012 Py_INCREF(Py_None); resultobj = Py_None;
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27022 PyObject * obj0 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail;
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 (arg1)->base_Initialize();
27033
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
27037 Py_INCREF(Py_None); resultobj = Py_None;
27038 return resultobj;
27039 fail:
27040 return NULL;
27041 }
27042
27043
27044 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27045 PyObject *resultobj;
27046 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27047 PyObject * obj0 = 0 ;
27048 char *kwnames[] = {
27049 (char *) "self", NULL
27050 };
27051
27052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27054 if (SWIG_arg_fail(1)) SWIG_fail;
27055 {
27056 PyThreadState* __tstate = wxPyBeginAllowThreads();
27057 (arg1)->base_CreateCanvas();
27058
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 Py_INCREF(Py_None); resultobj = Py_None;
27063 return resultobj;
27064 fail:
27065 return NULL;
27066 }
27067
27068
27069 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj;
27071 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail;
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 (arg1)->base_CreateControlBar();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 Py_INCREF(Py_None); resultobj = Py_None;
27088 return resultobj;
27089 fail:
27090 return NULL;
27091 }
27092
27093
27094 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27095 PyObject *obj;
27096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27097 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27098 Py_INCREF(obj);
27099 return Py_BuildValue((char *)"");
27100 }
27101 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27102 PyObject *resultobj;
27103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27104 long arg2 ;
27105 wxWindow *arg3 = (wxWindow *) 0 ;
27106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27108 wxSize const &arg5_defvalue = wxDefaultSize ;
27109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27110 long arg6 = (long) 0 ;
27111 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27112 wxString *arg7 = (wxString *) &arg7_defvalue ;
27113 wxPyPreviewControlBar *result;
27114 wxPoint temp4 ;
27115 wxSize temp5 ;
27116 bool temp7 = false ;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 PyObject * obj2 = 0 ;
27120 PyObject * obj3 = 0 ;
27121 PyObject * obj4 = 0 ;
27122 PyObject * obj5 = 0 ;
27123 PyObject * obj6 = 0 ;
27124 char *kwnames[] = {
27125 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27126 };
27127
27128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27130 if (SWIG_arg_fail(1)) SWIG_fail;
27131 {
27132 arg2 = (long)(SWIG_As_long(obj1));
27133 if (SWIG_arg_fail(2)) SWIG_fail;
27134 }
27135 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27136 if (SWIG_arg_fail(3)) SWIG_fail;
27137 if (obj3) {
27138 {
27139 arg4 = &temp4;
27140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27141 }
27142 }
27143 if (obj4) {
27144 {
27145 arg5 = &temp5;
27146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27147 }
27148 }
27149 if (obj5) {
27150 {
27151 arg6 = (long)(SWIG_As_long(obj5));
27152 if (SWIG_arg_fail(6)) SWIG_fail;
27153 }
27154 }
27155 if (obj6) {
27156 {
27157 arg7 = wxString_in_helper(obj6);
27158 if (arg7 == NULL) SWIG_fail;
27159 temp7 = true;
27160 }
27161 }
27162 {
27163 if (!wxPyCheckForApp()) SWIG_fail;
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27166
27167 wxPyEndAllowThreads(__tstate);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 }
27170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27171 {
27172 if (temp7)
27173 delete arg7;
27174 }
27175 return resultobj;
27176 fail:
27177 {
27178 if (temp7)
27179 delete arg7;
27180 }
27181 return NULL;
27182 }
27183
27184
27185 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27186 PyObject *resultobj;
27187 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27188 PyObject *arg2 = (PyObject *) 0 ;
27189 PyObject *arg3 = (PyObject *) 0 ;
27190 PyObject * obj0 = 0 ;
27191 PyObject * obj1 = 0 ;
27192 PyObject * obj2 = 0 ;
27193 char *kwnames[] = {
27194 (char *) "self",(char *) "self",(char *) "_class", NULL
27195 };
27196
27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail;
27200 arg2 = obj1;
27201 arg3 = obj2;
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 (arg1)->_setCallbackInfo(arg2,arg3);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 Py_INCREF(Py_None); resultobj = Py_None;
27210 return resultobj;
27211 fail:
27212 return NULL;
27213 }
27214
27215
27216 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27217 PyObject *resultobj;
27218 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27219 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 char *kwnames[] = {
27223 (char *) "self",(char *) "preview", NULL
27224 };
27225
27226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail;
27229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27230 if (SWIG_arg_fail(2)) SWIG_fail;
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 (arg1)->SetPrintPreview(arg2);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 Py_INCREF(Py_None); resultobj = Py_None;
27239 return resultobj;
27240 fail:
27241 return NULL;
27242 }
27243
27244
27245 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27246 PyObject *resultobj;
27247 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27248 PyObject * obj0 = 0 ;
27249 char *kwnames[] = {
27250 (char *) "self", NULL
27251 };
27252
27253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27255 if (SWIG_arg_fail(1)) SWIG_fail;
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 (arg1)->base_CreateButtons();
27259
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 Py_INCREF(Py_None); resultobj = Py_None;
27264 return resultobj;
27265 fail:
27266 return NULL;
27267 }
27268
27269
27270 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27271 PyObject *resultobj;
27272 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27273 int arg2 ;
27274 PyObject * obj0 = 0 ;
27275 PyObject * obj1 = 0 ;
27276 char *kwnames[] = {
27277 (char *) "self",(char *) "zoom", NULL
27278 };
27279
27280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27282 if (SWIG_arg_fail(1)) SWIG_fail;
27283 {
27284 arg2 = (int)(SWIG_As_int(obj1));
27285 if (SWIG_arg_fail(2)) SWIG_fail;
27286 }
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->base_SetZoomControl(arg2);
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27302 PyObject *obj;
27303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27305 Py_INCREF(obj);
27306 return Py_BuildValue((char *)"");
27307 }
27308 static PyMethodDef SwigMethods[] = {
27309 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27310 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27311 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27312 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27313 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27314 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27315 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27316 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27317 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27318 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27319 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27320 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27321 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27322 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27323 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27324 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27325 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27326 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27327 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27328 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27329 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27330 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27331 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27332 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27333 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27334 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27335 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27336 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27337 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27338 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27339 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27340 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27341 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27342 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27343 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27344 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27345 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27346 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27347 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27348 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27349 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27350 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27351 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27352 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27353 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27354 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27355 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27356 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27357 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27358 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27359 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27360 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27361 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27362 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27363 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27364 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27365 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27366 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27367 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27368 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27369 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27370 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27371 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27372 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27373 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27374 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27375 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27376 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27377 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27378 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27379 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27380 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27381 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27382 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27383 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27384 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27385 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27386 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27387 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27388 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27389 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27390 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27391 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27392 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27393 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27394 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27395 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27396 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27397 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27398 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27399 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27400 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27401 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27402 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27403 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27404 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27405 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27406 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27407 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27408 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27409 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27410 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27411 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27412 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27413 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27414 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27415 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27416 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27417 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27418 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27419 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27420 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27421 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27422 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27423 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27424 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27425 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27426 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27427 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27428 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27429 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27430 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27431 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27432 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27433 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27434 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27435 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27436 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27437 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27438 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27439 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27440 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27441 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27442 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27443 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27444 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27445 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27446 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27448 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27454 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27457 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27464 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27469 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27487 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27495 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27507 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27513 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27521 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27522 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27528 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27533 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27539 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27543 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27563 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27589 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27597 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27606 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27608 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27617 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27620 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27627 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27645 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27649 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27654 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27658 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27660 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27676 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27679 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27681 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27685 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27694 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27703 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27709 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27724 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27731 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27735 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27762 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27789 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27816 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27817 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27846 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27847 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
27880 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
27885 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
27886 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
27917 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
27923 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
27934 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
27957 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
27959 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
27965 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
27975 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
27976 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
27999 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28000 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28009 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28017 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28023 { NULL, NULL, 0, NULL }
28024 };
28025
28026
28027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28028
28029 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28030 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28031 }
28032 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28033 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28034 }
28035 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28036 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28037 }
28038 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28039 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28040 }
28041 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28042 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28043 }
28044 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28045 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28046 }
28047 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28048 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28049 }
28050 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28051 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28052 }
28053 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28054 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28055 }
28056 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28057 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28058 }
28059 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28060 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28061 }
28062 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28063 return (void *)((wxEvent *) ((wxPyEvent *) x));
28064 }
28065 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28066 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28067 }
28068 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28069 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28070 }
28071 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28072 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28073 }
28074 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28075 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28076 }
28077 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28078 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28079 }
28080 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28081 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28082 }
28083 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28084 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28085 }
28086 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28087 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28088 }
28089 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28090 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28091 }
28092 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28093 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28094 }
28095 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28096 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28097 }
28098 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28099 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28100 }
28101 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28102 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28103 }
28104 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28105 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28106 }
28107 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28108 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28109 }
28110 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28111 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28112 }
28113 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28114 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28115 }
28116 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28117 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28118 }
28119 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28120 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28121 }
28122 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28123 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28124 }
28125 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28127 }
28128 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28130 }
28131 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28132 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28133 }
28134 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28135 return (void *)((wxEvent *) ((wxShowEvent *) x));
28136 }
28137 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28138 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28139 }
28140 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28142 }
28143 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28145 }
28146 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28147 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28148 }
28149 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28150 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28151 }
28152 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28153 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28154 }
28155 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28156 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28157 }
28158 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28159 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28160 }
28161 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28162 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28163 }
28164 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28166 }
28167 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28169 }
28170 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28172 }
28173 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28174 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28175 }
28176 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28177 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28178 }
28179 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28180 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28181 }
28182 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28183 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28184 }
28185 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28186 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28187 }
28188 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28189 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28190 }
28191 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28192 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28193 }
28194 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28195 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28196 }
28197 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28199 }
28200 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28201 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28202 }
28203 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28205 }
28206 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28208 }
28209 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28210 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28211 }
28212 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28213 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28214 }
28215 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28216 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28217 }
28218 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28219 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28220 }
28221 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28223 }
28224 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28225 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28226 }
28227 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28228 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28229 }
28230 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28231 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28232 }
28233 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28234 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28235 }
28236 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28237 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28238 }
28239 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28240 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28241 }
28242 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28243 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28244 }
28245 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28246 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28247 }
28248 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28250 }
28251 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28252 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28253 }
28254 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28255 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28256 }
28257 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28258 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28259 }
28260 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28261 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28262 }
28263 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28264 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28265 }
28266 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28267 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28268 }
28269 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28270 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28271 }
28272 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28273 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28274 }
28275 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28276 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28277 }
28278 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28279 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28280 }
28281 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28282 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28283 }
28284 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28285 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28286 }
28287 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28288 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28289 }
28290 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28291 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28292 }
28293 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28294 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28295 }
28296 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28297 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28298 }
28299 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28300 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28301 }
28302 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28303 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28304 }
28305 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28306 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28307 }
28308 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28310 }
28311 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28312 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28313 }
28314 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28315 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28316 }
28317 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28318 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28319 }
28320 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28321 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28322 }
28323 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28324 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28325 }
28326 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28327 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28328 }
28329 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28330 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28331 }
28332 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28333 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28334 }
28335 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28336 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28337 }
28338 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28339 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28340 }
28341 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28343 }
28344 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28346 }
28347 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28348 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28349 }
28350 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28351 return (void *)((wxObject *) ((wxSizerItem *) x));
28352 }
28353 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28354 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28355 }
28356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28357 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28358 }
28359 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28360 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28361 }
28362 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28363 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28364 }
28365 static void *_p_wxSizerTo_p_wxObject(void *x) {
28366 return (void *)((wxObject *) ((wxSizer *) x));
28367 }
28368 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28369 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28370 }
28371 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28372 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28373 }
28374 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28376 }
28377 static void *_p_wxEventTo_p_wxObject(void *x) {
28378 return (void *)((wxObject *) ((wxEvent *) x));
28379 }
28380 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28381 return (void *)((wxObject *) ((wxFontData *) x));
28382 }
28383 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28384 return (void *)((wxObject *) ((wxPrintData *) x));
28385 }
28386 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28387 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28388 }
28389 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28390 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28391 }
28392 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28393 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28394 }
28395 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28396 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28397 }
28398 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28399 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28400 }
28401 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28403 }
28404 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28405 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28406 }
28407 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28408 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28409 }
28410 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28411 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28412 }
28413 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28414 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28415 }
28416 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28417 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28418 }
28419 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28420 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28421 }
28422 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28424 }
28425 static void *_p_wxControlTo_p_wxObject(void *x) {
28426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28427 }
28428 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28429 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28430 }
28431 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28432 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28433 }
28434 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28435 return (void *)((wxObject *) ((wxFSFile *) x));
28436 }
28437 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28438 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28439 }
28440 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28441 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28442 }
28443 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28445 }
28446 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28447 return (void *)((wxObject *) ((wxColourData *) x));
28448 }
28449 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28450 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28451 }
28452 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28453 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28454 }
28455 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28457 }
28458 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28460 }
28461 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28463 }
28464 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28466 }
28467 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28469 }
28470 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28472 }
28473 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28475 }
28476 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28478 }
28479 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28481 }
28482 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28484 }
28485 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28486 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28487 }
28488 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28489 return (void *)((wxObject *) ((wxPrinter *) x));
28490 }
28491 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28492 return (void *)((wxObject *) ((wxMenuItem *) x));
28493 }
28494 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28496 }
28497 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28498 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28499 }
28500 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28502 }
28503 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28504 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28505 }
28506 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28507 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28508 }
28509 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28510 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28511 }
28512 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28513 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28514 }
28515 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28516 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28517 }
28518 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28519 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28520 }
28521 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28522 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28523 }
28524 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28525 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28526 }
28527 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28528 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28529 }
28530 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28531 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28532 }
28533 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28534 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28535 }
28536 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28537 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28538 }
28539 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28540 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28541 }
28542 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28543 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28544 }
28545 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28546 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28547 }
28548 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
28549 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
28550 }
28551 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28552 return (void *)((wxObject *) ((wxImageHandler *) x));
28553 }
28554 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28555 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28556 }
28557 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28558 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28559 }
28560 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28561 return (void *)((wxObject *) ((wxEvtHandler *) x));
28562 }
28563 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28564 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28565 }
28566 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28568 }
28569 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28571 }
28572 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28573 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28574 }
28575 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28576 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28577 }
28578 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28580 }
28581 static void *_p_wxImageTo_p_wxObject(void *x) {
28582 return (void *)((wxObject *) ((wxImage *) x));
28583 }
28584 static void *_p_wxFrameTo_p_wxObject(void *x) {
28585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28586 }
28587 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28588 return (void *)((wxObject *) ((wxPyPrintout *) x));
28589 }
28590 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28591 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28592 }
28593 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28594 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28595 }
28596 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28598 }
28599 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28601 }
28602 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28604 }
28605 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28606 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28607 }
28608 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28609 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28610 }
28611 static void *_p_wxWindowTo_p_wxObject(void *x) {
28612 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28613 }
28614 static void *_p_wxMenuTo_p_wxObject(void *x) {
28615 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28616 }
28617 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28619 }
28620 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28622 }
28623 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28625 }
28626 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28628 }
28629 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28631 }
28632 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28633 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28634 }
28635 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28637 }
28638 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28640 }
28641 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28643 }
28644 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28646 }
28647 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28649 }
28650 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28652 }
28653 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28655 }
28656 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28658 }
28659 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28660 return (void *)((wxObject *) ((wxPrintPreview *) x));
28661 }
28662 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28663 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28664 }
28665 static void *_p_wxPanelTo_p_wxObject(void *x) {
28666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28667 }
28668 static void *_p_wxDialogTo_p_wxObject(void *x) {
28669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28670 }
28671 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28673 }
28674 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28676 }
28677 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28679 }
28680 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28681 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28682 }
28683 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28684 return (void *)((wxObject *) ((wxPrintDialog *) x));
28685 }
28686 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28687 return (void *)((wxObject *) ((wxFileSystem *) x));
28688 }
28689 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28690 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28691 }
28692 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28693 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28694 }
28695 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28696 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28697 }
28698 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28699 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28700 }
28701 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28702 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28703 }
28704 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28705 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28706 }
28707 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28709 }
28710 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28711 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28712 }
28713 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28715 }
28716 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28718 }
28719 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28720 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28721 }
28722 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28723 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28724 }
28725 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28726 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28727 }
28728 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28730 }
28731 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28732 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28733 }
28734 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28735 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28736 }
28737 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28738 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28739 }
28740 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28741 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28742 }
28743 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28744 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28745 }
28746 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28747 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28748 }
28749 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
28750 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28751 }
28752 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28753 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28754 }
28755 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
28756 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28757 }
28758 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28759 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28760 }
28761 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28762 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28763 }
28764 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28765 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28766 }
28767 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28768 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28769 }
28770 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28771 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28772 }
28773 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28774 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28775 }
28776 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28777 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28778 }
28779 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28780 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28781 }
28782 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28783 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28784 }
28785 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28786 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28787 }
28788 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28789 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28790 }
28791 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28792 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28793 }
28794 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28795 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28796 }
28797 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28798 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28799 }
28800 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28801 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28802 }
28803 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28804 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28805 }
28806 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28807 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28808 }
28809 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28810 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28811 }
28812 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28813 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28814 }
28815 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28816 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28817 }
28818 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28819 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28820 }
28821 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28822 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28823 }
28824 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28825 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28826 }
28827 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28828 return (void *)((wxWindow *) ((wxMenuBar *) x));
28829 }
28830 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28831 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28832 }
28833 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28834 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28835 }
28836 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28837 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28838 }
28839 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28840 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28841 }
28842 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28844 }
28845 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28846 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28847 }
28848 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28849 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28850 }
28851 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28852 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28853 }
28854 static void *_p_wxPanelTo_p_wxWindow(void *x) {
28855 return (void *)((wxWindow *) ((wxPanel *) x));
28856 }
28857 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28858 return (void *)((wxWindow *) ((wxStatusBar *) x));
28859 }
28860 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28861 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28862 }
28863 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28864 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28865 }
28866 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28867 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28868 }
28869 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
28870 return (void *)((wxWindow *) ((wxPopupWindow *) x));
28871 }
28872 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
28873 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
28874 }
28875 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
28876 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
28877 }
28878 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
28879 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
28880 }
28881 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
28882 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
28883 }
28884 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
28885 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
28886 }
28887 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
28888 return (void *)((wxWindow *) ((wxSashWindow *) x));
28889 }
28890 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
28891 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
28892 }
28893 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
28894 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28895 }
28896 static void *_p_wxControlTo_p_wxWindow(void *x) {
28897 return (void *)((wxWindow *) ((wxControl *) x));
28898 }
28899 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
28900 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28901 }
28902 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
28903 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28904 }
28905 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
28906 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28907 }
28908 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28909 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28910 }
28911 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
28912 return (void *)((wxWindow *) ((wxPyWindow *) x));
28913 }
28914 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
28915 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28916 }
28917 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
28918 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28919 }
28920 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
28921 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28922 }
28923 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
28924 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
28925 }
28926 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
28927 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28928 }
28929 static void *_p_wxFrameTo_p_wxWindow(void *x) {
28930 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
28931 }
28932 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
28933 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28934 }
28935 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
28936 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28937 }
28938 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
28939 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28940 }
28941 static void *_p_wxDialogTo_p_wxWindow(void *x) {
28942 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
28943 }
28944 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
28945 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28946 }
28947 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
28948 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28949 }
28950 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
28951 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
28952 }
28953 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
28954 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
28955 }
28956 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
28957 return (void *)((wxDialog *) ((wxColourDialog *) x));
28958 }
28959 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
28960 return (void *)((wxDialog *) ((wxDirDialog *) x));
28961 }
28962 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
28963 return (void *)((wxDialog *) ((wxFontDialog *) x));
28964 }
28965 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
28966 return (void *)((wxDialog *) ((wxFileDialog *) x));
28967 }
28968 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
28969 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
28970 }
28971 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
28972 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
28973 }
28974 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
28975 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
28976 }
28977 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
28978 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28979 }
28980 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
28981 return (void *)((wxDialog *) ((wxMessageDialog *) x));
28982 }
28983 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
28984 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
28985 }
28986 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
28987 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
28988 }
28989 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
28990 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
28991 }
28992 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
28993 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28994 }
28995 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
28996 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28997 }
28998 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
28999 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29000 }
29001 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29002 return (void *)((wxPanel *) ((wxPyPanel *) x));
29003 }
29004 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29005 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29006 }
29007 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29008 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29009 }
29010 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29011 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29012 }
29013 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29014 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29015 }
29016 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29017 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29018 }
29019 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29020 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29021 }
29022 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29023 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29024 }
29025 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29026 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29027 }
29028 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29029 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29030 }
29031 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29032 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29033 }
29034 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29035 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29036 }
29037 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29038 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29039 }
29040 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29041 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29042 }
29043 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29044 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29045 }
29046 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29047 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29048 }
29049 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29050 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29051 }
29052 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}};
29053 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}};
29054 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}};
29055 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}};
29056 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}};
29057 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}};
29058 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}};
29059 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}};
29060 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}};
29061 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}};
29062 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}};
29063 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}};
29064 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}};
29065 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}};
29066 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}};
29067 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}};
29068 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}};
29069 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}};
29070 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}};
29071 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}};
29072 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}};
29073 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}};
29074 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}};
29075 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}};
29076 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}};
29077 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}};
29078 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}};
29079 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}};
29080 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}};
29081 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}};
29082 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}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 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}};
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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_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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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_wxPyImageHandler", _p_wxPyImageHandlerTo_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_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_wxTipWindow", _p_wxTipWindowTo_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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29118 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29119 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}};
29120 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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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}};
29121 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 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}};
29127 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}};
29128 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}};
29129 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}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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}};
29135 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}};
29136 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}};
29137 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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29149
29150 static swig_type_info *swig_types_initial[] = {
29151 _swigt__p_wxQueryLayoutInfoEvent,
29152 _swigt__p_wxPreviewFrame,
29153 _swigt__p_wxPyPreviewFrame,
29154 _swigt__p_wxPyPanel,
29155 _swigt__p_wxMenu,
29156 _swigt__p_wxFontData,
29157 _swigt__p_wxEvent,
29158 _swigt__p_wxPrintData,
29159 _swigt__p_wxTaskBarIcon,
29160 _swigt__p_wxPyTaskBarIcon,
29161 _swigt__p_wxIconBundle,
29162 _swigt__p_wxLayoutAlgorithm,
29163 _swigt__p_wxFindDialogEvent,
29164 _swigt__p_wxPreviewCanvas,
29165 _swigt__p_wxFont,
29166 _swigt__p_wxSplitterEvent,
29167 _swigt__p_wxRegion,
29168 _swigt__ptrdiff_t,
29169 _swigt__std__ptrdiff_t,
29170 _swigt__p_wxFindReplaceData,
29171 _swigt__p_int,
29172 _swigt__p_wxSize,
29173 _swigt__p_wxDC,
29174 _swigt__p_wxIcon,
29175 _swigt__p_wxVisualAttributes,
29176 _swigt__p_wxMDIChildFrame,
29177 _swigt__p_wxColourData,
29178 _swigt__p_wxNotifyEvent,
29179 _swigt__p_wxPyWindow,
29180 _swigt__p_form_ops_t,
29181 _swigt__p_wxSplashScreen,
29182 _swigt__p_wxPasswordEntryDialog,
29183 _swigt__p_wxSingleChoiceDialog,
29184 _swigt__p_wxMultiChoiceDialog,
29185 _swigt__p_wxFileDialog,
29186 _swigt__p_wxTextEntryDialog,
29187 _swigt__p_wxMessageDialog,
29188 _swigt__p_wxProgressDialog,
29189 _swigt__p_wxFindReplaceDialog,
29190 _swigt__p_wxPrinter,
29191 _swigt__p_wxArrayInt,
29192 _swigt__p_wxDuplexMode,
29193 _swigt__p_wxEvtHandler,
29194 _swigt__p_wxCalculateLayoutEvent,
29195 _swigt__p_wxPyHtmlListBox,
29196 _swigt__p_wxPyVListBox,
29197 _swigt__p_wxRect,
29198 _swigt__p_wxStdDialogButtonSizer,
29199 _swigt__p_char,
29200 _swigt__p_wxMiniFrame,
29201 _swigt__p_wxFrame,
29202 _swigt__p_wxPyPrintout,
29203 _swigt__p_wxTaskBarIconEvent,
29204 _swigt__p_wxScrollWinEvent,
29205 _swigt__p_wxPaperSize,
29206 _swigt__p_wxStatusBar,
29207 _swigt__p_wxMDIParentFrame,
29208 _swigt__p_wxPoint,
29209 _swigt__p_wxObject,
29210 _swigt__p_unsigned_long,
29211 _swigt__p_wxTipWindow,
29212 _swigt__p_wxSashLayoutWindow,
29213 _swigt__p_wxSplitterWindow,
29214 _swigt__p_wxSplashScreenWindow,
29215 _swigt__p_wxPyVScrolledWindow,
29216 _swigt__p_wxPyPopupTransientWindow,
29217 _swigt__p_wxPopupWindow,
29218 _swigt__p_wxSashWindow,
29219 _swigt__p_wxTopLevelWindow,
29220 _swigt__p_wxWindow,
29221 _swigt__p_wxScrolledWindow,
29222 _swigt__p_wxMenuBar,
29223 _swigt__p_wxMDIClientWindow,
29224 _swigt__p_wxPyScrolledWindow,
29225 _swigt__p_wxPrintPreview,
29226 _swigt__p_wxSashEvent,
29227 _swigt__p_wxString,
29228 _swigt__p_wxPyPrintPreview,
29229 _swigt__p_wxDirDialog,
29230 _swigt__p_wxColourDialog,
29231 _swigt__p_wxDialog,
29232 _swigt__p_wxPanel,
29233 _swigt__p_wxFontDialog,
29234 _swigt__p_wxPageSetupDialog,
29235 _swigt__p_wxPrintDialog,
29236 _swigt__p_wxFileSystem,
29237 _swigt__p_wxBitmap,
29238 _swigt__unsigned_int,
29239 _swigt__p_unsigned_int,
29240 _swigt__p_unsigned_char,
29241 _swigt__p_wxCommandEvent,
29242 _swigt__p_wxPreviewControlBar,
29243 _swigt__p_wxPyPreviewControlBar,
29244 _swigt__p_wxColour,
29245 _swigt__p_wxToolBar,
29246 _swigt__p_wxPageSetupDialogData,
29247 _swigt__p_wxPrintDialogData,
29248 0
29249 };
29250
29251
29252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29253
29254 static swig_const_info swig_const_table[] = {
29255 {0, 0, 0, 0.0, 0, 0}};
29256
29257 #ifdef __cplusplus
29258 }
29259 #endif
29260
29261
29262 #ifdef __cplusplus
29263 extern "C" {
29264 #endif
29265
29266 /* Python-specific SWIG API */
29267 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29268 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29269 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29270
29271 /* -----------------------------------------------------------------------------
29272 * global variable support code.
29273 * ----------------------------------------------------------------------------- */
29274
29275 typedef struct swig_globalvar {
29276 char *name; /* Name of global variable */
29277 PyObject *(*get_attr)(); /* Return the current value */
29278 int (*set_attr)(PyObject *); /* Set the value */
29279 struct swig_globalvar *next;
29280 } swig_globalvar;
29281
29282 typedef struct swig_varlinkobject {
29283 PyObject_HEAD
29284 swig_globalvar *vars;
29285 } swig_varlinkobject;
29286
29287 static PyObject *
29288 swig_varlink_repr(swig_varlinkobject *v) {
29289 v = v;
29290 return PyString_FromString("<Swig global variables>");
29291 }
29292
29293 static int
29294 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29295 swig_globalvar *var;
29296 flags = flags;
29297 fprintf(fp,"Swig global variables { ");
29298 for (var = v->vars; var; var=var->next) {
29299 fprintf(fp,"%s", var->name);
29300 if (var->next) fprintf(fp,", ");
29301 }
29302 fprintf(fp," }\n");
29303 return 0;
29304 }
29305
29306 static PyObject *
29307 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29308 swig_globalvar *var = v->vars;
29309 while (var) {
29310 if (strcmp(var->name,n) == 0) {
29311 return (*var->get_attr)();
29312 }
29313 var = var->next;
29314 }
29315 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29316 return NULL;
29317 }
29318
29319 static int
29320 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29321 swig_globalvar *var = v->vars;
29322 while (var) {
29323 if (strcmp(var->name,n) == 0) {
29324 return (*var->set_attr)(p);
29325 }
29326 var = var->next;
29327 }
29328 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29329 return 1;
29330 }
29331
29332 static PyTypeObject varlinktype = {
29333 PyObject_HEAD_INIT(0)
29334 0, /* Number of items in variable part (ob_size) */
29335 (char *)"swigvarlink", /* Type name (tp_name) */
29336 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29337 0, /* Itemsize (tp_itemsize) */
29338 0, /* Deallocator (tp_dealloc) */
29339 (printfunc) swig_varlink_print, /* Print (tp_print) */
29340 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29341 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29342 0, /* tp_compare */
29343 (reprfunc) swig_varlink_repr, /* tp_repr */
29344 0, /* tp_as_number */
29345 0, /* tp_as_sequence */
29346 0, /* tp_as_mapping */
29347 0, /* tp_hash */
29348 0, /* tp_call */
29349 0, /* tp_str */
29350 0, /* tp_getattro */
29351 0, /* tp_setattro */
29352 0, /* tp_as_buffer */
29353 0, /* tp_flags */
29354 0, /* tp_doc */
29355 #if PY_VERSION_HEX >= 0x02000000
29356 0, /* tp_traverse */
29357 0, /* tp_clear */
29358 #endif
29359 #if PY_VERSION_HEX >= 0x02010000
29360 0, /* tp_richcompare */
29361 0, /* tp_weaklistoffset */
29362 #endif
29363 #if PY_VERSION_HEX >= 0x02020000
29364 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29365 #endif
29366 #if PY_VERSION_HEX >= 0x02030000
29367 0, /* tp_del */
29368 #endif
29369 #ifdef COUNT_ALLOCS
29370 0,0,0,0 /* tp_alloc -> tp_next */
29371 #endif
29372 };
29373
29374 /* Create a variable linking object for use later */
29375 static PyObject *
29376 SWIG_Python_newvarlink(void) {
29377 swig_varlinkobject *result = 0;
29378 result = PyMem_NEW(swig_varlinkobject,1);
29379 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29380 result->ob_type = &varlinktype;
29381 result->vars = 0;
29382 result->ob_refcnt = 0;
29383 Py_XINCREF((PyObject *) result);
29384 return ((PyObject*) result);
29385 }
29386
29387 static void
29388 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29389 swig_varlinkobject *v;
29390 swig_globalvar *gv;
29391 v= (swig_varlinkobject *) p;
29392 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29393 gv->name = (char *) malloc(strlen(name)+1);
29394 strcpy(gv->name,name);
29395 gv->get_attr = get_attr;
29396 gv->set_attr = set_attr;
29397 gv->next = v->vars;
29398 v->vars = gv;
29399 }
29400
29401 /* -----------------------------------------------------------------------------
29402 * constants/methods manipulation
29403 * ----------------------------------------------------------------------------- */
29404
29405 /* Install Constants */
29406 static void
29407 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29408 PyObject *obj = 0;
29409 size_t i;
29410 for (i = 0; constants[i].type; i++) {
29411 switch(constants[i].type) {
29412 case SWIG_PY_INT:
29413 obj = PyInt_FromLong(constants[i].lvalue);
29414 break;
29415 case SWIG_PY_FLOAT:
29416 obj = PyFloat_FromDouble(constants[i].dvalue);
29417 break;
29418 case SWIG_PY_STRING:
29419 if (constants[i].pvalue) {
29420 obj = PyString_FromString((char *) constants[i].pvalue);
29421 } else {
29422 Py_INCREF(Py_None);
29423 obj = Py_None;
29424 }
29425 break;
29426 case SWIG_PY_POINTER:
29427 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29428 break;
29429 case SWIG_PY_BINARY:
29430 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29431 break;
29432 default:
29433 obj = 0;
29434 break;
29435 }
29436 if (obj) {
29437 PyDict_SetItemString(d,constants[i].name,obj);
29438 Py_DECREF(obj);
29439 }
29440 }
29441 }
29442
29443 /* -----------------------------------------------------------------------------*/
29444 /* Fix SwigMethods to carry the callback ptrs when needed */
29445 /* -----------------------------------------------------------------------------*/
29446
29447 static void
29448 SWIG_Python_FixMethods(PyMethodDef *methods,
29449 swig_const_info *const_table,
29450 swig_type_info **types,
29451 swig_type_info **types_initial) {
29452 size_t i;
29453 for (i = 0; methods[i].ml_name; ++i) {
29454 char *c = methods[i].ml_doc;
29455 if (c && (c = strstr(c, "swig_ptr: "))) {
29456 int j;
29457 swig_const_info *ci = 0;
29458 char *name = c + 10;
29459 for (j = 0; const_table[j].type; j++) {
29460 if (strncmp(const_table[j].name, name,
29461 strlen(const_table[j].name)) == 0) {
29462 ci = &(const_table[j]);
29463 break;
29464 }
29465 }
29466 if (ci) {
29467 size_t shift = (ci->ptype) - types;
29468 swig_type_info *ty = types_initial[shift];
29469 size_t ldoc = (c - methods[i].ml_doc);
29470 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29471 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29472 char *buff = ndoc;
29473 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29474 strncpy(buff, methods[i].ml_doc, ldoc);
29475 buff += ldoc;
29476 strncpy(buff, "swig_ptr: ", 10);
29477 buff += 10;
29478 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29479 methods[i].ml_doc = ndoc;
29480 }
29481 }
29482 }
29483 }
29484
29485 /* -----------------------------------------------------------------------------*
29486 * Initialize type list
29487 * -----------------------------------------------------------------------------*/
29488
29489 #if PY_MAJOR_VERSION < 2
29490 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29491 is copied out of Python/modsupport.c in python version 2.3.4 */
29492 static int
29493 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29494 {
29495 PyObject *dict;
29496 if (!PyModule_Check(m)) {
29497 PyErr_SetString(PyExc_TypeError,
29498 "PyModule_AddObject() needs module as first arg");
29499 return -1;
29500 }
29501 if (!o) {
29502 PyErr_SetString(PyExc_TypeError,
29503 "PyModule_AddObject() needs non-NULL value");
29504 return -1;
29505 }
29506
29507 dict = PyModule_GetDict(m);
29508 if (dict == NULL) {
29509 /* Internal error -- modules must have a dict! */
29510 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29511 PyModule_GetName(m));
29512 return -1;
29513 }
29514 if (PyDict_SetItemString(dict, name, o))
29515 return -1;
29516 Py_DECREF(o);
29517 return 0;
29518 }
29519 #endif
29520
29521 static swig_type_info **
29522 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29523 static PyMethodDef swig_empty_runtime_method_table[] = {
29524 {
29525 NULL, NULL, 0, NULL
29526 }
29527 };/* Sentinel */
29528
29529 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29530 swig_empty_runtime_method_table);
29531 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29532 if (pointer && module) {
29533 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29534 }
29535 return type_list_handle;
29536 }
29537
29538 static swig_type_info **
29539 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29540 swig_type_info **type_pointer;
29541
29542 /* first check if module already created */
29543 type_pointer = SWIG_Python_GetTypeListHandle();
29544 if (type_pointer) {
29545 return type_pointer;
29546 } else {
29547 /* create a new module and variable */
29548 return SWIG_Python_SetTypeListHandle(type_list_handle);
29549 }
29550 }
29551
29552 #ifdef __cplusplus
29553 }
29554 #endif
29555
29556 /* -----------------------------------------------------------------------------*
29557 * Partial Init method
29558 * -----------------------------------------------------------------------------*/
29559
29560 #ifdef SWIG_LINK_RUNTIME
29561 #ifdef __cplusplus
29562 extern "C"
29563 #endif
29564 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29565 #endif
29566
29567 #ifdef __cplusplus
29568 extern "C"
29569 #endif
29570 SWIGEXPORT(void) SWIG_init(void) {
29571 static PyObject *SWIG_globals = 0;
29572 static int typeinit = 0;
29573 PyObject *m, *d;
29574 int i;
29575 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29576
29577 /* Fix SwigMethods to carry the callback ptrs when needed */
29578 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29579
29580 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29581 d = PyModule_GetDict(m);
29582
29583 if (!typeinit) {
29584 #ifdef SWIG_LINK_RUNTIME
29585 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29586 #else
29587 # ifndef SWIG_STATIC_RUNTIME
29588 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29589 # endif
29590 #endif
29591 for (i = 0; swig_types_initial[i]; i++) {
29592 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29593 }
29594 typeinit = 1;
29595 }
29596 SWIG_InstallConstants(d,swig_const_table);
29597
29598 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29599 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29600 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29601 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29602 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29603 {
29604 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29605 }
29606 {
29607 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29608 }
29609 {
29610 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29611 }
29612 {
29613 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29614 }
29615 {
29616 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29617 }
29618 {
29619 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29620 }
29621 {
29622 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29623 }
29624 {
29625 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29626 }
29627 {
29628 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29629 }
29630 {
29631 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29632 }
29633 {
29634 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29635 }
29636 {
29637 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29638 }
29639 {
29640 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29641 }
29642 {
29643 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29644 }
29645 {
29646 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29647 }
29648 {
29649 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29650 }
29651 {
29652 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29653 }
29654 {
29655 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29656 }
29657 {
29658 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29659 }
29660 {
29661 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29662 }
29663 {
29664 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29665 }
29666 {
29667 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29668 }
29669 {
29670 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
29671 }
29672 {
29673 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
29674 }
29675 {
29676 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29677 }
29678 {
29679 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29680 }
29681 {
29682 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29683 }
29684 {
29685 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29686 }
29687 {
29688 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29689 }
29690 {
29691 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29692 }
29693 {
29694 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29695 }
29696 {
29697 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29698 }
29699 {
29700 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29701 }
29702 {
29703 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29704 }
29705 {
29706 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29707 }
29708 {
29709 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29710 }
29711 {
29712 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29713 }
29714 {
29715 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29716 }
29717 {
29718 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29719 }
29720 {
29721 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29722 }
29723 {
29724 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29725 }
29726 {
29727 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29728 }
29729 {
29730 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29731 }
29732 {
29733 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29734 }
29735 {
29736 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29737 }
29738 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
29739 {
29740 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29741 }
29742 {
29743 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29744 }
29745 {
29746 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29747 }
29748 {
29749 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29750 }
29751 {
29752 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29753 }
29754 {
29755 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29756 }
29757 {
29758 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29759 }
29760 {
29761 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
29762 }
29763 {
29764 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
29765 }
29766 {
29767 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
29768 }
29769 {
29770 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
29771 }
29772 {
29773 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
29774 }
29775 {
29776 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
29777 }
29778 {
29779 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
29780 }
29781 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
29782 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
29783 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
29784 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
29785 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
29786 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
29787 {
29788 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
29789 }
29790 {
29791 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
29792 }
29793 {
29794 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
29795 }
29796 {
29797 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
29798 }
29799 {
29800 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
29801 }
29802 {
29803 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
29804 }
29805 {
29806 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
29807 }
29808 {
29809 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
29810 }
29811 {
29812 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
29813 }
29814 {
29815 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
29816 }
29817 {
29818 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
29819 }
29820 {
29821 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
29822 }
29823 {
29824 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
29825 }
29826 {
29827 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
29828 }
29829 {
29830 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
29831 }
29832 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
29833 {
29834 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
29835 }
29836 {
29837 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
29838 }
29839 {
29840 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
29841 }
29842 {
29843 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
29844 }
29845 {
29846 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
29847 }
29848 {
29849 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
29850 }
29851 {
29852 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
29853 }
29854 {
29855 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
29856 }
29857 {
29858 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
29859 }
29860 {
29861 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
29862 }
29863 {
29864 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
29865 }
29866 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
29867 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
29868 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
29869
29870 // Map renamed classes back to their common name for OOR
29871 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29872 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29873 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29874
29875 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
29876 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
29877 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
29878 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
29879 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
29880 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
29881 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
29882 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29883 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29884 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
29885 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29886 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
29887 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
29888 {
29889 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
29890 }
29891 {
29892 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
29893 }
29894 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
29895 {
29896 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
29897 }
29898 {
29899 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
29900 }
29901 {
29902 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
29903 }
29904 {
29905 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
29906 }
29907 {
29908 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
29909 }
29910 {
29911 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
29912 }
29913 {
29914 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
29915 }
29916 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
29917 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
29918 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
29919 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
29920 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
29921 {
29922 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29923 }
29924 {
29925 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29926 }
29927 {
29928 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29929 }
29930 {
29931 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29932 }
29933 {
29934 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29935 }
29936 {
29937 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29938 }
29939 {
29940 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
29941 }
29942 {
29943 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29944 }
29945 {
29946 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29947 }
29948 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
29949 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
29950 {
29951 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
29952 }
29953 {
29954 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
29955 }
29956 {
29957 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
29958 }
29959 {
29960 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
29961 }
29962 {
29963 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
29964 }
29965 {
29966 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
29967 }
29968 {
29969 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
29970 }
29971 {
29972 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
29973 }
29974 {
29975 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
29976 }
29977 {
29978 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
29979 }
29980 {
29981 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
29982 }
29983 {
29984 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
29985 }
29986 {
29987 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
29988 }
29989 {
29990 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
29991 }
29992 {
29993 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
29994 }
29995 {
29996 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
29997 }
29998 {
29999 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30000 }
30001 {
30002 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30003 }
30004 {
30005 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30006 }
30007 {
30008 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30012 }
30013 {
30014 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30015 }
30016 {
30017 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30018 }
30019 {
30020 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30021 }
30022 {
30023 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30024 }
30025 {
30026 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30027 }
30028 {
30029 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30030 }
30031 {
30032 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30033 }
30034 {
30035 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30036 }
30037 {
30038 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30039 }
30040 {
30041 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30042 }
30043 {
30044 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30045 }
30046 {
30047 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30048 }
30049 {
30050 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30051 }
30052 {
30053 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30054 }
30055 {
30056 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30057 }
30058 {
30059 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30060 }
30061 {
30062 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30063 }
30064 {
30065 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30066 }
30067
30068 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30069
30070 }
30071