]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
unihde base class virtual functions
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/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_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3914 wxDC *arg2 = 0 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self",(char *) "dc", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail;
3924 {
3925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3926 if (SWIG_arg_fail(2)) SWIG_fail;
3927 if (arg2 == NULL) {
3928 SWIG_null_ref("wxDC");
3929 }
3930 if (SWIG_arg_fail(2)) SWIG_fail;
3931 }
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->DoPrepareDC(*arg2);
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 Py_INCREF(Py_None); resultobj = Py_None;
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3949 wxVisualAttributes result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "variant", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3956 if (obj0) {
3957 {
3958 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3959 if (SWIG_arg_fail(1)) SWIG_fail;
3960 }
3961 }
3962 {
3963 if (!wxPyCheckForApp()) SWIG_fail;
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 wxVisualAttributes * resultptr;
3972 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3974 }
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
3982 PyObject *obj;
3983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3984 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3985 Py_INCREF(obj);
3986 return Py_BuildValue((char *)"");
3987 }
3988 static int _wrap_FrameNameStr_set(PyObject *) {
3989 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3990 return 1;
3991 }
3992
3993
3994 static PyObject *_wrap_FrameNameStr_get(void) {
3995 PyObject *pyobj;
3996
3997 {
3998 #if wxUSE_UNICODE
3999 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4000 #else
4001 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4002 #endif
4003 }
4004 return pyobj;
4005 }
4006
4007
4008 static int _wrap_DialogNameStr_set(PyObject *) {
4009 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4010 return 1;
4011 }
4012
4013
4014 static PyObject *_wrap_DialogNameStr_get(void) {
4015 PyObject *pyobj;
4016
4017 {
4018 #if wxUSE_UNICODE
4019 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4020 #else
4021 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4022 #endif
4023 }
4024 return pyobj;
4025 }
4026
4027
4028 static int _wrap_StatusLineNameStr_set(PyObject *) {
4029 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4030 return 1;
4031 }
4032
4033
4034 static PyObject *_wrap_StatusLineNameStr_get(void) {
4035 PyObject *pyobj;
4036
4037 {
4038 #if wxUSE_UNICODE
4039 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4040 #else
4041 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4042 #endif
4043 }
4044 return pyobj;
4045 }
4046
4047
4048 static int _wrap_ToolBarNameStr_set(PyObject *) {
4049 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4050 return 1;
4051 }
4052
4053
4054 static PyObject *_wrap_ToolBarNameStr_get(void) {
4055 PyObject *pyobj;
4056
4057 {
4058 #if wxUSE_UNICODE
4059 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4060 #else
4061 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4062 #endif
4063 }
4064 return pyobj;
4065 }
4066
4067
4068 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj;
4070 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4071 bool arg2 = (bool) true ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj1 = 0 ;
4074 char *kwnames[] = {
4075 (char *) "self",(char *) "maximize", NULL
4076 };
4077
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4080 if (SWIG_arg_fail(1)) SWIG_fail;
4081 if (obj1) {
4082 {
4083 arg2 = (bool)(SWIG_As_bool(obj1));
4084 if (SWIG_arg_fail(2)) SWIG_fail;
4085 }
4086 }
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 (arg1)->Maximize(arg2);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 Py_INCREF(Py_None); resultobj = Py_None;
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4104 PyObject * obj0 = 0 ;
4105 char *kwnames[] = {
4106 (char *) "self", NULL
4107 };
4108
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail;
4112 {
4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
4114 (arg1)->Restore();
4115
4116 wxPyEndAllowThreads(__tstate);
4117 if (PyErr_Occurred()) SWIG_fail;
4118 }
4119 Py_INCREF(Py_None); resultobj = Py_None;
4120 return resultobj;
4121 fail:
4122 return NULL;
4123 }
4124
4125
4126 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4129 bool arg2 = (bool) true ;
4130 PyObject * obj0 = 0 ;
4131 PyObject * obj1 = 0 ;
4132 char *kwnames[] = {
4133 (char *) "self",(char *) "iconize", NULL
4134 };
4135
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail;
4139 if (obj1) {
4140 {
4141 arg2 = (bool)(SWIG_As_bool(obj1));
4142 if (SWIG_arg_fail(2)) SWIG_fail;
4143 }
4144 }
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 (arg1)->Iconize(arg2);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4162 bool result;
4163 PyObject * obj0 = 0 ;
4164 char *kwnames[] = {
4165 (char *) "self", NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4170 if (SWIG_arg_fail(1)) SWIG_fail;
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 {
4179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4180 }
4181 return resultobj;
4182 fail:
4183 return NULL;
4184 }
4185
4186
4187 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4190 bool result;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4198 if (SWIG_arg_fail(1)) SWIG_fail;
4199 {
4200 PyThreadState* __tstate = wxPyBeginAllowThreads();
4201 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4202
4203 wxPyEndAllowThreads(__tstate);
4204 if (PyErr_Occurred()) SWIG_fail;
4205 }
4206 {
4207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4208 }
4209 return resultobj;
4210 fail:
4211 return NULL;
4212 }
4213
4214
4215 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4216 PyObject *resultobj;
4217 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4218 wxIcon result;
4219 PyObject * obj0 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "self", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4226 if (SWIG_arg_fail(1)) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 {
4235 wxIcon * resultptr;
4236 resultptr = new wxIcon((wxIcon &)(result));
4237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4238 }
4239 return resultobj;
4240 fail:
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4248 wxIcon *arg2 = 0 ;
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self",(char *) "icon", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4257 if (SWIG_arg_fail(1)) SWIG_fail;
4258 {
4259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4260 if (SWIG_arg_fail(2)) SWIG_fail;
4261 if (arg2 == NULL) {
4262 SWIG_null_ref("wxIcon");
4263 }
4264 if (SWIG_arg_fail(2)) SWIG_fail;
4265 }
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 (arg1)->SetIcon((wxIcon const &)*arg2);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 Py_INCREF(Py_None); resultobj = Py_None;
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4283 wxIconBundle *arg2 = 0 ;
4284 PyObject * obj0 = 0 ;
4285 PyObject * obj1 = 0 ;
4286 char *kwnames[] = {
4287 (char *) "self",(char *) "icons", NULL
4288 };
4289
4290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail;
4293 {
4294 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4295 if (SWIG_arg_fail(2)) SWIG_fail;
4296 if (arg2 == NULL) {
4297 SWIG_null_ref("wxIconBundle");
4298 }
4299 if (SWIG_arg_fail(2)) SWIG_fail;
4300 }
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
4303 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4304
4305 wxPyEndAllowThreads(__tstate);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 Py_INCREF(Py_None); resultobj = Py_None;
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4318 bool arg2 ;
4319 long arg3 = (long) wxFULLSCREEN_ALL ;
4320 bool result;
4321 PyObject * obj0 = 0 ;
4322 PyObject * obj1 = 0 ;
4323 PyObject * obj2 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "self",(char *) "show",(char *) "style", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail;
4331 {
4332 arg2 = (bool)(SWIG_As_bool(obj1));
4333 if (SWIG_arg_fail(2)) SWIG_fail;
4334 }
4335 if (obj2) {
4336 {
4337 arg3 = (long)(SWIG_As_long(obj2));
4338 if (SWIG_arg_fail(3)) SWIG_fail;
4339 }
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 {
4349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4350 }
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4360 bool result;
4361 PyObject * obj0 = 0 ;
4362 char *kwnames[] = {
4363 (char *) "self", NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4368 if (SWIG_arg_fail(1)) SWIG_fail;
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4372
4373 wxPyEndAllowThreads(__tstate);
4374 if (PyErr_Occurred()) SWIG_fail;
4375 }
4376 {
4377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4378 }
4379 return resultobj;
4380 fail:
4381 return NULL;
4382 }
4383
4384
4385 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj;
4387 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4388 wxString *arg2 = 0 ;
4389 bool temp2 = false ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self",(char *) "title", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4398 if (SWIG_arg_fail(1)) SWIG_fail;
4399 {
4400 arg2 = wxString_in_helper(obj1);
4401 if (arg2 == NULL) SWIG_fail;
4402 temp2 = true;
4403 }
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 (arg1)->SetTitle((wxString const &)*arg2);
4407
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 Py_INCREF(Py_None); resultobj = Py_None;
4412 {
4413 if (temp2)
4414 delete arg2;
4415 }
4416 return resultobj;
4417 fail:
4418 {
4419 if (temp2)
4420 delete arg2;
4421 }
4422 return NULL;
4423 }
4424
4425
4426 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4429 wxString result;
4430 PyObject * obj0 = 0 ;
4431 char *kwnames[] = {
4432 (char *) "self", NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4437 if (SWIG_arg_fail(1)) SWIG_fail;
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 {
4446 #if wxUSE_UNICODE
4447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4448 #else
4449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4450 #endif
4451 }
4452 return resultobj;
4453 fail:
4454 return NULL;
4455 }
4456
4457
4458 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4459 PyObject *resultobj;
4460 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4461 wxRegion *arg2 = 0 ;
4462 bool result;
4463 PyObject * obj0 = 0 ;
4464 PyObject * obj1 = 0 ;
4465 char *kwnames[] = {
4466 (char *) "self",(char *) "region", NULL
4467 };
4468
4469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4471 if (SWIG_arg_fail(1)) SWIG_fail;
4472 {
4473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4474 if (SWIG_arg_fail(2)) SWIG_fail;
4475 if (arg2 == NULL) {
4476 SWIG_null_ref("wxRegion");
4477 }
4478 if (SWIG_arg_fail(2)) SWIG_fail;
4479 }
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 {
4488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4489 }
4490 return resultobj;
4491 fail:
4492 return NULL;
4493 }
4494
4495
4496 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj;
4498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4499 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4500 PyObject * obj0 = 0 ;
4501 PyObject * obj1 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "flags", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail;
4509 if (obj1) {
4510 {
4511 arg2 = (int)(SWIG_As_int(obj1));
4512 if (SWIG_arg_fail(2)) SWIG_fail;
4513 }
4514 }
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->RequestUserAttention(arg2);
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4532 bool result;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4540 if (SWIG_arg_fail(1)) SWIG_fail;
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 result = (bool)(arg1)->IsActive();
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 {
4549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4550 }
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4560 bool arg2 ;
4561 PyObject * obj0 = 0 ;
4562 PyObject * obj1 = 0 ;
4563 char *kwnames[] = {
4564 (char *) "self",(char *) "on", NULL
4565 };
4566
4567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4569 if (SWIG_arg_fail(1)) SWIG_fail;
4570 {
4571 arg2 = (bool)(SWIG_As_bool(obj1));
4572 if (SWIG_arg_fail(2)) SWIG_fail;
4573 }
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 Py_INCREF(Py_None); resultobj = Py_None;
4582 return resultobj;
4583 fail:
4584 return NULL;
4585 }
4586
4587
4588 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4591 bool result;
4592 PyObject * obj0 = 0 ;
4593 char *kwnames[] = {
4594 (char *) "self", NULL
4595 };
4596
4597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4599 if (SWIG_arg_fail(1)) SWIG_fail;
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 {
4608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4609 }
4610 return resultobj;
4611 fail:
4612 return NULL;
4613 }
4614
4615
4616 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4617 PyObject *obj;
4618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4619 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4620 Py_INCREF(obj);
4621 return Py_BuildValue((char *)"");
4622 }
4623 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4624 PyObject *resultobj;
4625 wxWindow *arg1 = (wxWindow *) 0 ;
4626 int arg2 = (int) (int)-1 ;
4627 wxString const &arg3_defvalue = wxPyEmptyString ;
4628 wxString *arg3 = (wxString *) &arg3_defvalue ;
4629 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4630 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4631 wxSize const &arg5_defvalue = wxDefaultSize ;
4632 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4633 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4634 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4635 wxString *arg7 = (wxString *) &arg7_defvalue ;
4636 wxFrame *result;
4637 bool temp3 = false ;
4638 wxPoint temp4 ;
4639 wxSize temp5 ;
4640 bool temp7 = false ;
4641 PyObject * obj0 = 0 ;
4642 PyObject * obj1 = 0 ;
4643 PyObject * obj2 = 0 ;
4644 PyObject * obj3 = 0 ;
4645 PyObject * obj4 = 0 ;
4646 PyObject * obj5 = 0 ;
4647 PyObject * obj6 = 0 ;
4648 char *kwnames[] = {
4649 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4650 };
4651
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4654 if (SWIG_arg_fail(1)) SWIG_fail;
4655 if (obj1) {
4656 {
4657 arg2 = (int const)(SWIG_As_int(obj1));
4658 if (SWIG_arg_fail(2)) SWIG_fail;
4659 }
4660 }
4661 if (obj2) {
4662 {
4663 arg3 = wxString_in_helper(obj2);
4664 if (arg3 == NULL) SWIG_fail;
4665 temp3 = true;
4666 }
4667 }
4668 if (obj3) {
4669 {
4670 arg4 = &temp4;
4671 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4672 }
4673 }
4674 if (obj4) {
4675 {
4676 arg5 = &temp5;
4677 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4678 }
4679 }
4680 if (obj5) {
4681 {
4682 arg6 = (long)(SWIG_As_long(obj5));
4683 if (SWIG_arg_fail(6)) SWIG_fail;
4684 }
4685 }
4686 if (obj6) {
4687 {
4688 arg7 = wxString_in_helper(obj6);
4689 if (arg7 == NULL) SWIG_fail;
4690 temp7 = true;
4691 }
4692 }
4693 {
4694 if (!wxPyCheckForApp()) SWIG_fail;
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4702 {
4703 if (temp3)
4704 delete arg3;
4705 }
4706 {
4707 if (temp7)
4708 delete arg7;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (temp3)
4714 delete arg3;
4715 }
4716 {
4717 if (temp7)
4718 delete arg7;
4719 }
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxFrame *result;
4727 char *kwnames[] = {
4728 NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4732 {
4733 if (!wxPyCheckForApp()) SWIG_fail;
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 result = (wxFrame *)new wxFrame();
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxFrame *arg1 = (wxFrame *) 0 ;
4750 wxWindow *arg2 = (wxWindow *) 0 ;
4751 int arg3 = (int) (int)-1 ;
4752 wxString const &arg4_defvalue = wxPyEmptyString ;
4753 wxString *arg4 = (wxString *) &arg4_defvalue ;
4754 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4755 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4756 wxSize const &arg6_defvalue = wxDefaultSize ;
4757 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4758 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4759 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4760 wxString *arg8 = (wxString *) &arg8_defvalue ;
4761 bool result;
4762 bool temp4 = false ;
4763 wxPoint temp5 ;
4764 wxSize temp6 ;
4765 bool temp8 = false ;
4766 PyObject * obj0 = 0 ;
4767 PyObject * obj1 = 0 ;
4768 PyObject * obj2 = 0 ;
4769 PyObject * obj3 = 0 ;
4770 PyObject * obj4 = 0 ;
4771 PyObject * obj5 = 0 ;
4772 PyObject * obj6 = 0 ;
4773 PyObject * obj7 = 0 ;
4774 char *kwnames[] = {
4775 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4780 if (SWIG_arg_fail(1)) SWIG_fail;
4781 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4782 if (SWIG_arg_fail(2)) SWIG_fail;
4783 if (obj2) {
4784 {
4785 arg3 = (int const)(SWIG_As_int(obj2));
4786 if (SWIG_arg_fail(3)) SWIG_fail;
4787 }
4788 }
4789 if (obj3) {
4790 {
4791 arg4 = wxString_in_helper(obj3);
4792 if (arg4 == NULL) SWIG_fail;
4793 temp4 = true;
4794 }
4795 }
4796 if (obj4) {
4797 {
4798 arg5 = &temp5;
4799 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4800 }
4801 }
4802 if (obj5) {
4803 {
4804 arg6 = &temp6;
4805 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4806 }
4807 }
4808 if (obj6) {
4809 {
4810 arg7 = (long)(SWIG_As_long(obj6));
4811 if (SWIG_arg_fail(7)) SWIG_fail;
4812 }
4813 }
4814 if (obj7) {
4815 {
4816 arg8 = wxString_in_helper(obj7);
4817 if (arg8 == NULL) SWIG_fail;
4818 temp8 = true;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 {
4832 if (temp4)
4833 delete arg4;
4834 }
4835 {
4836 if (temp8)
4837 delete arg8;
4838 }
4839 return resultobj;
4840 fail:
4841 {
4842 if (temp4)
4843 delete arg4;
4844 }
4845 {
4846 if (temp8)
4847 delete arg8;
4848 }
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxFrame *arg1 = (wxFrame *) 0 ;
4856 wxPoint result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4864 if (SWIG_arg_fail(1)) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 {
4873 wxPoint * resultptr;
4874 resultptr = new wxPoint((wxPoint &)(result));
4875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4876 }
4877 return resultobj;
4878 fail:
4879 return NULL;
4880 }
4881
4882
4883 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxFrame *arg1 = (wxFrame *) 0 ;
4886 PyObject * obj0 = 0 ;
4887 char *kwnames[] = {
4888 (char *) "self", NULL
4889 };
4890
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 (arg1)->SendSizeEvent();
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 Py_INCREF(Py_None); resultobj = Py_None;
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxFrame *arg1 = (wxFrame *) 0 ;
4911 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "menubar", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4920 if (SWIG_arg_fail(1)) SWIG_fail;
4921 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4922 if (SWIG_arg_fail(2)) SWIG_fail;
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 (arg1)->SetMenuBar(arg2);
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 Py_INCREF(Py_None); resultobj = Py_None;
4931 return resultobj;
4932 fail:
4933 return NULL;
4934 }
4935
4936
4937 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxFrame *arg1 = (wxFrame *) 0 ;
4940 wxMenuBar *result;
4941 PyObject * obj0 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail;
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 {
4957 resultobj = wxPyMake_wxObject(result, 0);
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxFrame *arg1 = (wxFrame *) 0 ;
4968 int arg2 ;
4969 bool result;
4970 PyObject * obj0 = 0 ;
4971 PyObject * obj1 = 0 ;
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "winid", NULL
4974 };
4975
4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail;
4979 {
4980 arg2 = (int)(SWIG_As_int(obj1));
4981 if (SWIG_arg_fail(2)) SWIG_fail;
4982 }
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (bool)(arg1)->ProcessCommand(arg2);
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 {
4991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4992 }
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxFrame *arg1 = (wxFrame *) 0 ;
5002 int arg2 = (int) 1 ;
5003 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
5004 int arg4 = (int) 0 ;
5005 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5006 wxString *arg5 = (wxString *) &arg5_defvalue ;
5007 wxStatusBar *result;
5008 bool temp5 = false ;
5009 PyObject * obj0 = 0 ;
5010 PyObject * obj1 = 0 ;
5011 PyObject * obj2 = 0 ;
5012 PyObject * obj3 = 0 ;
5013 PyObject * obj4 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5020 if (SWIG_arg_fail(1)) SWIG_fail;
5021 if (obj1) {
5022 {
5023 arg2 = (int)(SWIG_As_int(obj1));
5024 if (SWIG_arg_fail(2)) SWIG_fail;
5025 }
5026 }
5027 if (obj2) {
5028 {
5029 arg3 = (long)(SWIG_As_long(obj2));
5030 if (SWIG_arg_fail(3)) SWIG_fail;
5031 }
5032 }
5033 if (obj3) {
5034 {
5035 arg4 = (int)(SWIG_As_int(obj3));
5036 if (SWIG_arg_fail(4)) SWIG_fail;
5037 }
5038 }
5039 if (obj4) {
5040 {
5041 arg5 = wxString_in_helper(obj4);
5042 if (arg5 == NULL) SWIG_fail;
5043 temp5 = true;
5044 }
5045 }
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 {
5054 resultobj = wxPyMake_wxObject(result, 0);
5055 }
5056 {
5057 if (temp5)
5058 delete arg5;
5059 }
5060 return resultobj;
5061 fail:
5062 {
5063 if (temp5)
5064 delete arg5;
5065 }
5066 return NULL;
5067 }
5068
5069
5070 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxFrame *arg1 = (wxFrame *) 0 ;
5073 wxStatusBar *result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5081 if (SWIG_arg_fail(1)) SWIG_fail;
5082 {
5083 PyThreadState* __tstate = wxPyBeginAllowThreads();
5084 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5085
5086 wxPyEndAllowThreads(__tstate);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 {
5090 resultobj = wxPyMake_wxObject(result, 0);
5091 }
5092 return resultobj;
5093 fail:
5094 return NULL;
5095 }
5096
5097
5098 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj;
5100 wxFrame *arg1 = (wxFrame *) 0 ;
5101 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5102 PyObject * obj0 = 0 ;
5103 PyObject * obj1 = 0 ;
5104 char *kwnames[] = {
5105 (char *) "self",(char *) "statBar", NULL
5106 };
5107
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5110 if (SWIG_arg_fail(1)) SWIG_fail;
5111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5112 if (SWIG_arg_fail(2)) SWIG_fail;
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 (arg1)->SetStatusBar(arg2);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 Py_INCREF(Py_None); resultobj = Py_None;
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxFrame *arg1 = (wxFrame *) 0 ;
5130 wxString *arg2 = 0 ;
5131 int arg3 = (int) 0 ;
5132 bool temp2 = false ;
5133 PyObject * obj0 = 0 ;
5134 PyObject * obj1 = 0 ;
5135 PyObject * obj2 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self",(char *) "text",(char *) "number", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5142 if (SWIG_arg_fail(1)) SWIG_fail;
5143 {
5144 arg2 = wxString_in_helper(obj1);
5145 if (arg2 == NULL) SWIG_fail;
5146 temp2 = true;
5147 }
5148 if (obj2) {
5149 {
5150 arg3 = (int)(SWIG_As_int(obj2));
5151 if (SWIG_arg_fail(3)) SWIG_fail;
5152 }
5153 }
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 Py_INCREF(Py_None); resultobj = Py_None;
5162 {
5163 if (temp2)
5164 delete arg2;
5165 }
5166 return resultobj;
5167 fail:
5168 {
5169 if (temp2)
5170 delete arg2;
5171 }
5172 return NULL;
5173 }
5174
5175
5176 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj;
5178 wxFrame *arg1 = (wxFrame *) 0 ;
5179 int arg2 ;
5180 int *arg3 = (int *) 0 ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self",(char *) "widths", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail;
5190 {
5191 arg2 = PyList_Size(obj1);
5192 arg3 = int_LIST_helper(obj1);
5193 if (arg3 == NULL) SWIG_fail;
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 Py_INCREF(Py_None); resultobj = Py_None;
5203 {
5204 if (arg3) delete [] arg3;
5205 }
5206 return resultobj;
5207 fail:
5208 {
5209 if (arg3) delete [] arg3;
5210 }
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxFrame *arg1 = (wxFrame *) 0 ;
5218 wxString *arg2 = 0 ;
5219 int arg3 = (int) 0 ;
5220 bool temp2 = false ;
5221 PyObject * obj0 = 0 ;
5222 PyObject * obj1 = 0 ;
5223 PyObject * obj2 = 0 ;
5224 char *kwnames[] = {
5225 (char *) "self",(char *) "text",(char *) "number", NULL
5226 };
5227
5228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5230 if (SWIG_arg_fail(1)) SWIG_fail;
5231 {
5232 arg2 = wxString_in_helper(obj1);
5233 if (arg2 == NULL) SWIG_fail;
5234 temp2 = true;
5235 }
5236 if (obj2) {
5237 {
5238 arg3 = (int)(SWIG_As_int(obj2));
5239 if (SWIG_arg_fail(3)) SWIG_fail;
5240 }
5241 }
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 Py_INCREF(Py_None); resultobj = Py_None;
5250 {
5251 if (temp2)
5252 delete arg2;
5253 }
5254 return resultobj;
5255 fail:
5256 {
5257 if (temp2)
5258 delete arg2;
5259 }
5260 return NULL;
5261 }
5262
5263
5264 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxFrame *arg1 = (wxFrame *) 0 ;
5267 int arg2 = (int) 0 ;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self",(char *) "number", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5276 if (SWIG_arg_fail(1)) SWIG_fail;
5277 if (obj1) {
5278 {
5279 arg2 = (int)(SWIG_As_int(obj1));
5280 if (SWIG_arg_fail(2)) SWIG_fail;
5281 }
5282 }
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->PopStatusText(arg2);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxFrame *arg1 = (wxFrame *) 0 ;
5300 int arg2 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "n", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail;
5310 {
5311 arg2 = (int)(SWIG_As_int(obj1));
5312 if (SWIG_arg_fail(2)) SWIG_fail;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->SetStatusBarPane(arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxFrame *arg1 = (wxFrame *) 0 ;
5331 int result;
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5339 if (SWIG_arg_fail(1)) SWIG_fail;
5340 {
5341 PyThreadState* __tstate = wxPyBeginAllowThreads();
5342 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5343
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 {
5348 resultobj = SWIG_From_int((int)(result));
5349 }
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj;
5358 wxFrame *arg1 = (wxFrame *) 0 ;
5359 long arg2 = (long) -1 ;
5360 int arg3 = (int) -1 ;
5361 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5362 wxString *arg4 = (wxString *) &arg4_defvalue ;
5363 wxToolBar *result;
5364 bool temp4 = false ;
5365 PyObject * obj0 = 0 ;
5366 PyObject * obj1 = 0 ;
5367 PyObject * obj2 = 0 ;
5368 PyObject * obj3 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail;
5376 if (obj1) {
5377 {
5378 arg2 = (long)(SWIG_As_long(obj1));
5379 if (SWIG_arg_fail(2)) SWIG_fail;
5380 }
5381 }
5382 if (obj2) {
5383 {
5384 arg3 = (int)(SWIG_As_int(obj2));
5385 if (SWIG_arg_fail(3)) SWIG_fail;
5386 }
5387 }
5388 if (obj3) {
5389 {
5390 arg4 = wxString_in_helper(obj3);
5391 if (arg4 == NULL) SWIG_fail;
5392 temp4 = true;
5393 }
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 {
5403 resultobj = wxPyMake_wxObject(result, 0);
5404 }
5405 {
5406 if (temp4)
5407 delete arg4;
5408 }
5409 return resultobj;
5410 fail:
5411 {
5412 if (temp4)
5413 delete arg4;
5414 }
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxFrame *arg1 = (wxFrame *) 0 ;
5422 wxToolBar *result;
5423 PyObject * obj0 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 {
5439 resultobj = wxPyMake_wxObject(result, 0);
5440 }
5441 return resultobj;
5442 fail:
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxFrame *arg1 = (wxFrame *) 0 ;
5450 wxToolBar *arg2 = (wxToolBar *) 0 ;
5451 PyObject * obj0 = 0 ;
5452 PyObject * obj1 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self",(char *) "toolbar", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5459 if (SWIG_arg_fail(1)) SWIG_fail;
5460 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5461 if (SWIG_arg_fail(2)) SWIG_fail;
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 (arg1)->SetToolBar(arg2);
5465
5466 wxPyEndAllowThreads(__tstate);
5467 if (PyErr_Occurred()) SWIG_fail;
5468 }
5469 Py_INCREF(Py_None); resultobj = Py_None;
5470 return resultobj;
5471 fail:
5472 return NULL;
5473 }
5474
5475
5476 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj;
5478 wxFrame *arg1 = (wxFrame *) 0 ;
5479 wxString *arg2 = 0 ;
5480 bool arg3 ;
5481 bool temp2 = false ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 PyObject * obj2 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self",(char *) "text",(char *) "show", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5491 if (SWIG_arg_fail(1)) SWIG_fail;
5492 {
5493 arg2 = wxString_in_helper(obj1);
5494 if (arg2 == NULL) SWIG_fail;
5495 temp2 = true;
5496 }
5497 {
5498 arg3 = (bool)(SWIG_As_bool(obj2));
5499 if (SWIG_arg_fail(3)) SWIG_fail;
5500 }
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5504
5505 wxPyEndAllowThreads(__tstate);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 Py_INCREF(Py_None); resultobj = Py_None;
5509 {
5510 if (temp2)
5511 delete arg2;
5512 }
5513 return resultobj;
5514 fail:
5515 {
5516 if (temp2)
5517 delete arg2;
5518 }
5519 return NULL;
5520 }
5521
5522
5523 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5524 PyObject *resultobj;
5525 wxFrame *arg1 = (wxFrame *) 0 ;
5526 wxMenu *arg2 = (wxMenu *) NULL ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self",(char *) "menu", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5535 if (SWIG_arg_fail(1)) SWIG_fail;
5536 if (obj1) {
5537 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5538 if (SWIG_arg_fail(2)) SWIG_fail;
5539 }
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->DoMenuUpdates(arg2);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5557 wxVisualAttributes result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "variant", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5564 if (obj0) {
5565 {
5566 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5567 if (SWIG_arg_fail(1)) SWIG_fail;
5568 }
5569 }
5570 {
5571 if (!wxPyCheckForApp()) SWIG_fail;
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 {
5579 wxVisualAttributes * resultptr;
5580 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5582 }
5583 return resultobj;
5584 fail:
5585 return NULL;
5586 }
5587
5588
5589 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5590 PyObject *obj;
5591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5592 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5593 Py_INCREF(obj);
5594 return Py_BuildValue((char *)"");
5595 }
5596 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj;
5598 wxWindow *arg1 = (wxWindow *) 0 ;
5599 int arg2 = (int) (int)-1 ;
5600 wxString const &arg3_defvalue = wxPyEmptyString ;
5601 wxString *arg3 = (wxString *) &arg3_defvalue ;
5602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5604 wxSize const &arg5_defvalue = wxDefaultSize ;
5605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5606 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5607 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5608 wxString *arg7 = (wxString *) &arg7_defvalue ;
5609 wxDialog *result;
5610 bool temp3 = false ;
5611 wxPoint temp4 ;
5612 wxSize temp5 ;
5613 bool temp7 = false ;
5614 PyObject * obj0 = 0 ;
5615 PyObject * obj1 = 0 ;
5616 PyObject * obj2 = 0 ;
5617 PyObject * obj3 = 0 ;
5618 PyObject * obj4 = 0 ;
5619 PyObject * obj5 = 0 ;
5620 PyObject * obj6 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5627 if (SWIG_arg_fail(1)) SWIG_fail;
5628 if (obj1) {
5629 {
5630 arg2 = (int const)(SWIG_As_int(obj1));
5631 if (SWIG_arg_fail(2)) SWIG_fail;
5632 }
5633 }
5634 if (obj2) {
5635 {
5636 arg3 = wxString_in_helper(obj2);
5637 if (arg3 == NULL) SWIG_fail;
5638 temp3 = true;
5639 }
5640 }
5641 if (obj3) {
5642 {
5643 arg4 = &temp4;
5644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5645 }
5646 }
5647 if (obj4) {
5648 {
5649 arg5 = &temp5;
5650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5651 }
5652 }
5653 if (obj5) {
5654 {
5655 arg6 = (long)(SWIG_As_long(obj5));
5656 if (SWIG_arg_fail(6)) SWIG_fail;
5657 }
5658 }
5659 if (obj6) {
5660 {
5661 arg7 = wxString_in_helper(obj6);
5662 if (arg7 == NULL) SWIG_fail;
5663 temp7 = true;
5664 }
5665 }
5666 {
5667 if (!wxPyCheckForApp()) SWIG_fail;
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5675 {
5676 if (temp3)
5677 delete arg3;
5678 }
5679 {
5680 if (temp7)
5681 delete arg7;
5682 }
5683 return resultobj;
5684 fail:
5685 {
5686 if (temp3)
5687 delete arg3;
5688 }
5689 {
5690 if (temp7)
5691 delete arg7;
5692 }
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxDialog *result;
5700 char *kwnames[] = {
5701 NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5705 {
5706 if (!wxPyCheckForApp()) SWIG_fail;
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (wxDialog *)new wxDialog();
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxDialog *arg1 = (wxDialog *) 0 ;
5723 wxWindow *arg2 = (wxWindow *) 0 ;
5724 int arg3 = (int) (int)-1 ;
5725 wxString const &arg4_defvalue = wxPyEmptyString ;
5726 wxString *arg4 = (wxString *) &arg4_defvalue ;
5727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5729 wxSize const &arg6_defvalue = wxDefaultSize ;
5730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5731 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5732 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5733 wxString *arg8 = (wxString *) &arg8_defvalue ;
5734 bool result;
5735 bool temp4 = false ;
5736 wxPoint temp5 ;
5737 wxSize temp6 ;
5738 bool temp8 = false ;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 PyObject * obj2 = 0 ;
5742 PyObject * obj3 = 0 ;
5743 PyObject * obj4 = 0 ;
5744 PyObject * obj5 = 0 ;
5745 PyObject * obj6 = 0 ;
5746 PyObject * obj7 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail;
5754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5755 if (SWIG_arg_fail(2)) SWIG_fail;
5756 if (obj2) {
5757 {
5758 arg3 = (int const)(SWIG_As_int(obj2));
5759 if (SWIG_arg_fail(3)) SWIG_fail;
5760 }
5761 }
5762 if (obj3) {
5763 {
5764 arg4 = wxString_in_helper(obj3);
5765 if (arg4 == NULL) SWIG_fail;
5766 temp4 = true;
5767 }
5768 }
5769 if (obj4) {
5770 {
5771 arg5 = &temp5;
5772 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5773 }
5774 }
5775 if (obj5) {
5776 {
5777 arg6 = &temp6;
5778 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5779 }
5780 }
5781 if (obj6) {
5782 {
5783 arg7 = (long)(SWIG_As_long(obj6));
5784 if (SWIG_arg_fail(7)) SWIG_fail;
5785 }
5786 }
5787 if (obj7) {
5788 {
5789 arg8 = wxString_in_helper(obj7);
5790 if (arg8 == NULL) SWIG_fail;
5791 temp8 = true;
5792 }
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 {
5802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5803 }
5804 {
5805 if (temp4)
5806 delete arg4;
5807 }
5808 {
5809 if (temp8)
5810 delete arg8;
5811 }
5812 return resultobj;
5813 fail:
5814 {
5815 if (temp4)
5816 delete arg4;
5817 }
5818 {
5819 if (temp8)
5820 delete arg8;
5821 }
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxDialog *arg1 = (wxDialog *) 0 ;
5829 int arg2 ;
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self",(char *) "returnCode", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5838 if (SWIG_arg_fail(1)) SWIG_fail;
5839 {
5840 arg2 = (int)(SWIG_As_int(obj1));
5841 if (SWIG_arg_fail(2)) SWIG_fail;
5842 }
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 (arg1)->SetReturnCode(arg2);
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 Py_INCREF(Py_None); resultobj = Py_None;
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxDialog *arg1 = (wxDialog *) 0 ;
5860 int result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5868 if (SWIG_arg_fail(1)) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 {
5877 resultobj = SWIG_From_int((int)(result));
5878 }
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxDialog *arg1 = (wxDialog *) 0 ;
5888 wxString *arg2 = 0 ;
5889 wxSizer *result;
5890 bool temp2 = false ;
5891 PyObject * obj0 = 0 ;
5892 PyObject * obj1 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self",(char *) "message", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5899 if (SWIG_arg_fail(1)) SWIG_fail;
5900 {
5901 arg2 = wxString_in_helper(obj1);
5902 if (arg2 == NULL) SWIG_fail;
5903 temp2 = true;
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 {
5913 resultobj = wxPyMake_wxObject(result, 0);
5914 }
5915 {
5916 if (temp2)
5917 delete arg2;
5918 }
5919 return resultobj;
5920 fail:
5921 {
5922 if (temp2)
5923 delete arg2;
5924 }
5925 return NULL;
5926 }
5927
5928
5929 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5930 PyObject *resultobj;
5931 wxDialog *arg1 = (wxDialog *) 0 ;
5932 long arg2 ;
5933 wxSizer *result;
5934 PyObject * obj0 = 0 ;
5935 PyObject * obj1 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self",(char *) "flags", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail;
5943 {
5944 arg2 = (long)(SWIG_As_long(obj1));
5945 if (SWIG_arg_fail(2)) SWIG_fail;
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 {
5955 resultobj = wxPyMake_wxObject(result, 0);
5956 }
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxDialog *arg1 = (wxDialog *) 0 ;
5966 long arg2 ;
5967 wxStdDialogButtonSizer *result;
5968 PyObject * obj0 = 0 ;
5969 PyObject * obj1 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self",(char *) "flags", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail;
5977 {
5978 arg2 = (long)(SWIG_As_long(obj1));
5979 if (SWIG_arg_fail(2)) SWIG_fail;
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj;
5997 wxDialog *arg1 = (wxDialog *) 0 ;
5998 bool result;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "self", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6006 if (SWIG_arg_fail(1)) SWIG_fail;
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (bool)((wxDialog const *)arg1)->IsModal();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 {
6015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6016 }
6017 return resultobj;
6018 fail:
6019 return NULL;
6020 }
6021
6022
6023 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6024 PyObject *resultobj;
6025 wxDialog *arg1 = (wxDialog *) 0 ;
6026 int result;
6027 PyObject * obj0 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6034 if (SWIG_arg_fail(1)) SWIG_fail;
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 result = (int)(arg1)->ShowModal();
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 {
6043 resultobj = SWIG_From_int((int)(result));
6044 }
6045 return resultobj;
6046 fail:
6047 return NULL;
6048 }
6049
6050
6051 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6052 PyObject *resultobj;
6053 wxDialog *arg1 = (wxDialog *) 0 ;
6054 int arg2 ;
6055 PyObject * obj0 = 0 ;
6056 PyObject * obj1 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "retCode", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6063 if (SWIG_arg_fail(1)) SWIG_fail;
6064 {
6065 arg2 = (int)(SWIG_As_int(obj1));
6066 if (SWIG_arg_fail(2)) SWIG_fail;
6067 }
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 (arg1)->EndModal(arg2);
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 Py_INCREF(Py_None); resultobj = Py_None;
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6085 wxVisualAttributes result;
6086 PyObject * obj0 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "variant", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6092 if (obj0) {
6093 {
6094 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6095 if (SWIG_arg_fail(1)) SWIG_fail;
6096 }
6097 }
6098 {
6099 if (!wxPyCheckForApp()) SWIG_fail;
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 {
6107 wxVisualAttributes * resultptr;
6108 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6110 }
6111 return resultobj;
6112 fail:
6113 return NULL;
6114 }
6115
6116
6117 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6118 PyObject *obj;
6119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6120 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6121 Py_INCREF(obj);
6122 return Py_BuildValue((char *)"");
6123 }
6124 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxWindow *arg1 = (wxWindow *) 0 ;
6127 int arg2 = (int) (int)-1 ;
6128 wxString const &arg3_defvalue = wxPyEmptyString ;
6129 wxString *arg3 = (wxString *) &arg3_defvalue ;
6130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6132 wxSize const &arg5_defvalue = wxDefaultSize ;
6133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6134 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6135 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6136 wxString *arg7 = (wxString *) &arg7_defvalue ;
6137 wxMiniFrame *result;
6138 bool temp3 = false ;
6139 wxPoint temp4 ;
6140 wxSize temp5 ;
6141 bool temp7 = false ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 PyObject * obj2 = 0 ;
6145 PyObject * obj3 = 0 ;
6146 PyObject * obj4 = 0 ;
6147 PyObject * obj5 = 0 ;
6148 PyObject * obj6 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail;
6156 if (obj1) {
6157 {
6158 arg2 = (int const)(SWIG_As_int(obj1));
6159 if (SWIG_arg_fail(2)) SWIG_fail;
6160 }
6161 }
6162 if (obj2) {
6163 {
6164 arg3 = wxString_in_helper(obj2);
6165 if (arg3 == NULL) SWIG_fail;
6166 temp3 = true;
6167 }
6168 }
6169 if (obj3) {
6170 {
6171 arg4 = &temp4;
6172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6173 }
6174 }
6175 if (obj4) {
6176 {
6177 arg5 = &temp5;
6178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6179 }
6180 }
6181 if (obj5) {
6182 {
6183 arg6 = (long)(SWIG_As_long(obj5));
6184 if (SWIG_arg_fail(6)) SWIG_fail;
6185 }
6186 }
6187 if (obj6) {
6188 {
6189 arg7 = wxString_in_helper(obj6);
6190 if (arg7 == NULL) SWIG_fail;
6191 temp7 = true;
6192 }
6193 }
6194 {
6195 if (!wxPyCheckForApp()) SWIG_fail;
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6203 {
6204 if (temp3)
6205 delete arg3;
6206 }
6207 {
6208 if (temp7)
6209 delete arg7;
6210 }
6211 return resultobj;
6212 fail:
6213 {
6214 if (temp3)
6215 delete arg3;
6216 }
6217 {
6218 if (temp7)
6219 delete arg7;
6220 }
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxMiniFrame *result;
6228 char *kwnames[] = {
6229 NULL
6230 };
6231
6232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6233 {
6234 if (!wxPyCheckForApp()) SWIG_fail;
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxMiniFrame *)new wxMiniFrame();
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6251 wxWindow *arg2 = (wxWindow *) 0 ;
6252 int arg3 = (int) (int)-1 ;
6253 wxString const &arg4_defvalue = wxPyEmptyString ;
6254 wxString *arg4 = (wxString *) &arg4_defvalue ;
6255 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6256 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6257 wxSize const &arg6_defvalue = wxDefaultSize ;
6258 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6259 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6260 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6261 wxString *arg8 = (wxString *) &arg8_defvalue ;
6262 bool result;
6263 bool temp4 = false ;
6264 wxPoint temp5 ;
6265 wxSize temp6 ;
6266 bool temp8 = false ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 PyObject * obj2 = 0 ;
6270 PyObject * obj3 = 0 ;
6271 PyObject * obj4 = 0 ;
6272 PyObject * obj5 = 0 ;
6273 PyObject * obj6 = 0 ;
6274 PyObject * obj7 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6281 if (SWIG_arg_fail(1)) SWIG_fail;
6282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6283 if (SWIG_arg_fail(2)) SWIG_fail;
6284 if (obj2) {
6285 {
6286 arg3 = (int const)(SWIG_As_int(obj2));
6287 if (SWIG_arg_fail(3)) SWIG_fail;
6288 }
6289 }
6290 if (obj3) {
6291 {
6292 arg4 = wxString_in_helper(obj3);
6293 if (arg4 == NULL) SWIG_fail;
6294 temp4 = true;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj5) {
6304 {
6305 arg6 = &temp6;
6306 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6307 }
6308 }
6309 if (obj6) {
6310 {
6311 arg7 = (long)(SWIG_As_long(obj6));
6312 if (SWIG_arg_fail(7)) SWIG_fail;
6313 }
6314 }
6315 if (obj7) {
6316 {
6317 arg8 = wxString_in_helper(obj7);
6318 if (arg8 == NULL) SWIG_fail;
6319 temp8 = true;
6320 }
6321 }
6322 {
6323 PyThreadState* __tstate = wxPyBeginAllowThreads();
6324 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6325
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 {
6330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6331 }
6332 {
6333 if (temp4)
6334 delete arg4;
6335 }
6336 {
6337 if (temp8)
6338 delete arg8;
6339 }
6340 return resultobj;
6341 fail:
6342 {
6343 if (temp4)
6344 delete arg4;
6345 }
6346 {
6347 if (temp8)
6348 delete arg8;
6349 }
6350 return NULL;
6351 }
6352
6353
6354 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6355 PyObject *obj;
6356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6358 Py_INCREF(obj);
6359 return Py_BuildValue((char *)"");
6360 }
6361 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj;
6363 wxBitmap *arg1 = 0 ;
6364 wxWindow *arg2 = (wxWindow *) 0 ;
6365 int arg3 ;
6366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6368 wxSize const &arg5_defvalue = wxDefaultSize ;
6369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6370 long arg6 = (long) wxNO_BORDER ;
6371 wxSplashScreenWindow *result;
6372 wxPoint temp4 ;
6373 wxSize temp5 ;
6374 PyObject * obj0 = 0 ;
6375 PyObject * obj1 = 0 ;
6376 PyObject * obj2 = 0 ;
6377 PyObject * obj3 = 0 ;
6378 PyObject * obj4 = 0 ;
6379 PyObject * obj5 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6385 {
6386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail;
6388 if (arg1 == NULL) {
6389 SWIG_null_ref("wxBitmap");
6390 }
6391 if (SWIG_arg_fail(1)) SWIG_fail;
6392 }
6393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(2)) SWIG_fail;
6395 {
6396 arg3 = (int)(SWIG_As_int(obj2));
6397 if (SWIG_arg_fail(3)) SWIG_fail;
6398 }
6399 if (obj3) {
6400 {
6401 arg4 = &temp4;
6402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6403 }
6404 }
6405 if (obj4) {
6406 {
6407 arg5 = &temp5;
6408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6409 }
6410 }
6411 if (obj5) {
6412 {
6413 arg6 = (long)(SWIG_As_long(obj5));
6414 if (SWIG_arg_fail(6)) SWIG_fail;
6415 }
6416 }
6417 {
6418 if (!wxPyCheckForApp()) SWIG_fail;
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6435 wxBitmap *arg2 = 0 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "bitmap", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail;
6445 {
6446 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6447 if (SWIG_arg_fail(2)) SWIG_fail;
6448 if (arg2 == NULL) {
6449 SWIG_null_ref("wxBitmap");
6450 }
6451 if (SWIG_arg_fail(2)) SWIG_fail;
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj;
6469 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6470 wxBitmap *result;
6471 PyObject * obj0 = 0 ;
6472 char *kwnames[] = {
6473 (char *) "self", NULL
6474 };
6475
6476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6478 if (SWIG_arg_fail(1)) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 {
6482 wxBitmap &_result_ref = (arg1)->GetBitmap();
6483 result = (wxBitmap *) &_result_ref;
6484 }
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 {
6490 wxBitmap* resultptr = new wxBitmap(*result);
6491 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496 }
6497
6498
6499 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6500 PyObject *obj;
6501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6502 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6503 Py_INCREF(obj);
6504 return Py_BuildValue((char *)"");
6505 }
6506 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxBitmap *arg1 = 0 ;
6509 long arg2 ;
6510 int arg3 ;
6511 wxWindow *arg4 = (wxWindow *) 0 ;
6512 int arg5 = (int) -1 ;
6513 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6514 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6515 wxSize const &arg7_defvalue = wxDefaultSize ;
6516 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6517 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6518 wxSplashScreen *result;
6519 wxPoint temp6 ;
6520 wxSize temp7 ;
6521 PyObject * obj0 = 0 ;
6522 PyObject * obj1 = 0 ;
6523 PyObject * obj2 = 0 ;
6524 PyObject * obj3 = 0 ;
6525 PyObject * obj4 = 0 ;
6526 PyObject * obj5 = 0 ;
6527 PyObject * obj6 = 0 ;
6528 PyObject * obj7 = 0 ;
6529 char *kwnames[] = {
6530 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6534 {
6535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6536 if (SWIG_arg_fail(1)) SWIG_fail;
6537 if (arg1 == NULL) {
6538 SWIG_null_ref("wxBitmap");
6539 }
6540 if (SWIG_arg_fail(1)) SWIG_fail;
6541 }
6542 {
6543 arg2 = (long)(SWIG_As_long(obj1));
6544 if (SWIG_arg_fail(2)) SWIG_fail;
6545 }
6546 {
6547 arg3 = (int)(SWIG_As_int(obj2));
6548 if (SWIG_arg_fail(3)) SWIG_fail;
6549 }
6550 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6551 if (SWIG_arg_fail(4)) SWIG_fail;
6552 if (obj4) {
6553 {
6554 arg5 = (int)(SWIG_As_int(obj4));
6555 if (SWIG_arg_fail(5)) SWIG_fail;
6556 }
6557 }
6558 if (obj5) {
6559 {
6560 arg6 = &temp6;
6561 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6562 }
6563 }
6564 if (obj6) {
6565 {
6566 arg7 = &temp7;
6567 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6568 }
6569 }
6570 if (obj7) {
6571 {
6572 arg8 = (long)(SWIG_As_long(obj7));
6573 if (SWIG_arg_fail(8)) SWIG_fail;
6574 }
6575 }
6576 {
6577 if (!wxPyCheckForApp()) SWIG_fail;
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6594 long result;
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail;
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 {
6611 resultobj = SWIG_From_long((long)(result));
6612 }
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6622 wxSplashScreenWindow *result;
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6630 if (SWIG_arg_fail(1)) SWIG_fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj;
6647 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6648 int result;
6649 PyObject * obj0 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self", NULL
6652 };
6653
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6656 if (SWIG_arg_fail(1)) SWIG_fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 resultobj = SWIG_From_int((int)(result));
6666 }
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6674 PyObject *obj;
6675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6676 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6677 Py_INCREF(obj);
6678 return Py_BuildValue((char *)"");
6679 }
6680 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxWindow *arg1 = (wxWindow *) 0 ;
6683 int arg2 = (int) -1 ;
6684 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6685 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6686 wxString *arg4 = (wxString *) &arg4_defvalue ;
6687 wxStatusBar *result;
6688 bool temp4 = false ;
6689 PyObject * obj0 = 0 ;
6690 PyObject * obj1 = 0 ;
6691 PyObject * obj2 = 0 ;
6692 PyObject * obj3 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6699 if (SWIG_arg_fail(1)) SWIG_fail;
6700 if (obj1) {
6701 {
6702 arg2 = (int)(SWIG_As_int(obj1));
6703 if (SWIG_arg_fail(2)) SWIG_fail;
6704 }
6705 }
6706 if (obj2) {
6707 {
6708 arg3 = (long)(SWIG_As_long(obj2));
6709 if (SWIG_arg_fail(3)) SWIG_fail;
6710 }
6711 }
6712 if (obj3) {
6713 {
6714 arg4 = wxString_in_helper(obj3);
6715 if (arg4 == NULL) SWIG_fail;
6716 temp4 = true;
6717 }
6718 }
6719 {
6720 if (!wxPyCheckForApp()) SWIG_fail;
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6728 {
6729 if (temp4)
6730 delete arg4;
6731 }
6732 return resultobj;
6733 fail:
6734 {
6735 if (temp4)
6736 delete arg4;
6737 }
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxStatusBar *result;
6745 char *kwnames[] = {
6746 NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6750 {
6751 if (!wxPyCheckForApp()) SWIG_fail;
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 result = (wxStatusBar *)new wxStatusBar();
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6768 wxWindow *arg2 = (wxWindow *) 0 ;
6769 int arg3 = (int) -1 ;
6770 long arg4 = (long) wxST_SIZEGRIP ;
6771 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6772 wxString *arg5 = (wxString *) &arg5_defvalue ;
6773 bool result;
6774 bool temp5 = false ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 PyObject * obj2 = 0 ;
6778 PyObject * obj3 = 0 ;
6779 PyObject * obj4 = 0 ;
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6782 };
6783
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6786 if (SWIG_arg_fail(1)) SWIG_fail;
6787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6788 if (SWIG_arg_fail(2)) SWIG_fail;
6789 if (obj2) {
6790 {
6791 arg3 = (int)(SWIG_As_int(obj2));
6792 if (SWIG_arg_fail(3)) SWIG_fail;
6793 }
6794 }
6795 if (obj3) {
6796 {
6797 arg4 = (long)(SWIG_As_long(obj3));
6798 if (SWIG_arg_fail(4)) SWIG_fail;
6799 }
6800 }
6801 if (obj4) {
6802 {
6803 arg5 = wxString_in_helper(obj4);
6804 if (arg5 == NULL) SWIG_fail;
6805 temp5 = true;
6806 }
6807 }
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 {
6816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6817 }
6818 {
6819 if (temp5)
6820 delete arg5;
6821 }
6822 return resultobj;
6823 fail:
6824 {
6825 if (temp5)
6826 delete arg5;
6827 }
6828 return NULL;
6829 }
6830
6831
6832 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6835 int arg2 = (int) 1 ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "self",(char *) "number", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6844 if (SWIG_arg_fail(1)) SWIG_fail;
6845 if (obj1) {
6846 {
6847 arg2 = (int)(SWIG_As_int(obj1));
6848 if (SWIG_arg_fail(2)) SWIG_fail;
6849 }
6850 }
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 (arg1)->SetFieldsCount(arg2);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 Py_INCREF(Py_None); resultobj = Py_None;
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6868 int result;
6869 PyObject * obj0 = 0 ;
6870 char *kwnames[] = {
6871 (char *) "self", NULL
6872 };
6873
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 {
6885 resultobj = SWIG_From_int((int)(result));
6886 }
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6896 wxString *arg2 = 0 ;
6897 int arg3 = (int) 0 ;
6898 bool temp2 = false ;
6899 PyObject * obj0 = 0 ;
6900 PyObject * obj1 = 0 ;
6901 PyObject * obj2 = 0 ;
6902 char *kwnames[] = {
6903 (char *) "self",(char *) "text",(char *) "number", NULL
6904 };
6905
6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6908 if (SWIG_arg_fail(1)) SWIG_fail;
6909 {
6910 arg2 = wxString_in_helper(obj1);
6911 if (arg2 == NULL) SWIG_fail;
6912 temp2 = true;
6913 }
6914 if (obj2) {
6915 {
6916 arg3 = (int)(SWIG_As_int(obj2));
6917 if (SWIG_arg_fail(3)) SWIG_fail;
6918 }
6919 }
6920 {
6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
6922 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6923
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 Py_INCREF(Py_None); resultobj = Py_None;
6928 {
6929 if (temp2)
6930 delete arg2;
6931 }
6932 return resultobj;
6933 fail:
6934 {
6935 if (temp2)
6936 delete arg2;
6937 }
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6945 int arg2 = (int) 0 ;
6946 wxString result;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self",(char *) "number", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6955 if (SWIG_arg_fail(1)) SWIG_fail;
6956 if (obj1) {
6957 {
6958 arg2 = (int)(SWIG_As_int(obj1));
6959 if (SWIG_arg_fail(2)) SWIG_fail;
6960 }
6961 }
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 {
6970 #if wxUSE_UNICODE
6971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6972 #else
6973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6974 #endif
6975 }
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6985 wxString *arg2 = 0 ;
6986 int arg3 = (int) 0 ;
6987 bool temp2 = false ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self",(char *) "text",(char *) "number", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6997 if (SWIG_arg_fail(1)) SWIG_fail;
6998 {
6999 arg2 = wxString_in_helper(obj1);
7000 if (arg2 == NULL) SWIG_fail;
7001 temp2 = true;
7002 }
7003 if (obj2) {
7004 {
7005 arg3 = (int)(SWIG_As_int(obj2));
7006 if (SWIG_arg_fail(3)) SWIG_fail;
7007 }
7008 }
7009 {
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 }
7016 Py_INCREF(Py_None); resultobj = Py_None;
7017 {
7018 if (temp2)
7019 delete arg2;
7020 }
7021 return resultobj;
7022 fail:
7023 {
7024 if (temp2)
7025 delete arg2;
7026 }
7027 return NULL;
7028 }
7029
7030
7031 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7032 PyObject *resultobj;
7033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7034 int arg2 = (int) 0 ;
7035 PyObject * obj0 = 0 ;
7036 PyObject * obj1 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self",(char *) "number", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail;
7044 if (obj1) {
7045 {
7046 arg2 = (int)(SWIG_As_int(obj1));
7047 if (SWIG_arg_fail(2)) SWIG_fail;
7048 }
7049 }
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 (arg1)->PopStatusText(arg2);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 return resultobj;
7059 fail:
7060 return NULL;
7061 }
7062
7063
7064 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7067 int arg2 ;
7068 int *arg3 = (int *) 0 ;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "self",(char *) "widths", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7077 if (SWIG_arg_fail(1)) SWIG_fail;
7078 {
7079 arg2 = PyList_Size(obj1);
7080 arg3 = int_LIST_helper(obj1);
7081 if (arg3 == NULL) SWIG_fail;
7082 }
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 {
7092 if (arg3) delete [] arg3;
7093 }
7094 return resultobj;
7095 fail:
7096 {
7097 if (arg3) delete [] arg3;
7098 }
7099 return NULL;
7100 }
7101
7102
7103 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7104 PyObject *resultobj;
7105 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7106 int arg2 ;
7107 int *arg3 = (int *) 0 ;
7108 PyObject * obj0 = 0 ;
7109 PyObject * obj1 = 0 ;
7110 char *kwnames[] = {
7111 (char *) "self",(char *) "styles", NULL
7112 };
7113
7114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7116 if (SWIG_arg_fail(1)) SWIG_fail;
7117 {
7118 arg2 = PyList_Size(obj1);
7119 arg3 = int_LIST_helper(obj1);
7120 if (arg3 == NULL) SWIG_fail;
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 {
7131 if (arg3) delete [] arg3;
7132 }
7133 return resultobj;
7134 fail:
7135 {
7136 if (arg3) delete [] arg3;
7137 }
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7145 int arg2 ;
7146 wxRect result;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj1 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "i", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7155 if (SWIG_arg_fail(1)) SWIG_fail;
7156 {
7157 arg2 = (int)(SWIG_As_int(obj1));
7158 if (SWIG_arg_fail(2)) SWIG_fail;
7159 }
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 result = wxStatusBar_GetFieldRect(arg1,arg2);
7163
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 {
7168 wxRect * resultptr;
7169 resultptr = new wxRect((wxRect &)(result));
7170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7171 }
7172 return resultobj;
7173 fail:
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7181 int arg2 ;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "height", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7190 if (SWIG_arg_fail(1)) SWIG_fail;
7191 {
7192 arg2 = (int)(SWIG_As_int(obj1));
7193 if (SWIG_arg_fail(2)) SWIG_fail;
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->SetMinHeight(arg2);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 Py_INCREF(Py_None); resultobj = Py_None;
7203 return resultobj;
7204 fail:
7205 return NULL;
7206 }
7207
7208
7209 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7212 int result;
7213 PyObject * obj0 = 0 ;
7214 char *kwnames[] = {
7215 (char *) "self", NULL
7216 };
7217
7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail;
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 {
7229 resultobj = SWIG_From_int((int)(result));
7230 }
7231 return resultobj;
7232 fail:
7233 return NULL;
7234 }
7235
7236
7237 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7238 PyObject *resultobj;
7239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7240 int result;
7241 PyObject * obj0 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7248 if (SWIG_arg_fail(1)) SWIG_fail;
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257 resultobj = SWIG_From_int((int)(result));
7258 }
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7268 wxVisualAttributes result;
7269 PyObject * obj0 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "variant", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7275 if (obj0) {
7276 {
7277 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7278 if (SWIG_arg_fail(1)) SWIG_fail;
7279 }
7280 }
7281 {
7282 if (!wxPyCheckForApp()) SWIG_fail;
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 {
7290 wxVisualAttributes * resultptr;
7291 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7293 }
7294 return resultobj;
7295 fail:
7296 return NULL;
7297 }
7298
7299
7300 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7301 PyObject *obj;
7302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7303 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7304 Py_INCREF(obj);
7305 return Py_BuildValue((char *)"");
7306 }
7307 static int _wrap_SplitterNameStr_set(PyObject *) {
7308 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7309 return 1;
7310 }
7311
7312
7313 static PyObject *_wrap_SplitterNameStr_get(void) {
7314 PyObject *pyobj;
7315
7316 {
7317 #if wxUSE_UNICODE
7318 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7319 #else
7320 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7321 #endif
7322 }
7323 return pyobj;
7324 }
7325
7326
7327 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj;
7329 wxWindow *arg1 = (wxWindow *) 0 ;
7330 int arg2 = (int) -1 ;
7331 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7332 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7333 wxSize const &arg4_defvalue = wxDefaultSize ;
7334 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7335 long arg5 = (long) wxSP_3D ;
7336 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7337 wxString *arg6 = (wxString *) &arg6_defvalue ;
7338 wxSplitterWindow *result;
7339 wxPoint temp3 ;
7340 wxSize temp4 ;
7341 bool temp6 = false ;
7342 PyObject * obj0 = 0 ;
7343 PyObject * obj1 = 0 ;
7344 PyObject * obj2 = 0 ;
7345 PyObject * obj3 = 0 ;
7346 PyObject * obj4 = 0 ;
7347 PyObject * obj5 = 0 ;
7348 char *kwnames[] = {
7349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7354 if (SWIG_arg_fail(1)) SWIG_fail;
7355 if (obj1) {
7356 {
7357 arg2 = (int)(SWIG_As_int(obj1));
7358 if (SWIG_arg_fail(2)) SWIG_fail;
7359 }
7360 }
7361 if (obj2) {
7362 {
7363 arg3 = &temp3;
7364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7365 }
7366 }
7367 if (obj3) {
7368 {
7369 arg4 = &temp4;
7370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7371 }
7372 }
7373 if (obj4) {
7374 {
7375 arg5 = (long)(SWIG_As_long(obj4));
7376 if (SWIG_arg_fail(5)) SWIG_fail;
7377 }
7378 }
7379 if (obj5) {
7380 {
7381 arg6 = wxString_in_helper(obj5);
7382 if (arg6 == NULL) SWIG_fail;
7383 temp6 = true;
7384 }
7385 }
7386 {
7387 if (!wxPyCheckForApp()) SWIG_fail;
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7395 {
7396 if (temp6)
7397 delete arg6;
7398 }
7399 return resultobj;
7400 fail:
7401 {
7402 if (temp6)
7403 delete arg6;
7404 }
7405 return NULL;
7406 }
7407
7408
7409 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7410 PyObject *resultobj;
7411 wxSplitterWindow *result;
7412 char *kwnames[] = {
7413 NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7417 {
7418 if (!wxPyCheckForApp()) SWIG_fail;
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 result = (wxSplitterWindow *)new wxSplitterWindow();
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7426 return resultobj;
7427 fail:
7428 return NULL;
7429 }
7430
7431
7432 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7433 PyObject *resultobj;
7434 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7435 wxWindow *arg2 = (wxWindow *) 0 ;
7436 int arg3 = (int) -1 ;
7437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7439 wxSize const &arg5_defvalue = wxDefaultSize ;
7440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7441 long arg6 = (long) wxSP_3D ;
7442 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7443 wxString *arg7 = (wxString *) &arg7_defvalue ;
7444 bool result;
7445 wxPoint temp4 ;
7446 wxSize temp5 ;
7447 bool temp7 = false ;
7448 PyObject * obj0 = 0 ;
7449 PyObject * obj1 = 0 ;
7450 PyObject * obj2 = 0 ;
7451 PyObject * obj3 = 0 ;
7452 PyObject * obj4 = 0 ;
7453 PyObject * obj5 = 0 ;
7454 PyObject * obj6 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7461 if (SWIG_arg_fail(1)) SWIG_fail;
7462 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7463 if (SWIG_arg_fail(2)) SWIG_fail;
7464 if (obj2) {
7465 {
7466 arg3 = (int)(SWIG_As_int(obj2));
7467 if (SWIG_arg_fail(3)) SWIG_fail;
7468 }
7469 }
7470 if (obj3) {
7471 {
7472 arg4 = &temp4;
7473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7474 }
7475 }
7476 if (obj4) {
7477 {
7478 arg5 = &temp5;
7479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7480 }
7481 }
7482 if (obj5) {
7483 {
7484 arg6 = (long)(SWIG_As_long(obj5));
7485 if (SWIG_arg_fail(6)) SWIG_fail;
7486 }
7487 }
7488 if (obj6) {
7489 {
7490 arg7 = wxString_in_helper(obj6);
7491 if (arg7 == NULL) SWIG_fail;
7492 temp7 = true;
7493 }
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 {
7503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7504 }
7505 {
7506 if (temp7)
7507 delete arg7;
7508 }
7509 return resultobj;
7510 fail:
7511 {
7512 if (temp7)
7513 delete arg7;
7514 }
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7522 wxWindow *result;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7530 if (SWIG_arg_fail(1)) SWIG_fail;
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 {
7539 resultobj = wxPyMake_wxObject(result, 0);
7540 }
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7550 wxWindow *result;
7551 PyObject * obj0 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7558 if (SWIG_arg_fail(1)) SWIG_fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 resultobj = wxPyMake_wxObject(result, 0);
7568 }
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7578 int arg2 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "mode", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
7588 {
7589 arg2 = (int)(SWIG_As_int(obj1));
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 }
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 (arg1)->SetSplitMode(arg2);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 Py_INCREF(Py_None); resultobj = Py_None;
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7609 wxSplitMode result;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_From_int((result));
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7635 wxWindow *arg2 = (wxWindow *) 0 ;
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj1 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self",(char *) "window", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail;
7645 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7646 if (SWIG_arg_fail(2)) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->Initialize(arg2);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7664 wxWindow *arg2 = (wxWindow *) 0 ;
7665 wxWindow *arg3 = (wxWindow *) 0 ;
7666 int arg4 = (int) 0 ;
7667 bool result;
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 PyObject * obj2 = 0 ;
7671 PyObject * obj3 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7678 if (SWIG_arg_fail(1)) SWIG_fail;
7679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7680 if (SWIG_arg_fail(2)) SWIG_fail;
7681 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7682 if (SWIG_arg_fail(3)) SWIG_fail;
7683 if (obj3) {
7684 {
7685 arg4 = (int)(SWIG_As_int(obj3));
7686 if (SWIG_arg_fail(4)) SWIG_fail;
7687 }
7688 }
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 {
7697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7698 }
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7708 wxWindow *arg2 = (wxWindow *) 0 ;
7709 wxWindow *arg3 = (wxWindow *) 0 ;
7710 int arg4 = (int) 0 ;
7711 bool result;
7712 PyObject * obj0 = 0 ;
7713 PyObject * obj1 = 0 ;
7714 PyObject * obj2 = 0 ;
7715 PyObject * obj3 = 0 ;
7716 char *kwnames[] = {
7717 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7718 };
7719
7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail;
7723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7724 if (SWIG_arg_fail(2)) SWIG_fail;
7725 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7726 if (SWIG_arg_fail(3)) SWIG_fail;
7727 if (obj3) {
7728 {
7729 arg4 = (int)(SWIG_As_int(obj3));
7730 if (SWIG_arg_fail(4)) SWIG_fail;
7731 }
7732 }
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 {
7741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7742 }
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7752 wxWindow *arg2 = (wxWindow *) NULL ;
7753 bool result;
7754 PyObject * obj0 = 0 ;
7755 PyObject * obj1 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self",(char *) "toRemove", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail;
7763 if (obj1) {
7764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7765 if (SWIG_arg_fail(2)) SWIG_fail;
7766 }
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 result = (bool)(arg1)->Unsplit(arg2);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 {
7775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7776 }
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7786 wxWindow *arg2 = (wxWindow *) 0 ;
7787 wxWindow *arg3 = (wxWindow *) 0 ;
7788 bool result;
7789 PyObject * obj0 = 0 ;
7790 PyObject * obj1 = 0 ;
7791 PyObject * obj2 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7798 if (SWIG_arg_fail(1)) SWIG_fail;
7799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7800 if (SWIG_arg_fail(2)) SWIG_fail;
7801 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7802 if (SWIG_arg_fail(3)) SWIG_fail;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 {
7811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7812 }
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7822 PyObject * obj0 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7829 if (SWIG_arg_fail(1)) SWIG_fail;
7830 {
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 (arg1)->UpdateSize();
7833
7834 wxPyEndAllowThreads(__tstate);
7835 if (PyErr_Occurred()) SWIG_fail;
7836 }
7837 Py_INCREF(Py_None); resultobj = Py_None;
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7847 bool result;
7848 PyObject * obj0 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 {
7864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7865 }
7866 return resultobj;
7867 fail:
7868 return NULL;
7869 }
7870
7871
7872 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7875 int arg2 ;
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj1 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self",(char *) "width", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7884 if (SWIG_arg_fail(1)) SWIG_fail;
7885 {
7886 arg2 = (int)(SWIG_As_int(obj1));
7887 if (SWIG_arg_fail(2)) SWIG_fail;
7888 }
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 (arg1)->SetSashSize(arg2);
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 Py_INCREF(Py_None); resultobj = Py_None;
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7906 int arg2 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self",(char *) "width", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7915 if (SWIG_arg_fail(1)) SWIG_fail;
7916 {
7917 arg2 = (int)(SWIG_As_int(obj1));
7918 if (SWIG_arg_fail(2)) SWIG_fail;
7919 }
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 (arg1)->SetBorderSize(arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7937 int result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7945 if (SWIG_arg_fail(1)) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 {
7954 resultobj = SWIG_From_int((int)(result));
7955 }
7956 return resultobj;
7957 fail:
7958 return NULL;
7959 }
7960
7961
7962 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7965 int result;
7966 PyObject * obj0 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7973 if (SWIG_arg_fail(1)) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 {
7982 resultobj = SWIG_From_int((int)(result));
7983 }
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7993 int arg2 ;
7994 bool arg3 = (bool) true ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj1 = 0 ;
7997 PyObject * obj2 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self",(char *) "position",(char *) "redraw", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8004 if (SWIG_arg_fail(1)) SWIG_fail;
8005 {
8006 arg2 = (int)(SWIG_As_int(obj1));
8007 if (SWIG_arg_fail(2)) SWIG_fail;
8008 }
8009 if (obj2) {
8010 {
8011 arg3 = (bool)(SWIG_As_bool(obj2));
8012 if (SWIG_arg_fail(3)) SWIG_fail;
8013 }
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->SetSashPosition(arg2,arg3);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj;
8031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8032 int result;
8033 PyObject * obj0 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8040 if (SWIG_arg_fail(1)) SWIG_fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 {
8049 resultobj = SWIG_From_int((int)(result));
8050 }
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8060 double arg2 ;
8061 PyObject * obj0 = 0 ;
8062 PyObject * obj1 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "gravity", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8069 if (SWIG_arg_fail(1)) SWIG_fail;
8070 {
8071 arg2 = (double)(SWIG_As_double(obj1));
8072 if (SWIG_arg_fail(2)) SWIG_fail;
8073 }
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 (arg1)->SetSashGravity(arg2);
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 Py_INCREF(Py_None); resultobj = Py_None;
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8091 double result;
8092 PyObject * obj0 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "self", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail;
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 resultobj = SWIG_From_double((double)(result));
8109 }
8110 return resultobj;
8111 fail:
8112 return NULL;
8113 }
8114
8115
8116 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj;
8118 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8119 int arg2 ;
8120 PyObject * obj0 = 0 ;
8121 PyObject * obj1 = 0 ;
8122 char *kwnames[] = {
8123 (char *) "self",(char *) "min", NULL
8124 };
8125
8126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8128 if (SWIG_arg_fail(1)) SWIG_fail;
8129 {
8130 arg2 = (int)(SWIG_As_int(obj1));
8131 if (SWIG_arg_fail(2)) SWIG_fail;
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 (arg1)->SetMinimumPaneSize(arg2);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 return resultobj;
8142 fail:
8143 return NULL;
8144 }
8145
8146
8147 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8148 PyObject *resultobj;
8149 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8150 int result;
8151 PyObject * obj0 = 0 ;
8152 char *kwnames[] = {
8153 (char *) "self", NULL
8154 };
8155
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8158 if (SWIG_arg_fail(1)) SWIG_fail;
8159 {
8160 PyThreadState* __tstate = wxPyBeginAllowThreads();
8161 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8162
8163 wxPyEndAllowThreads(__tstate);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 {
8167 resultobj = SWIG_From_int((int)(result));
8168 }
8169 return resultobj;
8170 fail:
8171 return NULL;
8172 }
8173
8174
8175 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8176 PyObject *resultobj;
8177 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8178 int arg2 ;
8179 int arg3 ;
8180 int arg4 = (int) 5 ;
8181 bool result;
8182 PyObject * obj0 = 0 ;
8183 PyObject * obj1 = 0 ;
8184 PyObject * obj2 = 0 ;
8185 PyObject * obj3 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8192 if (SWIG_arg_fail(1)) SWIG_fail;
8193 {
8194 arg2 = (int)(SWIG_As_int(obj1));
8195 if (SWIG_arg_fail(2)) SWIG_fail;
8196 }
8197 {
8198 arg3 = (int)(SWIG_As_int(obj2));
8199 if (SWIG_arg_fail(3)) SWIG_fail;
8200 }
8201 if (obj3) {
8202 {
8203 arg4 = (int)(SWIG_As_int(obj3));
8204 if (SWIG_arg_fail(4)) SWIG_fail;
8205 }
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 {
8215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8216 }
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8226 PyObject * obj0 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8233 if (SWIG_arg_fail(1)) SWIG_fail;
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 (arg1)->SizeWindows();
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 Py_INCREF(Py_None); resultobj = Py_None;
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8251 bool arg2 ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self",(char *) "needUpdating", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail;
8261 {
8262 arg2 = (bool)(SWIG_As_bool(obj1));
8263 if (SWIG_arg_fail(2)) SWIG_fail;
8264 }
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->SetNeedUpdating(arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8282 bool result;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail;
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 {
8299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8300 }
8301 return resultobj;
8302 fail:
8303 return NULL;
8304 }
8305
8306
8307 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8310 wxVisualAttributes result;
8311 PyObject * obj0 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "variant", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8317 if (obj0) {
8318 {
8319 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8320 if (SWIG_arg_fail(1)) SWIG_fail;
8321 }
8322 }
8323 {
8324 if (!wxPyCheckForApp()) SWIG_fail;
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 {
8332 wxVisualAttributes * resultptr;
8333 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8335 }
8336 return resultobj;
8337 fail:
8338 return NULL;
8339 }
8340
8341
8342 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8343 PyObject *obj;
8344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8345 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8346 Py_INCREF(obj);
8347 return Py_BuildValue((char *)"");
8348 }
8349 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8352 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8353 wxSplitterEvent *result;
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "type",(char *) "splitter", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8361 if (obj0) {
8362 {
8363 arg1 = (wxEventType)(SWIG_As_int(obj0));
8364 if (SWIG_arg_fail(1)) SWIG_fail;
8365 }
8366 }
8367 if (obj1) {
8368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8369 if (SWIG_arg_fail(2)) SWIG_fail;
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8388 int arg2 ;
8389 PyObject * obj0 = 0 ;
8390 PyObject * obj1 = 0 ;
8391 char *kwnames[] = {
8392 (char *) "self",(char *) "pos", NULL
8393 };
8394
8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8397 if (SWIG_arg_fail(1)) SWIG_fail;
8398 {
8399 arg2 = (int)(SWIG_As_int(obj1));
8400 if (SWIG_arg_fail(2)) SWIG_fail;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->SetSashPosition(arg2);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8419 int result;
8420 PyObject * obj0 = 0 ;
8421 char *kwnames[] = {
8422 (char *) "self", NULL
8423 };
8424
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8427 if (SWIG_arg_fail(1)) SWIG_fail;
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 {
8436 resultobj = SWIG_From_int((int)(result));
8437 }
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8447 wxWindow *result;
8448 PyObject * obj0 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8455 if (SWIG_arg_fail(1)) SWIG_fail;
8456 {
8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
8458 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8459
8460 wxPyEndAllowThreads(__tstate);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 {
8464 resultobj = wxPyMake_wxObject(result, 0);
8465 }
8466 return resultobj;
8467 fail:
8468 return NULL;
8469 }
8470
8471
8472 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8473 PyObject *resultobj;
8474 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8475 int result;
8476 PyObject * obj0 = 0 ;
8477 char *kwnames[] = {
8478 (char *) "self", NULL
8479 };
8480
8481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8483 if (SWIG_arg_fail(1)) SWIG_fail;
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8487
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 resultobj = SWIG_From_int((int)(result));
8493 }
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8503 int result;
8504 PyObject * obj0 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "self", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8511 if (SWIG_arg_fail(1)) SWIG_fail;
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 {
8520 resultobj = SWIG_From_int((int)(result));
8521 }
8522 return resultobj;
8523 fail:
8524 return NULL;
8525 }
8526
8527
8528 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8529 PyObject *obj;
8530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8531 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8532 Py_INCREF(obj);
8533 return Py_BuildValue((char *)"");
8534 }
8535 static int _wrap_SashNameStr_set(PyObject *) {
8536 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8537 return 1;
8538 }
8539
8540
8541 static PyObject *_wrap_SashNameStr_get(void) {
8542 PyObject *pyobj;
8543
8544 {
8545 #if wxUSE_UNICODE
8546 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8547 #else
8548 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8549 #endif
8550 }
8551 return pyobj;
8552 }
8553
8554
8555 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8556 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8557 return 1;
8558 }
8559
8560
8561 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8562 PyObject *pyobj;
8563
8564 {
8565 #if wxUSE_UNICODE
8566 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8567 #else
8568 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8569 #endif
8570 }
8571 return pyobj;
8572 }
8573
8574
8575 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxWindow *arg1 = (wxWindow *) 0 ;
8578 int arg2 = (int) -1 ;
8579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8581 wxSize const &arg4_defvalue = wxDefaultSize ;
8582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8583 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8584 wxString const &arg6_defvalue = wxPySashNameStr ;
8585 wxString *arg6 = (wxString *) &arg6_defvalue ;
8586 wxSashWindow *result;
8587 wxPoint temp3 ;
8588 wxSize temp4 ;
8589 bool temp6 = false ;
8590 PyObject * obj0 = 0 ;
8591 PyObject * obj1 = 0 ;
8592 PyObject * obj2 = 0 ;
8593 PyObject * obj3 = 0 ;
8594 PyObject * obj4 = 0 ;
8595 PyObject * obj5 = 0 ;
8596 char *kwnames[] = {
8597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8598 };
8599
8600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8602 if (SWIG_arg_fail(1)) SWIG_fail;
8603 if (obj1) {
8604 {
8605 arg2 = (int)(SWIG_As_int(obj1));
8606 if (SWIG_arg_fail(2)) SWIG_fail;
8607 }
8608 }
8609 if (obj2) {
8610 {
8611 arg3 = &temp3;
8612 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8613 }
8614 }
8615 if (obj3) {
8616 {
8617 arg4 = &temp4;
8618 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8619 }
8620 }
8621 if (obj4) {
8622 {
8623 arg5 = (long)(SWIG_As_long(obj4));
8624 if (SWIG_arg_fail(5)) SWIG_fail;
8625 }
8626 }
8627 if (obj5) {
8628 {
8629 arg6 = wxString_in_helper(obj5);
8630 if (arg6 == NULL) SWIG_fail;
8631 temp6 = true;
8632 }
8633 }
8634 {
8635 if (!wxPyCheckForApp()) SWIG_fail;
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
8642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8643 {
8644 if (temp6)
8645 delete arg6;
8646 }
8647 return resultobj;
8648 fail:
8649 {
8650 if (temp6)
8651 delete arg6;
8652 }
8653 return NULL;
8654 }
8655
8656
8657 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8658 PyObject *resultobj;
8659 wxSashWindow *result;
8660 char *kwnames[] = {
8661 NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8665 {
8666 if (!wxPyCheckForApp()) SWIG_fail;
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (wxSashWindow *)new wxSashWindow();
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8683 wxWindow *arg2 = (wxWindow *) 0 ;
8684 int arg3 = (int) -1 ;
8685 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8686 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8687 wxSize const &arg5_defvalue = wxDefaultSize ;
8688 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8689 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8690 wxString const &arg7_defvalue = wxPySashNameStr ;
8691 wxString *arg7 = (wxString *) &arg7_defvalue ;
8692 bool result;
8693 wxPoint temp4 ;
8694 wxSize temp5 ;
8695 bool temp7 = false ;
8696 PyObject * obj0 = 0 ;
8697 PyObject * obj1 = 0 ;
8698 PyObject * obj2 = 0 ;
8699 PyObject * obj3 = 0 ;
8700 PyObject * obj4 = 0 ;
8701 PyObject * obj5 = 0 ;
8702 PyObject * obj6 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8709 if (SWIG_arg_fail(1)) SWIG_fail;
8710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8711 if (SWIG_arg_fail(2)) SWIG_fail;
8712 if (obj2) {
8713 {
8714 arg3 = (int)(SWIG_As_int(obj2));
8715 if (SWIG_arg_fail(3)) SWIG_fail;
8716 }
8717 }
8718 if (obj3) {
8719 {
8720 arg4 = &temp4;
8721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8722 }
8723 }
8724 if (obj4) {
8725 {
8726 arg5 = &temp5;
8727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8728 }
8729 }
8730 if (obj5) {
8731 {
8732 arg6 = (long)(SWIG_As_long(obj5));
8733 if (SWIG_arg_fail(6)) SWIG_fail;
8734 }
8735 }
8736 if (obj6) {
8737 {
8738 arg7 = wxString_in_helper(obj6);
8739 if (arg7 == NULL) SWIG_fail;
8740 temp7 = true;
8741 }
8742 }
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8746
8747 wxPyEndAllowThreads(__tstate);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 }
8750 {
8751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8752 }
8753 {
8754 if (temp7)
8755 delete arg7;
8756 }
8757 return resultobj;
8758 fail:
8759 {
8760 if (temp7)
8761 delete arg7;
8762 }
8763 return NULL;
8764 }
8765
8766
8767 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8770 wxSashEdgePosition arg2 ;
8771 bool arg3 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 PyObject * obj2 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self",(char *) "edge",(char *) "sash", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
8782 {
8783 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8784 if (SWIG_arg_fail(2)) SWIG_fail;
8785 }
8786 {
8787 arg3 = (bool)(SWIG_As_bool(obj2));
8788 if (SWIG_arg_fail(3)) SWIG_fail;
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 Py_INCREF(Py_None); resultobj = Py_None;
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8807 wxSashEdgePosition arg2 ;
8808 bool result;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 char *kwnames[] = {
8812 (char *) "self",(char *) "edge", NULL
8813 };
8814
8815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8817 if (SWIG_arg_fail(1)) SWIG_fail;
8818 {
8819 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8820 if (SWIG_arg_fail(2)) SWIG_fail;
8821 }
8822 {
8823 PyThreadState* __tstate = wxPyBeginAllowThreads();
8824 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8825
8826 wxPyEndAllowThreads(__tstate);
8827 if (PyErr_Occurred()) SWIG_fail;
8828 }
8829 {
8830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8831 }
8832 return resultobj;
8833 fail:
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8841 wxSashEdgePosition arg2 ;
8842 bool arg3 ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 PyObject * obj2 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "edge",(char *) "border", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8852 if (SWIG_arg_fail(1)) SWIG_fail;
8853 {
8854 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8855 if (SWIG_arg_fail(2)) SWIG_fail;
8856 }
8857 {
8858 arg3 = (bool)(SWIG_As_bool(obj2));
8859 if (SWIG_arg_fail(3)) SWIG_fail;
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 Py_INCREF(Py_None); resultobj = Py_None;
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8878 wxSashEdgePosition arg2 ;
8879 bool result;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self",(char *) "edge", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail;
8889 {
8890 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8891 if (SWIG_arg_fail(2)) SWIG_fail;
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 {
8901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8902 }
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8912 wxSashEdgePosition arg2 ;
8913 int result;
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj1 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self",(char *) "edge", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail;
8923 {
8924 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8925 if (SWIG_arg_fail(2)) SWIG_fail;
8926 }
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 {
8935 resultobj = SWIG_From_int((int)(result));
8936 }
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8946 int arg2 ;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "width", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail;
8956 {
8957 arg2 = (int)(SWIG_As_int(obj1));
8958 if (SWIG_arg_fail(2)) SWIG_fail;
8959 }
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->SetDefaultBorderSize(arg2);
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 return resultobj;
8969 fail:
8970 return NULL;
8971 }
8972
8973
8974 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8975 PyObject *resultobj;
8976 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8977 int result;
8978 PyObject * obj0 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
8984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8985 if (SWIG_arg_fail(1)) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 {
8994 resultobj = SWIG_From_int((int)(result));
8995 }
8996 return resultobj;
8997 fail:
8998 return NULL;
8999 }
9000
9001
9002 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9005 int arg2 ;
9006 PyObject * obj0 = 0 ;
9007 PyObject * obj1 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self",(char *) "width", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9014 if (SWIG_arg_fail(1)) SWIG_fail;
9015 {
9016 arg2 = (int)(SWIG_As_int(obj1));
9017 if (SWIG_arg_fail(2)) SWIG_fail;
9018 }
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 (arg1)->SetExtraBorderSize(arg2);
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 Py_INCREF(Py_None); resultobj = Py_None;
9027 return resultobj;
9028 fail:
9029 return NULL;
9030 }
9031
9032
9033 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9034 PyObject *resultobj;
9035 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9036 int result;
9037 PyObject * obj0 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9044 if (SWIG_arg_fail(1)) SWIG_fail;
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 {
9053 resultobj = SWIG_From_int((int)(result));
9054 }
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9064 int arg2 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self",(char *) "min", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9073 if (SWIG_arg_fail(1)) SWIG_fail;
9074 {
9075 arg2 = (int)(SWIG_As_int(obj1));
9076 if (SWIG_arg_fail(2)) SWIG_fail;
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 (arg1)->SetMinimumSizeX(arg2);
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 Py_INCREF(Py_None); resultobj = Py_None;
9086 return resultobj;
9087 fail:
9088 return NULL;
9089 }
9090
9091
9092 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9093 PyObject *resultobj;
9094 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9095 int arg2 ;
9096 PyObject * obj0 = 0 ;
9097 PyObject * obj1 = 0 ;
9098 char *kwnames[] = {
9099 (char *) "self",(char *) "min", NULL
9100 };
9101
9102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9104 if (SWIG_arg_fail(1)) SWIG_fail;
9105 {
9106 arg2 = (int)(SWIG_As_int(obj1));
9107 if (SWIG_arg_fail(2)) SWIG_fail;
9108 }
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 (arg1)->SetMinimumSizeY(arg2);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 Py_INCREF(Py_None); resultobj = Py_None;
9117 return resultobj;
9118 fail:
9119 return NULL;
9120 }
9121
9122
9123 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9124 PyObject *resultobj;
9125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9126 int result;
9127 PyObject * obj0 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "self", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9134 if (SWIG_arg_fail(1)) SWIG_fail;
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 {
9143 resultobj = SWIG_From_int((int)(result));
9144 }
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9154 int result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 {
9171 resultobj = SWIG_From_int((int)(result));
9172 }
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9182 int arg2 ;
9183 PyObject * obj0 = 0 ;
9184 PyObject * obj1 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self",(char *) "max", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail;
9192 {
9193 arg2 = (int)(SWIG_As_int(obj1));
9194 if (SWIG_arg_fail(2)) SWIG_fail;
9195 }
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 (arg1)->SetMaximumSizeX(arg2);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9213 int arg2 ;
9214 PyObject * obj0 = 0 ;
9215 PyObject * obj1 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self",(char *) "max", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9222 if (SWIG_arg_fail(1)) SWIG_fail;
9223 {
9224 arg2 = (int)(SWIG_As_int(obj1));
9225 if (SWIG_arg_fail(2)) SWIG_fail;
9226 }
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 (arg1)->SetMaximumSizeY(arg2);
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 Py_INCREF(Py_None); resultobj = Py_None;
9235 return resultobj;
9236 fail:
9237 return NULL;
9238 }
9239
9240
9241 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9244 int result;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "self", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9252 if (SWIG_arg_fail(1)) SWIG_fail;
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9256
9257 wxPyEndAllowThreads(__tstate);
9258 if (PyErr_Occurred()) SWIG_fail;
9259 }
9260 {
9261 resultobj = SWIG_From_int((int)(result));
9262 }
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj;
9271 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9272 int result;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 {
9289 resultobj = SWIG_From_int((int)(result));
9290 }
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9300 int arg2 ;
9301 int arg3 ;
9302 int arg4 = (int) 2 ;
9303 wxSashEdgePosition result;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 PyObject * obj2 = 0 ;
9307 PyObject * obj3 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) 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 arg2 = (int)(SWIG_As_int(obj1));
9317 if (SWIG_arg_fail(2)) SWIG_fail;
9318 }
9319 {
9320 arg3 = (int)(SWIG_As_int(obj2));
9321 if (SWIG_arg_fail(3)) SWIG_fail;
9322 }
9323 if (obj3) {
9324 {
9325 arg4 = (int)(SWIG_As_int(obj3));
9326 if (SWIG_arg_fail(4)) SWIG_fail;
9327 }
9328 }
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9332
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = SWIG_From_int((result));
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9353 if (SWIG_arg_fail(1)) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->SizeWindows();
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 Py_INCREF(Py_None); resultobj = Py_None;
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9369 PyObject *obj;
9370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9371 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9372 Py_INCREF(obj);
9373 return Py_BuildValue((char *)"");
9374 }
9375 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 int arg1 = (int) 0 ;
9378 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9379 wxSashEvent *result;
9380 PyObject * obj0 = 0 ;
9381 PyObject * obj1 = 0 ;
9382 char *kwnames[] = {
9383 (char *) "id",(char *) "edge", NULL
9384 };
9385
9386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9387 if (obj0) {
9388 {
9389 arg1 = (int)(SWIG_As_int(obj0));
9390 if (SWIG_arg_fail(1)) SWIG_fail;
9391 }
9392 }
9393 if (obj1) {
9394 {
9395 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9396 if (SWIG_arg_fail(2)) SWIG_fail;
9397 }
9398 }
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9416 wxSashEdgePosition arg2 ;
9417 PyObject * obj0 = 0 ;
9418 PyObject * obj1 = 0 ;
9419 char *kwnames[] = {
9420 (char *) "self",(char *) "edge", NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9425 if (SWIG_arg_fail(1)) SWIG_fail;
9426 {
9427 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9428 if (SWIG_arg_fail(2)) SWIG_fail;
9429 }
9430 {
9431 PyThreadState* __tstate = wxPyBeginAllowThreads();
9432 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9433
9434 wxPyEndAllowThreads(__tstate);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 Py_INCREF(Py_None); resultobj = Py_None;
9438 return resultobj;
9439 fail:
9440 return NULL;
9441 }
9442
9443
9444 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9445 PyObject *resultobj;
9446 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9447 wxSashEdgePosition result;
9448 PyObject * obj0 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail;
9456 {
9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9458 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9459
9460 wxPyEndAllowThreads(__tstate);
9461 if (PyErr_Occurred()) SWIG_fail;
9462 }
9463 resultobj = SWIG_From_int((result));
9464 return resultobj;
9465 fail:
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9473 wxRect *arg2 = 0 ;
9474 wxRect temp2 ;
9475 PyObject * obj0 = 0 ;
9476 PyObject * obj1 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "rect", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail;
9484 {
9485 arg2 = &temp2;
9486 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9487 }
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 (arg1)->SetDragRect((wxRect const &)*arg2);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 Py_INCREF(Py_None); resultobj = Py_None;
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9505 wxRect result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = ((wxSashEvent const *)arg1)->GetDragRect();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 wxRect * resultptr;
9523 resultptr = new wxRect((wxRect &)(result));
9524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9525 }
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj;
9534 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9535 wxSashDragStatus arg2 ;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self",(char *) "status", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail;
9545 {
9546 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9547 if (SWIG_arg_fail(2)) SWIG_fail;
9548 }
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 Py_INCREF(Py_None); resultobj = Py_None;
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9566 wxSashDragStatus result;
9567 PyObject * obj0 = 0 ;
9568 char *kwnames[] = {
9569 (char *) "self", NULL
9570 };
9571
9572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9574 if (SWIG_arg_fail(1)) SWIG_fail;
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 resultobj = SWIG_From_int((result));
9583 return resultobj;
9584 fail:
9585 return NULL;
9586 }
9587
9588
9589 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9590 PyObject *obj;
9591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9592 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9593 Py_INCREF(obj);
9594 return Py_BuildValue((char *)"");
9595 }
9596 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 int arg1 = (int) 0 ;
9599 wxQueryLayoutInfoEvent *result;
9600 PyObject * obj0 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "id", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9606 if (obj0) {
9607 {
9608 arg1 = (int)(SWIG_As_int(obj0));
9609 if (SWIG_arg_fail(1)) SWIG_fail;
9610 }
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9629 int arg2 ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj1 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "length", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9638 if (SWIG_arg_fail(1)) SWIG_fail;
9639 {
9640 arg2 = (int)(SWIG_As_int(obj1));
9641 if (SWIG_arg_fail(2)) SWIG_fail;
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->SetRequestedLength(arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 Py_INCREF(Py_None); resultobj = Py_None;
9651 return resultobj;
9652 fail:
9653 return NULL;
9654 }
9655
9656
9657 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9660 int result;
9661 PyObject * obj0 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9668 if (SWIG_arg_fail(1)) SWIG_fail;
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 {
9677 resultobj = SWIG_From_int((int)(result));
9678 }
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9688 int arg2 ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "flags", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9697 if (SWIG_arg_fail(1)) SWIG_fail;
9698 {
9699 arg2 = (int)(SWIG_As_int(obj1));
9700 if (SWIG_arg_fail(2)) SWIG_fail;
9701 }
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 (arg1)->SetFlags(arg2);
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 Py_INCREF(Py_None); resultobj = Py_None;
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9719 int result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = SWIG_From_int((int)(result));
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9747 wxSize *arg2 = 0 ;
9748 wxSize temp2 ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self",(char *) "size", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail;
9758 {
9759 arg2 = &temp2;
9760 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9761 }
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 (arg1)->SetSize((wxSize const &)*arg2);
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 Py_INCREF(Py_None); resultobj = Py_None;
9770 return resultobj;
9771 fail:
9772 return NULL;
9773 }
9774
9775
9776 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9779 wxSize result;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9787 if (SWIG_arg_fail(1)) SWIG_fail;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 {
9796 wxSize * resultptr;
9797 resultptr = new wxSize((wxSize &)(result));
9798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9799 }
9800 return resultobj;
9801 fail:
9802 return NULL;
9803 }
9804
9805
9806 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9809 wxLayoutOrientation arg2 ;
9810 PyObject * obj0 = 0 ;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self",(char *) "orient", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9818 if (SWIG_arg_fail(1)) SWIG_fail;
9819 {
9820 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9821 if (SWIG_arg_fail(2)) SWIG_fail;
9822 }
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 Py_INCREF(Py_None); resultobj = Py_None;
9831 return resultobj;
9832 fail:
9833 return NULL;
9834 }
9835
9836
9837 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9838 PyObject *resultobj;
9839 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9840 wxLayoutOrientation result;
9841 PyObject * obj0 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9848 if (SWIG_arg_fail(1)) SWIG_fail;
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 resultobj = SWIG_From_int((result));
9857 return resultobj;
9858 fail:
9859 return NULL;
9860 }
9861
9862
9863 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9864 PyObject *resultobj;
9865 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9866 wxLayoutAlignment arg2 ;
9867 PyObject * obj0 = 0 ;
9868 PyObject * obj1 = 0 ;
9869 char *kwnames[] = {
9870 (char *) "self",(char *) "align", NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9875 if (SWIG_arg_fail(1)) SWIG_fail;
9876 {
9877 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9878 if (SWIG_arg_fail(2)) SWIG_fail;
9879 }
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 Py_INCREF(Py_None); resultobj = Py_None;
9888 return resultobj;
9889 fail:
9890 return NULL;
9891 }
9892
9893
9894 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj;
9896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9897 wxLayoutAlignment result;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9905 if (SWIG_arg_fail(1)) SWIG_fail;
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
9913 resultobj = SWIG_From_int((result));
9914 return resultobj;
9915 fail:
9916 return NULL;
9917 }
9918
9919
9920 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9921 PyObject *obj;
9922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9923 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9924 Py_INCREF(obj);
9925 return Py_BuildValue((char *)"");
9926 }
9927 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 int arg1 = (int) 0 ;
9930 wxCalculateLayoutEvent *result;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "id", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9937 if (obj0) {
9938 {
9939 arg1 = (int)(SWIG_As_int(obj0));
9940 if (SWIG_arg_fail(1)) SWIG_fail;
9941 }
9942 }
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9960 int arg2 ;
9961 PyObject * obj0 = 0 ;
9962 PyObject * obj1 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self",(char *) "flags", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9969 if (SWIG_arg_fail(1)) SWIG_fail;
9970 {
9971 arg2 = (int)(SWIG_As_int(obj1));
9972 if (SWIG_arg_fail(2)) SWIG_fail;
9973 }
9974 {
9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
9976 (arg1)->SetFlags(arg2);
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 Py_INCREF(Py_None); resultobj = Py_None;
9982 return resultobj;
9983 fail:
9984 return NULL;
9985 }
9986
9987
9988 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9991 int result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
9998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9999 if (SWIG_arg_fail(1)) SWIG_fail;
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 {
10008 resultobj = SWIG_From_int((int)(result));
10009 }
10010 return resultobj;
10011 fail:
10012 return NULL;
10013 }
10014
10015
10016 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10019 wxRect *arg2 = 0 ;
10020 wxRect temp2 ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "rect", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10029 if (SWIG_arg_fail(1)) SWIG_fail;
10030 {
10031 arg2 = &temp2;
10032 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetRect((wxRect const &)*arg2);
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 Py_INCREF(Py_None); resultobj = Py_None;
10042 return resultobj;
10043 fail:
10044 return NULL;
10045 }
10046
10047
10048 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10051 wxRect result;
10052 PyObject * obj0 = 0 ;
10053 char *kwnames[] = {
10054 (char *) "self", NULL
10055 };
10056
10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10059 if (SWIG_arg_fail(1)) SWIG_fail;
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 wxRect * resultptr;
10069 resultptr = new wxRect((wxRect &)(result));
10070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10071 }
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10079 PyObject *obj;
10080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10081 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10082 Py_INCREF(obj);
10083 return Py_BuildValue((char *)"");
10084 }
10085 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxWindow *arg1 = (wxWindow *) 0 ;
10088 int arg2 = (int) -1 ;
10089 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10090 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10091 wxSize const &arg4_defvalue = wxDefaultSize ;
10092 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10093 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10094 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10095 wxString *arg6 = (wxString *) &arg6_defvalue ;
10096 wxSashLayoutWindow *result;
10097 wxPoint temp3 ;
10098 wxSize temp4 ;
10099 bool temp6 = false ;
10100 PyObject * obj0 = 0 ;
10101 PyObject * obj1 = 0 ;
10102 PyObject * obj2 = 0 ;
10103 PyObject * obj3 = 0 ;
10104 PyObject * obj4 = 0 ;
10105 PyObject * obj5 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10112 if (SWIG_arg_fail(1)) SWIG_fail;
10113 if (obj1) {
10114 {
10115 arg2 = (int)(SWIG_As_int(obj1));
10116 if (SWIG_arg_fail(2)) SWIG_fail;
10117 }
10118 }
10119 if (obj2) {
10120 {
10121 arg3 = &temp3;
10122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10123 }
10124 }
10125 if (obj3) {
10126 {
10127 arg4 = &temp4;
10128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10129 }
10130 }
10131 if (obj4) {
10132 {
10133 arg5 = (long)(SWIG_As_long(obj4));
10134 if (SWIG_arg_fail(5)) SWIG_fail;
10135 }
10136 }
10137 if (obj5) {
10138 {
10139 arg6 = wxString_in_helper(obj5);
10140 if (arg6 == NULL) SWIG_fail;
10141 temp6 = true;
10142 }
10143 }
10144 {
10145 if (!wxPyCheckForApp()) SWIG_fail;
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10153 {
10154 if (temp6)
10155 delete arg6;
10156 }
10157 return resultobj;
10158 fail:
10159 {
10160 if (temp6)
10161 delete arg6;
10162 }
10163 return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxSashLayoutWindow *result;
10170 char *kwnames[] = {
10171 NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10175 {
10176 if (!wxPyCheckForApp()) SWIG_fail;
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10193 wxWindow *arg2 = (wxWindow *) 0 ;
10194 int arg3 = (int) -1 ;
10195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10197 wxSize const &arg5_defvalue = wxDefaultSize ;
10198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10199 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10200 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10201 wxString *arg7 = (wxString *) &arg7_defvalue ;
10202 bool result;
10203 wxPoint temp4 ;
10204 wxSize temp5 ;
10205 bool temp7 = false ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 PyObject * obj2 = 0 ;
10209 PyObject * obj3 = 0 ;
10210 PyObject * obj4 = 0 ;
10211 PyObject * obj5 = 0 ;
10212 PyObject * obj6 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10219 if (SWIG_arg_fail(1)) SWIG_fail;
10220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10221 if (SWIG_arg_fail(2)) SWIG_fail;
10222 if (obj2) {
10223 {
10224 arg3 = (int)(SWIG_As_int(obj2));
10225 if (SWIG_arg_fail(3)) SWIG_fail;
10226 }
10227 }
10228 if (obj3) {
10229 {
10230 arg4 = &temp4;
10231 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10232 }
10233 }
10234 if (obj4) {
10235 {
10236 arg5 = &temp5;
10237 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10238 }
10239 }
10240 if (obj5) {
10241 {
10242 arg6 = (long)(SWIG_As_long(obj5));
10243 if (SWIG_arg_fail(6)) SWIG_fail;
10244 }
10245 }
10246 if (obj6) {
10247 {
10248 arg7 = wxString_in_helper(obj6);
10249 if (arg7 == NULL) SWIG_fail;
10250 temp7 = true;
10251 }
10252 }
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 {
10261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10262 }
10263 {
10264 if (temp7)
10265 delete arg7;
10266 }
10267 return resultobj;
10268 fail:
10269 {
10270 if (temp7)
10271 delete arg7;
10272 }
10273 return NULL;
10274 }
10275
10276
10277 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj;
10279 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10280 wxLayoutAlignment result;
10281 PyObject * obj0 = 0 ;
10282 char *kwnames[] = {
10283 (char *) "self", NULL
10284 };
10285
10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10288 if (SWIG_arg_fail(1)) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 resultobj = SWIG_From_int((result));
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10306 wxLayoutOrientation result;
10307 PyObject * obj0 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10314 if (SWIG_arg_fail(1)) SWIG_fail;
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = SWIG_From_int((result));
10323 return resultobj;
10324 fail:
10325 return NULL;
10326 }
10327
10328
10329 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj;
10331 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10332 wxLayoutAlignment arg2 ;
10333 PyObject * obj0 = 0 ;
10334 PyObject * obj1 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "alignment", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10341 if (SWIG_arg_fail(1)) SWIG_fail;
10342 {
10343 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10344 if (SWIG_arg_fail(2)) SWIG_fail;
10345 }
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 Py_INCREF(Py_None); resultobj = Py_None;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10363 wxSize *arg2 = 0 ;
10364 wxSize temp2 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "size", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail;
10374 {
10375 arg2 = &temp2;
10376 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10377 }
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 return resultobj;
10387 fail:
10388 return NULL;
10389 }
10390
10391
10392 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10393 PyObject *resultobj;
10394 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10395 wxLayoutOrientation arg2 ;
10396 PyObject * obj0 = 0 ;
10397 PyObject * obj1 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self",(char *) "orientation", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail;
10405 {
10406 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10407 if (SWIG_arg_fail(2)) SWIG_fail;
10408 }
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10424 PyObject *obj;
10425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10426 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10427 Py_INCREF(obj);
10428 return Py_BuildValue((char *)"");
10429 }
10430 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10431 PyObject *resultobj;
10432 wxLayoutAlgorithm *result;
10433 char *kwnames[] = {
10434 NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10462 if (SWIG_arg_fail(1)) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 delete arg1;
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 Py_INCREF(Py_None); resultobj = Py_None;
10471 return resultobj;
10472 fail:
10473 return NULL;
10474 }
10475
10476
10477 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10480 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10481 wxRect *arg3 = (wxRect *) NULL ;
10482 bool result;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self",(char *) "frame",(char *) "rect", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10492 if (SWIG_arg_fail(1)) SWIG_fail;
10493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10494 if (SWIG_arg_fail(2)) SWIG_fail;
10495 if (obj2) {
10496 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10497 if (SWIG_arg_fail(3)) SWIG_fail;
10498 }
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 {
10507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10508 }
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10518 wxFrame *arg2 = (wxFrame *) 0 ;
10519 wxWindow *arg3 = (wxWindow *) NULL ;
10520 bool result;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 PyObject * obj2 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10530 if (SWIG_arg_fail(1)) SWIG_fail;
10531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10532 if (SWIG_arg_fail(2)) SWIG_fail;
10533 if (obj2) {
10534 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10535 if (SWIG_arg_fail(3)) SWIG_fail;
10536 }
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 {
10545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10546 }
10547 return resultobj;
10548 fail:
10549 return NULL;
10550 }
10551
10552
10553 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10554 PyObject *resultobj;
10555 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10556 wxWindow *arg2 = (wxWindow *) 0 ;
10557 wxWindow *arg3 = (wxWindow *) NULL ;
10558 bool result;
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561 PyObject * obj2 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10568 if (SWIG_arg_fail(1)) SWIG_fail;
10569 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10570 if (SWIG_arg_fail(2)) SWIG_fail;
10571 if (obj2) {
10572 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(3)) SWIG_fail;
10574 }
10575 {
10576 PyThreadState* __tstate = wxPyBeginAllowThreads();
10577 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10578
10579 wxPyEndAllowThreads(__tstate);
10580 if (PyErr_Occurred()) SWIG_fail;
10581 }
10582 {
10583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10584 }
10585 return resultobj;
10586 fail:
10587 return NULL;
10588 }
10589
10590
10591 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10592 PyObject *obj;
10593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10594 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10595 Py_INCREF(obj);
10596 return Py_BuildValue((char *)"");
10597 }
10598 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10599 PyObject *resultobj;
10600 wxWindow *arg1 = (wxWindow *) 0 ;
10601 int arg2 = (int) wxBORDER_NONE ;
10602 wxPopupWindow *result;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "parent",(char *) "flags", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10611 if (SWIG_arg_fail(1)) SWIG_fail;
10612 if (obj1) {
10613 {
10614 arg2 = (int)(SWIG_As_int(obj1));
10615 if (SWIG_arg_fail(2)) SWIG_fail;
10616 }
10617 }
10618 {
10619 if (!wxPyCheckForApp()) SWIG_fail;
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxPopupWindow *result;
10636 char *kwnames[] = {
10637 NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10641 {
10642 if (!wxPyCheckForApp()) SWIG_fail;
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 result = (wxPopupWindow *)new wxPopupWindow();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10659 wxWindow *arg2 = (wxWindow *) 0 ;
10660 int arg3 = (int) wxBORDER_NONE ;
10661 bool result;
10662 PyObject * obj0 = 0 ;
10663 PyObject * obj1 = 0 ;
10664 PyObject * obj2 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "parent",(char *) "flags", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail;
10672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(2)) SWIG_fail;
10674 if (obj2) {
10675 {
10676 arg3 = (int)(SWIG_As_int(obj2));
10677 if (SWIG_arg_fail(3)) SWIG_fail;
10678 }
10679 }
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (bool)(arg1)->Create(arg2,arg3);
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 {
10688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10689 }
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10699 wxPoint *arg2 = 0 ;
10700 wxSize *arg3 = 0 ;
10701 wxPoint temp2 ;
10702 wxSize temp3 ;
10703 PyObject * obj0 = 0 ;
10704 PyObject * obj1 = 0 ;
10705 PyObject * obj2 = 0 ;
10706 char *kwnames[] = {
10707 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10712 if (SWIG_arg_fail(1)) SWIG_fail;
10713 {
10714 arg2 = &temp2;
10715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10716 }
10717 {
10718 arg3 = &temp3;
10719 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10736 PyObject *obj;
10737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10738 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10739 Py_INCREF(obj);
10740 return Py_BuildValue((char *)"");
10741 }
10742 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxWindow *arg1 = (wxWindow *) 0 ;
10745 int arg2 = (int) wxBORDER_NONE ;
10746 wxPyPopupTransientWindow *result;
10747 PyObject * obj0 = 0 ;
10748 PyObject * obj1 = 0 ;
10749 char *kwnames[] = {
10750 (char *) "parent",(char *) "style", NULL
10751 };
10752
10753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail;
10756 if (obj1) {
10757 {
10758 arg2 = (int)(SWIG_As_int(obj1));
10759 if (SWIG_arg_fail(2)) SWIG_fail;
10760 }
10761 }
10762 {
10763 if (!wxPyCheckForApp()) SWIG_fail;
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10771 return resultobj;
10772 fail:
10773 return NULL;
10774 }
10775
10776
10777 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxPyPopupTransientWindow *result;
10780 char *kwnames[] = {
10781 NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10785 {
10786 if (!wxPyCheckForApp()) SWIG_fail;
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10803 PyObject *arg2 = (PyObject *) 0 ;
10804 PyObject *arg3 = (PyObject *) 0 ;
10805 PyObject * obj0 = 0 ;
10806 PyObject * obj1 = 0 ;
10807 PyObject * obj2 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "self",(char *) "_class", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail;
10815 arg2 = obj1;
10816 arg3 = obj2;
10817 {
10818 PyThreadState* __tstate = wxPyBeginAllowThreads();
10819 (arg1)->_setCallbackInfo(arg2,arg3);
10820
10821 wxPyEndAllowThreads(__tstate);
10822 if (PyErr_Occurred()) SWIG_fail;
10823 }
10824 Py_INCREF(Py_None); resultobj = Py_None;
10825 return resultobj;
10826 fail:
10827 return NULL;
10828 }
10829
10830
10831 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10832 PyObject *resultobj;
10833 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10834 wxWindow *arg2 = (wxWindow *) NULL ;
10835 PyObject * obj0 = 0 ;
10836 PyObject * obj1 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self",(char *) "focus", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
10844 if (obj1) {
10845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10846 if (SWIG_arg_fail(2)) SWIG_fail;
10847 }
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 (arg1)->Popup(arg2);
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 Py_INCREF(Py_None); resultobj = Py_None;
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10865 PyObject * obj0 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 (arg1)->Dismiss();
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 Py_INCREF(Py_None); resultobj = Py_None;
10881 return resultobj;
10882 fail:
10883 return NULL;
10884 }
10885
10886
10887 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10888 PyObject *obj;
10889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10891 Py_INCREF(obj);
10892 return Py_BuildValue((char *)"");
10893 }
10894 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10895 PyObject *resultobj;
10896 wxWindow *arg1 = (wxWindow *) 0 ;
10897 wxString *arg2 = 0 ;
10898 int arg3 = (int) 100 ;
10899 wxRect *arg4 = (wxRect *) NULL ;
10900 wxTipWindow *result;
10901 bool temp2 = false ;
10902 PyObject * obj0 = 0 ;
10903 PyObject * obj1 = 0 ;
10904 PyObject * obj2 = 0 ;
10905 PyObject * obj3 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail;
10913 {
10914 arg2 = wxString_in_helper(obj1);
10915 if (arg2 == NULL) SWIG_fail;
10916 temp2 = true;
10917 }
10918 if (obj2) {
10919 {
10920 arg3 = (int)(SWIG_As_int(obj2));
10921 if (SWIG_arg_fail(3)) SWIG_fail;
10922 }
10923 }
10924 if (obj3) {
10925 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10926 if (SWIG_arg_fail(4)) SWIG_fail;
10927 }
10928 {
10929 if (!wxPyCheckForApp()) SWIG_fail;
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10937 {
10938 if (temp2)
10939 delete arg2;
10940 }
10941 return resultobj;
10942 fail:
10943 {
10944 if (temp2)
10945 delete arg2;
10946 }
10947 return NULL;
10948 }
10949
10950
10951 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10952 PyObject *resultobj;
10953 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10954 wxRect *arg2 = 0 ;
10955 wxRect temp2 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 char *kwnames[] = {
10959 (char *) "self",(char *) "rectBound", NULL
10960 };
10961
10962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10964 if (SWIG_arg_fail(1)) SWIG_fail;
10965 {
10966 arg2 = &temp2;
10967 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10968 }
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 Py_INCREF(Py_None); resultobj = Py_None;
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 (arg1)->Close();
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 Py_INCREF(Py_None); resultobj = Py_None;
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
11009 PyObject *obj;
11010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11011 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11012 Py_INCREF(obj);
11013 return Py_BuildValue((char *)"");
11014 }
11015 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj;
11017 wxWindow *arg1 = (wxWindow *) 0 ;
11018 int arg2 = (int) wxID_ANY ;
11019 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11020 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11021 wxSize const &arg4_defvalue = wxDefaultSize ;
11022 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11023 long arg5 = (long) 0 ;
11024 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11025 wxString *arg6 = (wxString *) &arg6_defvalue ;
11026 wxPyVScrolledWindow *result;
11027 wxPoint temp3 ;
11028 wxSize temp4 ;
11029 bool temp6 = false ;
11030 PyObject * obj0 = 0 ;
11031 PyObject * obj1 = 0 ;
11032 PyObject * obj2 = 0 ;
11033 PyObject * obj3 = 0 ;
11034 PyObject * obj4 = 0 ;
11035 PyObject * obj5 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail;
11043 if (obj1) {
11044 {
11045 arg2 = (int)(SWIG_As_int(obj1));
11046 if (SWIG_arg_fail(2)) SWIG_fail;
11047 }
11048 }
11049 if (obj2) {
11050 {
11051 arg3 = &temp3;
11052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11053 }
11054 }
11055 if (obj3) {
11056 {
11057 arg4 = &temp4;
11058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11059 }
11060 }
11061 if (obj4) {
11062 {
11063 arg5 = (long)(SWIG_As_long(obj4));
11064 if (SWIG_arg_fail(5)) SWIG_fail;
11065 }
11066 }
11067 if (obj5) {
11068 {
11069 arg6 = wxString_in_helper(obj5);
11070 if (arg6 == NULL) SWIG_fail;
11071 temp6 = true;
11072 }
11073 }
11074 {
11075 if (!wxPyCheckForApp()) SWIG_fail;
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11083 {
11084 if (temp6)
11085 delete arg6;
11086 }
11087 return resultobj;
11088 fail:
11089 {
11090 if (temp6)
11091 delete arg6;
11092 }
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxPyVScrolledWindow *result;
11100 char *kwnames[] = {
11101 NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11105 {
11106 if (!wxPyCheckForApp()) SWIG_fail;
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11123 PyObject *arg2 = (PyObject *) 0 ;
11124 PyObject *arg3 = (PyObject *) 0 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 PyObject * obj2 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self",(char *) "self",(char *) "_class", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail;
11135 arg2 = obj1;
11136 arg3 = obj2;
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 (arg1)->_setCallbackInfo(arg2,arg3);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 Py_INCREF(Py_None); resultobj = Py_None;
11145 return resultobj;
11146 fail:
11147 return NULL;
11148 }
11149
11150
11151 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11152 PyObject *resultobj;
11153 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11154 wxWindow *arg2 = (wxWindow *) 0 ;
11155 int arg3 = (int) wxID_ANY ;
11156 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11157 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11158 wxSize const &arg5_defvalue = wxDefaultSize ;
11159 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11160 long arg6 = (long) 0 ;
11161 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11162 wxString *arg7 = (wxString *) &arg7_defvalue ;
11163 bool result;
11164 wxPoint temp4 ;
11165 wxSize temp5 ;
11166 bool temp7 = false ;
11167 PyObject * obj0 = 0 ;
11168 PyObject * obj1 = 0 ;
11169 PyObject * obj2 = 0 ;
11170 PyObject * obj3 = 0 ;
11171 PyObject * obj4 = 0 ;
11172 PyObject * obj5 = 0 ;
11173 PyObject * obj6 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11180 if (SWIG_arg_fail(1)) SWIG_fail;
11181 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11182 if (SWIG_arg_fail(2)) SWIG_fail;
11183 if (obj2) {
11184 {
11185 arg3 = (int)(SWIG_As_int(obj2));
11186 if (SWIG_arg_fail(3)) SWIG_fail;
11187 }
11188 }
11189 if (obj3) {
11190 {
11191 arg4 = &temp4;
11192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11193 }
11194 }
11195 if (obj4) {
11196 {
11197 arg5 = &temp5;
11198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11199 }
11200 }
11201 if (obj5) {
11202 {
11203 arg6 = (long)(SWIG_As_long(obj5));
11204 if (SWIG_arg_fail(6)) SWIG_fail;
11205 }
11206 }
11207 if (obj6) {
11208 {
11209 arg7 = wxString_in_helper(obj6);
11210 if (arg7 == NULL) SWIG_fail;
11211 temp7 = true;
11212 }
11213 }
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 {
11222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11223 }
11224 {
11225 if (temp7)
11226 delete arg7;
11227 }
11228 return resultobj;
11229 fail:
11230 {
11231 if (temp7)
11232 delete arg7;
11233 }
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11241 size_t arg2 ;
11242 PyObject * obj0 = 0 ;
11243 PyObject * obj1 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self",(char *) "count", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11250 if (SWIG_arg_fail(1)) SWIG_fail;
11251 {
11252 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11253 if (SWIG_arg_fail(2)) SWIG_fail;
11254 }
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->SetLineCount(arg2);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11270 PyObject *resultobj;
11271 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11272 size_t arg2 ;
11273 bool result;
11274 PyObject * obj0 = 0 ;
11275 PyObject * obj1 = 0 ;
11276 char *kwnames[] = {
11277 (char *) "self",(char *) "line", NULL
11278 };
11279
11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail;
11283 {
11284 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11285 if (SWIG_arg_fail(2)) SWIG_fail;
11286 }
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = (bool)(arg1)->ScrollToLine(arg2);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 {
11295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11296 }
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11306 int arg2 ;
11307 bool result;
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 char *kwnames[] = {
11311 (char *) "self",(char *) "lines", NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11316 if (SWIG_arg_fail(1)) SWIG_fail;
11317 {
11318 arg2 = (int)(SWIG_As_int(obj1));
11319 if (SWIG_arg_fail(2)) SWIG_fail;
11320 }
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (bool)(arg1)->ScrollLines(arg2);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 {
11329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11330 }
11331 return resultobj;
11332 fail:
11333 return NULL;
11334 }
11335
11336
11337 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11338 PyObject *resultobj;
11339 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11340 int arg2 ;
11341 bool result;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj1 = 0 ;
11344 char *kwnames[] = {
11345 (char *) "self",(char *) "pages", NULL
11346 };
11347
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail;
11351 {
11352 arg2 = (int)(SWIG_As_int(obj1));
11353 if (SWIG_arg_fail(2)) SWIG_fail;
11354 }
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 result = (bool)(arg1)->ScrollPages(arg2);
11358
11359 wxPyEndAllowThreads(__tstate);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 {
11363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11364 }
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj;
11373 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11374 size_t arg2 ;
11375 PyObject * obj0 = 0 ;
11376 PyObject * obj1 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self",(char *) "line", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11383 if (SWIG_arg_fail(1)) SWIG_fail;
11384 {
11385 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11386 if (SWIG_arg_fail(2)) SWIG_fail;
11387 }
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 (arg1)->RefreshLine(arg2);
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 Py_INCREF(Py_None); resultobj = Py_None;
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11405 size_t arg2 ;
11406 size_t arg3 ;
11407 PyObject * obj0 = 0 ;
11408 PyObject * obj1 = 0 ;
11409 PyObject * obj2 = 0 ;
11410 char *kwnames[] = {
11411 (char *) "self",(char *) "from",(char *) "to", NULL
11412 };
11413
11414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11416 if (SWIG_arg_fail(1)) SWIG_fail;
11417 {
11418 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11419 if (SWIG_arg_fail(2)) SWIG_fail;
11420 }
11421 {
11422 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11423 if (SWIG_arg_fail(3)) SWIG_fail;
11424 }
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->RefreshLines(arg2,arg3);
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11442 int arg2 ;
11443 int arg3 ;
11444 int result;
11445 PyObject * obj0 = 0 ;
11446 PyObject * obj1 = 0 ;
11447 PyObject * obj2 = 0 ;
11448 char *kwnames[] = {
11449 (char *) "self",(char *) "x",(char *) "y", NULL
11450 };
11451
11452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail;
11455 {
11456 arg2 = (int)(SWIG_As_int(obj1));
11457 if (SWIG_arg_fail(2)) SWIG_fail;
11458 }
11459 {
11460 arg3 = (int)(SWIG_As_int(obj2));
11461 if (SWIG_arg_fail(3)) SWIG_fail;
11462 }
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 {
11471 resultobj = SWIG_From_int((int)(result));
11472 }
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj;
11481 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11482 wxPoint *arg2 = 0 ;
11483 int result;
11484 wxPoint temp2 ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "pt", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail;
11494 {
11495 arg2 = &temp2;
11496 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11497 }
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 resultobj = SWIG_From_int((int)(result));
11507 }
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->RefreshAll();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 Py_INCREF(Py_None); resultobj = Py_None;
11533 return resultobj;
11534 fail:
11535 return NULL;
11536 }
11537
11538
11539 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11540 PyObject *resultobj;
11541 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11542 size_t result;
11543 PyObject * obj0 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11550 if (SWIG_arg_fail(1)) SWIG_fail;
11551 {
11552 PyThreadState* __tstate = wxPyBeginAllowThreads();
11553 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11554
11555 wxPyEndAllowThreads(__tstate);
11556 if (PyErr_Occurred()) SWIG_fail;
11557 }
11558 {
11559 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11560 }
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11570 size_t result;
11571 PyObject * obj0 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
11577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail;
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 {
11587 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11588 }
11589 return resultobj;
11590 fail:
11591 return NULL;
11592 }
11593
11594
11595 static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
11596 PyObject *resultobj;
11597 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11598 size_t result;
11599 PyObject * obj0 = 0 ;
11600 char *kwnames[] = {
11601 (char *) "self", NULL
11602 };
11603
11604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
11605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11606 if (SWIG_arg_fail(1)) SWIG_fail;
11607 {
11608 PyThreadState* __tstate = wxPyBeginAllowThreads();
11609 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 {
11615 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11616 }
11617 return resultobj;
11618 fail:
11619 return NULL;
11620 }
11621
11622
11623 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11626 size_t arg2 ;
11627 bool result;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "line", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail;
11637 {
11638 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11639 if (SWIG_arg_fail(2)) SWIG_fail;
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11650 }
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(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_GetFirstVisibleLine",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)->GetFirstVisibleLine();
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_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11686 PyObject *resultobj;
11687 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11688 size_t result;
11689 PyObject * obj0 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "self", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail;
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 {
11705 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11706 }
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11714 PyObject *obj;
11715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11716 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11717 Py_INCREF(obj);
11718 return Py_BuildValue((char *)"");
11719 }
11720 static int _wrap_VListBoxNameStr_set(PyObject *) {
11721 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11722 return 1;
11723 }
11724
11725
11726 static PyObject *_wrap_VListBoxNameStr_get(void) {
11727 PyObject *pyobj;
11728
11729 {
11730 #if wxUSE_UNICODE
11731 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11732 #else
11733 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11734 #endif
11735 }
11736 return pyobj;
11737 }
11738
11739
11740 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11741 PyObject *resultobj;
11742 wxWindow *arg1 = (wxWindow *) 0 ;
11743 int arg2 = (int) wxID_ANY ;
11744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11746 wxSize const &arg4_defvalue = wxDefaultSize ;
11747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11748 long arg5 = (long) 0 ;
11749 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11750 wxString *arg6 = (wxString *) &arg6_defvalue ;
11751 wxPyVListBox *result;
11752 wxPoint temp3 ;
11753 wxSize temp4 ;
11754 bool temp6 = false ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 PyObject * obj2 = 0 ;
11758 PyObject * obj3 = 0 ;
11759 PyObject * obj4 = 0 ;
11760 PyObject * obj5 = 0 ;
11761 char *kwnames[] = {
11762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11763 };
11764
11765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11767 if (SWIG_arg_fail(1)) SWIG_fail;
11768 if (obj1) {
11769 {
11770 arg2 = (int)(SWIG_As_int(obj1));
11771 if (SWIG_arg_fail(2)) SWIG_fail;
11772 }
11773 }
11774 if (obj2) {
11775 {
11776 arg3 = &temp3;
11777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11778 }
11779 }
11780 if (obj3) {
11781 {
11782 arg4 = &temp4;
11783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11784 }
11785 }
11786 if (obj4) {
11787 {
11788 arg5 = (long)(SWIG_As_long(obj4));
11789 if (SWIG_arg_fail(5)) SWIG_fail;
11790 }
11791 }
11792 if (obj5) {
11793 {
11794 arg6 = wxString_in_helper(obj5);
11795 if (arg6 == NULL) SWIG_fail;
11796 temp6 = true;
11797 }
11798 }
11799 {
11800 if (!wxPyCheckForApp()) SWIG_fail;
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11808 {
11809 if (temp6)
11810 delete arg6;
11811 }
11812 return resultobj;
11813 fail:
11814 {
11815 if (temp6)
11816 delete arg6;
11817 }
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxPyVListBox *result;
11825 char *kwnames[] = {
11826 NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11830 {
11831 if (!wxPyCheckForApp()) SWIG_fail;
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (wxPyVListBox *)new wxPyVListBox();
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11848 PyObject *arg2 = (PyObject *) 0 ;
11849 PyObject *arg3 = (PyObject *) 0 ;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 PyObject * obj2 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self",(char *) "self",(char *) "_class", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(1)) SWIG_fail;
11860 arg2 = obj1;
11861 arg3 = obj2;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 (arg1)->_setCallbackInfo(arg2,arg3);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 Py_INCREF(Py_None); resultobj = Py_None;
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11879 wxWindow *arg2 = (wxWindow *) 0 ;
11880 int arg3 = (int) wxID_ANY ;
11881 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11882 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11883 wxSize const &arg5_defvalue = wxDefaultSize ;
11884 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11885 long arg6 = (long) 0 ;
11886 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11887 wxString *arg7 = (wxString *) &arg7_defvalue ;
11888 bool result;
11889 wxPoint temp4 ;
11890 wxSize temp5 ;
11891 bool temp7 = false ;
11892 PyObject * obj0 = 0 ;
11893 PyObject * obj1 = 0 ;
11894 PyObject * obj2 = 0 ;
11895 PyObject * obj3 = 0 ;
11896 PyObject * obj4 = 0 ;
11897 PyObject * obj5 = 0 ;
11898 PyObject * obj6 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail;
11906 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11907 if (SWIG_arg_fail(2)) SWIG_fail;
11908 if (obj2) {
11909 {
11910 arg3 = (int)(SWIG_As_int(obj2));
11911 if (SWIG_arg_fail(3)) SWIG_fail;
11912 }
11913 }
11914 if (obj3) {
11915 {
11916 arg4 = &temp4;
11917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11918 }
11919 }
11920 if (obj4) {
11921 {
11922 arg5 = &temp5;
11923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11924 }
11925 }
11926 if (obj5) {
11927 {
11928 arg6 = (long)(SWIG_As_long(obj5));
11929 if (SWIG_arg_fail(6)) SWIG_fail;
11930 }
11931 }
11932 if (obj6) {
11933 {
11934 arg7 = wxString_in_helper(obj6);
11935 if (arg7 == NULL) SWIG_fail;
11936 temp7 = true;
11937 }
11938 }
11939 {
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 {
11947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11948 }
11949 {
11950 if (temp7)
11951 delete arg7;
11952 }
11953 return resultobj;
11954 fail:
11955 {
11956 if (temp7)
11957 delete arg7;
11958 }
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11966 size_t result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 {
11983 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11984 }
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11994 bool result;
11995 PyObject * obj0 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
12001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail;
12003 {
12004 PyThreadState* __tstate = wxPyBeginAllowThreads();
12005 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12006
12007 wxPyEndAllowThreads(__tstate);
12008 if (PyErr_Occurred()) SWIG_fail;
12009 }
12010 {
12011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12012 }
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12020 PyObject *resultobj;
12021 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12022 int result;
12023 PyObject * obj0 = 0 ;
12024 char *kwnames[] = {
12025 (char *) "self", NULL
12026 };
12027
12028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
12029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail;
12031 {
12032 PyThreadState* __tstate = wxPyBeginAllowThreads();
12033 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12034
12035 wxPyEndAllowThreads(__tstate);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 {
12039 resultobj = SWIG_From_int((int)(result));
12040 }
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12050 size_t arg2 ;
12051 bool result;
12052 PyObject * obj0 = 0 ;
12053 PyObject * obj1 = 0 ;
12054 char *kwnames[] = {
12055 (char *) "self",(char *) "item", NULL
12056 };
12057
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
12059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12060 if (SWIG_arg_fail(1)) SWIG_fail;
12061 {
12062 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12063 if (SWIG_arg_fail(2)) SWIG_fail;
12064 }
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
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_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12084 size_t arg2 ;
12085 bool result;
12086 PyObject * obj0 = 0 ;
12087 PyObject * obj1 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self",(char *) "item", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
12093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12094 if (SWIG_arg_fail(1)) SWIG_fail;
12095 {
12096 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12097 if (SWIG_arg_fail(2)) SWIG_fail;
12098 }
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 {
12107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12108 }
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12118 size_t result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12126 if (SWIG_arg_fail(1)) SWIG_fail;
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12136 }
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12146 PyObject *result;
12147 PyObject * obj0 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12154 if (SWIG_arg_fail(1)) SWIG_fail;
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = result;
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12172 unsigned long arg2 ;
12173 PyObject *result;
12174 PyObject * obj0 = 0 ;
12175 PyObject * obj1 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self",(char *) "cookie", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail;
12183 {
12184 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12185 if (SWIG_arg_fail(2)) SWIG_fail;
12186 }
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 resultobj = result;
12195 return resultobj;
12196 fail:
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12204 wxPoint result;
12205 PyObject * obj0 = 0 ;
12206 char *kwnames[] = {
12207 (char *) "self", NULL
12208 };
12209
12210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12212 if (SWIG_arg_fail(1)) SWIG_fail;
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = ((wxPyVListBox const *)arg1)->GetMargins();
12216
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 {
12221 wxPoint * resultptr;
12222 resultptr = new wxPoint((wxPoint &)(result));
12223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12224 }
12225 return resultobj;
12226 fail:
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12234 wxColour *result;
12235 PyObject * obj0 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 {
12246 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12247 result = (wxColour *) &_result_ref;
12248 }
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12263 size_t arg2 ;
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "count", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail;
12273 {
12274 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12275 if (SWIG_arg_fail(2)) SWIG_fail;
12276 }
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 (arg1)->SetItemCount(arg2);
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 Py_INCREF(Py_None); resultobj = Py_None;
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12294 PyObject * obj0 = 0 ;
12295 char *kwnames[] = {
12296 (char *) "self", NULL
12297 };
12298
12299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12301 if (SWIG_arg_fail(1)) SWIG_fail;
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 (arg1)->Clear();
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 Py_INCREF(Py_None); resultobj = Py_None;
12310 return resultobj;
12311 fail:
12312 return NULL;
12313 }
12314
12315
12316 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12319 int arg2 ;
12320 PyObject * obj0 = 0 ;
12321 PyObject * obj1 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "selection", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
12329 {
12330 arg2 = (int)(SWIG_As_int(obj1));
12331 if (SWIG_arg_fail(2)) SWIG_fail;
12332 }
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 (arg1)->SetSelection(arg2);
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 Py_INCREF(Py_None); resultobj = Py_None;
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12350 size_t arg2 ;
12351 bool arg3 = (bool) true ;
12352 bool result;
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12355 PyObject * obj2 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self",(char *) "item",(char *) "select", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12362 if (SWIG_arg_fail(1)) SWIG_fail;
12363 {
12364 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12365 if (SWIG_arg_fail(2)) SWIG_fail;
12366 }
12367 if (obj2) {
12368 {
12369 arg3 = (bool)(SWIG_As_bool(obj2));
12370 if (SWIG_arg_fail(3)) SWIG_fail;
12371 }
12372 }
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (bool)(arg1)->Select(arg2,arg3);
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 {
12381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12382 }
12383 return resultobj;
12384 fail:
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12392 size_t arg2 ;
12393 size_t arg3 ;
12394 bool result;
12395 PyObject * obj0 = 0 ;
12396 PyObject * obj1 = 0 ;
12397 PyObject * obj2 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "from",(char *) "to", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12404 if (SWIG_arg_fail(1)) SWIG_fail;
12405 {
12406 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12407 if (SWIG_arg_fail(2)) SWIG_fail;
12408 }
12409 {
12410 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12411 if (SWIG_arg_fail(3)) SWIG_fail;
12412 }
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (bool)(arg1)->SelectRange(arg2,arg3);
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 {
12421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12422 }
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12432 size_t arg2 ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self",(char *) "item", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12441 if (SWIG_arg_fail(1)) SWIG_fail;
12442 {
12443 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12444 if (SWIG_arg_fail(2)) SWIG_fail;
12445 }
12446 {
12447 PyThreadState* __tstate = wxPyBeginAllowThreads();
12448 (arg1)->Toggle(arg2);
12449
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 Py_INCREF(Py_None); resultobj = Py_None;
12454 return resultobj;
12455 fail:
12456 return NULL;
12457 }
12458
12459
12460 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12461 PyObject *resultobj;
12462 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12463 bool result;
12464 PyObject * obj0 = 0 ;
12465 char *kwnames[] = {
12466 (char *) "self", NULL
12467 };
12468
12469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail;
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 result = (bool)(arg1)->SelectAll();
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 {
12480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12481 }
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12491 bool result;
12492 PyObject * obj0 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "self", NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12499 if (SWIG_arg_fail(1)) SWIG_fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (bool)(arg1)->DeselectAll();
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 {
12508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12509 }
12510 return resultobj;
12511 fail:
12512 return NULL;
12513 }
12514
12515
12516 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12519 wxPoint *arg2 = 0 ;
12520 wxPoint temp2 ;
12521 PyObject * obj0 = 0 ;
12522 PyObject * obj1 = 0 ;
12523 char *kwnames[] = {
12524 (char *) "self",(char *) "pt", NULL
12525 };
12526
12527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12529 if (SWIG_arg_fail(1)) SWIG_fail;
12530 {
12531 arg2 = &temp2;
12532 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12533 }
12534 {
12535 PyThreadState* __tstate = wxPyBeginAllowThreads();
12536 (arg1)->SetMargins((wxPoint const &)*arg2);
12537
12538 wxPyEndAllowThreads(__tstate);
12539 if (PyErr_Occurred()) SWIG_fail;
12540 }
12541 Py_INCREF(Py_None); resultobj = Py_None;
12542 return resultobj;
12543 fail:
12544 return NULL;
12545 }
12546
12547
12548 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12549 PyObject *resultobj;
12550 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12551 int arg2 ;
12552 int arg3 ;
12553 PyObject * obj0 = 0 ;
12554 PyObject * obj1 = 0 ;
12555 PyObject * obj2 = 0 ;
12556 char *kwnames[] = {
12557 (char *) "self",(char *) "x",(char *) "y", NULL
12558 };
12559
12560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail;
12563 {
12564 arg2 = (int)(SWIG_As_int(obj1));
12565 if (SWIG_arg_fail(2)) SWIG_fail;
12566 }
12567 {
12568 arg3 = (int)(SWIG_As_int(obj2));
12569 if (SWIG_arg_fail(3)) SWIG_fail;
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 (arg1)->SetMargins(arg2,arg3);
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 Py_INCREF(Py_None); resultobj = Py_None;
12579 return resultobj;
12580 fail:
12581 return NULL;
12582 }
12583
12584
12585 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj;
12587 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12588 wxColour *arg2 = 0 ;
12589 wxColour temp2 ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self",(char *) "col", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12598 if (SWIG_arg_fail(1)) SWIG_fail;
12599 {
12600 arg2 = &temp2;
12601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12602 }
12603 {
12604 PyThreadState* __tstate = wxPyBeginAllowThreads();
12605 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12606
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 Py_INCREF(Py_None); resultobj = Py_None;
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12618 PyObject *obj;
12619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12620 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12621 Py_INCREF(obj);
12622 return Py_BuildValue((char *)"");
12623 }
12624 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxWindow *arg1 = (wxWindow *) 0 ;
12627 int arg2 = (int) wxID_ANY ;
12628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12630 wxSize const &arg4_defvalue = wxDefaultSize ;
12631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12632 long arg5 = (long) 0 ;
12633 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12634 wxString *arg6 = (wxString *) &arg6_defvalue ;
12635 wxPyHtmlListBox *result;
12636 wxPoint temp3 ;
12637 wxSize temp4 ;
12638 bool temp6 = false ;
12639 PyObject * obj0 = 0 ;
12640 PyObject * obj1 = 0 ;
12641 PyObject * obj2 = 0 ;
12642 PyObject * obj3 = 0 ;
12643 PyObject * obj4 = 0 ;
12644 PyObject * obj5 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail;
12652 if (obj1) {
12653 {
12654 arg2 = (int)(SWIG_As_int(obj1));
12655 if (SWIG_arg_fail(2)) SWIG_fail;
12656 }
12657 }
12658 if (obj2) {
12659 {
12660 arg3 = &temp3;
12661 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12662 }
12663 }
12664 if (obj3) {
12665 {
12666 arg4 = &temp4;
12667 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12668 }
12669 }
12670 if (obj4) {
12671 {
12672 arg5 = (long)(SWIG_As_long(obj4));
12673 if (SWIG_arg_fail(5)) SWIG_fail;
12674 }
12675 }
12676 if (obj5) {
12677 {
12678 arg6 = wxString_in_helper(obj5);
12679 if (arg6 == NULL) SWIG_fail;
12680 temp6 = true;
12681 }
12682 }
12683 {
12684 if (!wxPyCheckForApp()) SWIG_fail;
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12692 {
12693 if (temp6)
12694 delete arg6;
12695 }
12696 return resultobj;
12697 fail:
12698 {
12699 if (temp6)
12700 delete arg6;
12701 }
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxPyHtmlListBox *result;
12709 char *kwnames[] = {
12710 NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12714 {
12715 if (!wxPyCheckForApp()) SWIG_fail;
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12732 PyObject *arg2 = (PyObject *) 0 ;
12733 PyObject *arg3 = (PyObject *) 0 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 PyObject * obj2 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self",(char *) "self",(char *) "_class", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12743 if (SWIG_arg_fail(1)) SWIG_fail;
12744 arg2 = obj1;
12745 arg3 = obj2;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->_setCallbackInfo(arg2,arg3);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 Py_INCREF(Py_None); resultobj = Py_None;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12763 wxWindow *arg2 = (wxWindow *) 0 ;
12764 int arg3 = (int) wxID_ANY ;
12765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12767 wxSize const &arg5_defvalue = wxDefaultSize ;
12768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12769 long arg6 = (long) 0 ;
12770 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12771 wxString *arg7 = (wxString *) &arg7_defvalue ;
12772 bool result;
12773 wxPoint temp4 ;
12774 wxSize temp5 ;
12775 bool temp7 = false ;
12776 PyObject * obj0 = 0 ;
12777 PyObject * obj1 = 0 ;
12778 PyObject * obj2 = 0 ;
12779 PyObject * obj3 = 0 ;
12780 PyObject * obj4 = 0 ;
12781 PyObject * obj5 = 0 ;
12782 PyObject * obj6 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail;
12790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12791 if (SWIG_arg_fail(2)) SWIG_fail;
12792 if (obj2) {
12793 {
12794 arg3 = (int)(SWIG_As_int(obj2));
12795 if (SWIG_arg_fail(3)) SWIG_fail;
12796 }
12797 }
12798 if (obj3) {
12799 {
12800 arg4 = &temp4;
12801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12802 }
12803 }
12804 if (obj4) {
12805 {
12806 arg5 = &temp5;
12807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12808 }
12809 }
12810 if (obj5) {
12811 {
12812 arg6 = (long)(SWIG_As_long(obj5));
12813 if (SWIG_arg_fail(6)) SWIG_fail;
12814 }
12815 }
12816 if (obj6) {
12817 {
12818 arg7 = wxString_in_helper(obj6);
12819 if (arg7 == NULL) SWIG_fail;
12820 temp7 = true;
12821 }
12822 }
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 {
12831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12832 }
12833 {
12834 if (temp7)
12835 delete arg7;
12836 }
12837 return resultobj;
12838 fail:
12839 {
12840 if (temp7)
12841 delete arg7;
12842 }
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->RefreshAll();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12875 size_t arg2 ;
12876 PyObject * obj0 = 0 ;
12877 PyObject * obj1 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self",(char *) "count", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12884 if (SWIG_arg_fail(1)) SWIG_fail;
12885 {
12886 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12887 if (SWIG_arg_fail(2)) SWIG_fail;
12888 }
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 (arg1)->SetItemCount(arg2);
12892
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 Py_INCREF(Py_None); resultobj = Py_None;
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
12905 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12906 wxFileSystem *result;
12907 PyObject * obj0 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail;
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 {
12918 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12919 result = (wxFileSystem *) &_result_ref;
12920 }
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12926 return resultobj;
12927 fail:
12928 return NULL;
12929 }
12930
12931
12932 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12933 PyObject *obj;
12934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12935 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12936 Py_INCREF(obj);
12937 return Py_BuildValue((char *)"");
12938 }
12939 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxPyTaskBarIcon *result;
12942 char *kwnames[] = {
12943 NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12947 {
12948 if (!wxPyCheckForApp()) SWIG_fail;
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12965 PyObject *arg2 = (PyObject *) 0 ;
12966 PyObject *arg3 = (PyObject *) 0 ;
12967 int arg4 ;
12968 PyObject * obj0 = 0 ;
12969 PyObject * obj1 = 0 ;
12970 PyObject * obj2 = 0 ;
12971 PyObject * obj3 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail;
12979 arg2 = obj1;
12980 arg3 = obj2;
12981 {
12982 arg4 = (int)(SWIG_As_int(obj3));
12983 if (SWIG_arg_fail(4)) SWIG_fail;
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 Py_INCREF(Py_None); resultobj = Py_None;
12993 return resultobj;
12994 fail:
12995 return NULL;
12996 }
12997
12998
12999 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
13008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13009 if (SWIG_arg_fail(1)) SWIG_fail;
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 wxPyTaskBarIcon_Destroy(arg1);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
13017 Py_INCREF(Py_None); resultobj = Py_None;
13018 return resultobj;
13019 fail:
13020 return NULL;
13021 }
13022
13023
13024 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13025 PyObject *resultobj;
13026 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13027 bool result;
13028 PyObject * obj0 = 0 ;
13029 char *kwnames[] = {
13030 (char *) "self", NULL
13031 };
13032
13033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
13034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13035 if (SWIG_arg_fail(1)) SWIG_fail;
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 {
13044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13045 }
13046 return resultobj;
13047 fail:
13048 return NULL;
13049 }
13050
13051
13052 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj;
13054 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13055 bool result;
13056 PyObject * obj0 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
13062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail;
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 {
13072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13073 }
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13081 PyObject *resultobj;
13082 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13083 wxIcon *arg2 = 0 ;
13084 wxString const &arg3_defvalue = wxPyEmptyString ;
13085 wxString *arg3 = (wxString *) &arg3_defvalue ;
13086 bool result;
13087 bool temp3 = false ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 PyObject * obj2 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13100 if (SWIG_arg_fail(2)) SWIG_fail;
13101 if (arg2 == NULL) {
13102 SWIG_null_ref("wxIcon");
13103 }
13104 if (SWIG_arg_fail(2)) SWIG_fail;
13105 }
13106 if (obj2) {
13107 {
13108 arg3 = wxString_in_helper(obj2);
13109 if (arg3 == NULL) SWIG_fail;
13110 temp3 = true;
13111 }
13112 }
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 {
13121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13122 }
13123 {
13124 if (temp3)
13125 delete arg3;
13126 }
13127 return resultobj;
13128 fail:
13129 {
13130 if (temp3)
13131 delete arg3;
13132 }
13133 return NULL;
13134 }
13135
13136
13137 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13138 PyObject *resultobj;
13139 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13140 bool result;
13141 PyObject * obj0 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13148 if (SWIG_arg_fail(1)) SWIG_fail;
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (bool)(arg1)->RemoveIcon();
13152
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 {
13157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13158 }
13159 return resultobj;
13160 fail:
13161 return NULL;
13162 }
13163
13164
13165 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13168 wxMenu *arg2 = (wxMenu *) 0 ;
13169 bool result;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self",(char *) "menu", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail;
13179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13180 if (SWIG_arg_fail(2)) SWIG_fail;
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (bool)(arg1)->PopupMenu(arg2);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 {
13189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13190 }
13191 return resultobj;
13192 fail:
13193 return NULL;
13194 }
13195
13196
13197 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13198 PyObject *obj;
13199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13200 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13201 Py_INCREF(obj);
13202 return Py_BuildValue((char *)"");
13203 }
13204 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxEventType arg1 ;
13207 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13208 wxTaskBarIconEvent *result;
13209 PyObject * obj0 = 0 ;
13210 PyObject * obj1 = 0 ;
13211 char *kwnames[] = {
13212 (char *) "evtType",(char *) "tbIcon", NULL
13213 };
13214
13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13216 {
13217 arg1 = (wxEventType)(SWIG_As_int(obj0));
13218 if (SWIG_arg_fail(1)) SWIG_fail;
13219 }
13220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13221 if (SWIG_arg_fail(2)) SWIG_fail;
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13225
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13230 return resultobj;
13231 fail:
13232 return NULL;
13233 }
13234
13235
13236 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13237 PyObject *obj;
13238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13239 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13240 Py_INCREF(obj);
13241 return Py_BuildValue((char *)"");
13242 }
13243 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13244 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13245 return 1;
13246 }
13247
13248
13249 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13250 PyObject *pyobj;
13251
13252 {
13253 #if wxUSE_UNICODE
13254 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13255 #else
13256 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13257 #endif
13258 }
13259 return pyobj;
13260 }
13261
13262
13263 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13264 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13265 return 1;
13266 }
13267
13268
13269 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13270 PyObject *pyobj;
13271
13272 {
13273 #if wxUSE_UNICODE
13274 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13275 #else
13276 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13277 #endif
13278 }
13279 return pyobj;
13280 }
13281
13282
13283 static int _wrap_DirDialogNameStr_set(PyObject *) {
13284 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13285 return 1;
13286 }
13287
13288
13289 static PyObject *_wrap_DirDialogNameStr_get(void) {
13290 PyObject *pyobj;
13291
13292 {
13293 #if wxUSE_UNICODE
13294 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13295 #else
13296 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13297 #endif
13298 }
13299 return pyobj;
13300 }
13301
13302
13303 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13304 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13305 return 1;
13306 }
13307
13308
13309 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13310 PyObject *pyobj;
13311
13312 {
13313 #if wxUSE_UNICODE
13314 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13315 #else
13316 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13317 #endif
13318 }
13319 return pyobj;
13320 }
13321
13322
13323 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13324 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13325 return 1;
13326 }
13327
13328
13329 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13330 PyObject *pyobj;
13331
13332 {
13333 #if wxUSE_UNICODE
13334 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13335 #else
13336 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13337 #endif
13338 }
13339 return pyobj;
13340 }
13341
13342
13343 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13344 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13345 return 1;
13346 }
13347
13348
13349 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13350 PyObject *pyobj;
13351
13352 {
13353 #if wxUSE_UNICODE
13354 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13355 #else
13356 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13357 #endif
13358 }
13359 return pyobj;
13360 }
13361
13362
13363 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13364 PyObject *resultobj;
13365 wxColourData *result;
13366 char *kwnames[] = {
13367 NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (wxColourData *)new wxColourData();
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13379 return resultobj;
13380 fail:
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxColourData *arg1 = (wxColourData *) 0 ;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13395 if (SWIG_arg_fail(1)) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 delete arg1;
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 Py_INCREF(Py_None); resultobj = Py_None;
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxColourData *arg1 = (wxColourData *) 0 ;
13413 bool result;
13414 PyObject * obj0 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13421 if (SWIG_arg_fail(1)) SWIG_fail;
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 result = (bool)(arg1)->GetChooseFull();
13425
13426 wxPyEndAllowThreads(__tstate);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 }
13429 {
13430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13431 }
13432 return resultobj;
13433 fail:
13434 return NULL;
13435 }
13436
13437
13438 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13439 PyObject *resultobj;
13440 wxColourData *arg1 = (wxColourData *) 0 ;
13441 wxColour result;
13442 PyObject * obj0 = 0 ;
13443 char *kwnames[] = {
13444 (char *) "self", NULL
13445 };
13446
13447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13449 if (SWIG_arg_fail(1)) SWIG_fail;
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 result = (arg1)->GetColour();
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 {
13458 wxColour * resultptr;
13459 resultptr = new wxColour((wxColour &)(result));
13460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13461 }
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13469 PyObject *resultobj;
13470 wxColourData *arg1 = (wxColourData *) 0 ;
13471 int arg2 ;
13472 wxColour result;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 char *kwnames[] = {
13476 (char *) "self",(char *) "i", NULL
13477 };
13478
13479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13481 if (SWIG_arg_fail(1)) SWIG_fail;
13482 {
13483 arg2 = (int)(SWIG_As_int(obj1));
13484 if (SWIG_arg_fail(2)) SWIG_fail;
13485 }
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 result = (arg1)->GetCustomColour(arg2);
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
13493 {
13494 wxColour * resultptr;
13495 resultptr = new wxColour((wxColour &)(result));
13496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13497 }
13498 return resultobj;
13499 fail:
13500 return NULL;
13501 }
13502
13503
13504 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj;
13506 wxColourData *arg1 = (wxColourData *) 0 ;
13507 int arg2 ;
13508 PyObject * obj0 = 0 ;
13509 PyObject * obj1 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self",(char *) "flag", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13516 if (SWIG_arg_fail(1)) SWIG_fail;
13517 {
13518 arg2 = (int)(SWIG_As_int(obj1));
13519 if (SWIG_arg_fail(2)) SWIG_fail;
13520 }
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->SetChooseFull(arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 Py_INCREF(Py_None); resultobj = Py_None;
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxColourData *arg1 = (wxColourData *) 0 ;
13538 wxColour *arg2 = 0 ;
13539 wxColour temp2 ;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "colour", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13548 if (SWIG_arg_fail(1)) SWIG_fail;
13549 {
13550 arg2 = &temp2;
13551 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13552 }
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 (arg1)->SetColour((wxColour const &)*arg2);
13556
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 Py_INCREF(Py_None); resultobj = Py_None;
13561 return resultobj;
13562 fail:
13563 return NULL;
13564 }
13565
13566
13567 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13568 PyObject *resultobj;
13569 wxColourData *arg1 = (wxColourData *) 0 ;
13570 int arg2 ;
13571 wxColour *arg3 = 0 ;
13572 wxColour temp3 ;
13573 PyObject * obj0 = 0 ;
13574 PyObject * obj1 = 0 ;
13575 PyObject * obj2 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "i",(char *) "colour", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13582 if (SWIG_arg_fail(1)) SWIG_fail;
13583 {
13584 arg2 = (int)(SWIG_As_int(obj1));
13585 if (SWIG_arg_fail(2)) SWIG_fail;
13586 }
13587 {
13588 arg3 = &temp3;
13589 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13590 }
13591 {
13592 PyThreadState* __tstate = wxPyBeginAllowThreads();
13593 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13594
13595 wxPyEndAllowThreads(__tstate);
13596 if (PyErr_Occurred()) SWIG_fail;
13597 }
13598 Py_INCREF(Py_None); resultobj = Py_None;
13599 return resultobj;
13600 fail:
13601 return NULL;
13602 }
13603
13604
13605 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13606 PyObject *obj;
13607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13609 Py_INCREF(obj);
13610 return Py_BuildValue((char *)"");
13611 }
13612 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj;
13614 wxWindow *arg1 = (wxWindow *) 0 ;
13615 wxColourData *arg2 = (wxColourData *) NULL ;
13616 wxColourDialog *result;
13617 PyObject * obj0 = 0 ;
13618 PyObject * obj1 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "parent",(char *) "data", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail;
13626 if (obj1) {
13627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(2)) SWIG_fail;
13629 }
13630 {
13631 if (!wxPyCheckForApp()) SWIG_fail;
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13639 return resultobj;
13640 fail:
13641 return NULL;
13642 }
13643
13644
13645 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13646 PyObject *resultobj;
13647 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13648 wxColourData *result;
13649 PyObject * obj0 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13656 if (SWIG_arg_fail(1)) SWIG_fail;
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 {
13660 wxColourData &_result_ref = (arg1)->GetColourData();
13661 result = (wxColourData *) &_result_ref;
13662 }
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13668 return resultobj;
13669 fail:
13670 return NULL;
13671 }
13672
13673
13674 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13675 PyObject *obj;
13676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13677 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13678 Py_INCREF(obj);
13679 return Py_BuildValue((char *)"");
13680 }
13681 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj;
13683 wxWindow *arg1 = (wxWindow *) 0 ;
13684 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13685 wxString *arg2 = (wxString *) &arg2_defvalue ;
13686 wxString const &arg3_defvalue = wxPyEmptyString ;
13687 wxString *arg3 = (wxString *) &arg3_defvalue ;
13688 long arg4 = (long) 0 ;
13689 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13690 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13691 wxSize const &arg6_defvalue = wxDefaultSize ;
13692 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13693 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13694 wxString *arg7 = (wxString *) &arg7_defvalue ;
13695 wxDirDialog *result;
13696 bool temp2 = false ;
13697 bool temp3 = false ;
13698 wxPoint temp5 ;
13699 wxSize temp6 ;
13700 bool temp7 = false ;
13701 PyObject * obj0 = 0 ;
13702 PyObject * obj1 = 0 ;
13703 PyObject * obj2 = 0 ;
13704 PyObject * obj3 = 0 ;
13705 PyObject * obj4 = 0 ;
13706 PyObject * obj5 = 0 ;
13707 PyObject * obj6 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail;
13715 if (obj1) {
13716 {
13717 arg2 = wxString_in_helper(obj1);
13718 if (arg2 == NULL) SWIG_fail;
13719 temp2 = true;
13720 }
13721 }
13722 if (obj2) {
13723 {
13724 arg3 = wxString_in_helper(obj2);
13725 if (arg3 == NULL) SWIG_fail;
13726 temp3 = true;
13727 }
13728 }
13729 if (obj3) {
13730 {
13731 arg4 = (long)(SWIG_As_long(obj3));
13732 if (SWIG_arg_fail(4)) SWIG_fail;
13733 }
13734 }
13735 if (obj4) {
13736 {
13737 arg5 = &temp5;
13738 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13739 }
13740 }
13741 if (obj5) {
13742 {
13743 arg6 = &temp6;
13744 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13745 }
13746 }
13747 if (obj6) {
13748 {
13749 arg7 = wxString_in_helper(obj6);
13750 if (arg7 == NULL) SWIG_fail;
13751 temp7 = true;
13752 }
13753 }
13754 {
13755 if (!wxPyCheckForApp()) SWIG_fail;
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13763 {
13764 if (temp2)
13765 delete arg2;
13766 }
13767 {
13768 if (temp3)
13769 delete arg3;
13770 }
13771 {
13772 if (temp7)
13773 delete arg7;
13774 }
13775 return resultobj;
13776 fail:
13777 {
13778 if (temp2)
13779 delete arg2;
13780 }
13781 {
13782 if (temp3)
13783 delete arg3;
13784 }
13785 {
13786 if (temp7)
13787 delete arg7;
13788 }
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13796 wxString result;
13797 PyObject * obj0 = 0 ;
13798 char *kwnames[] = {
13799 (char *) "self", NULL
13800 };
13801
13802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13804 if (SWIG_arg_fail(1)) SWIG_fail;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (arg1)->GetPath();
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 {
13813 #if wxUSE_UNICODE
13814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13815 #else
13816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13817 #endif
13818 }
13819 return resultobj;
13820 fail:
13821 return NULL;
13822 }
13823
13824
13825 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj;
13827 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13828 wxString result;
13829 PyObject * obj0 = 0 ;
13830 char *kwnames[] = {
13831 (char *) "self", NULL
13832 };
13833
13834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13836 if (SWIG_arg_fail(1)) SWIG_fail;
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 result = (arg1)->GetMessage();
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 {
13845 #if wxUSE_UNICODE
13846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13847 #else
13848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13849 #endif
13850 }
13851 return resultobj;
13852 fail:
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13860 long result;
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13868 if (SWIG_arg_fail(1)) SWIG_fail;
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 result = (long)(arg1)->GetStyle();
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 {
13877 resultobj = SWIG_From_long((long)(result));
13878 }
13879 return resultobj;
13880 fail:
13881 return NULL;
13882 }
13883
13884
13885 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj;
13887 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13888 wxString *arg2 = 0 ;
13889 bool temp2 = false ;
13890 PyObject * obj0 = 0 ;
13891 PyObject * obj1 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self",(char *) "message", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) 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 arg2 = wxString_in_helper(obj1);
13901 if (arg2 == NULL) SWIG_fail;
13902 temp2 = true;
13903 }
13904 {
13905 PyThreadState* __tstate = wxPyBeginAllowThreads();
13906 (arg1)->SetMessage((wxString const &)*arg2);
13907
13908 wxPyEndAllowThreads(__tstate);
13909 if (PyErr_Occurred()) SWIG_fail;
13910 }
13911 Py_INCREF(Py_None); resultobj = Py_None;
13912 {
13913 if (temp2)
13914 delete arg2;
13915 }
13916 return resultobj;
13917 fail:
13918 {
13919 if (temp2)
13920 delete arg2;
13921 }
13922 return NULL;
13923 }
13924
13925
13926 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13927 PyObject *resultobj;
13928 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13929 wxString *arg2 = 0 ;
13930 bool temp2 = false ;
13931 PyObject * obj0 = 0 ;
13932 PyObject * obj1 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self",(char *) "path", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13939 if (SWIG_arg_fail(1)) SWIG_fail;
13940 {
13941 arg2 = wxString_in_helper(obj1);
13942 if (arg2 == NULL) SWIG_fail;
13943 temp2 = true;
13944 }
13945 {
13946 PyThreadState* __tstate = wxPyBeginAllowThreads();
13947 (arg1)->SetPath((wxString const &)*arg2);
13948
13949 wxPyEndAllowThreads(__tstate);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 Py_INCREF(Py_None); resultobj = Py_None;
13953 {
13954 if (temp2)
13955 delete arg2;
13956 }
13957 return resultobj;
13958 fail:
13959 {
13960 if (temp2)
13961 delete arg2;
13962 }
13963 return NULL;
13964 }
13965
13966
13967 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13968 PyObject *obj;
13969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13970 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13971 Py_INCREF(obj);
13972 return Py_BuildValue((char *)"");
13973 }
13974 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxWindow *arg1 = (wxWindow *) 0 ;
13977 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13978 wxString *arg2 = (wxString *) &arg2_defvalue ;
13979 wxString const &arg3_defvalue = wxPyEmptyString ;
13980 wxString *arg3 = (wxString *) &arg3_defvalue ;
13981 wxString const &arg4_defvalue = wxPyEmptyString ;
13982 wxString *arg4 = (wxString *) &arg4_defvalue ;
13983 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13984 wxString *arg5 = (wxString *) &arg5_defvalue ;
13985 long arg6 = (long) 0 ;
13986 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13987 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13988 wxFileDialog *result;
13989 bool temp2 = false ;
13990 bool temp3 = false ;
13991 bool temp4 = false ;
13992 bool temp5 = false ;
13993 wxPoint temp7 ;
13994 PyObject * obj0 = 0 ;
13995 PyObject * obj1 = 0 ;
13996 PyObject * obj2 = 0 ;
13997 PyObject * obj3 = 0 ;
13998 PyObject * obj4 = 0 ;
13999 PyObject * obj5 = 0 ;
14000 PyObject * obj6 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14007 if (SWIG_arg_fail(1)) SWIG_fail;
14008 if (obj1) {
14009 {
14010 arg2 = wxString_in_helper(obj1);
14011 if (arg2 == NULL) SWIG_fail;
14012 temp2 = true;
14013 }
14014 }
14015 if (obj2) {
14016 {
14017 arg3 = wxString_in_helper(obj2);
14018 if (arg3 == NULL) SWIG_fail;
14019 temp3 = true;
14020 }
14021 }
14022 if (obj3) {
14023 {
14024 arg4 = wxString_in_helper(obj3);
14025 if (arg4 == NULL) SWIG_fail;
14026 temp4 = true;
14027 }
14028 }
14029 if (obj4) {
14030 {
14031 arg5 = wxString_in_helper(obj4);
14032 if (arg5 == NULL) SWIG_fail;
14033 temp5 = true;
14034 }
14035 }
14036 if (obj5) {
14037 {
14038 arg6 = (long)(SWIG_As_long(obj5));
14039 if (SWIG_arg_fail(6)) SWIG_fail;
14040 }
14041 }
14042 if (obj6) {
14043 {
14044 arg7 = &temp7;
14045 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14046 }
14047 }
14048 {
14049 if (!wxPyCheckForApp()) SWIG_fail;
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14052
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14057 {
14058 if (temp2)
14059 delete arg2;
14060 }
14061 {
14062 if (temp3)
14063 delete arg3;
14064 }
14065 {
14066 if (temp4)
14067 delete arg4;
14068 }
14069 {
14070 if (temp5)
14071 delete arg5;
14072 }
14073 return resultobj;
14074 fail:
14075 {
14076 if (temp2)
14077 delete arg2;
14078 }
14079 {
14080 if (temp3)
14081 delete arg3;
14082 }
14083 {
14084 if (temp4)
14085 delete arg4;
14086 }
14087 {
14088 if (temp5)
14089 delete arg5;
14090 }
14091 return NULL;
14092 }
14093
14094
14095 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14098 wxString *arg2 = 0 ;
14099 bool temp2 = false ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj1 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "message", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
14110 arg2 = wxString_in_helper(obj1);
14111 if (arg2 == NULL) SWIG_fail;
14112 temp2 = true;
14113 }
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 (arg1)->SetMessage((wxString const &)*arg2);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 Py_INCREF(Py_None); resultobj = Py_None;
14122 {
14123 if (temp2)
14124 delete arg2;
14125 }
14126 return resultobj;
14127 fail:
14128 {
14129 if (temp2)
14130 delete arg2;
14131 }
14132 return NULL;
14133 }
14134
14135
14136 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14139 wxString *arg2 = 0 ;
14140 bool temp2 = false ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "path", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail;
14150 {
14151 arg2 = wxString_in_helper(obj1);
14152 if (arg2 == NULL) SWIG_fail;
14153 temp2 = true;
14154 }
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 (arg1)->SetPath((wxString const &)*arg2);
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 Py_INCREF(Py_None); resultobj = Py_None;
14163 {
14164 if (temp2)
14165 delete arg2;
14166 }
14167 return resultobj;
14168 fail:
14169 {
14170 if (temp2)
14171 delete arg2;
14172 }
14173 return NULL;
14174 }
14175
14176
14177 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14180 wxString *arg2 = 0 ;
14181 bool temp2 = false ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 char *kwnames[] = {
14185 (char *) "self",(char *) "dir", NULL
14186 };
14187
14188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14190 if (SWIG_arg_fail(1)) SWIG_fail;
14191 {
14192 arg2 = wxString_in_helper(obj1);
14193 if (arg2 == NULL) SWIG_fail;
14194 temp2 = true;
14195 }
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 (arg1)->SetDirectory((wxString const &)*arg2);
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 Py_INCREF(Py_None); resultobj = Py_None;
14204 {
14205 if (temp2)
14206 delete arg2;
14207 }
14208 return resultobj;
14209 fail:
14210 {
14211 if (temp2)
14212 delete arg2;
14213 }
14214 return NULL;
14215 }
14216
14217
14218 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14221 wxString *arg2 = 0 ;
14222 bool temp2 = false ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "name", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
14232 {
14233 arg2 = wxString_in_helper(obj1);
14234 if (arg2 == NULL) SWIG_fail;
14235 temp2 = true;
14236 }
14237 {
14238 PyThreadState* __tstate = wxPyBeginAllowThreads();
14239 (arg1)->SetFilename((wxString const &)*arg2);
14240
14241 wxPyEndAllowThreads(__tstate);
14242 if (PyErr_Occurred()) SWIG_fail;
14243 }
14244 Py_INCREF(Py_None); resultobj = Py_None;
14245 {
14246 if (temp2)
14247 delete arg2;
14248 }
14249 return resultobj;
14250 fail:
14251 {
14252 if (temp2)
14253 delete arg2;
14254 }
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14262 wxString *arg2 = 0 ;
14263 bool temp2 = false ;
14264 PyObject * obj0 = 0 ;
14265 PyObject * obj1 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "wildCard", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail;
14273 {
14274 arg2 = wxString_in_helper(obj1);
14275 if (arg2 == NULL) SWIG_fail;
14276 temp2 = true;
14277 }
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 (arg1)->SetWildcard((wxString const &)*arg2);
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
14285 Py_INCREF(Py_None); resultobj = Py_None;
14286 {
14287 if (temp2)
14288 delete arg2;
14289 }
14290 return resultobj;
14291 fail:
14292 {
14293 if (temp2)
14294 delete arg2;
14295 }
14296 return NULL;
14297 }
14298
14299
14300 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14301 PyObject *resultobj;
14302 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14303 long arg2 ;
14304 PyObject * obj0 = 0 ;
14305 PyObject * obj1 = 0 ;
14306 char *kwnames[] = {
14307 (char *) "self",(char *) "style", NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14312 if (SWIG_arg_fail(1)) SWIG_fail;
14313 {
14314 arg2 = (long)(SWIG_As_long(obj1));
14315 if (SWIG_arg_fail(2)) SWIG_fail;
14316 }
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 (arg1)->SetStyle(arg2);
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 Py_INCREF(Py_None); resultobj = Py_None;
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14334 int arg2 ;
14335 PyObject * obj0 = 0 ;
14336 PyObject * obj1 = 0 ;
14337 char *kwnames[] = {
14338 (char *) "self",(char *) "filterIndex", NULL
14339 };
14340
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14343 if (SWIG_arg_fail(1)) SWIG_fail;
14344 {
14345 arg2 = (int)(SWIG_As_int(obj1));
14346 if (SWIG_arg_fail(2)) SWIG_fail;
14347 }
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 (arg1)->SetFilterIndex(arg2);
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 Py_INCREF(Py_None); resultobj = Py_None;
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14365 wxString result;
14366 PyObject * obj0 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14373 if (SWIG_arg_fail(1)) SWIG_fail;
14374 {
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 result = ((wxFileDialog const *)arg1)->GetMessage();
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 {
14382 #if wxUSE_UNICODE
14383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14384 #else
14385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14386 #endif
14387 }
14388 return resultobj;
14389 fail:
14390 return NULL;
14391 }
14392
14393
14394 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14397 wxString result;
14398 PyObject * obj0 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = ((wxFileDialog const *)arg1)->GetPath();
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 {
14414 #if wxUSE_UNICODE
14415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14416 #else
14417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14418 #endif
14419 }
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14429 wxString result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14437 if (SWIG_arg_fail(1)) SWIG_fail;
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 result = ((wxFileDialog const *)arg1)->GetDirectory();
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 {
14446 #if wxUSE_UNICODE
14447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14448 #else
14449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14450 #endif
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14461 wxString result;
14462 PyObject * obj0 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14469 if (SWIG_arg_fail(1)) SWIG_fail;
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = ((wxFileDialog const *)arg1)->GetFilename();
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 {
14478 #if wxUSE_UNICODE
14479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14480 #else
14481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14482 #endif
14483 }
14484 return resultobj;
14485 fail:
14486 return NULL;
14487 }
14488
14489
14490 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14493 wxString result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail;
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = ((wxFileDialog const *)arg1)->GetWildcard();
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 {
14510 #if wxUSE_UNICODE
14511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14512 #else
14513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14514 #endif
14515 }
14516 return resultobj;
14517 fail:
14518 return NULL;
14519 }
14520
14521
14522 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14523 PyObject *resultobj;
14524 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14525 long result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14533 if (SWIG_arg_fail(1)) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 {
14542 resultobj = SWIG_From_long((long)(result));
14543 }
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14553 int result;
14554 PyObject * obj0 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail;
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 {
14570 resultobj = SWIG_From_int((int)(result));
14571 }
14572 return resultobj;
14573 fail:
14574 return NULL;
14575 }
14576
14577
14578 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj;
14580 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14581 PyObject *result;
14582 PyObject * obj0 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14589 if (SWIG_arg_fail(1)) SWIG_fail;
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 resultobj = result;
14598 return resultobj;
14599 fail:
14600 return NULL;
14601 }
14602
14603
14604 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14607 PyObject *result;
14608 PyObject * obj0 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "self", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail;
14616 {
14617 PyThreadState* __tstate = wxPyBeginAllowThreads();
14618 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14619
14620 wxPyEndAllowThreads(__tstate);
14621 if (PyErr_Occurred()) SWIG_fail;
14622 }
14623 resultobj = result;
14624 return resultobj;
14625 fail:
14626 return NULL;
14627 }
14628
14629
14630 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14631 PyObject *obj;
14632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14633 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14634 Py_INCREF(obj);
14635 return Py_BuildValue((char *)"");
14636 }
14637 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxWindow *arg1 = (wxWindow *) 0 ;
14640 wxString *arg2 = 0 ;
14641 wxString *arg3 = 0 ;
14642 int arg4 = (int) 0 ;
14643 wxString *arg5 = (wxString *) NULL ;
14644 long arg6 = (long) wxCHOICEDLG_STYLE ;
14645 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14646 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14647 wxMultiChoiceDialog *result;
14648 bool temp2 = false ;
14649 bool temp3 = false ;
14650 wxPoint temp7 ;
14651 PyObject * obj0 = 0 ;
14652 PyObject * obj1 = 0 ;
14653 PyObject * obj2 = 0 ;
14654 PyObject * obj3 = 0 ;
14655 PyObject * obj4 = 0 ;
14656 PyObject * obj5 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14663 if (SWIG_arg_fail(1)) SWIG_fail;
14664 {
14665 arg2 = wxString_in_helper(obj1);
14666 if (arg2 == NULL) SWIG_fail;
14667 temp2 = true;
14668 }
14669 {
14670 arg3 = wxString_in_helper(obj2);
14671 if (arg3 == NULL) SWIG_fail;
14672 temp3 = true;
14673 }
14674 if (obj3) {
14675 {
14676 arg4 = PyList_Size(obj3);
14677 arg5 = wxString_LIST_helper(obj3);
14678 if (arg5 == NULL) SWIG_fail;
14679 }
14680 }
14681 if (obj4) {
14682 {
14683 arg6 = (long)(SWIG_As_long(obj4));
14684 if (SWIG_arg_fail(6)) SWIG_fail;
14685 }
14686 }
14687 if (obj5) {
14688 {
14689 arg7 = &temp7;
14690 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14691 }
14692 }
14693 {
14694 if (!wxPyCheckForApp()) SWIG_fail;
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14702 {
14703 if (temp2)
14704 delete arg2;
14705 }
14706 {
14707 if (temp3)
14708 delete arg3;
14709 }
14710 {
14711 if (arg5) delete [] arg5;
14712 }
14713 return resultobj;
14714 fail:
14715 {
14716 if (temp2)
14717 delete arg2;
14718 }
14719 {
14720 if (temp3)
14721 delete arg3;
14722 }
14723 {
14724 if (arg5) delete [] arg5;
14725 }
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14733 wxArrayInt *arg2 = 0 ;
14734 bool temp2 = false ;
14735 PyObject * obj0 = 0 ;
14736 PyObject * obj1 = 0 ;
14737 char *kwnames[] = {
14738 (char *) "self",(char *) "selections", NULL
14739 };
14740
14741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail;
14744 {
14745 if (! PySequence_Check(obj1)) {
14746 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14747 SWIG_fail;
14748 }
14749 arg2 = new wxArrayInt;
14750 temp2 = true;
14751 int i, len=PySequence_Length(obj1);
14752 for (i=0; i<len; i++) {
14753 PyObject* item = PySequence_GetItem(obj1, i);
14754 PyObject* number = PyNumber_Int(item);
14755 arg2->Add(PyInt_AS_LONG(number));
14756 Py_DECREF(item);
14757 Py_DECREF(number);
14758 }
14759 }
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 Py_INCREF(Py_None); resultobj = Py_None;
14768 {
14769 if (temp2) delete arg2;
14770 }
14771 return resultobj;
14772 fail:
14773 {
14774 if (temp2) delete arg2;
14775 }
14776 return NULL;
14777 }
14778
14779
14780 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14781 PyObject *resultobj;
14782 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14783 PyObject *result;
14784 PyObject * obj0 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 resultobj = result;
14800 return resultobj;
14801 fail:
14802 return NULL;
14803 }
14804
14805
14806 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14807 PyObject *obj;
14808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14810 Py_INCREF(obj);
14811 return Py_BuildValue((char *)"");
14812 }
14813 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxWindow *arg1 = (wxWindow *) 0 ;
14816 wxString *arg2 = 0 ;
14817 wxString *arg3 = 0 ;
14818 int arg4 ;
14819 wxString *arg5 = (wxString *) 0 ;
14820 long arg6 = (long) wxCHOICEDLG_STYLE ;
14821 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14822 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14823 wxSingleChoiceDialog *result;
14824 bool temp2 = false ;
14825 bool temp3 = false ;
14826 wxPoint temp7 ;
14827 PyObject * obj0 = 0 ;
14828 PyObject * obj1 = 0 ;
14829 PyObject * obj2 = 0 ;
14830 PyObject * obj3 = 0 ;
14831 PyObject * obj4 = 0 ;
14832 PyObject * obj5 = 0 ;
14833 char *kwnames[] = {
14834 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14835 };
14836
14837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14839 if (SWIG_arg_fail(1)) SWIG_fail;
14840 {
14841 arg2 = wxString_in_helper(obj1);
14842 if (arg2 == NULL) SWIG_fail;
14843 temp2 = true;
14844 }
14845 {
14846 arg3 = wxString_in_helper(obj2);
14847 if (arg3 == NULL) SWIG_fail;
14848 temp3 = true;
14849 }
14850 {
14851 arg4 = PyList_Size(obj3);
14852 arg5 = wxString_LIST_helper(obj3);
14853 if (arg5 == NULL) SWIG_fail;
14854 }
14855 if (obj4) {
14856 {
14857 arg6 = (long)(SWIG_As_long(obj4));
14858 if (SWIG_arg_fail(6)) SWIG_fail;
14859 }
14860 }
14861 if (obj5) {
14862 {
14863 arg7 = &temp7;
14864 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14865 }
14866 }
14867 {
14868 if (!wxPyCheckForApp()) SWIG_fail;
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14876 {
14877 if (temp2)
14878 delete arg2;
14879 }
14880 {
14881 if (temp3)
14882 delete arg3;
14883 }
14884 {
14885 if (arg5) delete [] arg5;
14886 }
14887 return resultobj;
14888 fail:
14889 {
14890 if (temp2)
14891 delete arg2;
14892 }
14893 {
14894 if (temp3)
14895 delete arg3;
14896 }
14897 {
14898 if (arg5) delete [] arg5;
14899 }
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14907 int result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail;
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (int)(arg1)->GetSelection();
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 {
14924 resultobj = SWIG_From_int((int)(result));
14925 }
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14935 wxString result;
14936 PyObject * obj0 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14943 if (SWIG_arg_fail(1)) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (arg1)->GetStringSelection();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 {
14952 #if wxUSE_UNICODE
14953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14954 #else
14955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14956 #endif
14957 }
14958 return resultobj;
14959 fail:
14960 return NULL;
14961 }
14962
14963
14964 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14965 PyObject *resultobj;
14966 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14967 int arg2 ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self",(char *) "sel", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14976 if (SWIG_arg_fail(1)) SWIG_fail;
14977 {
14978 arg2 = (int)(SWIG_As_int(obj1));
14979 if (SWIG_arg_fail(2)) SWIG_fail;
14980 }
14981 {
14982 PyThreadState* __tstate = wxPyBeginAllowThreads();
14983 (arg1)->SetSelection(arg2);
14984
14985 wxPyEndAllowThreads(__tstate);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 Py_INCREF(Py_None); resultobj = Py_None;
14989 return resultobj;
14990 fail:
14991 return NULL;
14992 }
14993
14994
14995 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14996 PyObject *obj;
14997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14998 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14999 Py_INCREF(obj);
15000 return Py_BuildValue((char *)"");
15001 }
15002 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxWindow *arg1 = (wxWindow *) 0 ;
15005 wxString *arg2 = 0 ;
15006 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15007 wxString *arg3 = (wxString *) &arg3_defvalue ;
15008 wxString const &arg4_defvalue = wxPyEmptyString ;
15009 wxString *arg4 = (wxString *) &arg4_defvalue ;
15010 long arg5 = (long) wxTextEntryDialogStyle ;
15011 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15012 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15013 wxTextEntryDialog *result;
15014 bool temp2 = false ;
15015 bool temp3 = false ;
15016 bool temp4 = false ;
15017 wxPoint temp6 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 PyObject * obj2 = 0 ;
15021 PyObject * obj3 = 0 ;
15022 PyObject * obj4 = 0 ;
15023 PyObject * obj5 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15030 if (SWIG_arg_fail(1)) SWIG_fail;
15031 {
15032 arg2 = wxString_in_helper(obj1);
15033 if (arg2 == NULL) SWIG_fail;
15034 temp2 = true;
15035 }
15036 if (obj2) {
15037 {
15038 arg3 = wxString_in_helper(obj2);
15039 if (arg3 == NULL) SWIG_fail;
15040 temp3 = true;
15041 }
15042 }
15043 if (obj3) {
15044 {
15045 arg4 = wxString_in_helper(obj3);
15046 if (arg4 == NULL) SWIG_fail;
15047 temp4 = true;
15048 }
15049 }
15050 if (obj4) {
15051 {
15052 arg5 = (long)(SWIG_As_long(obj4));
15053 if (SWIG_arg_fail(5)) SWIG_fail;
15054 }
15055 }
15056 if (obj5) {
15057 {
15058 arg6 = &temp6;
15059 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15060 }
15061 }
15062 {
15063 if (!wxPyCheckForApp()) SWIG_fail;
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15071 {
15072 if (temp2)
15073 delete arg2;
15074 }
15075 {
15076 if (temp3)
15077 delete arg3;
15078 }
15079 {
15080 if (temp4)
15081 delete arg4;
15082 }
15083 return resultobj;
15084 fail:
15085 {
15086 if (temp2)
15087 delete arg2;
15088 }
15089 {
15090 if (temp3)
15091 delete arg3;
15092 }
15093 {
15094 if (temp4)
15095 delete arg4;
15096 }
15097 return NULL;
15098 }
15099
15100
15101 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15102 PyObject *resultobj;
15103 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15104 wxString result;
15105 PyObject * obj0 = 0 ;
15106 char *kwnames[] = {
15107 (char *) "self", NULL
15108 };
15109
15110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15112 if (SWIG_arg_fail(1)) SWIG_fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (arg1)->GetValue();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 {
15121 #if wxUSE_UNICODE
15122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15123 #else
15124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15125 #endif
15126 }
15127 return resultobj;
15128 fail:
15129 return NULL;
15130 }
15131
15132
15133 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15134 PyObject *resultobj;
15135 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15136 wxString *arg2 = 0 ;
15137 bool temp2 = false ;
15138 PyObject * obj0 = 0 ;
15139 PyObject * obj1 = 0 ;
15140 char *kwnames[] = {
15141 (char *) "self",(char *) "value", NULL
15142 };
15143
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15146 if (SWIG_arg_fail(1)) SWIG_fail;
15147 {
15148 arg2 = wxString_in_helper(obj1);
15149 if (arg2 == NULL) SWIG_fail;
15150 temp2 = true;
15151 }
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 (arg1)->SetValue((wxString const &)*arg2);
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 Py_INCREF(Py_None); resultobj = Py_None;
15160 {
15161 if (temp2)
15162 delete arg2;
15163 }
15164 return resultobj;
15165 fail:
15166 {
15167 if (temp2)
15168 delete arg2;
15169 }
15170 return NULL;
15171 }
15172
15173
15174 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15175 PyObject *obj;
15176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15177 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15178 Py_INCREF(obj);
15179 return Py_BuildValue((char *)"");
15180 }
15181 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15182 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15183 return 1;
15184 }
15185
15186
15187 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15188 PyObject *pyobj;
15189
15190 {
15191 #if wxUSE_UNICODE
15192 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15193 #else
15194 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15195 #endif
15196 }
15197 return pyobj;
15198 }
15199
15200
15201 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxWindow *arg1 = (wxWindow *) 0 ;
15204 wxString *arg2 = 0 ;
15205 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15206 wxString *arg3 = (wxString *) &arg3_defvalue ;
15207 wxString const &arg4_defvalue = wxPyEmptyString ;
15208 wxString *arg4 = (wxString *) &arg4_defvalue ;
15209 long arg5 = (long) wxTextEntryDialogStyle ;
15210 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15211 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15212 wxPasswordEntryDialog *result;
15213 bool temp2 = false ;
15214 bool temp3 = false ;
15215 bool temp4 = false ;
15216 wxPoint temp6 ;
15217 PyObject * obj0 = 0 ;
15218 PyObject * obj1 = 0 ;
15219 PyObject * obj2 = 0 ;
15220 PyObject * obj3 = 0 ;
15221 PyObject * obj4 = 0 ;
15222 PyObject * obj5 = 0 ;
15223 char *kwnames[] = {
15224 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15229 if (SWIG_arg_fail(1)) SWIG_fail;
15230 {
15231 arg2 = wxString_in_helper(obj1);
15232 if (arg2 == NULL) SWIG_fail;
15233 temp2 = true;
15234 }
15235 if (obj2) {
15236 {
15237 arg3 = wxString_in_helper(obj2);
15238 if (arg3 == NULL) SWIG_fail;
15239 temp3 = true;
15240 }
15241 }
15242 if (obj3) {
15243 {
15244 arg4 = wxString_in_helper(obj3);
15245 if (arg4 == NULL) SWIG_fail;
15246 temp4 = true;
15247 }
15248 }
15249 if (obj4) {
15250 {
15251 arg5 = (long)(SWIG_As_long(obj4));
15252 if (SWIG_arg_fail(5)) SWIG_fail;
15253 }
15254 }
15255 if (obj5) {
15256 {
15257 arg6 = &temp6;
15258 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15259 }
15260 }
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15269 {
15270 if (temp2)
15271 delete arg2;
15272 }
15273 {
15274 if (temp3)
15275 delete arg3;
15276 }
15277 {
15278 if (temp4)
15279 delete arg4;
15280 }
15281 return resultobj;
15282 fail:
15283 {
15284 if (temp2)
15285 delete arg2;
15286 }
15287 {
15288 if (temp3)
15289 delete arg3;
15290 }
15291 {
15292 if (temp4)
15293 delete arg4;
15294 }
15295 return NULL;
15296 }
15297
15298
15299 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15300 PyObject *obj;
15301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15302 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15303 Py_INCREF(obj);
15304 return Py_BuildValue((char *)"");
15305 }
15306 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxFontData *result;
15309 char *kwnames[] = {
15310 NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (wxFontData *)new wxFontData();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15322 return resultobj;
15323 fail:
15324 return NULL;
15325 }
15326
15327
15328 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxFontData *arg1 = (wxFontData *) 0 ;
15331 PyObject * obj0 = 0 ;
15332 char *kwnames[] = {
15333 (char *) "self", NULL
15334 };
15335
15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15338 if (SWIG_arg_fail(1)) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 delete arg1;
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 Py_INCREF(Py_None); resultobj = Py_None;
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 wxFontData *arg1 = (wxFontData *) 0 ;
15356 bool arg2 ;
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self",(char *) "enable", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15365 if (SWIG_arg_fail(1)) SWIG_fail;
15366 {
15367 arg2 = (bool)(SWIG_As_bool(obj1));
15368 if (SWIG_arg_fail(2)) SWIG_fail;
15369 }
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 (arg1)->EnableEffects(arg2);
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 Py_INCREF(Py_None); resultobj = Py_None;
15378 return resultobj;
15379 fail:
15380 return NULL;
15381 }
15382
15383
15384 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxFontData *arg1 = (wxFontData *) 0 ;
15387 bool result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail;
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (bool)(arg1)->GetAllowSymbols();
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 {
15404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15405 }
15406 return resultobj;
15407 fail:
15408 return NULL;
15409 }
15410
15411
15412 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxFontData *arg1 = (wxFontData *) 0 ;
15415 wxColour result;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15423 if (SWIG_arg_fail(1)) SWIG_fail;
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 result = (arg1)->GetColour();
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 {
15432 wxColour * resultptr;
15433 resultptr = new wxColour((wxColour &)(result));
15434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15435 }
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxFontData *arg1 = (wxFontData *) 0 ;
15445 wxFont result;
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15453 if (SWIG_arg_fail(1)) SWIG_fail;
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 result = (arg1)->GetChosenFont();
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15461 {
15462 wxFont * resultptr;
15463 resultptr = new wxFont((wxFont &)(result));
15464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15465 }
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxFontData *arg1 = (wxFontData *) 0 ;
15475 bool result;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15483 if (SWIG_arg_fail(1)) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (bool)(arg1)->GetEnableEffects();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 {
15492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15493 }
15494 return resultobj;
15495 fail:
15496 return NULL;
15497 }
15498
15499
15500 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj;
15502 wxFontData *arg1 = (wxFontData *) 0 ;
15503 wxFont result;
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "self", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 result = (arg1)->GetInitialFont();
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 {
15520 wxFont * resultptr;
15521 resultptr = new wxFont((wxFont &)(result));
15522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15523 }
15524 return resultobj;
15525 fail:
15526 return NULL;
15527 }
15528
15529
15530 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxFontData *arg1 = (wxFontData *) 0 ;
15533 bool result;
15534 PyObject * obj0 = 0 ;
15535 char *kwnames[] = {
15536 (char *) "self", NULL
15537 };
15538
15539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15541 if (SWIG_arg_fail(1)) SWIG_fail;
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = (bool)(arg1)->GetShowHelp();
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 {
15550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15551 }
15552 return resultobj;
15553 fail:
15554 return NULL;
15555 }
15556
15557
15558 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15559 PyObject *resultobj;
15560 wxFontData *arg1 = (wxFontData *) 0 ;
15561 bool arg2 ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "self",(char *) "allowSymbols", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15570 if (SWIG_arg_fail(1)) SWIG_fail;
15571 {
15572 arg2 = (bool)(SWIG_As_bool(obj1));
15573 if (SWIG_arg_fail(2)) SWIG_fail;
15574 }
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 (arg1)->SetAllowSymbols(arg2);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 Py_INCREF(Py_None); resultobj = Py_None;
15583 return resultobj;
15584 fail:
15585 return NULL;
15586 }
15587
15588
15589 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxFontData *arg1 = (wxFontData *) 0 ;
15592 wxFont *arg2 = 0 ;
15593 PyObject * obj0 = 0 ;
15594 PyObject * obj1 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self",(char *) "font", NULL
15597 };
15598
15599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail;
15602 {
15603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15604 if (SWIG_arg_fail(2)) SWIG_fail;
15605 if (arg2 == NULL) {
15606 SWIG_null_ref("wxFont");
15607 }
15608 if (SWIG_arg_fail(2)) SWIG_fail;
15609 }
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 (arg1)->SetChosenFont((wxFont const &)*arg2);
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 Py_INCREF(Py_None); resultobj = Py_None;
15618 return resultobj;
15619 fail:
15620 return NULL;
15621 }
15622
15623
15624 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj;
15626 wxFontData *arg1 = (wxFontData *) 0 ;
15627 wxColour *arg2 = 0 ;
15628 wxColour temp2 ;
15629 PyObject * obj0 = 0 ;
15630 PyObject * obj1 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self",(char *) "colour", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15637 if (SWIG_arg_fail(1)) SWIG_fail;
15638 {
15639 arg2 = &temp2;
15640 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15641 }
15642 {
15643 PyThreadState* __tstate = wxPyBeginAllowThreads();
15644 (arg1)->SetColour((wxColour const &)*arg2);
15645
15646 wxPyEndAllowThreads(__tstate);
15647 if (PyErr_Occurred()) SWIG_fail;
15648 }
15649 Py_INCREF(Py_None); resultobj = Py_None;
15650 return resultobj;
15651 fail:
15652 return NULL;
15653 }
15654
15655
15656 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxFontData *arg1 = (wxFontData *) 0 ;
15659 wxFont *arg2 = 0 ;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "font", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15668 if (SWIG_arg_fail(1)) SWIG_fail;
15669 {
15670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15671 if (SWIG_arg_fail(2)) SWIG_fail;
15672 if (arg2 == NULL) {
15673 SWIG_null_ref("wxFont");
15674 }
15675 if (SWIG_arg_fail(2)) SWIG_fail;
15676 }
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 (arg1)->SetInitialFont((wxFont const &)*arg2);
15680
15681 wxPyEndAllowThreads(__tstate);
15682 if (PyErr_Occurred()) SWIG_fail;
15683 }
15684 Py_INCREF(Py_None); resultobj = Py_None;
15685 return resultobj;
15686 fail:
15687 return NULL;
15688 }
15689
15690
15691 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxFontData *arg1 = (wxFontData *) 0 ;
15694 int arg2 ;
15695 int arg3 ;
15696 PyObject * obj0 = 0 ;
15697 PyObject * obj1 = 0 ;
15698 PyObject * obj2 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self",(char *) "min",(char *) "max", NULL
15701 };
15702
15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15705 if (SWIG_arg_fail(1)) SWIG_fail;
15706 {
15707 arg2 = (int)(SWIG_As_int(obj1));
15708 if (SWIG_arg_fail(2)) SWIG_fail;
15709 }
15710 {
15711 arg3 = (int)(SWIG_As_int(obj2));
15712 if (SWIG_arg_fail(3)) SWIG_fail;
15713 }
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 (arg1)->SetRange(arg2,arg3);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 Py_INCREF(Py_None); resultobj = Py_None;
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxFontData *arg1 = (wxFontData *) 0 ;
15731 bool arg2 ;
15732 PyObject * obj0 = 0 ;
15733 PyObject * obj1 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self",(char *) "showHelp", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15740 if (SWIG_arg_fail(1)) SWIG_fail;
15741 {
15742 arg2 = (bool)(SWIG_As_bool(obj1));
15743 if (SWIG_arg_fail(2)) SWIG_fail;
15744 }
15745 {
15746 PyThreadState* __tstate = wxPyBeginAllowThreads();
15747 (arg1)->SetShowHelp(arg2);
15748
15749 wxPyEndAllowThreads(__tstate);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 Py_INCREF(Py_None); resultobj = Py_None;
15753 return resultobj;
15754 fail:
15755 return NULL;
15756 }
15757
15758
15759 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15760 PyObject *obj;
15761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15762 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15763 Py_INCREF(obj);
15764 return Py_BuildValue((char *)"");
15765 }
15766 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxWindow *arg1 = (wxWindow *) 0 ;
15769 wxFontData *arg2 = 0 ;
15770 wxFontDialog *result;
15771 PyObject * obj0 = 0 ;
15772 PyObject * obj1 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "parent",(char *) "data", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15779 if (SWIG_arg_fail(1)) SWIG_fail;
15780 {
15781 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15782 if (SWIG_arg_fail(2)) SWIG_fail;
15783 if (arg2 == NULL) {
15784 SWIG_null_ref("wxFontData");
15785 }
15786 if (SWIG_arg_fail(2)) SWIG_fail;
15787 }
15788 {
15789 if (!wxPyCheckForApp()) SWIG_fail;
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15806 wxFontData *result;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail;
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 {
15818 wxFontData &_result_ref = (arg1)->GetFontData();
15819 result = (wxFontData *) &_result_ref;
15820 }
15821
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15833 PyObject *obj;
15834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15835 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15836 Py_INCREF(obj);
15837 return Py_BuildValue((char *)"");
15838 }
15839 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15840 PyObject *resultobj;
15841 wxWindow *arg1 = (wxWindow *) 0 ;
15842 wxString *arg2 = 0 ;
15843 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15844 wxString *arg3 = (wxString *) &arg3_defvalue ;
15845 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15846 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15847 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15848 wxMessageDialog *result;
15849 bool temp2 = false ;
15850 bool temp3 = false ;
15851 wxPoint temp5 ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 PyObject * obj2 = 0 ;
15855 PyObject * obj3 = 0 ;
15856 PyObject * obj4 = 0 ;
15857 char *kwnames[] = {
15858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15859 };
15860
15861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail;
15864 {
15865 arg2 = wxString_in_helper(obj1);
15866 if (arg2 == NULL) SWIG_fail;
15867 temp2 = true;
15868 }
15869 if (obj2) {
15870 {
15871 arg3 = wxString_in_helper(obj2);
15872 if (arg3 == NULL) SWIG_fail;
15873 temp3 = true;
15874 }
15875 }
15876 if (obj3) {
15877 {
15878 arg4 = (long)(SWIG_As_long(obj3));
15879 if (SWIG_arg_fail(4)) SWIG_fail;
15880 }
15881 }
15882 if (obj4) {
15883 {
15884 arg5 = &temp5;
15885 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15886 }
15887 }
15888 {
15889 if (!wxPyCheckForApp()) SWIG_fail;
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15897 {
15898 if (temp2)
15899 delete arg2;
15900 }
15901 {
15902 if (temp3)
15903 delete arg3;
15904 }
15905 return resultobj;
15906 fail:
15907 {
15908 if (temp2)
15909 delete arg2;
15910 }
15911 {
15912 if (temp3)
15913 delete arg3;
15914 }
15915 return NULL;
15916 }
15917
15918
15919 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15920 PyObject *obj;
15921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15922 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15923 Py_INCREF(obj);
15924 return Py_BuildValue((char *)"");
15925 }
15926 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxString *arg1 = 0 ;
15929 wxString *arg2 = 0 ;
15930 int arg3 = (int) 100 ;
15931 wxWindow *arg4 = (wxWindow *) NULL ;
15932 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15933 wxProgressDialog *result;
15934 bool temp1 = false ;
15935 bool temp2 = false ;
15936 PyObject * obj0 = 0 ;
15937 PyObject * obj1 = 0 ;
15938 PyObject * obj2 = 0 ;
15939 PyObject * obj3 = 0 ;
15940 PyObject * obj4 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15946 {
15947 arg1 = wxString_in_helper(obj0);
15948 if (arg1 == NULL) SWIG_fail;
15949 temp1 = true;
15950 }
15951 {
15952 arg2 = wxString_in_helper(obj1);
15953 if (arg2 == NULL) SWIG_fail;
15954 temp2 = true;
15955 }
15956 if (obj2) {
15957 {
15958 arg3 = (int)(SWIG_As_int(obj2));
15959 if (SWIG_arg_fail(3)) SWIG_fail;
15960 }
15961 }
15962 if (obj3) {
15963 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15964 if (SWIG_arg_fail(4)) SWIG_fail;
15965 }
15966 if (obj4) {
15967 {
15968 arg5 = (int)(SWIG_As_int(obj4));
15969 if (SWIG_arg_fail(5)) SWIG_fail;
15970 }
15971 }
15972 {
15973 if (!wxPyCheckForApp()) SWIG_fail;
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15981 {
15982 if (temp1)
15983 delete arg1;
15984 }
15985 {
15986 if (temp2)
15987 delete arg2;
15988 }
15989 return resultobj;
15990 fail:
15991 {
15992 if (temp1)
15993 delete arg1;
15994 }
15995 {
15996 if (temp2)
15997 delete arg2;
15998 }
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16006 int arg2 ;
16007 wxString const &arg3_defvalue = wxPyEmptyString ;
16008 wxString *arg3 = (wxString *) &arg3_defvalue ;
16009 bool result;
16010 bool temp3 = false ;
16011 PyObject * obj0 = 0 ;
16012 PyObject * obj1 = 0 ;
16013 PyObject * obj2 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
16019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16020 if (SWIG_arg_fail(1)) SWIG_fail;
16021 {
16022 arg2 = (int)(SWIG_As_int(obj1));
16023 if (SWIG_arg_fail(2)) SWIG_fail;
16024 }
16025 if (obj2) {
16026 {
16027 arg3 = wxString_in_helper(obj2);
16028 if (arg3 == NULL) SWIG_fail;
16029 temp3 = true;
16030 }
16031 }
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 {
16040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16041 }
16042 {
16043 if (temp3)
16044 delete arg3;
16045 }
16046 return resultobj;
16047 fail:
16048 {
16049 if (temp3)
16050 delete arg3;
16051 }
16052 return NULL;
16053 }
16054
16055
16056 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
16065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 (arg1)->Resume();
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 Py_INCREF(Py_None); resultobj = Py_None;
16075 return resultobj;
16076 fail:
16077 return NULL;
16078 }
16079
16080
16081 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
16082 PyObject *obj;
16083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16084 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16085 Py_INCREF(obj);
16086 return Py_BuildValue((char *)"");
16087 }
16088 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16091 int arg2 = (int) 0 ;
16092 wxFindDialogEvent *result;
16093 PyObject * obj0 = 0 ;
16094 PyObject * obj1 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "commandType",(char *) "id", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16100 if (obj0) {
16101 {
16102 arg1 = (wxEventType)(SWIG_As_int(obj0));
16103 if (SWIG_arg_fail(1)) SWIG_fail;
16104 }
16105 }
16106 if (obj1) {
16107 {
16108 arg2 = (int)(SWIG_As_int(obj1));
16109 if (SWIG_arg_fail(2)) SWIG_fail;
16110 }
16111 }
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16120 return resultobj;
16121 fail:
16122 return NULL;
16123 }
16124
16125
16126 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16129 int result;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16137 if (SWIG_arg_fail(1)) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 result = (int)(arg1)->GetFlags();
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 {
16146 resultobj = SWIG_From_int((int)(result));
16147 }
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16157 wxString *result;
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16165 if (SWIG_arg_fail(1)) SWIG_fail;
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 {
16169 wxString const &_result_ref = (arg1)->GetFindString();
16170 result = (wxString *) &_result_ref;
16171 }
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 {
16177 #if wxUSE_UNICODE
16178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16179 #else
16180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16181 #endif
16182 }
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16192 wxString *result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16200 if (SWIG_arg_fail(1)) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 {
16204 wxString const &_result_ref = (arg1)->GetReplaceString();
16205 result = (wxString *) &_result_ref;
16206 }
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 {
16212 #if wxUSE_UNICODE
16213 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16214 #else
16215 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16216 #endif
16217 }
16218 return resultobj;
16219 fail:
16220 return NULL;
16221 }
16222
16223
16224 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16225 PyObject *resultobj;
16226 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16227 wxFindReplaceDialog *result;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16235 if (SWIG_arg_fail(1)) SWIG_fail;
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16244 return resultobj;
16245 fail:
16246 return NULL;
16247 }
16248
16249
16250 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16251 PyObject *resultobj;
16252 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16253 int arg2 ;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self",(char *) "flags", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
16265 if (SWIG_arg_fail(2)) SWIG_fail;
16266 }
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 (arg1)->SetFlags(arg2);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 Py_INCREF(Py_None); resultobj = Py_None;
16275 return resultobj;
16276 fail:
16277 return NULL;
16278 }
16279
16280
16281 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16282 PyObject *resultobj;
16283 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16284 wxString *arg2 = 0 ;
16285 bool temp2 = false ;
16286 PyObject * obj0 = 0 ;
16287 PyObject * obj1 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self",(char *) "str", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail;
16295 {
16296 arg2 = wxString_in_helper(obj1);
16297 if (arg2 == NULL) SWIG_fail;
16298 temp2 = true;
16299 }
16300 {
16301 PyThreadState* __tstate = wxPyBeginAllowThreads();
16302 (arg1)->SetFindString((wxString const &)*arg2);
16303
16304 wxPyEndAllowThreads(__tstate);
16305 if (PyErr_Occurred()) SWIG_fail;
16306 }
16307 Py_INCREF(Py_None); resultobj = Py_None;
16308 {
16309 if (temp2)
16310 delete arg2;
16311 }
16312 return resultobj;
16313 fail:
16314 {
16315 if (temp2)
16316 delete arg2;
16317 }
16318 return NULL;
16319 }
16320
16321
16322 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj;
16324 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16325 wxString *arg2 = 0 ;
16326 bool temp2 = false ;
16327 PyObject * obj0 = 0 ;
16328 PyObject * obj1 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self",(char *) "str", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16335 if (SWIG_arg_fail(1)) SWIG_fail;
16336 {
16337 arg2 = wxString_in_helper(obj1);
16338 if (arg2 == NULL) SWIG_fail;
16339 temp2 = true;
16340 }
16341 {
16342 PyThreadState* __tstate = wxPyBeginAllowThreads();
16343 (arg1)->SetReplaceString((wxString const &)*arg2);
16344
16345 wxPyEndAllowThreads(__tstate);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 Py_INCREF(Py_None); resultobj = Py_None;
16349 {
16350 if (temp2)
16351 delete arg2;
16352 }
16353 return resultobj;
16354 fail:
16355 {
16356 if (temp2)
16357 delete arg2;
16358 }
16359 return NULL;
16360 }
16361
16362
16363 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16364 PyObject *obj;
16365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16366 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16367 Py_INCREF(obj);
16368 return Py_BuildValue((char *)"");
16369 }
16370 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 int arg1 = (int) 0 ;
16373 wxFindReplaceData *result;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "flags", NULL
16377 };
16378
16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16380 if (obj0) {
16381 {
16382 arg1 = (int)(SWIG_As_int(obj0));
16383 if (SWIG_arg_fail(1)) SWIG_fail;
16384 }
16385 }
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16410 if (SWIG_arg_fail(1)) SWIG_fail;
16411 {
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 delete arg1;
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 Py_INCREF(Py_None); resultobj = Py_None;
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16428 wxString *result;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16436 if (SWIG_arg_fail(1)) SWIG_fail;
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 {
16440 wxString const &_result_ref = (arg1)->GetFindString();
16441 result = (wxString *) &_result_ref;
16442 }
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 #if wxUSE_UNICODE
16449 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16450 #else
16451 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16452 #endif
16453 }
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16463 wxString *result;
16464 PyObject * obj0 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16471 if (SWIG_arg_fail(1)) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 {
16475 wxString const &_result_ref = (arg1)->GetReplaceString();
16476 result = (wxString *) &_result_ref;
16477 }
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 {
16483 #if wxUSE_UNICODE
16484 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16485 #else
16486 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16487 #endif
16488 }
16489 return resultobj;
16490 fail:
16491 return NULL;
16492 }
16493
16494
16495 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj;
16497 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16498 int result;
16499 PyObject * obj0 = 0 ;
16500 char *kwnames[] = {
16501 (char *) "self", NULL
16502 };
16503
16504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = (int)(arg1)->GetFlags();
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 {
16515 resultobj = SWIG_From_int((int)(result));
16516 }
16517 return resultobj;
16518 fail:
16519 return NULL;
16520 }
16521
16522
16523 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16526 int arg2 ;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "flags", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail;
16536 {
16537 arg2 = (int)(SWIG_As_int(obj1));
16538 if (SWIG_arg_fail(2)) SWIG_fail;
16539 }
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 (arg1)->SetFlags(arg2);
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 Py_INCREF(Py_None); resultobj = Py_None;
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16557 wxString *arg2 = 0 ;
16558 bool temp2 = false ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 char *kwnames[] = {
16562 (char *) "self",(char *) "str", NULL
16563 };
16564
16565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16567 if (SWIG_arg_fail(1)) SWIG_fail;
16568 {
16569 arg2 = wxString_in_helper(obj1);
16570 if (arg2 == NULL) SWIG_fail;
16571 temp2 = true;
16572 }
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 (arg1)->SetFindString((wxString const &)*arg2);
16576
16577 wxPyEndAllowThreads(__tstate);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 }
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 {
16582 if (temp2)
16583 delete arg2;
16584 }
16585 return resultobj;
16586 fail:
16587 {
16588 if (temp2)
16589 delete arg2;
16590 }
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16598 wxString *arg2 = 0 ;
16599 bool temp2 = false ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self",(char *) "str", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16608 if (SWIG_arg_fail(1)) SWIG_fail;
16609 {
16610 arg2 = wxString_in_helper(obj1);
16611 if (arg2 == NULL) SWIG_fail;
16612 temp2 = true;
16613 }
16614 {
16615 PyThreadState* __tstate = wxPyBeginAllowThreads();
16616 (arg1)->SetReplaceString((wxString const &)*arg2);
16617
16618 wxPyEndAllowThreads(__tstate);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 Py_INCREF(Py_None); resultobj = Py_None;
16622 {
16623 if (temp2)
16624 delete arg2;
16625 }
16626 return resultobj;
16627 fail:
16628 {
16629 if (temp2)
16630 delete arg2;
16631 }
16632 return NULL;
16633 }
16634
16635
16636 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16637 PyObject *obj;
16638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16639 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16640 Py_INCREF(obj);
16641 return Py_BuildValue((char *)"");
16642 }
16643 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16644 PyObject *resultobj;
16645 wxWindow *arg1 = (wxWindow *) 0 ;
16646 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16647 wxString *arg3 = 0 ;
16648 int arg4 = (int) 0 ;
16649 wxFindReplaceDialog *result;
16650 bool temp3 = false ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
16654 PyObject * obj3 = 0 ;
16655 char *kwnames[] = {
16656 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16657 };
16658
16659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16661 if (SWIG_arg_fail(1)) SWIG_fail;
16662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16663 if (SWIG_arg_fail(2)) SWIG_fail;
16664 {
16665 arg3 = wxString_in_helper(obj2);
16666 if (arg3 == NULL) SWIG_fail;
16667 temp3 = true;
16668 }
16669 if (obj3) {
16670 {
16671 arg4 = (int)(SWIG_As_int(obj3));
16672 if (SWIG_arg_fail(4)) SWIG_fail;
16673 }
16674 }
16675 {
16676 if (!wxPyCheckForApp()) SWIG_fail;
16677 PyThreadState* __tstate = wxPyBeginAllowThreads();
16678 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16679
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16684 {
16685 if (temp3)
16686 delete arg3;
16687 }
16688 return resultobj;
16689 fail:
16690 {
16691 if (temp3)
16692 delete arg3;
16693 }
16694 return NULL;
16695 }
16696
16697
16698 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxFindReplaceDialog *result;
16701 char *kwnames[] = {
16702 NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16706 {
16707 if (!wxPyCheckForApp()) SWIG_fail;
16708 PyThreadState* __tstate = wxPyBeginAllowThreads();
16709 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16710
16711 wxPyEndAllowThreads(__tstate);
16712 if (PyErr_Occurred()) SWIG_fail;
16713 }
16714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16715 return resultobj;
16716 fail:
16717 return NULL;
16718 }
16719
16720
16721 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16722 PyObject *resultobj;
16723 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16724 wxWindow *arg2 = (wxWindow *) 0 ;
16725 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16726 wxString *arg4 = 0 ;
16727 int arg5 = (int) 0 ;
16728 bool result;
16729 bool temp4 = false ;
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 PyObject * obj2 = 0 ;
16733 PyObject * obj3 = 0 ;
16734 PyObject * obj4 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16741 if (SWIG_arg_fail(1)) SWIG_fail;
16742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16743 if (SWIG_arg_fail(2)) SWIG_fail;
16744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16745 if (SWIG_arg_fail(3)) SWIG_fail;
16746 {
16747 arg4 = wxString_in_helper(obj3);
16748 if (arg4 == NULL) SWIG_fail;
16749 temp4 = true;
16750 }
16751 if (obj4) {
16752 {
16753 arg5 = (int)(SWIG_As_int(obj4));
16754 if (SWIG_arg_fail(5)) SWIG_fail;
16755 }
16756 }
16757 {
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16760
16761 wxPyEndAllowThreads(__tstate);
16762 if (PyErr_Occurred()) SWIG_fail;
16763 }
16764 {
16765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16766 }
16767 {
16768 if (temp4)
16769 delete arg4;
16770 }
16771 return resultobj;
16772 fail:
16773 {
16774 if (temp4)
16775 delete arg4;
16776 }
16777 return NULL;
16778 }
16779
16780
16781 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16784 wxFindReplaceData *result;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail;
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (wxFindReplaceData *)(arg1)->GetData();
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16810 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self",(char *) "data", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail;
16820 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16821 if (SWIG_arg_fail(2)) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 (arg1)->SetData(arg2);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 Py_INCREF(Py_None); resultobj = Py_None;
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16837 PyObject *obj;
16838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16839 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16840 Py_INCREF(obj);
16841 return Py_BuildValue((char *)"");
16842 }
16843 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16844 PyObject *resultobj;
16845 wxWindow *arg1 = (wxWindow *) 0 ;
16846 int arg2 = (int) (int)-1 ;
16847 wxString const &arg3_defvalue = wxPyEmptyString ;
16848 wxString *arg3 = (wxString *) &arg3_defvalue ;
16849 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16850 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16851 wxSize const &arg5_defvalue = wxDefaultSize ;
16852 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16853 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16854 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16855 wxString *arg7 = (wxString *) &arg7_defvalue ;
16856 wxMDIParentFrame *result;
16857 bool temp3 = false ;
16858 wxPoint temp4 ;
16859 wxSize temp5 ;
16860 bool temp7 = false ;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 PyObject * obj2 = 0 ;
16864 PyObject * obj3 = 0 ;
16865 PyObject * obj4 = 0 ;
16866 PyObject * obj5 = 0 ;
16867 PyObject * obj6 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16874 if (SWIG_arg_fail(1)) SWIG_fail;
16875 if (obj1) {
16876 {
16877 arg2 = (int const)(SWIG_As_int(obj1));
16878 if (SWIG_arg_fail(2)) SWIG_fail;
16879 }
16880 }
16881 if (obj2) {
16882 {
16883 arg3 = wxString_in_helper(obj2);
16884 if (arg3 == NULL) SWIG_fail;
16885 temp3 = true;
16886 }
16887 }
16888 if (obj3) {
16889 {
16890 arg4 = &temp4;
16891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16892 }
16893 }
16894 if (obj4) {
16895 {
16896 arg5 = &temp5;
16897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16898 }
16899 }
16900 if (obj5) {
16901 {
16902 arg6 = (long)(SWIG_As_long(obj5));
16903 if (SWIG_arg_fail(6)) SWIG_fail;
16904 }
16905 }
16906 if (obj6) {
16907 {
16908 arg7 = wxString_in_helper(obj6);
16909 if (arg7 == NULL) SWIG_fail;
16910 temp7 = true;
16911 }
16912 }
16913 {
16914 if (!wxPyCheckForApp()) SWIG_fail;
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16922 {
16923 if (temp3)
16924 delete arg3;
16925 }
16926 {
16927 if (temp7)
16928 delete arg7;
16929 }
16930 return resultobj;
16931 fail:
16932 {
16933 if (temp3)
16934 delete arg3;
16935 }
16936 {
16937 if (temp7)
16938 delete arg7;
16939 }
16940 return NULL;
16941 }
16942
16943
16944 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj;
16946 wxMDIParentFrame *result;
16947 char *kwnames[] = {
16948 NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16952 {
16953 if (!wxPyCheckForApp()) SWIG_fail;
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16970 wxWindow *arg2 = (wxWindow *) 0 ;
16971 int arg3 = (int) (int)-1 ;
16972 wxString const &arg4_defvalue = wxPyEmptyString ;
16973 wxString *arg4 = (wxString *) &arg4_defvalue ;
16974 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16975 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16976 wxSize const &arg6_defvalue = wxDefaultSize ;
16977 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16978 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16979 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16980 wxString *arg8 = (wxString *) &arg8_defvalue ;
16981 bool result;
16982 bool temp4 = false ;
16983 wxPoint temp5 ;
16984 wxSize temp6 ;
16985 bool temp8 = false ;
16986 PyObject * obj0 = 0 ;
16987 PyObject * obj1 = 0 ;
16988 PyObject * obj2 = 0 ;
16989 PyObject * obj3 = 0 ;
16990 PyObject * obj4 = 0 ;
16991 PyObject * obj5 = 0 ;
16992 PyObject * obj6 = 0 ;
16993 PyObject * obj7 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17000 if (SWIG_arg_fail(1)) SWIG_fail;
17001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17002 if (SWIG_arg_fail(2)) SWIG_fail;
17003 if (obj2) {
17004 {
17005 arg3 = (int const)(SWIG_As_int(obj2));
17006 if (SWIG_arg_fail(3)) SWIG_fail;
17007 }
17008 }
17009 if (obj3) {
17010 {
17011 arg4 = wxString_in_helper(obj3);
17012 if (arg4 == NULL) SWIG_fail;
17013 temp4 = true;
17014 }
17015 }
17016 if (obj4) {
17017 {
17018 arg5 = &temp5;
17019 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17020 }
17021 }
17022 if (obj5) {
17023 {
17024 arg6 = &temp6;
17025 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17026 }
17027 }
17028 if (obj6) {
17029 {
17030 arg7 = (long)(SWIG_As_long(obj6));
17031 if (SWIG_arg_fail(7)) SWIG_fail;
17032 }
17033 }
17034 if (obj7) {
17035 {
17036 arg8 = wxString_in_helper(obj7);
17037 if (arg8 == NULL) SWIG_fail;
17038 temp8 = true;
17039 }
17040 }
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17044
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 {
17049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17050 }
17051 {
17052 if (temp4)
17053 delete arg4;
17054 }
17055 {
17056 if (temp8)
17057 delete arg8;
17058 }
17059 return resultobj;
17060 fail:
17061 {
17062 if (temp4)
17063 delete arg4;
17064 }
17065 {
17066 if (temp8)
17067 delete arg8;
17068 }
17069 return NULL;
17070 }
17071
17072
17073 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
17075 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
17082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->ActivateNext();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 Py_INCREF(Py_None); resultobj = Py_None;
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17101 PyObject * obj0 = 0 ;
17102 char *kwnames[] = {
17103 (char *) "self", NULL
17104 };
17105
17106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
17107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17108 if (SWIG_arg_fail(1)) SWIG_fail;
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 (arg1)->ActivatePrevious();
17112
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 Py_INCREF(Py_None); resultobj = Py_None;
17117 return resultobj;
17118 fail:
17119 return NULL;
17120 }
17121
17122
17123 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj;
17125 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17133 if (SWIG_arg_fail(1)) SWIG_fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 (arg1)->ArrangeIcons();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 Py_INCREF(Py_None); resultobj = Py_None;
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail;
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->Cascade();
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170 }
17171
17172
17173 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17174 PyObject *resultobj;
17175 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17176 wxMDIChildFrame *result;
17177 PyObject * obj0 = 0 ;
17178 char *kwnames[] = {
17179 (char *) "self", NULL
17180 };
17181
17182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17184 if (SWIG_arg_fail(1)) SWIG_fail;
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17188
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 {
17193 resultobj = wxPyMake_wxObject(result, 0);
17194 }
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17204 wxMDIClientWindow *result;
17205 PyObject * obj0 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail;
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
17220 {
17221 resultobj = wxPyMake_wxObject(result, 0);
17222 }
17223 return resultobj;
17224 fail:
17225 return NULL;
17226 }
17227
17228
17229 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17230 PyObject *resultobj;
17231 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17232 wxWindow *result;
17233 PyObject * obj0 = 0 ;
17234 char *kwnames[] = {
17235 (char *) "self", NULL
17236 };
17237
17238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17240 if (SWIG_arg_fail(1)) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (wxWindow *)(arg1)->GetToolBar();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 {
17249 resultobj = wxPyMake_wxObject(result, 0);
17250 }
17251 return resultobj;
17252 fail:
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17260 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "orient", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17269 if (SWIG_arg_fail(1)) SWIG_fail;
17270 if (obj1) {
17271 {
17272 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17273 if (SWIG_arg_fail(2)) SWIG_fail;
17274 }
17275 }
17276 {
17277 PyThreadState* __tstate = wxPyBeginAllowThreads();
17278 (arg1)->Tile((wxOrientation )arg2);
17279
17280 wxPyEndAllowThreads(__tstate);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 }
17283 Py_INCREF(Py_None); resultobj = Py_None;
17284 return resultobj;
17285 fail:
17286 return NULL;
17287 }
17288
17289
17290 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17291 PyObject *obj;
17292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17293 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17294 Py_INCREF(obj);
17295 return Py_BuildValue((char *)"");
17296 }
17297 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17300 int arg2 = (int) (int)-1 ;
17301 wxString const &arg3_defvalue = wxPyEmptyString ;
17302 wxString *arg3 = (wxString *) &arg3_defvalue ;
17303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17305 wxSize const &arg5_defvalue = wxDefaultSize ;
17306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17307 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17308 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17309 wxString *arg7 = (wxString *) &arg7_defvalue ;
17310 wxMDIChildFrame *result;
17311 bool temp3 = false ;
17312 wxPoint temp4 ;
17313 wxSize temp5 ;
17314 bool temp7 = false ;
17315 PyObject * obj0 = 0 ;
17316 PyObject * obj1 = 0 ;
17317 PyObject * obj2 = 0 ;
17318 PyObject * obj3 = 0 ;
17319 PyObject * obj4 = 0 ;
17320 PyObject * obj5 = 0 ;
17321 PyObject * obj6 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail;
17329 if (obj1) {
17330 {
17331 arg2 = (int const)(SWIG_As_int(obj1));
17332 if (SWIG_arg_fail(2)) SWIG_fail;
17333 }
17334 }
17335 if (obj2) {
17336 {
17337 arg3 = wxString_in_helper(obj2);
17338 if (arg3 == NULL) SWIG_fail;
17339 temp3 = true;
17340 }
17341 }
17342 if (obj3) {
17343 {
17344 arg4 = &temp4;
17345 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17346 }
17347 }
17348 if (obj4) {
17349 {
17350 arg5 = &temp5;
17351 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17352 }
17353 }
17354 if (obj5) {
17355 {
17356 arg6 = (long)(SWIG_As_long(obj5));
17357 if (SWIG_arg_fail(6)) SWIG_fail;
17358 }
17359 }
17360 if (obj6) {
17361 {
17362 arg7 = wxString_in_helper(obj6);
17363 if (arg7 == NULL) SWIG_fail;
17364 temp7 = true;
17365 }
17366 }
17367 {
17368 if (!wxPyCheckForApp()) SWIG_fail;
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17376 {
17377 if (temp3)
17378 delete arg3;
17379 }
17380 {
17381 if (temp7)
17382 delete arg7;
17383 }
17384 return resultobj;
17385 fail:
17386 {
17387 if (temp3)
17388 delete arg3;
17389 }
17390 {
17391 if (temp7)
17392 delete arg7;
17393 }
17394 return NULL;
17395 }
17396
17397
17398 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 wxMDIChildFrame *result;
17401 char *kwnames[] = {
17402 NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17406 {
17407 if (!wxPyCheckForApp()) SWIG_fail;
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17424 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17425 int arg3 = (int) (int)-1 ;
17426 wxString const &arg4_defvalue = wxPyEmptyString ;
17427 wxString *arg4 = (wxString *) &arg4_defvalue ;
17428 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17429 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17430 wxSize const &arg6_defvalue = wxDefaultSize ;
17431 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17432 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17433 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17434 wxString *arg8 = (wxString *) &arg8_defvalue ;
17435 bool result;
17436 bool temp4 = false ;
17437 wxPoint temp5 ;
17438 wxSize temp6 ;
17439 bool temp8 = false ;
17440 PyObject * obj0 = 0 ;
17441 PyObject * obj1 = 0 ;
17442 PyObject * obj2 = 0 ;
17443 PyObject * obj3 = 0 ;
17444 PyObject * obj4 = 0 ;
17445 PyObject * obj5 = 0 ;
17446 PyObject * obj6 = 0 ;
17447 PyObject * obj7 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17454 if (SWIG_arg_fail(1)) SWIG_fail;
17455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17456 if (SWIG_arg_fail(2)) SWIG_fail;
17457 if (obj2) {
17458 {
17459 arg3 = (int const)(SWIG_As_int(obj2));
17460 if (SWIG_arg_fail(3)) SWIG_fail;
17461 }
17462 }
17463 if (obj3) {
17464 {
17465 arg4 = wxString_in_helper(obj3);
17466 if (arg4 == NULL) SWIG_fail;
17467 temp4 = true;
17468 }
17469 }
17470 if (obj4) {
17471 {
17472 arg5 = &temp5;
17473 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17474 }
17475 }
17476 if (obj5) {
17477 {
17478 arg6 = &temp6;
17479 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17480 }
17481 }
17482 if (obj6) {
17483 {
17484 arg7 = (long)(SWIG_As_long(obj6));
17485 if (SWIG_arg_fail(7)) SWIG_fail;
17486 }
17487 }
17488 if (obj7) {
17489 {
17490 arg8 = wxString_in_helper(obj7);
17491 if (arg8 == NULL) SWIG_fail;
17492 temp8 = true;
17493 }
17494 }
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 {
17503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17504 }
17505 {
17506 if (temp4)
17507 delete arg4;
17508 }
17509 {
17510 if (temp8)
17511 delete arg8;
17512 }
17513 return resultobj;
17514 fail:
17515 {
17516 if (temp4)
17517 delete arg4;
17518 }
17519 {
17520 if (temp8)
17521 delete arg8;
17522 }
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17530 PyObject * obj0 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17537 if (SWIG_arg_fail(1)) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 (arg1)->Activate();
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 Py_INCREF(Py_None); resultobj = Py_None;
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17555 bool arg2 = (bool) true ;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 char *kwnames[] = {
17559 (char *) "self",(char *) "maximize", NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17564 if (SWIG_arg_fail(1)) SWIG_fail;
17565 if (obj1) {
17566 {
17567 arg2 = (bool)(SWIG_As_bool(obj1));
17568 if (SWIG_arg_fail(2)) SWIG_fail;
17569 }
17570 }
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 (arg1)->Maximize(arg2);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 Py_INCREF(Py_None); resultobj = Py_None;
17579 return resultobj;
17580 fail:
17581 return NULL;
17582 }
17583
17584
17585 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17586 PyObject *resultobj;
17587 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17588 PyObject * obj0 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17595 if (SWIG_arg_fail(1)) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 (arg1)->Restore();
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 Py_INCREF(Py_None); resultobj = Py_None;
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17611 PyObject *obj;
17612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17614 Py_INCREF(obj);
17615 return Py_BuildValue((char *)"");
17616 }
17617 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17620 long arg2 = (long) 0 ;
17621 wxMDIClientWindow *result;
17622 PyObject * obj0 = 0 ;
17623 PyObject * obj1 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "parent",(char *) "style", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
17631 if (obj1) {
17632 {
17633 arg2 = (long)(SWIG_As_long(obj1));
17634 if (SWIG_arg_fail(2)) SWIG_fail;
17635 }
17636 }
17637 {
17638 if (!wxPyCheckForApp()) SWIG_fail;
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17653 PyObject *resultobj;
17654 wxMDIClientWindow *result;
17655 char *kwnames[] = {
17656 NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17660 {
17661 if (!wxPyCheckForApp()) SWIG_fail;
17662 PyThreadState* __tstate = wxPyBeginAllowThreads();
17663 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17664
17665 wxPyEndAllowThreads(__tstate);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 }
17668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17669 return resultobj;
17670 fail:
17671 return NULL;
17672 }
17673
17674
17675 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17676 PyObject *resultobj;
17677 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17678 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17679 long arg3 = (long) 0 ;
17680 bool result;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 PyObject * obj2 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "parent",(char *) "style", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
17691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail;
17693 if (obj2) {
17694 {
17695 arg3 = (long)(SWIG_As_long(obj2));
17696 if (SWIG_arg_fail(3)) SWIG_fail;
17697 }
17698 }
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (bool)(arg1)->Create(arg2,arg3);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 {
17707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17708 }
17709 return resultobj;
17710 fail:
17711 return NULL;
17712 }
17713
17714
17715 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17716 PyObject *obj;
17717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17718 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17719 Py_INCREF(obj);
17720 return Py_BuildValue((char *)"");
17721 }
17722 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxWindow *arg1 = (wxWindow *) 0 ;
17725 int arg2 = (int) (int)-1 ;
17726 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17727 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17728 wxSize const &arg4_defvalue = wxDefaultSize ;
17729 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17730 long arg5 = (long) 0 ;
17731 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17732 wxString *arg6 = (wxString *) &arg6_defvalue ;
17733 wxPyWindow *result;
17734 wxPoint temp3 ;
17735 wxSize temp4 ;
17736 bool temp6 = false ;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 PyObject * obj2 = 0 ;
17740 PyObject * obj3 = 0 ;
17741 PyObject * obj4 = 0 ;
17742 PyObject * obj5 = 0 ;
17743 char *kwnames[] = {
17744 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17745 };
17746
17747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail;
17750 if (obj1) {
17751 {
17752 arg2 = (int const)(SWIG_As_int(obj1));
17753 if (SWIG_arg_fail(2)) SWIG_fail;
17754 }
17755 }
17756 if (obj2) {
17757 {
17758 arg3 = &temp3;
17759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17760 }
17761 }
17762 if (obj3) {
17763 {
17764 arg4 = &temp4;
17765 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17766 }
17767 }
17768 if (obj4) {
17769 {
17770 arg5 = (long)(SWIG_As_long(obj4));
17771 if (SWIG_arg_fail(5)) SWIG_fail;
17772 }
17773 }
17774 if (obj5) {
17775 {
17776 arg6 = wxString_in_helper(obj5);
17777 if (arg6 == NULL) SWIG_fail;
17778 temp6 = true;
17779 }
17780 }
17781 {
17782 if (!wxPyCheckForApp()) SWIG_fail;
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17790 {
17791 if (temp6)
17792 delete arg6;
17793 }
17794 return resultobj;
17795 fail:
17796 {
17797 if (temp6)
17798 delete arg6;
17799 }
17800 return NULL;
17801 }
17802
17803
17804 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxPyWindow *result;
17807 char *kwnames[] = {
17808 NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17812 {
17813 if (!wxPyCheckForApp()) SWIG_fail;
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = (wxPyWindow *)new wxPyWindow();
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17821 return resultobj;
17822 fail:
17823 return NULL;
17824 }
17825
17826
17827 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17828 PyObject *resultobj;
17829 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17830 PyObject *arg2 = (PyObject *) 0 ;
17831 PyObject *arg3 = (PyObject *) 0 ;
17832 PyObject * obj0 = 0 ;
17833 PyObject * obj1 = 0 ;
17834 PyObject * obj2 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "self",(char *) "_class", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail;
17842 arg2 = obj1;
17843 arg3 = obj2;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 (arg1)->_setCallbackInfo(arg2,arg3);
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 Py_INCREF(Py_None); resultobj = Py_None;
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17861 wxSize *arg2 = 0 ;
17862 wxSize temp2 ;
17863 PyObject * obj0 = 0 ;
17864 PyObject * obj1 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self",(char *) "size", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17871 if (SWIG_arg_fail(1)) SWIG_fail;
17872 {
17873 arg2 = &temp2;
17874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17875 }
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->SetBestSize((wxSize const &)*arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17893 wxDC *arg2 = (wxDC *) 0 ;
17894 bool result;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self",(char *) "dc", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
17902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17903 if (SWIG_arg_fail(1)) SWIG_fail;
17904 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17905 if (SWIG_arg_fail(2)) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = (bool)(arg1)->DoEraseBackground(arg2);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17915 }
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17925 int arg2 ;
17926 int arg3 ;
17927 int arg4 ;
17928 int arg5 ;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 PyObject * obj2 = 0 ;
17932 PyObject * obj3 = 0 ;
17933 PyObject * obj4 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17940 if (SWIG_arg_fail(1)) SWIG_fail;
17941 {
17942 arg2 = (int)(SWIG_As_int(obj1));
17943 if (SWIG_arg_fail(2)) SWIG_fail;
17944 }
17945 {
17946 arg3 = (int)(SWIG_As_int(obj2));
17947 if (SWIG_arg_fail(3)) SWIG_fail;
17948 }
17949 {
17950 arg4 = (int)(SWIG_As_int(obj3));
17951 if (SWIG_arg_fail(4)) SWIG_fail;
17952 }
17953 {
17954 arg5 = (int)(SWIG_As_int(obj4));
17955 if (SWIG_arg_fail(5)) SWIG_fail;
17956 }
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 Py_INCREF(Py_None); resultobj = Py_None;
17965 return resultobj;
17966 fail:
17967 return NULL;
17968 }
17969
17970
17971 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17972 PyObject *resultobj;
17973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17974 int arg2 ;
17975 int arg3 ;
17976 int arg4 ;
17977 int arg5 ;
17978 int arg6 = (int) wxSIZE_AUTO ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 PyObject * obj2 = 0 ;
17982 PyObject * obj3 = 0 ;
17983 PyObject * obj4 = 0 ;
17984 PyObject * obj5 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17991 if (SWIG_arg_fail(1)) SWIG_fail;
17992 {
17993 arg2 = (int)(SWIG_As_int(obj1));
17994 if (SWIG_arg_fail(2)) SWIG_fail;
17995 }
17996 {
17997 arg3 = (int)(SWIG_As_int(obj2));
17998 if (SWIG_arg_fail(3)) SWIG_fail;
17999 }
18000 {
18001 arg4 = (int)(SWIG_As_int(obj3));
18002 if (SWIG_arg_fail(4)) SWIG_fail;
18003 }
18004 {
18005 arg5 = (int)(SWIG_As_int(obj4));
18006 if (SWIG_arg_fail(5)) SWIG_fail;
18007 }
18008 if (obj5) {
18009 {
18010 arg6 = (int)(SWIG_As_int(obj5));
18011 if (SWIG_arg_fail(6)) SWIG_fail;
18012 }
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 Py_INCREF(Py_None); resultobj = Py_None;
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18031 int arg2 ;
18032 int arg3 ;
18033 PyObject * obj0 = 0 ;
18034 PyObject * obj1 = 0 ;
18035 PyObject * obj2 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self",(char *) "width",(char *) "height", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18042 if (SWIG_arg_fail(1)) SWIG_fail;
18043 {
18044 arg2 = (int)(SWIG_As_int(obj1));
18045 if (SWIG_arg_fail(2)) SWIG_fail;
18046 }
18047 {
18048 arg3 = (int)(SWIG_As_int(obj2));
18049 if (SWIG_arg_fail(3)) SWIG_fail;
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->base_DoSetClientSize(arg2,arg3);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18068 int arg2 ;
18069 int arg3 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 PyObject * obj2 = 0 ;
18073 char *kwnames[] = {
18074 (char *) "self",(char *) "x",(char *) "y", NULL
18075 };
18076
18077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18079 if (SWIG_arg_fail(1)) SWIG_fail;
18080 {
18081 arg2 = (int)(SWIG_As_int(obj1));
18082 if (SWIG_arg_fail(2)) SWIG_fail;
18083 }
18084 {
18085 arg3 = (int)(SWIG_As_int(obj2));
18086 if (SWIG_arg_fail(3)) SWIG_fail;
18087 }
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 Py_INCREF(Py_None); resultobj = Py_None;
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18103 PyObject *resultobj;
18104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18105 int *arg2 = (int *) 0 ;
18106 int *arg3 = (int *) 0 ;
18107 int temp2 ;
18108 int res2 = 0 ;
18109 int temp3 ;
18110 int res3 = 0 ;
18111 PyObject * obj0 = 0 ;
18112 char *kwnames[] = {
18113 (char *) "self", NULL
18114 };
18115
18116 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18117 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
18119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18120 if (SWIG_arg_fail(1)) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 Py_INCREF(Py_None); resultobj = Py_None;
18129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18131 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18132 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18133 return resultobj;
18134 fail:
18135 return NULL;
18136 }
18137
18138
18139 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18142 int *arg2 = (int *) 0 ;
18143 int *arg3 = (int *) 0 ;
18144 int temp2 ;
18145 int res2 = 0 ;
18146 int temp3 ;
18147 int res3 = 0 ;
18148 PyObject * obj0 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self", NULL
18151 };
18152
18153 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18154 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18157 if (SWIG_arg_fail(1)) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 Py_INCREF(Py_None); resultobj = Py_None;
18166 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18167 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18168 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18169 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 int *arg2 = (int *) 0 ;
18180 int *arg3 = (int *) 0 ;
18181 int temp2 ;
18182 int res2 = 0 ;
18183 int temp3 ;
18184 int res3 = 0 ;
18185 PyObject * obj0 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self", NULL
18188 };
18189
18190 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18194 if (SWIG_arg_fail(1)) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 Py_INCREF(Py_None); resultobj = Py_None;
18203 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18204 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18206 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18207 return resultobj;
18208 fail:
18209 return NULL;
18210 }
18211
18212
18213 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18214 PyObject *resultobj;
18215 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18216 wxSize result;
18217 PyObject * obj0 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18224 if (SWIG_arg_fail(1)) SWIG_fail;
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 {
18233 wxSize * resultptr;
18234 resultptr = new wxSize((wxSize &)(result));
18235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18236 }
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18246 wxSize result;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail;
18255 {
18256 PyThreadState* __tstate = wxPyBeginAllowThreads();
18257 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18258
18259 wxPyEndAllowThreads(__tstate);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 }
18262 {
18263 wxSize * resultptr;
18264 resultptr = new wxSize((wxSize &)(result));
18265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18266 }
18267 return resultobj;
18268 fail:
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18283 if (SWIG_arg_fail(1)) SWIG_fail;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 (arg1)->base_InitDialog();
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 Py_INCREF(Py_None); resultobj = Py_None;
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18301 bool result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18309 if (SWIG_arg_fail(1)) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (bool)(arg1)->base_TransferDataToWindow();
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 {
18318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18319 }
18320 return resultobj;
18321 fail:
18322 return NULL;
18323 }
18324
18325
18326 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18327 PyObject *resultobj;
18328 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18329 bool result;
18330 PyObject * obj0 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18337 if (SWIG_arg_fail(1)) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (bool)(arg1)->base_TransferDataFromWindow();
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 {
18346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18347 }
18348 return resultobj;
18349 fail:
18350 return NULL;
18351 }
18352
18353
18354 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18357 bool result;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail;
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 result = (bool)(arg1)->base_Validate();
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 {
18374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18375 }
18376 return resultobj;
18377 fail:
18378 return NULL;
18379 }
18380
18381
18382 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18383 PyObject *resultobj;
18384 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18385 bool result;
18386 PyObject * obj0 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 {
18402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18403 }
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18413 bool result;
18414 PyObject * obj0 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18421 if (SWIG_arg_fail(1)) SWIG_fail;
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 {
18430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18431 }
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18441 wxSize result;
18442 PyObject * obj0 = 0 ;
18443 char *kwnames[] = {
18444 (char *) "self", NULL
18445 };
18446
18447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail;
18450 {
18451 PyThreadState* __tstate = wxPyBeginAllowThreads();
18452 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18453
18454 wxPyEndAllowThreads(__tstate);
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
18457 {
18458 wxSize * resultptr;
18459 resultptr = new wxSize((wxSize &)(result));
18460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18461 }
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18471 wxWindow *arg2 = (wxWindow *) 0 ;
18472 PyObject * obj0 = 0 ;
18473 PyObject * obj1 = 0 ;
18474 char *kwnames[] = {
18475 (char *) "self",(char *) "child", NULL
18476 };
18477
18478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18480 if (SWIG_arg_fail(1)) SWIG_fail;
18481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18482 if (SWIG_arg_fail(2)) SWIG_fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 (arg1)->base_AddChild(arg2);
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 Py_INCREF(Py_None); resultobj = Py_None;
18491 return resultobj;
18492 fail:
18493 return NULL;
18494 }
18495
18496
18497 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18500 wxWindow *arg2 = (wxWindow *) 0 ;
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "child", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18509 if (SWIG_arg_fail(1)) SWIG_fail;
18510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18511 if (SWIG_arg_fail(2)) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 (arg1)->base_RemoveChild(arg2);
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 Py_INCREF(Py_None); resultobj = Py_None;
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18529 bool result;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18537 if (SWIG_arg_fail(1)) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18547 }
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18557 wxVisualAttributes result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (arg1)->base_GetDefaultAttributes();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 {
18574 wxVisualAttributes * resultptr;
18575 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18577 }
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 static PyObject *_wrap_PyWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj;
18586 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18587 PyObject * obj0 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
18593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18594 if (SWIG_arg_fail(1)) SWIG_fail;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->base_OnInternalIdle();
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18610 PyObject *obj;
18611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18612 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18613 Py_INCREF(obj);
18614 return Py_BuildValue((char *)"");
18615 }
18616 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxWindow *arg1 = (wxWindow *) 0 ;
18619 int arg2 = (int) (int)-1 ;
18620 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18621 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18622 wxSize const &arg4_defvalue = wxDefaultSize ;
18623 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18624 long arg5 = (long) 0 ;
18625 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18626 wxString *arg6 = (wxString *) &arg6_defvalue ;
18627 wxPyPanel *result;
18628 wxPoint temp3 ;
18629 wxSize temp4 ;
18630 bool temp6 = false ;
18631 PyObject * obj0 = 0 ;
18632 PyObject * obj1 = 0 ;
18633 PyObject * obj2 = 0 ;
18634 PyObject * obj3 = 0 ;
18635 PyObject * obj4 = 0 ;
18636 PyObject * obj5 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18643 if (SWIG_arg_fail(1)) SWIG_fail;
18644 if (obj1) {
18645 {
18646 arg2 = (int const)(SWIG_As_int(obj1));
18647 if (SWIG_arg_fail(2)) SWIG_fail;
18648 }
18649 }
18650 if (obj2) {
18651 {
18652 arg3 = &temp3;
18653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18654 }
18655 }
18656 if (obj3) {
18657 {
18658 arg4 = &temp4;
18659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18660 }
18661 }
18662 if (obj4) {
18663 {
18664 arg5 = (long)(SWIG_As_long(obj4));
18665 if (SWIG_arg_fail(5)) SWIG_fail;
18666 }
18667 }
18668 if (obj5) {
18669 {
18670 arg6 = wxString_in_helper(obj5);
18671 if (arg6 == NULL) SWIG_fail;
18672 temp6 = true;
18673 }
18674 }
18675 {
18676 if (!wxPyCheckForApp()) SWIG_fail;
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18684 {
18685 if (temp6)
18686 delete arg6;
18687 }
18688 return resultobj;
18689 fail:
18690 {
18691 if (temp6)
18692 delete arg6;
18693 }
18694 return NULL;
18695 }
18696
18697
18698 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxPyPanel *result;
18701 char *kwnames[] = {
18702 NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18706 {
18707 if (!wxPyCheckForApp()) SWIG_fail;
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (wxPyPanel *)new wxPyPanel();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18724 PyObject *arg2 = (PyObject *) 0 ;
18725 PyObject *arg3 = (PyObject *) 0 ;
18726 PyObject * obj0 = 0 ;
18727 PyObject * obj1 = 0 ;
18728 PyObject * obj2 = 0 ;
18729 char *kwnames[] = {
18730 (char *) "self",(char *) "self",(char *) "_class", NULL
18731 };
18732
18733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18735 if (SWIG_arg_fail(1)) SWIG_fail;
18736 arg2 = obj1;
18737 arg3 = obj2;
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 (arg1)->_setCallbackInfo(arg2,arg3);
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 Py_INCREF(Py_None); resultobj = Py_None;
18746 return resultobj;
18747 fail:
18748 return NULL;
18749 }
18750
18751
18752 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18755 wxSize *arg2 = 0 ;
18756 wxSize temp2 ;
18757 PyObject * obj0 = 0 ;
18758 PyObject * obj1 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self",(char *) "size", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18765 if (SWIG_arg_fail(1)) SWIG_fail;
18766 {
18767 arg2 = &temp2;
18768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18769 }
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->SetBestSize((wxSize const &)*arg2);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18787 wxDC *arg2 = (wxDC *) 0 ;
18788 bool result;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "dc", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail;
18798 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18799 if (SWIG_arg_fail(2)) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 result = (bool)(arg1)->DoEraseBackground(arg2);
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 {
18808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18809 }
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18819 int arg2 ;
18820 int arg3 ;
18821 int arg4 ;
18822 int arg5 ;
18823 PyObject * obj0 = 0 ;
18824 PyObject * obj1 = 0 ;
18825 PyObject * obj2 = 0 ;
18826 PyObject * obj3 = 0 ;
18827 PyObject * obj4 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18834 if (SWIG_arg_fail(1)) SWIG_fail;
18835 {
18836 arg2 = (int)(SWIG_As_int(obj1));
18837 if (SWIG_arg_fail(2)) SWIG_fail;
18838 }
18839 {
18840 arg3 = (int)(SWIG_As_int(obj2));
18841 if (SWIG_arg_fail(3)) SWIG_fail;
18842 }
18843 {
18844 arg4 = (int)(SWIG_As_int(obj3));
18845 if (SWIG_arg_fail(4)) SWIG_fail;
18846 }
18847 {
18848 arg5 = (int)(SWIG_As_int(obj4));
18849 if (SWIG_arg_fail(5)) SWIG_fail;
18850 }
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 Py_INCREF(Py_None); resultobj = Py_None;
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18868 int arg2 ;
18869 int arg3 ;
18870 int arg4 ;
18871 int arg5 ;
18872 int arg6 = (int) wxSIZE_AUTO ;
18873 PyObject * obj0 = 0 ;
18874 PyObject * obj1 = 0 ;
18875 PyObject * obj2 = 0 ;
18876 PyObject * obj3 = 0 ;
18877 PyObject * obj4 = 0 ;
18878 PyObject * obj5 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail;
18886 {
18887 arg2 = (int)(SWIG_As_int(obj1));
18888 if (SWIG_arg_fail(2)) SWIG_fail;
18889 }
18890 {
18891 arg3 = (int)(SWIG_As_int(obj2));
18892 if (SWIG_arg_fail(3)) SWIG_fail;
18893 }
18894 {
18895 arg4 = (int)(SWIG_As_int(obj3));
18896 if (SWIG_arg_fail(4)) SWIG_fail;
18897 }
18898 {
18899 arg5 = (int)(SWIG_As_int(obj4));
18900 if (SWIG_arg_fail(5)) SWIG_fail;
18901 }
18902 if (obj5) {
18903 {
18904 arg6 = (int)(SWIG_As_int(obj5));
18905 if (SWIG_arg_fail(6)) SWIG_fail;
18906 }
18907 }
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 Py_INCREF(Py_None); resultobj = Py_None;
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18925 int arg2 ;
18926 int arg3 ;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 PyObject * obj2 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self",(char *) "width",(char *) "height", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail;
18937 {
18938 arg2 = (int)(SWIG_As_int(obj1));
18939 if (SWIG_arg_fail(2)) SWIG_fail;
18940 }
18941 {
18942 arg3 = (int)(SWIG_As_int(obj2));
18943 if (SWIG_arg_fail(3)) SWIG_fail;
18944 }
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 (arg1)->base_DoSetClientSize(arg2,arg3);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 Py_INCREF(Py_None); resultobj = Py_None;
18953 return resultobj;
18954 fail:
18955 return NULL;
18956 }
18957
18958
18959 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18962 int arg2 ;
18963 int arg3 ;
18964 PyObject * obj0 = 0 ;
18965 PyObject * obj1 = 0 ;
18966 PyObject * obj2 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self",(char *) "x",(char *) "y", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail;
18974 {
18975 arg2 = (int)(SWIG_As_int(obj1));
18976 if (SWIG_arg_fail(2)) SWIG_fail;
18977 }
18978 {
18979 arg3 = (int)(SWIG_As_int(obj2));
18980 if (SWIG_arg_fail(3)) SWIG_fail;
18981 }
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 Py_INCREF(Py_None); resultobj = Py_None;
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18999 int *arg2 = (int *) 0 ;
19000 int *arg3 = (int *) 0 ;
19001 int temp2 ;
19002 int res2 = 0 ;
19003 int temp3 ;
19004 int res3 = 0 ;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19011 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
19013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail;
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 Py_INCREF(Py_None); resultobj = Py_None;
19023 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19024 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19025 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19026 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19027 return resultobj;
19028 fail:
19029 return NULL;
19030 }
19031
19032
19033 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19036 int *arg2 = (int *) 0 ;
19037 int *arg3 = (int *) 0 ;
19038 int temp2 ;
19039 int res2 = 0 ;
19040 int temp3 ;
19041 int res3 = 0 ;
19042 PyObject * obj0 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self", NULL
19045 };
19046
19047 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19048 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19051 if (SWIG_arg_fail(1)) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 Py_INCREF(Py_None); resultobj = Py_None;
19060 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19061 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19062 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19063 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19064 return resultobj;
19065 fail:
19066 return NULL;
19067 }
19068
19069
19070 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 int *arg2 = (int *) 0 ;
19074 int *arg3 = (int *) 0 ;
19075 int temp2 ;
19076 int res2 = 0 ;
19077 int temp3 ;
19078 int res3 = 0 ;
19079 PyObject * obj0 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self", NULL
19082 };
19083
19084 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19085 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
19087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19088 if (SWIG_arg_fail(1)) SWIG_fail;
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19092
19093 wxPyEndAllowThreads(__tstate);
19094 if (PyErr_Occurred()) SWIG_fail;
19095 }
19096 Py_INCREF(Py_None); resultobj = Py_None;
19097 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19098 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19099 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19100 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19101 return resultobj;
19102 fail:
19103 return NULL;
19104 }
19105
19106
19107 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19110 wxSize result;
19111 PyObject * obj0 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail;
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 {
19127 wxSize * resultptr;
19128 resultptr = new wxSize((wxSize &)(result));
19129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19130 }
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19140 wxSize result;
19141 PyObject * obj0 = 0 ;
19142 char *kwnames[] = {
19143 (char *) "self", NULL
19144 };
19145
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail;
19149 {
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19152
19153 wxPyEndAllowThreads(__tstate);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 {
19157 wxSize * resultptr;
19158 resultptr = new wxSize((wxSize &)(result));
19159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19160 }
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19177 if (SWIG_arg_fail(1)) SWIG_fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->base_InitDialog();
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19195 bool result;
19196 PyObject * obj0 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail;
19204 {
19205 PyThreadState* __tstate = wxPyBeginAllowThreads();
19206 result = (bool)(arg1)->base_TransferDataToWindow();
19207
19208 wxPyEndAllowThreads(__tstate);
19209 if (PyErr_Occurred()) SWIG_fail;
19210 }
19211 {
19212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19213 }
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19223 bool result;
19224 PyObject * obj0 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19231 if (SWIG_arg_fail(1)) SWIG_fail;
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (bool)(arg1)->base_TransferDataFromWindow();
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 {
19240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245 }
19246
19247
19248 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19249 PyObject *resultobj;
19250 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19251 bool result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19259 if (SWIG_arg_fail(1)) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = (bool)(arg1)->base_Validate();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19269 }
19270 return resultobj;
19271 fail:
19272 return NULL;
19273 }
19274
19275
19276 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19277 PyObject *resultobj;
19278 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19279 bool result;
19280 PyObject * obj0 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19287 if (SWIG_arg_fail(1)) SWIG_fail;
19288 {
19289 PyThreadState* __tstate = wxPyBeginAllowThreads();
19290 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19291
19292 wxPyEndAllowThreads(__tstate);
19293 if (PyErr_Occurred()) SWIG_fail;
19294 }
19295 {
19296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19297 }
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19307 bool result;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19315 if (SWIG_arg_fail(1)) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19325 }
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19335 wxSize result;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19343 if (SWIG_arg_fail(1)) SWIG_fail;
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
19346 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 {
19352 wxSize * resultptr;
19353 resultptr = new wxSize((wxSize &)(result));
19354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19355 }
19356 return resultobj;
19357 fail:
19358 return NULL;
19359 }
19360
19361
19362 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19365 wxWindow *arg2 = (wxWindow *) 0 ;
19366 PyObject * obj0 = 0 ;
19367 PyObject * obj1 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self",(char *) "child", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail;
19375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(2)) SWIG_fail;
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 (arg1)->base_AddChild(arg2);
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 Py_INCREF(Py_None); resultobj = Py_None;
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19394 wxWindow *arg2 = (wxWindow *) 0 ;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "child", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19403 if (SWIG_arg_fail(1)) SWIG_fail;
19404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19405 if (SWIG_arg_fail(2)) SWIG_fail;
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 (arg1)->base_RemoveChild(arg2);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 Py_INCREF(Py_None); resultobj = Py_None;
19414 return resultobj;
19415 fail:
19416 return NULL;
19417 }
19418
19419
19420 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19421 PyObject *resultobj;
19422 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19423 bool result;
19424 PyObject * obj0 = 0 ;
19425 char *kwnames[] = {
19426 (char *) "self", NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail;
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 {
19440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19441 }
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19451 wxVisualAttributes result;
19452 PyObject * obj0 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19459 if (SWIG_arg_fail(1)) SWIG_fail;
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = (arg1)->base_GetDefaultAttributes();
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468 wxVisualAttributes * resultptr;
19469 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19471 }
19472 return resultobj;
19473 fail:
19474 return NULL;
19475 }
19476
19477
19478 static PyObject *_wrap_PyPanel_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
19479 PyObject *resultobj;
19480 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19481 PyObject * obj0 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_OnInternalIdle",kwnames,&obj0)) goto fail;
19487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail;
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 (arg1)->base_OnInternalIdle();
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 Py_INCREF(Py_None); resultobj = Py_None;
19497 return resultobj;
19498 fail:
19499 return NULL;
19500 }
19501
19502
19503 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19504 PyObject *obj;
19505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19506 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19507 Py_INCREF(obj);
19508 return Py_BuildValue((char *)"");
19509 }
19510 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxWindow *arg1 = (wxWindow *) 0 ;
19513 int arg2 = (int) (int)-1 ;
19514 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19515 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19516 wxSize const &arg4_defvalue = wxDefaultSize ;
19517 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19518 long arg5 = (long) 0 ;
19519 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19520 wxString *arg6 = (wxString *) &arg6_defvalue ;
19521 wxPyScrolledWindow *result;
19522 wxPoint temp3 ;
19523 wxSize temp4 ;
19524 bool temp6 = false ;
19525 PyObject * obj0 = 0 ;
19526 PyObject * obj1 = 0 ;
19527 PyObject * obj2 = 0 ;
19528 PyObject * obj3 = 0 ;
19529 PyObject * obj4 = 0 ;
19530 PyObject * obj5 = 0 ;
19531 char *kwnames[] = {
19532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19533 };
19534
19535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19537 if (SWIG_arg_fail(1)) SWIG_fail;
19538 if (obj1) {
19539 {
19540 arg2 = (int const)(SWIG_As_int(obj1));
19541 if (SWIG_arg_fail(2)) SWIG_fail;
19542 }
19543 }
19544 if (obj2) {
19545 {
19546 arg3 = &temp3;
19547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19548 }
19549 }
19550 if (obj3) {
19551 {
19552 arg4 = &temp4;
19553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19554 }
19555 }
19556 if (obj4) {
19557 {
19558 arg5 = (long)(SWIG_As_long(obj4));
19559 if (SWIG_arg_fail(5)) SWIG_fail;
19560 }
19561 }
19562 if (obj5) {
19563 {
19564 arg6 = wxString_in_helper(obj5);
19565 if (arg6 == NULL) SWIG_fail;
19566 temp6 = true;
19567 }
19568 }
19569 {
19570 if (!wxPyCheckForApp()) SWIG_fail;
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
19572 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19578 {
19579 if (temp6)
19580 delete arg6;
19581 }
19582 return resultobj;
19583 fail:
19584 {
19585 if (temp6)
19586 delete arg6;
19587 }
19588 return NULL;
19589 }
19590
19591
19592 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19593 PyObject *resultobj;
19594 wxPyScrolledWindow *result;
19595 char *kwnames[] = {
19596 NULL
19597 };
19598
19599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19600 {
19601 if (!wxPyCheckForApp()) SWIG_fail;
19602 PyThreadState* __tstate = wxPyBeginAllowThreads();
19603 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19604
19605 wxPyEndAllowThreads(__tstate);
19606 if (PyErr_Occurred()) SWIG_fail;
19607 }
19608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19618 PyObject *arg2 = (PyObject *) 0 ;
19619 PyObject *arg3 = (PyObject *) 0 ;
19620 PyObject * obj0 = 0 ;
19621 PyObject * obj1 = 0 ;
19622 PyObject * obj2 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self",(char *) "self",(char *) "_class", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail;
19630 arg2 = obj1;
19631 arg3 = obj2;
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 (arg1)->_setCallbackInfo(arg2,arg3);
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 Py_INCREF(Py_None); resultobj = Py_None;
19640 return resultobj;
19641 fail:
19642 return NULL;
19643 }
19644
19645
19646 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19647 PyObject *resultobj;
19648 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19649 wxSize *arg2 = 0 ;
19650 wxSize temp2 ;
19651 PyObject * obj0 = 0 ;
19652 PyObject * obj1 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self",(char *) "size", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail;
19660 {
19661 arg2 = &temp2;
19662 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19663 }
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 (arg1)->SetBestSize((wxSize const &)*arg2);
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 Py_INCREF(Py_None); resultobj = Py_None;
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19681 wxDC *arg2 = (wxDC *) 0 ;
19682 bool result;
19683 PyObject * obj0 = 0 ;
19684 PyObject * obj1 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self",(char *) "dc", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19691 if (SWIG_arg_fail(1)) SWIG_fail;
19692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19693 if (SWIG_arg_fail(2)) SWIG_fail;
19694 {
19695 PyThreadState* __tstate = wxPyBeginAllowThreads();
19696 result = (bool)(arg1)->DoEraseBackground(arg2);
19697
19698 wxPyEndAllowThreads(__tstate);
19699 if (PyErr_Occurred()) SWIG_fail;
19700 }
19701 {
19702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19703 }
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19713 int arg2 ;
19714 int arg3 ;
19715 int arg4 ;
19716 int arg5 ;
19717 PyObject * obj0 = 0 ;
19718 PyObject * obj1 = 0 ;
19719 PyObject * obj2 = 0 ;
19720 PyObject * obj3 = 0 ;
19721 PyObject * obj4 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19728 if (SWIG_arg_fail(1)) SWIG_fail;
19729 {
19730 arg2 = (int)(SWIG_As_int(obj1));
19731 if (SWIG_arg_fail(2)) SWIG_fail;
19732 }
19733 {
19734 arg3 = (int)(SWIG_As_int(obj2));
19735 if (SWIG_arg_fail(3)) SWIG_fail;
19736 }
19737 {
19738 arg4 = (int)(SWIG_As_int(obj3));
19739 if (SWIG_arg_fail(4)) SWIG_fail;
19740 }
19741 {
19742 arg5 = (int)(SWIG_As_int(obj4));
19743 if (SWIG_arg_fail(5)) SWIG_fail;
19744 }
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 Py_INCREF(Py_None); resultobj = Py_None;
19753 return resultobj;
19754 fail:
19755 return NULL;
19756 }
19757
19758
19759 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19760 PyObject *resultobj;
19761 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19762 int arg2 ;
19763 int arg3 ;
19764 int arg4 ;
19765 int arg5 ;
19766 int arg6 = (int) wxSIZE_AUTO ;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 PyObject * obj2 = 0 ;
19770 PyObject * obj3 = 0 ;
19771 PyObject * obj4 = 0 ;
19772 PyObject * obj5 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail;
19780 {
19781 arg2 = (int)(SWIG_As_int(obj1));
19782 if (SWIG_arg_fail(2)) SWIG_fail;
19783 }
19784 {
19785 arg3 = (int)(SWIG_As_int(obj2));
19786 if (SWIG_arg_fail(3)) SWIG_fail;
19787 }
19788 {
19789 arg4 = (int)(SWIG_As_int(obj3));
19790 if (SWIG_arg_fail(4)) SWIG_fail;
19791 }
19792 {
19793 arg5 = (int)(SWIG_As_int(obj4));
19794 if (SWIG_arg_fail(5)) SWIG_fail;
19795 }
19796 if (obj5) {
19797 {
19798 arg6 = (int)(SWIG_As_int(obj5));
19799 if (SWIG_arg_fail(6)) SWIG_fail;
19800 }
19801 }
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 Py_INCREF(Py_None); resultobj = Py_None;
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19819 int arg2 ;
19820 int arg3 ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 PyObject * obj2 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self",(char *) "width",(char *) "height", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19830 if (SWIG_arg_fail(1)) SWIG_fail;
19831 {
19832 arg2 = (int)(SWIG_As_int(obj1));
19833 if (SWIG_arg_fail(2)) SWIG_fail;
19834 }
19835 {
19836 arg3 = (int)(SWIG_As_int(obj2));
19837 if (SWIG_arg_fail(3)) SWIG_fail;
19838 }
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->base_DoSetClientSize(arg2,arg3);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19856 int arg2 ;
19857 int arg3 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 PyObject * obj2 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "x",(char *) "y", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19867 if (SWIG_arg_fail(1)) SWIG_fail;
19868 {
19869 arg2 = (int)(SWIG_As_int(obj1));
19870 if (SWIG_arg_fail(2)) SWIG_fail;
19871 }
19872 {
19873 arg3 = (int)(SWIG_As_int(obj2));
19874 if (SWIG_arg_fail(3)) SWIG_fail;
19875 }
19876 {
19877 PyThreadState* __tstate = wxPyBeginAllowThreads();
19878 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19879
19880 wxPyEndAllowThreads(__tstate);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 Py_INCREF(Py_None); resultobj = Py_None;
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19893 int *arg2 = (int *) 0 ;
19894 int *arg3 = (int *) 0 ;
19895 int temp2 ;
19896 int res2 = 0 ;
19897 int temp3 ;
19898 int res3 = 0 ;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19905 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail;
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 Py_INCREF(Py_None); resultobj = Py_None;
19917 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19918 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19919 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19920 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19921 return resultobj;
19922 fail:
19923 return NULL;
19924 }
19925
19926
19927 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19928 PyObject *resultobj;
19929 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19930 int *arg2 = (int *) 0 ;
19931 int *arg3 = (int *) 0 ;
19932 int temp2 ;
19933 int res2 = 0 ;
19934 int temp3 ;
19935 int res3 = 0 ;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19942 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19945 if (SWIG_arg_fail(1)) SWIG_fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 Py_INCREF(Py_None); resultobj = Py_None;
19954 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19955 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19956 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19957 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19967 int *arg2 = (int *) 0 ;
19968 int *arg3 = (int *) 0 ;
19969 int temp2 ;
19970 int res2 = 0 ;
19971 int temp3 ;
19972 int res3 = 0 ;
19973 PyObject * obj0 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self", NULL
19976 };
19977
19978 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19979 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19982 if (SWIG_arg_fail(1)) SWIG_fail;
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19992 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19993 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19994 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19995 return resultobj;
19996 fail:
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20004 wxSize result;
20005 PyObject * obj0 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
20011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail;
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021 wxSize * resultptr;
20022 resultptr = new wxSize((wxSize &)(result));
20023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028 }
20029
20030
20031 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20034 wxSize result;
20035 PyObject * obj0 = 0 ;
20036 char *kwnames[] = {
20037 (char *) "self", NULL
20038 };
20039
20040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
20041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20042 if (SWIG_arg_fail(1)) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 {
20051 wxSize * resultptr;
20052 resultptr = new wxSize((wxSize &)(result));
20053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20054 }
20055 return resultobj;
20056 fail:
20057 return NULL;
20058 }
20059
20060
20061 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
20062 PyObject *resultobj;
20063 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
20070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20071 if (SWIG_arg_fail(1)) SWIG_fail;
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->base_InitDialog();
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20089 bool result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
20096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail;
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = (bool)(arg1)->base_TransferDataToWindow();
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 {
20106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20107 }
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj;
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 bool result;
20118 PyObject * obj0 = 0 ;
20119 char *kwnames[] = {
20120 (char *) "self", NULL
20121 };
20122
20123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
20124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (bool)(arg1)->base_TransferDataFromWindow();
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20145 bool result;
20146 PyObject * obj0 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
20152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20153 if (SWIG_arg_fail(1)) SWIG_fail;
20154 {
20155 PyThreadState* __tstate = wxPyBeginAllowThreads();
20156 result = (bool)(arg1)->base_Validate();
20157
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 {
20162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20163 }
20164 return resultobj;
20165 fail:
20166 return NULL;
20167 }
20168
20169
20170 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
20171 PyObject *resultobj;
20172 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20173 bool result;
20174 PyObject * obj0 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
20180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20181 if (SWIG_arg_fail(1)) SWIG_fail;
20182 {
20183 PyThreadState* __tstate = wxPyBeginAllowThreads();
20184 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20185
20186 wxPyEndAllowThreads(__tstate);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 {
20190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20191 }
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj;
20200 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20201 bool result;
20202 PyObject * obj0 = 0 ;
20203 char *kwnames[] = {
20204 (char *) "self", NULL
20205 };
20206
20207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
20208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail;
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 {
20218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20219 }
20220 return resultobj;
20221 fail:
20222 return NULL;
20223 }
20224
20225
20226 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20227 PyObject *resultobj;
20228 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20229 wxSize result;
20230 PyObject * obj0 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "self", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
20236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20237 if (SWIG_arg_fail(1)) SWIG_fail;
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 {
20246 wxSize * resultptr;
20247 resultptr = new wxSize((wxSize &)(result));
20248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20249 }
20250 return resultobj;
20251 fail:
20252 return NULL;
20253 }
20254
20255
20256 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20259 wxWindow *arg2 = (wxWindow *) 0 ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self",(char *) "child", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20268 if (SWIG_arg_fail(1)) SWIG_fail;
20269 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20270 if (SWIG_arg_fail(2)) SWIG_fail;
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 (arg1)->base_AddChild(arg2);
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 Py_INCREF(Py_None); resultobj = Py_None;
20279 return resultobj;
20280 fail:
20281 return NULL;
20282 }
20283
20284
20285 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20288 wxWindow *arg2 = (wxWindow *) 0 ;
20289 PyObject * obj0 = 0 ;
20290 PyObject * obj1 = 0 ;
20291 char *kwnames[] = {
20292 (char *) "self",(char *) "child", NULL
20293 };
20294
20295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20297 if (SWIG_arg_fail(1)) SWIG_fail;
20298 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20299 if (SWIG_arg_fail(2)) SWIG_fail;
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 (arg1)->base_RemoveChild(arg2);
20303
20304 wxPyEndAllowThreads(__tstate);
20305 if (PyErr_Occurred()) SWIG_fail;
20306 }
20307 Py_INCREF(Py_None); resultobj = Py_None;
20308 return resultobj;
20309 fail:
20310 return NULL;
20311 }
20312
20313
20314 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20317 bool result;
20318 PyObject * obj0 = 0 ;
20319 char *kwnames[] = {
20320 (char *) "self", NULL
20321 };
20322
20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20325 if (SWIG_arg_fail(1)) SWIG_fail;
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
20328 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 {
20334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20335 }
20336 return resultobj;
20337 fail:
20338 return NULL;
20339 }
20340
20341
20342 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20345 wxVisualAttributes result;
20346 PyObject * obj0 = 0 ;
20347 char *kwnames[] = {
20348 (char *) "self", NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20353 if (SWIG_arg_fail(1)) SWIG_fail;
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (arg1)->base_GetDefaultAttributes();
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 {
20362 wxVisualAttributes * resultptr;
20363 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20365 }
20366 return resultobj;
20367 fail:
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject *, PyObject *args, PyObject *kwargs) {
20373 PyObject *resultobj;
20374 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20375 PyObject * obj0 = 0 ;
20376 char *kwnames[] = {
20377 (char *) "self", NULL
20378 };
20379
20380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames,&obj0)) goto fail;
20381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20382 if (SWIG_arg_fail(1)) SWIG_fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 (arg1)->base_OnInternalIdle();
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20398 PyObject *obj;
20399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20400 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20401 Py_INCREF(obj);
20402 return Py_BuildValue((char *)"");
20403 }
20404 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20405 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20406 return 1;
20407 }
20408
20409
20410 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20411 PyObject *pyobj;
20412
20413 {
20414 #if wxUSE_UNICODE
20415 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20416 #else
20417 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20418 #endif
20419 }
20420 return pyobj;
20421 }
20422
20423
20424 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20425 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20426 return 1;
20427 }
20428
20429
20430 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20431 PyObject *pyobj;
20432
20433 {
20434 #if wxUSE_UNICODE
20435 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20436 #else
20437 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20438 #endif
20439 }
20440 return pyobj;
20441 }
20442
20443
20444 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20445 PyObject *resultobj;
20446 wxPrintData *result;
20447
20448 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 result = (wxPrintData *)new wxPrintData();
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20464 PyObject *resultobj;
20465 wxPrintData *arg1 = 0 ;
20466 wxPrintData *result;
20467 PyObject * obj0 = 0 ;
20468
20469 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20470 {
20471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail;
20473 if (arg1 == NULL) {
20474 SWIG_null_ref("wxPrintData");
20475 }
20476 if (SWIG_arg_fail(1)) SWIG_fail;
20477 }
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20486 return resultobj;
20487 fail:
20488 return NULL;
20489 }
20490
20491
20492 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20493 int argc;
20494 PyObject *argv[2];
20495 int ii;
20496
20497 argc = PyObject_Length(args);
20498 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20499 argv[ii] = PyTuple_GetItem(args,ii);
20500 }
20501 if (argc == 0) {
20502 return _wrap_new_PrintData__SWIG_0(self,args);
20503 }
20504 if (argc == 1) {
20505 int _v;
20506 {
20507 void *ptr = 0;
20508 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20509 _v = 0;
20510 PyErr_Clear();
20511 } else {
20512 _v = (ptr != 0);
20513 }
20514 }
20515 if (_v) {
20516 return _wrap_new_PrintData__SWIG_1(self,args);
20517 }
20518 }
20519
20520 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPrintData *arg1 = (wxPrintData *) 0 ;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20535 if (SWIG_arg_fail(1)) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 delete arg1;
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 Py_INCREF(Py_None); resultobj = Py_None;
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxPrintData *arg1 = (wxPrintData *) 0 ;
20553 int result;
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20561 if (SWIG_arg_fail(1)) SWIG_fail;
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 result = (int)(arg1)->GetNoCopies();
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 {
20570 resultobj = SWIG_From_int((int)(result));
20571 }
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxPrintData *arg1 = (wxPrintData *) 0 ;
20581 bool result;
20582 PyObject * obj0 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20589 if (SWIG_arg_fail(1)) SWIG_fail;
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (bool)(arg1)->GetCollate();
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20599 }
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxPrintData *arg1 = (wxPrintData *) 0 ;
20609 int result;
20610 PyObject * obj0 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20617 if (SWIG_arg_fail(1)) SWIG_fail;
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = (int)(arg1)->GetOrientation();
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 {
20626 resultobj = SWIG_From_int((int)(result));
20627 }
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj;
20636 wxPrintData *arg1 = (wxPrintData *) 0 ;
20637 bool result;
20638 PyObject * obj0 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20645 if (SWIG_arg_fail(1)) SWIG_fail;
20646 {
20647 PyThreadState* __tstate = wxPyBeginAllowThreads();
20648 result = (bool)(arg1)->Ok();
20649
20650 wxPyEndAllowThreads(__tstate);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 }
20653 {
20654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20655 }
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPrintData *arg1 = (wxPrintData *) 0 ;
20665 wxString *result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail;
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 {
20677 wxString const &_result_ref = (arg1)->GetPrinterName();
20678 result = (wxString *) &_result_ref;
20679 }
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 {
20685 #if wxUSE_UNICODE
20686 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20687 #else
20688 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20689 #endif
20690 }
20691 return resultobj;
20692 fail:
20693 return NULL;
20694 }
20695
20696
20697 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20698 PyObject *resultobj;
20699 wxPrintData *arg1 = (wxPrintData *) 0 ;
20700 bool result;
20701 PyObject * obj0 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (bool)(arg1)->GetColour();
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 {
20717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20718 }
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPrintData *arg1 = (wxPrintData *) 0 ;
20728 wxDuplexMode result;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = (wxDuplexMode)(arg1)->GetDuplex();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 resultobj = SWIG_From_int((result));
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPrintData *arg1 = (wxPrintData *) 0 ;
20754 wxPaperSize result;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20762 if (SWIG_arg_fail(1)) SWIG_fail;
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 result = (wxPaperSize)(arg1)->GetPaperId();
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 resultobj = SWIG_From_int((result));
20771 return resultobj;
20772 fail:
20773 return NULL;
20774 }
20775
20776
20777 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxPrintData *arg1 = (wxPrintData *) 0 ;
20780 wxSize *result;
20781 PyObject * obj0 = 0 ;
20782 char *kwnames[] = {
20783 (char *) "self", NULL
20784 };
20785
20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20788 if (SWIG_arg_fail(1)) SWIG_fail;
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 {
20792 wxSize const &_result_ref = (arg1)->GetPaperSize();
20793 result = (wxSize *) &_result_ref;
20794 }
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20800 return resultobj;
20801 fail:
20802 return NULL;
20803 }
20804
20805
20806 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPrintData *arg1 = (wxPrintData *) 0 ;
20809 int result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20817 if (SWIG_arg_fail(1)) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (int)(arg1)->GetQuality();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 {
20826 resultobj = SWIG_From_int((int)(result));
20827 }
20828 return resultobj;
20829 fail:
20830 return NULL;
20831 }
20832
20833
20834 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 wxPrintData *arg1 = (wxPrintData *) 0 ;
20837 wxPrintBin result;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20845 if (SWIG_arg_fail(1)) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 result = (wxPrintBin)(arg1)->GetBin();
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 resultobj = SWIG_From_int((result));
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPrintData *arg1 = (wxPrintData *) 0 ;
20863 wxPrintMode result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = SWIG_From_int((result));
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPrintData *arg1 = (wxPrintData *) 0 ;
20889 int arg2 ;
20890 PyObject * obj0 = 0 ;
20891 PyObject * obj1 = 0 ;
20892 char *kwnames[] = {
20893 (char *) "self",(char *) "v", NULL
20894 };
20895
20896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20898 if (SWIG_arg_fail(1)) SWIG_fail;
20899 {
20900 arg2 = (int)(SWIG_As_int(obj1));
20901 if (SWIG_arg_fail(2)) SWIG_fail;
20902 }
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 (arg1)->SetNoCopies(arg2);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 Py_INCREF(Py_None); resultobj = Py_None;
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPrintData *arg1 = (wxPrintData *) 0 ;
20920 bool arg2 ;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "flag", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20929 if (SWIG_arg_fail(1)) SWIG_fail;
20930 {
20931 arg2 = (bool)(SWIG_As_bool(obj1));
20932 if (SWIG_arg_fail(2)) SWIG_fail;
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->SetCollate(arg2);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 Py_INCREF(Py_None); resultobj = Py_None;
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxPrintData *arg1 = (wxPrintData *) 0 ;
20951 int arg2 ;
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "orient", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20960 if (SWIG_arg_fail(1)) SWIG_fail;
20961 {
20962 arg2 = (int)(SWIG_As_int(obj1));
20963 if (SWIG_arg_fail(2)) SWIG_fail;
20964 }
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 (arg1)->SetOrientation(arg2);
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 Py_INCREF(Py_None); resultobj = Py_None;
20973 return resultobj;
20974 fail:
20975 return NULL;
20976 }
20977
20978
20979 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxPrintData *arg1 = (wxPrintData *) 0 ;
20982 wxString *arg2 = 0 ;
20983 bool temp2 = false ;
20984 PyObject * obj0 = 0 ;
20985 PyObject * obj1 = 0 ;
20986 char *kwnames[] = {
20987 (char *) "self",(char *) "name", NULL
20988 };
20989
20990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20992 if (SWIG_arg_fail(1)) SWIG_fail;
20993 {
20994 arg2 = wxString_in_helper(obj1);
20995 if (arg2 == NULL) SWIG_fail;
20996 temp2 = true;
20997 }
20998 {
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 (arg1)->SetPrinterName((wxString const &)*arg2);
21001
21002 wxPyEndAllowThreads(__tstate);
21003 if (PyErr_Occurred()) SWIG_fail;
21004 }
21005 Py_INCREF(Py_None); resultobj = Py_None;
21006 {
21007 if (temp2)
21008 delete arg2;
21009 }
21010 return resultobj;
21011 fail:
21012 {
21013 if (temp2)
21014 delete arg2;
21015 }
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxPrintData *arg1 = (wxPrintData *) 0 ;
21023 bool arg2 ;
21024 PyObject * obj0 = 0 ;
21025 PyObject * obj1 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self",(char *) "colour", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
21031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21032 if (SWIG_arg_fail(1)) SWIG_fail;
21033 {
21034 arg2 = (bool)(SWIG_As_bool(obj1));
21035 if (SWIG_arg_fail(2)) SWIG_fail;
21036 }
21037 {
21038 PyThreadState* __tstate = wxPyBeginAllowThreads();
21039 (arg1)->SetColour(arg2);
21040
21041 wxPyEndAllowThreads(__tstate);
21042 if (PyErr_Occurred()) SWIG_fail;
21043 }
21044 Py_INCREF(Py_None); resultobj = Py_None;
21045 return resultobj;
21046 fail:
21047 return NULL;
21048 }
21049
21050
21051 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
21052 PyObject *resultobj;
21053 wxPrintData *arg1 = (wxPrintData *) 0 ;
21054 wxDuplexMode arg2 ;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self",(char *) "duplex", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
21062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail;
21064 {
21065 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21066 if (SWIG_arg_fail(2)) SWIG_fail;
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 (arg1)->SetDuplex((wxDuplexMode )arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 Py_INCREF(Py_None); resultobj = Py_None;
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPrintData *arg1 = (wxPrintData *) 0 ;
21085 wxPaperSize arg2 ;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "sizeId", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
21093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail;
21095 {
21096 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21097 if (SWIG_arg_fail(2)) SWIG_fail;
21098 }
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 (arg1)->SetPaperId((wxPaperSize )arg2);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 Py_INCREF(Py_None); resultobj = Py_None;
21107 return resultobj;
21108 fail:
21109 return NULL;
21110 }
21111
21112
21113 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
21114 PyObject *resultobj;
21115 wxPrintData *arg1 = (wxPrintData *) 0 ;
21116 wxSize *arg2 = 0 ;
21117 wxSize temp2 ;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "sz", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
21125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail;
21127 {
21128 arg2 = &temp2;
21129 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21130 }
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 (arg1)->SetPaperSize((wxSize const &)*arg2);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 Py_INCREF(Py_None); resultobj = Py_None;
21139 return resultobj;
21140 fail:
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPrintData *arg1 = (wxPrintData *) 0 ;
21148 int arg2 ;
21149 PyObject * obj0 = 0 ;
21150 PyObject * obj1 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "quality", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
21156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21157 if (SWIG_arg_fail(1)) SWIG_fail;
21158 {
21159 arg2 = (int)(SWIG_As_int(obj1));
21160 if (SWIG_arg_fail(2)) SWIG_fail;
21161 }
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 (arg1)->SetQuality(arg2);
21165
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 Py_INCREF(Py_None); resultobj = Py_None;
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxPrintData *arg1 = (wxPrintData *) 0 ;
21179 wxPrintBin arg2 ;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "bin", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
21187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail;
21189 {
21190 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21191 if (SWIG_arg_fail(2)) SWIG_fail;
21192 }
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 (arg1)->SetBin((wxPrintBin )arg2);
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 Py_INCREF(Py_None); resultobj = Py_None;
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxPrintData *arg1 = (wxPrintData *) 0 ;
21210 wxPrintMode arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "printMode", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21219 if (SWIG_arg_fail(1)) SWIG_fail;
21220 {
21221 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21222 if (SWIG_arg_fail(2)) SWIG_fail;
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 (arg1)->SetPrintMode((wxPrintMode )arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 Py_INCREF(Py_None); resultobj = Py_None;
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxPrintData *arg1 = (wxPrintData *) 0 ;
21241 wxString result;
21242 PyObject * obj0 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail;
21250 {
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = ((wxPrintData const *)arg1)->GetFilename();
21253
21254 wxPyEndAllowThreads(__tstate);
21255 if (PyErr_Occurred()) SWIG_fail;
21256 }
21257 {
21258 #if wxUSE_UNICODE
21259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21260 #else
21261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21262 #endif
21263 }
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPrintData *arg1 = (wxPrintData *) 0 ;
21273 wxString *arg2 = 0 ;
21274 bool temp2 = false ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "filename", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail;
21284 {
21285 arg2 = wxString_in_helper(obj1);
21286 if (arg2 == NULL) SWIG_fail;
21287 temp2 = true;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 (arg1)->SetFilename((wxString const &)*arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 Py_INCREF(Py_None); resultobj = Py_None;
21297 {
21298 if (temp2)
21299 delete arg2;
21300 }
21301 return resultobj;
21302 fail:
21303 {
21304 if (temp2)
21305 delete arg2;
21306 }
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPrintData *arg1 = (wxPrintData *) 0 ;
21314 PyObject *result;
21315 PyObject * obj0 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21322 if (SWIG_arg_fail(1)) SWIG_fail;
21323 {
21324 PyThreadState* __tstate = wxPyBeginAllowThreads();
21325 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21326
21327 wxPyEndAllowThreads(__tstate);
21328 if (PyErr_Occurred()) SWIG_fail;
21329 }
21330 resultobj = result;
21331 return resultobj;
21332 fail:
21333 return NULL;
21334 }
21335
21336
21337 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21338 PyObject *resultobj;
21339 wxPrintData *arg1 = (wxPrintData *) 0 ;
21340 PyObject *arg2 = (PyObject *) 0 ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "data", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21349 if (SWIG_arg_fail(1)) SWIG_fail;
21350 arg2 = obj1;
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 wxPrintData_SetPrivData(arg1,arg2);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 Py_INCREF(Py_None); resultobj = Py_None;
21359 return resultobj;
21360 fail:
21361 return NULL;
21362 }
21363
21364
21365 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxPrintData *arg1 = (wxPrintData *) 0 ;
21368 wxString *result;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21376 if (SWIG_arg_fail(1)) SWIG_fail;
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 {
21380 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21381 result = (wxString *) &_result_ref;
21382 }
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 {
21388 #if wxUSE_UNICODE
21389 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21390 #else
21391 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21392 #endif
21393 }
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPrintData *arg1 = (wxPrintData *) 0 ;
21403 wxString *result;
21404 PyObject * obj0 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 {
21415 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21416 result = (wxString *) &_result_ref;
21417 }
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 #if wxUSE_UNICODE
21424 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21425 #else
21426 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21427 #endif
21428 }
21429 return resultobj;
21430 fail:
21431 return NULL;
21432 }
21433
21434
21435 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxPrintData *arg1 = (wxPrintData *) 0 ;
21438 wxString *result;
21439 PyObject * obj0 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21446 if (SWIG_arg_fail(1)) SWIG_fail;
21447 {
21448 PyThreadState* __tstate = wxPyBeginAllowThreads();
21449 {
21450 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21451 result = (wxString *) &_result_ref;
21452 }
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 #if wxUSE_UNICODE
21459 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21460 #else
21461 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21462 #endif
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPrintData *arg1 = (wxPrintData *) 0 ;
21473 wxString *result;
21474 PyObject * obj0 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail;
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 {
21485 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21486 result = (wxString *) &_result_ref;
21487 }
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 {
21493 #if wxUSE_UNICODE
21494 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21495 #else
21496 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21497 #endif
21498 }
21499 return resultobj;
21500 fail:
21501 return NULL;
21502 }
21503
21504
21505 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21506 PyObject *resultobj;
21507 wxPrintData *arg1 = (wxPrintData *) 0 ;
21508 double result;
21509 PyObject * obj0 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail;
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 result = (double)(arg1)->GetPrinterScaleX();
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 {
21525 resultobj = SWIG_From_double((double)(result));
21526 }
21527 return resultobj;
21528 fail:
21529 return NULL;
21530 }
21531
21532
21533 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21534 PyObject *resultobj;
21535 wxPrintData *arg1 = (wxPrintData *) 0 ;
21536 double result;
21537 PyObject * obj0 = 0 ;
21538 char *kwnames[] = {
21539 (char *) "self", NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail;
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (double)(arg1)->GetPrinterScaleY();
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 {
21553 resultobj = SWIG_From_double((double)(result));
21554 }
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPrintData *arg1 = (wxPrintData *) 0 ;
21564 long result;
21565 PyObject * obj0 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail;
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 result = (long)(arg1)->GetPrinterTranslateX();
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 resultobj = SWIG_From_long((long)(result));
21582 }
21583 return resultobj;
21584 fail:
21585 return NULL;
21586 }
21587
21588
21589 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21590 PyObject *resultobj;
21591 wxPrintData *arg1 = (wxPrintData *) 0 ;
21592 long result;
21593 PyObject * obj0 = 0 ;
21594 char *kwnames[] = {
21595 (char *) "self", NULL
21596 };
21597
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21600 if (SWIG_arg_fail(1)) SWIG_fail;
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 result = (long)(arg1)->GetPrinterTranslateY();
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 {
21609 resultobj = SWIG_From_long((long)(result));
21610 }
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxPrintData *arg1 = (wxPrintData *) 0 ;
21620 wxString *arg2 = 0 ;
21621 bool temp2 = false ;
21622 PyObject * obj0 = 0 ;
21623 PyObject * obj1 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "command", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21630 if (SWIG_arg_fail(1)) SWIG_fail;
21631 {
21632 arg2 = wxString_in_helper(obj1);
21633 if (arg2 == NULL) SWIG_fail;
21634 temp2 = true;
21635 }
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 Py_INCREF(Py_None); resultobj = Py_None;
21644 {
21645 if (temp2)
21646 delete arg2;
21647 }
21648 return resultobj;
21649 fail:
21650 {
21651 if (temp2)
21652 delete arg2;
21653 }
21654 return NULL;
21655 }
21656
21657
21658 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPrintData *arg1 = (wxPrintData *) 0 ;
21661 wxString *arg2 = 0 ;
21662 bool temp2 = false ;
21663 PyObject * obj0 = 0 ;
21664 PyObject * obj1 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self",(char *) "options", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21671 if (SWIG_arg_fail(1)) SWIG_fail;
21672 {
21673 arg2 = wxString_in_helper(obj1);
21674 if (arg2 == NULL) SWIG_fail;
21675 temp2 = true;
21676 }
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 Py_INCREF(Py_None); resultobj = Py_None;
21685 {
21686 if (temp2)
21687 delete arg2;
21688 }
21689 return resultobj;
21690 fail:
21691 {
21692 if (temp2)
21693 delete arg2;
21694 }
21695 return NULL;
21696 }
21697
21698
21699 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21700 PyObject *resultobj;
21701 wxPrintData *arg1 = (wxPrintData *) 0 ;
21702 wxString *arg2 = 0 ;
21703 bool temp2 = false ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "command", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
21713 {
21714 arg2 = wxString_in_helper(obj1);
21715 if (arg2 == NULL) SWIG_fail;
21716 temp2 = true;
21717 }
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 Py_INCREF(Py_None); resultobj = Py_None;
21726 {
21727 if (temp2)
21728 delete arg2;
21729 }
21730 return resultobj;
21731 fail:
21732 {
21733 if (temp2)
21734 delete arg2;
21735 }
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj;
21742 wxPrintData *arg1 = (wxPrintData *) 0 ;
21743 wxString *arg2 = 0 ;
21744 bool temp2 = false ;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "path", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail;
21754 {
21755 arg2 = wxString_in_helper(obj1);
21756 if (arg2 == NULL) SWIG_fail;
21757 temp2 = true;
21758 }
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
21766 Py_INCREF(Py_None); resultobj = Py_None;
21767 {
21768 if (temp2)
21769 delete arg2;
21770 }
21771 return resultobj;
21772 fail:
21773 {
21774 if (temp2)
21775 delete arg2;
21776 }
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxPrintData *arg1 = (wxPrintData *) 0 ;
21784 double arg2 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self",(char *) "x", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail;
21794 {
21795 arg2 = (double)(SWIG_As_double(obj1));
21796 if (SWIG_arg_fail(2)) SWIG_fail;
21797 }
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 (arg1)->SetPrinterScaleX(arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 Py_INCREF(Py_None); resultobj = Py_None;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxPrintData *arg1 = (wxPrintData *) 0 ;
21815 double arg2 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "y", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail;
21825 {
21826 arg2 = (double)(SWIG_As_double(obj1));
21827 if (SWIG_arg_fail(2)) SWIG_fail;
21828 }
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 (arg1)->SetPrinterScaleY(arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 Py_INCREF(Py_None); resultobj = Py_None;
21837 return resultobj;
21838 fail:
21839 return NULL;
21840 }
21841
21842
21843 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj;
21845 wxPrintData *arg1 = (wxPrintData *) 0 ;
21846 double arg2 ;
21847 double arg3 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 PyObject * obj2 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "x",(char *) "y", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail;
21858 {
21859 arg2 = (double)(SWIG_As_double(obj1));
21860 if (SWIG_arg_fail(2)) SWIG_fail;
21861 }
21862 {
21863 arg3 = (double)(SWIG_As_double(obj2));
21864 if (SWIG_arg_fail(3)) SWIG_fail;
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetPrinterScaling(arg2,arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877 }
21878
21879
21880 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxPrintData *arg1 = (wxPrintData *) 0 ;
21883 long arg2 ;
21884 PyObject * obj0 = 0 ;
21885 PyObject * obj1 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "x", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail;
21893 {
21894 arg2 = (long)(SWIG_As_long(obj1));
21895 if (SWIG_arg_fail(2)) SWIG_fail;
21896 }
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 (arg1)->SetPrinterTranslateX(arg2);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 Py_INCREF(Py_None); resultobj = Py_None;
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPrintData *arg1 = (wxPrintData *) 0 ;
21914 long arg2 ;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "y", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail;
21924 {
21925 arg2 = (long)(SWIG_As_long(obj1));
21926 if (SWIG_arg_fail(2)) SWIG_fail;
21927 }
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->SetPrinterTranslateY(arg2);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939 }
21940
21941
21942 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21943 PyObject *resultobj;
21944 wxPrintData *arg1 = (wxPrintData *) 0 ;
21945 long arg2 ;
21946 long arg3 ;
21947 PyObject * obj0 = 0 ;
21948 PyObject * obj1 = 0 ;
21949 PyObject * obj2 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self",(char *) "x",(char *) "y", NULL
21952 };
21953
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail;
21957 {
21958 arg2 = (long)(SWIG_As_long(obj1));
21959 if (SWIG_arg_fail(2)) SWIG_fail;
21960 }
21961 {
21962 arg3 = (long)(SWIG_As_long(obj2));
21963 if (SWIG_arg_fail(3)) SWIG_fail;
21964 }
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 (arg1)->SetPrinterTranslation(arg2,arg3);
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 Py_INCREF(Py_None); resultobj = Py_None;
21973 return resultobj;
21974 fail:
21975 return NULL;
21976 }
21977
21978
21979 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21980 PyObject *obj;
21981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21982 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21983 Py_INCREF(obj);
21984 return Py_BuildValue((char *)"");
21985 }
21986 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21987 PyObject *resultobj;
21988 wxPageSetupDialogData *result;
21989
21990 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21999 return resultobj;
22000 fail:
22001 return NULL;
22002 }
22003
22004
22005 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
22006 PyObject *resultobj;
22007 wxPageSetupDialogData *arg1 = 0 ;
22008 wxPageSetupDialogData *result;
22009 PyObject * obj0 = 0 ;
22010
22011 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
22012 {
22013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22014 if (SWIG_arg_fail(1)) SWIG_fail;
22015 if (arg1 == NULL) {
22016 SWIG_null_ref("wxPageSetupDialogData");
22017 }
22018 if (SWIG_arg_fail(1)) SWIG_fail;
22019 }
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22028 return resultobj;
22029 fail:
22030 return NULL;
22031 }
22032
22033
22034 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
22035 PyObject *resultobj;
22036 wxPrintData *arg1 = 0 ;
22037 wxPageSetupDialogData *result;
22038 PyObject * obj0 = 0 ;
22039
22040 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
22041 {
22042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail;
22044 if (arg1 == NULL) {
22045 SWIG_null_ref("wxPrintData");
22046 }
22047 if (SWIG_arg_fail(1)) SWIG_fail;
22048 }
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
22064 int argc;
22065 PyObject *argv[2];
22066 int ii;
22067
22068 argc = PyObject_Length(args);
22069 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22070 argv[ii] = PyTuple_GetItem(args,ii);
22071 }
22072 if (argc == 0) {
22073 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
22074 }
22075 if (argc == 1) {
22076 int _v;
22077 {
22078 void *ptr = 0;
22079 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
22080 _v = 0;
22081 PyErr_Clear();
22082 } else {
22083 _v = (ptr != 0);
22084 }
22085 }
22086 if (_v) {
22087 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
22088 }
22089 }
22090 if (argc == 1) {
22091 int _v;
22092 {
22093 void *ptr = 0;
22094 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22095 _v = 0;
22096 PyErr_Clear();
22097 } else {
22098 _v = (ptr != 0);
22099 }
22100 }
22101 if (_v) {
22102 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22103 }
22104 }
22105
22106 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
22107 return NULL;
22108 }
22109
22110
22111 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22112 PyObject *resultobj;
22113 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22114 PyObject * obj0 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
22120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22121 if (SWIG_arg_fail(1)) SWIG_fail;
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 delete arg1;
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 Py_INCREF(Py_None); resultobj = Py_None;
22130 return resultobj;
22131 fail:
22132 return NULL;
22133 }
22134
22135
22136 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22137 PyObject *resultobj;
22138 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22139 bool arg2 ;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 char *kwnames[] = {
22143 (char *) "self",(char *) "flag", NULL
22144 };
22145
22146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
22147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22148 if (SWIG_arg_fail(1)) SWIG_fail;
22149 {
22150 arg2 = (bool)(SWIG_As_bool(obj1));
22151 if (SWIG_arg_fail(2)) SWIG_fail;
22152 }
22153 {
22154 PyThreadState* __tstate = wxPyBeginAllowThreads();
22155 (arg1)->EnableHelp(arg2);
22156
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 Py_INCREF(Py_None); resultobj = Py_None;
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22168 PyObject *resultobj;
22169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22170 bool arg2 ;
22171 PyObject * obj0 = 0 ;
22172 PyObject * obj1 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self",(char *) "flag", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
22178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail;
22180 {
22181 arg2 = (bool)(SWIG_As_bool(obj1));
22182 if (SWIG_arg_fail(2)) SWIG_fail;
22183 }
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 (arg1)->EnableMargins(arg2);
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 Py_INCREF(Py_None); resultobj = Py_None;
22192 return resultobj;
22193 fail:
22194 return NULL;
22195 }
22196
22197
22198 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22199 PyObject *resultobj;
22200 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22201 bool arg2 ;
22202 PyObject * obj0 = 0 ;
22203 PyObject * obj1 = 0 ;
22204 char *kwnames[] = {
22205 (char *) "self",(char *) "flag", NULL
22206 };
22207
22208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
22209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22210 if (SWIG_arg_fail(1)) SWIG_fail;
22211 {
22212 arg2 = (bool)(SWIG_As_bool(obj1));
22213 if (SWIG_arg_fail(2)) SWIG_fail;
22214 }
22215 {
22216 PyThreadState* __tstate = wxPyBeginAllowThreads();
22217 (arg1)->EnableOrientation(arg2);
22218
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 Py_INCREF(Py_None); resultobj = Py_None;
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj;
22231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22232 bool arg2 ;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 char *kwnames[] = {
22236 (char *) "self",(char *) "flag", NULL
22237 };
22238
22239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
22240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22241 if (SWIG_arg_fail(1)) SWIG_fail;
22242 {
22243 arg2 = (bool)(SWIG_As_bool(obj1));
22244 if (SWIG_arg_fail(2)) SWIG_fail;
22245 }
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 (arg1)->EnablePaper(arg2);
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 Py_INCREF(Py_None); resultobj = Py_None;
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22263 bool arg2 ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self",(char *) "flag", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
22271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail;
22273 {
22274 arg2 = (bool)(SWIG_As_bool(obj1));
22275 if (SWIG_arg_fail(2)) SWIG_fail;
22276 }
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 (arg1)->EnablePrinter(arg2);
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 Py_INCREF(Py_None); resultobj = Py_None;
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22294 bool result;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = (bool)(arg1)->GetDefaultMinMargins();
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 {
22311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22312 }
22313 return resultobj;
22314 fail:
22315 return NULL;
22316 }
22317
22318
22319 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22320 PyObject *resultobj;
22321 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22322 bool result;
22323 PyObject * obj0 = 0 ;
22324 char *kwnames[] = {
22325 (char *) "self", NULL
22326 };
22327
22328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail;
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (bool)(arg1)->GetEnableMargins();
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 {
22339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344 }
22345
22346
22347 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22350 bool result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (bool)(arg1)->GetEnableOrientation();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 {
22367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22368 }
22369 return resultobj;
22370 fail:
22371 return NULL;
22372 }
22373
22374
22375 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj;
22377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22378 bool result;
22379 PyObject * obj0 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail;
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (bool)(arg1)->GetEnablePaper();
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 {
22395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22396 }
22397 return resultobj;
22398 fail:
22399 return NULL;
22400 }
22401
22402
22403 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22406 bool result;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail;
22415 {
22416 PyThreadState* __tstate = wxPyBeginAllowThreads();
22417 result = (bool)(arg1)->GetEnablePrinter();
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 {
22423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22424 }
22425 return resultobj;
22426 fail:
22427 return NULL;
22428 }
22429
22430
22431 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22434 bool result;
22435 PyObject * obj0 = 0 ;
22436 char *kwnames[] = {
22437 (char *) "self", NULL
22438 };
22439
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail;
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 result = (bool)(arg1)->GetEnableHelp();
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 {
22451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22452 }
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22462 bool result;
22463 PyObject * obj0 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22470 if (SWIG_arg_fail(1)) SWIG_fail;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (bool)(arg1)->GetDefaultInfo();
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 {
22479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22480 }
22481 return resultobj;
22482 fail:
22483 return NULL;
22484 }
22485
22486
22487 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22488 PyObject *resultobj;
22489 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22490 wxPoint result;
22491 PyObject * obj0 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail;
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 result = (arg1)->GetMarginTopLeft();
22502
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 {
22507 wxPoint * resultptr;
22508 resultptr = new wxPoint((wxPoint &)(result));
22509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22510 }
22511 return resultobj;
22512 fail:
22513 return NULL;
22514 }
22515
22516
22517 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22518 PyObject *resultobj;
22519 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22520 wxPoint result;
22521 PyObject * obj0 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22528 if (SWIG_arg_fail(1)) SWIG_fail;
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 result = (arg1)->GetMarginBottomRight();
22532
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 {
22537 wxPoint * resultptr;
22538 resultptr = new wxPoint((wxPoint &)(result));
22539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22540 }
22541 return resultobj;
22542 fail:
22543 return NULL;
22544 }
22545
22546
22547 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22550 wxPoint result;
22551 PyObject * obj0 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22558 if (SWIG_arg_fail(1)) SWIG_fail;
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 result = (arg1)->GetMinMarginTopLeft();
22562
22563 wxPyEndAllowThreads(__tstate);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 }
22566 {
22567 wxPoint * resultptr;
22568 resultptr = new wxPoint((wxPoint &)(result));
22569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22570 }
22571 return resultobj;
22572 fail:
22573 return NULL;
22574 }
22575
22576
22577 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22580 wxPoint result;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22588 if (SWIG_arg_fail(1)) SWIG_fail;
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (arg1)->GetMinMarginBottomRight();
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
22596 {
22597 wxPoint * resultptr;
22598 resultptr = new wxPoint((wxPoint &)(result));
22599 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22600 }
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22608 PyObject *resultobj;
22609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22610 wxPaperSize result;
22611 PyObject * obj0 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22618 if (SWIG_arg_fail(1)) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (wxPaperSize)(arg1)->GetPaperId();
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 resultobj = SWIG_From_int((result));
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22636 wxSize result;
22637 PyObject * obj0 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail;
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 result = (arg1)->GetPaperSize();
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 {
22653 wxSize * resultptr;
22654 resultptr = new wxSize((wxSize &)(result));
22655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22656 }
22657 return resultobj;
22658 fail:
22659 return NULL;
22660 }
22661
22662
22663 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22666 wxPrintData *result;
22667 PyObject * obj0 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 {
22678 wxPrintData &_result_ref = (arg1)->GetPrintData();
22679 result = (wxPrintData *) &_result_ref;
22680 }
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22695 bool result;
22696 PyObject * obj0 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "self", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22703 if (SWIG_arg_fail(1)) SWIG_fail;
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 result = (bool)(arg1)->Ok();
22707
22708 wxPyEndAllowThreads(__tstate);
22709 if (PyErr_Occurred()) SWIG_fail;
22710 }
22711 {
22712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22713 }
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22723 bool arg2 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self",(char *) "flag", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22732 if (SWIG_arg_fail(1)) SWIG_fail;
22733 {
22734 arg2 = (bool)(SWIG_As_bool(obj1));
22735 if (SWIG_arg_fail(2)) SWIG_fail;
22736 }
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->SetDefaultInfo(arg2);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22754 bool arg2 ;
22755 PyObject * obj0 = 0 ;
22756 PyObject * obj1 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self",(char *) "flag", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22763 if (SWIG_arg_fail(1)) SWIG_fail;
22764 {
22765 arg2 = (bool)(SWIG_As_bool(obj1));
22766 if (SWIG_arg_fail(2)) SWIG_fail;
22767 }
22768 {
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 (arg1)->SetDefaultMinMargins(arg2);
22771
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 Py_INCREF(Py_None); resultobj = Py_None;
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22785 wxPoint *arg2 = 0 ;
22786 wxPoint temp2 ;
22787 PyObject * obj0 = 0 ;
22788 PyObject * obj1 = 0 ;
22789 char *kwnames[] = {
22790 (char *) "self",(char *) "pt", NULL
22791 };
22792
22793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22795 if (SWIG_arg_fail(1)) SWIG_fail;
22796 {
22797 arg2 = &temp2;
22798 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 Py_INCREF(Py_None); resultobj = Py_None;
22808 return resultobj;
22809 fail:
22810 return NULL;
22811 }
22812
22813
22814 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22815 PyObject *resultobj;
22816 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22817 wxPoint *arg2 = 0 ;
22818 wxPoint temp2 ;
22819 PyObject * obj0 = 0 ;
22820 PyObject * obj1 = 0 ;
22821 char *kwnames[] = {
22822 (char *) "self",(char *) "pt", NULL
22823 };
22824
22825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22827 if (SWIG_arg_fail(1)) SWIG_fail;
22828 {
22829 arg2 = &temp2;
22830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22831 }
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 Py_INCREF(Py_None); resultobj = Py_None;
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22849 wxPoint *arg2 = 0 ;
22850 wxPoint temp2 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "pt", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22859 if (SWIG_arg_fail(1)) SWIG_fail;
22860 {
22861 arg2 = &temp2;
22862 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22863 }
22864 {
22865 PyThreadState* __tstate = wxPyBeginAllowThreads();
22866 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22867
22868 wxPyEndAllowThreads(__tstate);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 }
22871 Py_INCREF(Py_None); resultobj = Py_None;
22872 return resultobj;
22873 fail:
22874 return NULL;
22875 }
22876
22877
22878 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22881 wxPoint *arg2 = 0 ;
22882 wxPoint temp2 ;
22883 PyObject * obj0 = 0 ;
22884 PyObject * obj1 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self",(char *) "pt", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail;
22892 {
22893 arg2 = &temp2;
22894 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22895 }
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22913 wxPaperSize arg2 ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self",(char *) "id", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail;
22923 {
22924 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22925 if (SWIG_arg_fail(2)) SWIG_fail;
22926 }
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 (arg1)->SetPaperId((wxPaperSize )arg2);
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 Py_INCREF(Py_None); resultobj = Py_None;
22935 return resultobj;
22936 fail:
22937 return NULL;
22938 }
22939
22940
22941 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22942 PyObject *resultobj;
22943 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22944 wxSize *arg2 = 0 ;
22945 wxSize temp2 ;
22946 PyObject * obj0 = 0 ;
22947 PyObject * obj1 = 0 ;
22948 char *kwnames[] = {
22949 (char *) "self",(char *) "size", NULL
22950 };
22951
22952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail;
22955 {
22956 arg2 = &temp2;
22957 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22958 }
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 (arg1)->SetPaperSize((wxSize const &)*arg2);
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 Py_INCREF(Py_None); resultobj = Py_None;
22967 return resultobj;
22968 fail:
22969 return NULL;
22970 }
22971
22972
22973 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj;
22975 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22976 wxPrintData *arg2 = 0 ;
22977 PyObject * obj0 = 0 ;
22978 PyObject * obj1 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self",(char *) "printData", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail;
22986 {
22987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22988 if (SWIG_arg_fail(2)) SWIG_fail;
22989 if (arg2 == NULL) {
22990 SWIG_null_ref("wxPrintData");
22991 }
22992 if (SWIG_arg_fail(2)) SWIG_fail;
22993 }
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 Py_INCREF(Py_None); resultobj = Py_None;
23002 return resultobj;
23003 fail:
23004 return NULL;
23005 }
23006
23007
23008 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23011 PyObject * obj0 = 0 ;
23012 char *kwnames[] = {
23013 (char *) "self", NULL
23014 };
23015
23016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
23017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23018 if (SWIG_arg_fail(1)) SWIG_fail;
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 (arg1)->CalculateIdFromPaperSize();
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 Py_INCREF(Py_None); resultobj = Py_None;
23027 return resultobj;
23028 fail:
23029 return NULL;
23030 }
23031
23032
23033 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
23034 PyObject *resultobj;
23035 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23036 PyObject * obj0 = 0 ;
23037 char *kwnames[] = {
23038 (char *) "self", NULL
23039 };
23040
23041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
23042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23043 if (SWIG_arg_fail(1)) SWIG_fail;
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 (arg1)->CalculatePaperSizeFromId();
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 Py_INCREF(Py_None); resultobj = Py_None;
23052 return resultobj;
23053 fail:
23054 return NULL;
23055 }
23056
23057
23058 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
23059 PyObject *obj;
23060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
23062 Py_INCREF(obj);
23063 return Py_BuildValue((char *)"");
23064 }
23065 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23066 PyObject *resultobj;
23067 wxWindow *arg1 = (wxWindow *) 0 ;
23068 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
23069 wxPageSetupDialog *result;
23070 PyObject * obj0 = 0 ;
23071 PyObject * obj1 = 0 ;
23072 char *kwnames[] = {
23073 (char *) "parent",(char *) "data", NULL
23074 };
23075
23076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23078 if (SWIG_arg_fail(1)) SWIG_fail;
23079 if (obj1) {
23080 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23081 if (SWIG_arg_fail(2)) SWIG_fail;
23082 }
23083 {
23084 if (!wxPyCheckForApp()) SWIG_fail;
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
23099 PyObject *resultobj;
23100 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23101 wxPageSetupDialogData *result;
23102 PyObject * obj0 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
23108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23109 if (SWIG_arg_fail(1)) SWIG_fail;
23110 {
23111 PyThreadState* __tstate = wxPyBeginAllowThreads();
23112 {
23113 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23114 result = (wxPageSetupDialogData *) &_result_ref;
23115 }
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23130 wxPageSetupDialogData *result;
23131 PyObject * obj0 = 0 ;
23132 char *kwnames[] = {
23133 (char *) "self", NULL
23134 };
23135
23136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
23137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23138 if (SWIG_arg_fail(1)) SWIG_fail;
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 {
23142 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23143 result = (wxPageSetupDialogData *) &_result_ref;
23144 }
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23157 PyObject *resultobj;
23158 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23159 int result;
23160 PyObject * obj0 = 0 ;
23161 char *kwnames[] = {
23162 (char *) "self", NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
23166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail;
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 result = (int)(arg1)->ShowModal();
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 {
23176 resultobj = SWIG_From_int((int)(result));
23177 }
23178 return resultobj;
23179 fail:
23180 return NULL;
23181 }
23182
23183
23184 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
23185 PyObject *obj;
23186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23187 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23188 Py_INCREF(obj);
23189 return Py_BuildValue((char *)"");
23190 }
23191 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
23192 PyObject *resultobj;
23193 wxPrintDialogData *result;
23194
23195 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 result = (wxPrintDialogData *)new wxPrintDialogData();
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
23211 PyObject *resultobj;
23212 wxPrintData *arg1 = 0 ;
23213 wxPrintDialogData *result;
23214 PyObject * obj0 = 0 ;
23215
23216 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23217 {
23218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail;
23220 if (arg1 == NULL) {
23221 SWIG_null_ref("wxPrintData");
23222 }
23223 if (SWIG_arg_fail(1)) SWIG_fail;
23224 }
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23228
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
23232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23233 return resultobj;
23234 fail:
23235 return NULL;
23236 }
23237
23238
23239 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23240 PyObject *resultobj;
23241 wxPrintDialogData *arg1 = 0 ;
23242 wxPrintDialogData *result;
23243 PyObject * obj0 = 0 ;
23244
23245 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23246 {
23247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail;
23249 if (arg1 == NULL) {
23250 SWIG_null_ref("wxPrintDialogData");
23251 }
23252 if (SWIG_arg_fail(1)) SWIG_fail;
23253 }
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23269 int argc;
23270 PyObject *argv[2];
23271 int ii;
23272
23273 argc = PyObject_Length(args);
23274 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23275 argv[ii] = PyTuple_GetItem(args,ii);
23276 }
23277 if (argc == 0) {
23278 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23279 }
23280 if (argc == 1) {
23281 int _v;
23282 {
23283 void *ptr = 0;
23284 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23285 _v = 0;
23286 PyErr_Clear();
23287 } else {
23288 _v = (ptr != 0);
23289 }
23290 }
23291 if (_v) {
23292 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23293 }
23294 }
23295 if (argc == 1) {
23296 int _v;
23297 {
23298 void *ptr = 0;
23299 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23300 _v = 0;
23301 PyErr_Clear();
23302 } else {
23303 _v = (ptr != 0);
23304 }
23305 }
23306 if (_v) {
23307 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23308 }
23309 }
23310
23311 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23312 return NULL;
23313 }
23314
23315
23316 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23319 PyObject * obj0 = 0 ;
23320 char *kwnames[] = {
23321 (char *) "self", NULL
23322 };
23323
23324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23326 if (SWIG_arg_fail(1)) SWIG_fail;
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 delete arg1;
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 Py_INCREF(Py_None); resultobj = Py_None;
23335 return resultobj;
23336 fail:
23337 return NULL;
23338 }
23339
23340
23341 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23342 PyObject *resultobj;
23343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23344 int result;
23345 PyObject * obj0 = 0 ;
23346 char *kwnames[] = {
23347 (char *) "self", NULL
23348 };
23349
23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail;
23353 {
23354 PyThreadState* __tstate = wxPyBeginAllowThreads();
23355 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23356
23357 wxPyEndAllowThreads(__tstate);
23358 if (PyErr_Occurred()) SWIG_fail;
23359 }
23360 {
23361 resultobj = SWIG_From_int((int)(result));
23362 }
23363 return resultobj;
23364 fail:
23365 return NULL;
23366 }
23367
23368
23369 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23372 int result;
23373 PyObject * obj0 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23380 if (SWIG_arg_fail(1)) SWIG_fail;
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 {
23389 resultobj = SWIG_From_int((int)(result));
23390 }
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23398 PyObject *resultobj;
23399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23400 int result;
23401 PyObject * obj0 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23408 if (SWIG_arg_fail(1)) SWIG_fail;
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 {
23417 resultobj = SWIG_From_int((int)(result));
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422 }
23423
23424
23425 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj;
23427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23428 int result;
23429 PyObject * obj0 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23436 if (SWIG_arg_fail(1)) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23440
23441 wxPyEndAllowThreads(__tstate);
23442 if (PyErr_Occurred()) SWIG_fail;
23443 }
23444 {
23445 resultobj = SWIG_From_int((int)(result));
23446 }
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23456 int result;
23457 PyObject * obj0 = 0 ;
23458 char *kwnames[] = {
23459 (char *) "self", NULL
23460 };
23461
23462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23464 if (SWIG_arg_fail(1)) SWIG_fail;
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 {
23473 resultobj = SWIG_From_int((int)(result));
23474 }
23475 return resultobj;
23476 fail:
23477 return NULL;
23478 }
23479
23480
23481 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23482 PyObject *resultobj;
23483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23484 bool result;
23485 PyObject * obj0 = 0 ;
23486 char *kwnames[] = {
23487 (char *) "self", NULL
23488 };
23489
23490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail;
23493 {
23494 PyThreadState* __tstate = wxPyBeginAllowThreads();
23495 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23496
23497 wxPyEndAllowThreads(__tstate);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 }
23500 {
23501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23502 }
23503 return resultobj;
23504 fail:
23505 return NULL;
23506 }
23507
23508
23509 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23510 PyObject *resultobj;
23511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23512 bool result;
23513 PyObject * obj0 = 0 ;
23514 char *kwnames[] = {
23515 (char *) "self", NULL
23516 };
23517
23518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail;
23521 {
23522 PyThreadState* __tstate = wxPyBeginAllowThreads();
23523 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23524
23525 wxPyEndAllowThreads(__tstate);
23526 if (PyErr_Occurred()) SWIG_fail;
23527 }
23528 {
23529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23530 }
23531 return resultobj;
23532 fail:
23533 return NULL;
23534 }
23535
23536
23537 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23538 PyObject *resultobj;
23539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23540 bool result;
23541 PyObject * obj0 = 0 ;
23542 char *kwnames[] = {
23543 (char *) "self", NULL
23544 };
23545
23546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23548 if (SWIG_arg_fail(1)) SWIG_fail;
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 {
23557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23558 }
23559 return resultobj;
23560 fail:
23561 return NULL;
23562 }
23563
23564
23565 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23566 PyObject *resultobj;
23567 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23568 bool result;
23569 PyObject * obj0 = 0 ;
23570 char *kwnames[] = {
23571 (char *) "self", NULL
23572 };
23573
23574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23576 if (SWIG_arg_fail(1)) SWIG_fail;
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 {
23585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23586 }
23587 return resultobj;
23588 fail:
23589 return NULL;
23590 }
23591
23592
23593 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23596 bool result;
23597 PyObject * obj0 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23604 if (SWIG_arg_fail(1)) SWIG_fail;
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 {
23613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23614 }
23615 return resultobj;
23616 fail:
23617 return NULL;
23618 }
23619
23620
23621 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23624 bool arg2 ;
23625 PyObject * obj0 = 0 ;
23626 PyObject * obj1 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "flag", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail;
23634 {
23635 arg2 = (bool)(SWIG_As_bool(obj1));
23636 if (SWIG_arg_fail(2)) SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SetSetupDialog(arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23655 int arg2 ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self",(char *) "v", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23664 if (SWIG_arg_fail(1)) SWIG_fail;
23665 {
23666 arg2 = (int)(SWIG_As_int(obj1));
23667 if (SWIG_arg_fail(2)) SWIG_fail;
23668 }
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 (arg1)->SetFromPage(arg2);
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 Py_INCREF(Py_None); resultobj = Py_None;
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23686 int arg2 ;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "v", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23695 if (SWIG_arg_fail(1)) SWIG_fail;
23696 {
23697 arg2 = (int)(SWIG_As_int(obj1));
23698 if (SWIG_arg_fail(2)) SWIG_fail;
23699 }
23700 {
23701 PyThreadState* __tstate = wxPyBeginAllowThreads();
23702 (arg1)->SetToPage(arg2);
23703
23704 wxPyEndAllowThreads(__tstate);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 Py_INCREF(Py_None); resultobj = Py_None;
23708 return resultobj;
23709 fail:
23710 return NULL;
23711 }
23712
23713
23714 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23715 PyObject *resultobj;
23716 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23717 int arg2 ;
23718 PyObject * obj0 = 0 ;
23719 PyObject * obj1 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "self",(char *) "v", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail;
23727 {
23728 arg2 = (int)(SWIG_As_int(obj1));
23729 if (SWIG_arg_fail(2)) SWIG_fail;
23730 }
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 (arg1)->SetMinPage(arg2);
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 Py_INCREF(Py_None); resultobj = Py_None;
23739 return resultobj;
23740 fail:
23741 return NULL;
23742 }
23743
23744
23745 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23748 int arg2 ;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "v", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23757 if (SWIG_arg_fail(1)) SWIG_fail;
23758 {
23759 arg2 = (int)(SWIG_As_int(obj1));
23760 if (SWIG_arg_fail(2)) SWIG_fail;
23761 }
23762 {
23763 PyThreadState* __tstate = wxPyBeginAllowThreads();
23764 (arg1)->SetMaxPage(arg2);
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 Py_INCREF(Py_None); resultobj = Py_None;
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23777 PyObject *resultobj;
23778 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23779 int arg2 ;
23780 PyObject * obj0 = 0 ;
23781 PyObject * obj1 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self",(char *) "v", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail;
23789 {
23790 arg2 = (int)(SWIG_As_int(obj1));
23791 if (SWIG_arg_fail(2)) SWIG_fail;
23792 }
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 (arg1)->SetNoCopies(arg2);
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 Py_INCREF(Py_None); resultobj = Py_None;
23801 return resultobj;
23802 fail:
23803 return NULL;
23804 }
23805
23806
23807 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23808 PyObject *resultobj;
23809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23810 bool arg2 ;
23811 PyObject * obj0 = 0 ;
23812 PyObject * obj1 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "flag", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail;
23820 {
23821 arg2 = (bool)(SWIG_As_bool(obj1));
23822 if (SWIG_arg_fail(2)) SWIG_fail;
23823 }
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 (arg1)->SetAllPages(arg2);
23827
23828 wxPyEndAllowThreads(__tstate);
23829 if (PyErr_Occurred()) SWIG_fail;
23830 }
23831 Py_INCREF(Py_None); resultobj = Py_None;
23832 return resultobj;
23833 fail:
23834 return NULL;
23835 }
23836
23837
23838 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23839 PyObject *resultobj;
23840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23841 bool arg2 ;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self",(char *) "flag", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail;
23851 {
23852 arg2 = (bool)(SWIG_As_bool(obj1));
23853 if (SWIG_arg_fail(2)) SWIG_fail;
23854 }
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 (arg1)->SetSelection(arg2);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
23862 Py_INCREF(Py_None); resultobj = Py_None;
23863 return resultobj;
23864 fail:
23865 return NULL;
23866 }
23867
23868
23869 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23870 PyObject *resultobj;
23871 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23872 bool arg2 ;
23873 PyObject * obj0 = 0 ;
23874 PyObject * obj1 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "self",(char *) "flag", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23881 if (SWIG_arg_fail(1)) SWIG_fail;
23882 {
23883 arg2 = (bool)(SWIG_As_bool(obj1));
23884 if (SWIG_arg_fail(2)) SWIG_fail;
23885 }
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 (arg1)->SetCollate(arg2);
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 Py_INCREF(Py_None); resultobj = Py_None;
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23903 bool arg2 ;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 char *kwnames[] = {
23907 (char *) "self",(char *) "flag", NULL
23908 };
23909
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23912 if (SWIG_arg_fail(1)) SWIG_fail;
23913 {
23914 arg2 = (bool)(SWIG_As_bool(obj1));
23915 if (SWIG_arg_fail(2)) SWIG_fail;
23916 }
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 (arg1)->SetPrintToFile(arg2);
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 Py_INCREF(Py_None); resultobj = Py_None;
23925 return resultobj;
23926 fail:
23927 return NULL;
23928 }
23929
23930
23931 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23934 bool arg2 ;
23935 PyObject * obj0 = 0 ;
23936 PyObject * obj1 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self",(char *) "flag", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23943 if (SWIG_arg_fail(1)) SWIG_fail;
23944 {
23945 arg2 = (bool)(SWIG_As_bool(obj1));
23946 if (SWIG_arg_fail(2)) SWIG_fail;
23947 }
23948 {
23949 PyThreadState* __tstate = wxPyBeginAllowThreads();
23950 (arg1)->EnablePrintToFile(arg2);
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
23955 Py_INCREF(Py_None); resultobj = Py_None;
23956 return resultobj;
23957 fail:
23958 return NULL;
23959 }
23960
23961
23962 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23963 PyObject *resultobj;
23964 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23965 bool arg2 ;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "flag", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23974 if (SWIG_arg_fail(1)) SWIG_fail;
23975 {
23976 arg2 = (bool)(SWIG_As_bool(obj1));
23977 if (SWIG_arg_fail(2)) SWIG_fail;
23978 }
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 (arg1)->EnableSelection(arg2);
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 Py_INCREF(Py_None); resultobj = Py_None;
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23996 bool arg2 ;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self",(char *) "flag", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
24004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24005 if (SWIG_arg_fail(1)) SWIG_fail;
24006 {
24007 arg2 = (bool)(SWIG_As_bool(obj1));
24008 if (SWIG_arg_fail(2)) SWIG_fail;
24009 }
24010 {
24011 PyThreadState* __tstate = wxPyBeginAllowThreads();
24012 (arg1)->EnablePageNumbers(arg2);
24013
24014 wxPyEndAllowThreads(__tstate);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 }
24017 Py_INCREF(Py_None); resultobj = Py_None;
24018 return resultobj;
24019 fail:
24020 return NULL;
24021 }
24022
24023
24024 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24027 bool arg2 ;
24028 PyObject * obj0 = 0 ;
24029 PyObject * obj1 = 0 ;
24030 char *kwnames[] = {
24031 (char *) "self",(char *) "flag", NULL
24032 };
24033
24034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
24035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24036 if (SWIG_arg_fail(1)) SWIG_fail;
24037 {
24038 arg2 = (bool)(SWIG_As_bool(obj1));
24039 if (SWIG_arg_fail(2)) SWIG_fail;
24040 }
24041 {
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 (arg1)->EnableHelp(arg2);
24044
24045 wxPyEndAllowThreads(__tstate);
24046 if (PyErr_Occurred()) SWIG_fail;
24047 }
24048 Py_INCREF(Py_None); resultobj = Py_None;
24049 return resultobj;
24050 fail:
24051 return NULL;
24052 }
24053
24054
24055 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
24056 PyObject *resultobj;
24057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24058 bool result;
24059 PyObject * obj0 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
24065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 {
24075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24076 }
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24086 bool result;
24087 PyObject * obj0 = 0 ;
24088 char *kwnames[] = {
24089 (char *) "self", NULL
24090 };
24091
24092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
24093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24094 if (SWIG_arg_fail(1)) SWIG_fail;
24095 {
24096 PyThreadState* __tstate = wxPyBeginAllowThreads();
24097 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24098
24099 wxPyEndAllowThreads(__tstate);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
24102 {
24103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24104 }
24105 return resultobj;
24106 fail:
24107 return NULL;
24108 }
24109
24110
24111 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj;
24113 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24114 bool result;
24115 PyObject * obj0 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
24121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24122 if (SWIG_arg_fail(1)) SWIG_fail;
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 {
24131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24132 }
24133 return resultobj;
24134 fail:
24135 return NULL;
24136 }
24137
24138
24139 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24142 bool result;
24143 PyObject * obj0 = 0 ;
24144 char *kwnames[] = {
24145 (char *) "self", NULL
24146 };
24147
24148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
24149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24150 if (SWIG_arg_fail(1)) SWIG_fail;
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 {
24159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24160 }
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24170 bool result;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
24177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24188 }
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24196 PyObject *resultobj;
24197 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24198 wxPrintData *result;
24199 PyObject * obj0 = 0 ;
24200 char *kwnames[] = {
24201 (char *) "self", NULL
24202 };
24203
24204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
24205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24206 if (SWIG_arg_fail(1)) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 {
24210 wxPrintData &_result_ref = (arg1)->GetPrintData();
24211 result = (wxPrintData *) &_result_ref;
24212 }
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
24217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24218 return resultobj;
24219 fail:
24220 return NULL;
24221 }
24222
24223
24224 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24225 PyObject *resultobj;
24226 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24227 wxPrintData *arg2 = 0 ;
24228 PyObject * obj0 = 0 ;
24229 PyObject * obj1 = 0 ;
24230 char *kwnames[] = {
24231 (char *) "self",(char *) "printData", NULL
24232 };
24233
24234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
24235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24236 if (SWIG_arg_fail(1)) SWIG_fail;
24237 {
24238 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(2)) SWIG_fail;
24240 if (arg2 == NULL) {
24241 SWIG_null_ref("wxPrintData");
24242 }
24243 if (SWIG_arg_fail(2)) SWIG_fail;
24244 }
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 Py_INCREF(Py_None); resultobj = Py_None;
24253 return resultobj;
24254 fail:
24255 return NULL;
24256 }
24257
24258
24259 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
24260 PyObject *obj;
24261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24262 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24263 Py_INCREF(obj);
24264 return Py_BuildValue((char *)"");
24265 }
24266 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxWindow *arg1 = (wxWindow *) 0 ;
24269 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24270 wxPrintDialog *result;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "parent",(char *) "data", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24279 if (SWIG_arg_fail(1)) SWIG_fail;
24280 if (obj1) {
24281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24282 if (SWIG_arg_fail(2)) SWIG_fail;
24283 }
24284 {
24285 if (!wxPyCheckForApp()) SWIG_fail;
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24302 int result;
24303 PyObject * obj0 = 0 ;
24304 char *kwnames[] = {
24305 (char *) "self", NULL
24306 };
24307
24308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24310 if (SWIG_arg_fail(1)) SWIG_fail;
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 result = (int)(arg1)->ShowModal();
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 {
24319 resultobj = SWIG_From_int((int)(result));
24320 }
24321 return resultobj;
24322 fail:
24323 return NULL;
24324 }
24325
24326
24327 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24328 PyObject *resultobj;
24329 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24330 wxPrintDialogData *result;
24331 PyObject * obj0 = 0 ;
24332 char *kwnames[] = {
24333 (char *) "self", NULL
24334 };
24335
24336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24338 if (SWIG_arg_fail(1)) SWIG_fail;
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 {
24342 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24343 result = (wxPrintDialogData *) &_result_ref;
24344 }
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24359 wxPrintData *result;
24360 PyObject * obj0 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail;
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 {
24371 wxPrintData &_result_ref = (arg1)->GetPrintData();
24372 result = (wxPrintData *) &_result_ref;
24373 }
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24379 return resultobj;
24380 fail:
24381 return NULL;
24382 }
24383
24384
24385 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
24387 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24388 wxDC *result;
24389 PyObject * obj0 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24396 if (SWIG_arg_fail(1)) SWIG_fail;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 result = (wxDC *)(arg1)->GetPrintDC();
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 {
24405 resultobj = wxPyMake_wxObject(result, 1);
24406 }
24407 return resultobj;
24408 fail:
24409 return NULL;
24410 }
24411
24412
24413 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24414 PyObject *obj;
24415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24416 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24417 Py_INCREF(obj);
24418 return Py_BuildValue((char *)"");
24419 }
24420 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj;
24422 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24423 wxPrinter *result;
24424 PyObject * obj0 = 0 ;
24425 char *kwnames[] = {
24426 (char *) "data", NULL
24427 };
24428
24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24430 if (obj0) {
24431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail;
24433 }
24434 {
24435 if (!wxPyCheckForApp()) SWIG_fail;
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (wxPrinter *)new wxPrinter(arg1);
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24443 return resultobj;
24444 fail:
24445 return NULL;
24446 }
24447
24448
24449 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24450 PyObject *resultobj;
24451 wxPrinter *arg1 = (wxPrinter *) 0 ;
24452 PyObject * obj0 = 0 ;
24453 char *kwnames[] = {
24454 (char *) "self", NULL
24455 };
24456
24457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24459 if (SWIG_arg_fail(1)) SWIG_fail;
24460 {
24461 PyThreadState* __tstate = wxPyBeginAllowThreads();
24462 delete arg1;
24463
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 Py_INCREF(Py_None); resultobj = Py_None;
24468 return resultobj;
24469 fail:
24470 return NULL;
24471 }
24472
24473
24474 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj;
24476 wxPrinter *arg1 = (wxPrinter *) 0 ;
24477 wxWindow *arg2 = (wxWindow *) 0 ;
24478 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24479 wxWindow *result;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 PyObject * obj2 = 0 ;
24483 char *kwnames[] = {
24484 (char *) "self",(char *) "parent",(char *) "printout", NULL
24485 };
24486
24487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24489 if (SWIG_arg_fail(1)) SWIG_fail;
24490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24491 if (SWIG_arg_fail(2)) SWIG_fail;
24492 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24493 if (SWIG_arg_fail(3)) SWIG_fail;
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 {
24502 resultobj = wxPyMake_wxObject(result, 0);
24503 }
24504 return resultobj;
24505 fail:
24506 return NULL;
24507 }
24508
24509
24510 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj;
24512 wxPrinter *arg1 = (wxPrinter *) 0 ;
24513 wxWindow *arg2 = (wxWindow *) 0 ;
24514 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24515 wxString *arg4 = 0 ;
24516 bool temp4 = false ;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 PyObject * obj2 = 0 ;
24520 PyObject * obj3 = 0 ;
24521 char *kwnames[] = {
24522 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24523 };
24524
24525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24527 if (SWIG_arg_fail(1)) SWIG_fail;
24528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24529 if (SWIG_arg_fail(2)) SWIG_fail;
24530 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24531 if (SWIG_arg_fail(3)) SWIG_fail;
24532 {
24533 arg4 = wxString_in_helper(obj3);
24534 if (arg4 == NULL) SWIG_fail;
24535 temp4 = true;
24536 }
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 Py_INCREF(Py_None); resultobj = Py_None;
24545 {
24546 if (temp4)
24547 delete arg4;
24548 }
24549 return resultobj;
24550 fail:
24551 {
24552 if (temp4)
24553 delete arg4;
24554 }
24555 return NULL;
24556 }
24557
24558
24559 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24560 PyObject *resultobj;
24561 wxPrinter *arg1 = (wxPrinter *) 0 ;
24562 wxWindow *arg2 = (wxWindow *) 0 ;
24563 bool result;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self",(char *) "parent", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24572 if (SWIG_arg_fail(1)) SWIG_fail;
24573 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24574 if (SWIG_arg_fail(2)) SWIG_fail;
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 result = (bool)(arg1)->Setup(arg2);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24584 }
24585 return resultobj;
24586 fail:
24587 return NULL;
24588 }
24589
24590
24591 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24592 PyObject *resultobj;
24593 wxPrinter *arg1 = (wxPrinter *) 0 ;
24594 wxWindow *arg2 = (wxWindow *) 0 ;
24595 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24596 bool arg4 = (bool) true ;
24597 bool result;
24598 PyObject * obj0 = 0 ;
24599 PyObject * obj1 = 0 ;
24600 PyObject * obj2 = 0 ;
24601 PyObject * obj3 = 0 ;
24602 char *kwnames[] = {
24603 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24604 };
24605
24606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24608 if (SWIG_arg_fail(1)) SWIG_fail;
24609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24610 if (SWIG_arg_fail(2)) SWIG_fail;
24611 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24612 if (SWIG_arg_fail(3)) SWIG_fail;
24613 if (obj3) {
24614 {
24615 arg4 = (bool)(SWIG_As_bool(obj3));
24616 if (SWIG_arg_fail(4)) SWIG_fail;
24617 }
24618 }
24619 {
24620 PyThreadState* __tstate = wxPyBeginAllowThreads();
24621 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24622
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 {
24627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24628 }
24629 return resultobj;
24630 fail:
24631 return NULL;
24632 }
24633
24634
24635 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24636 PyObject *resultobj;
24637 wxPrinter *arg1 = (wxPrinter *) 0 ;
24638 wxWindow *arg2 = (wxWindow *) 0 ;
24639 wxDC *result;
24640 PyObject * obj0 = 0 ;
24641 PyObject * obj1 = 0 ;
24642 char *kwnames[] = {
24643 (char *) "self",(char *) "parent", NULL
24644 };
24645
24646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail;
24649 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24650 if (SWIG_arg_fail(2)) SWIG_fail;
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 result = (wxDC *)(arg1)->PrintDialog(arg2);
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 {
24659 resultobj = wxPyMake_wxObject(result, 0);
24660 }
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxPrinter *arg1 = (wxPrinter *) 0 ;
24670 wxPrintDialogData *result;
24671 PyObject * obj0 = 0 ;
24672 char *kwnames[] = {
24673 (char *) "self", NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24678 if (SWIG_arg_fail(1)) SWIG_fail;
24679 {
24680 PyThreadState* __tstate = wxPyBeginAllowThreads();
24681 {
24682 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24683 result = (wxPrintDialogData *) &_result_ref;
24684 }
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPrinter *arg1 = (wxPrinter *) 0 ;
24699 bool result;
24700 PyObject * obj0 = 0 ;
24701 char *kwnames[] = {
24702 (char *) "self", NULL
24703 };
24704
24705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24707 if (SWIG_arg_fail(1)) SWIG_fail;
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 result = (bool)(arg1)->GetAbort();
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 {
24716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24717 }
24718 return resultobj;
24719 fail:
24720 return NULL;
24721 }
24722
24723
24724 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24725 PyObject *resultobj;
24726 wxPrinterError result;
24727 char *kwnames[] = {
24728 NULL
24729 };
24730
24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 result = (wxPrinterError)wxPrinter::GetLastError();
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 resultobj = SWIG_From_int((result));
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24747 PyObject *obj;
24748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24749 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24750 Py_INCREF(obj);
24751 return Py_BuildValue((char *)"");
24752 }
24753 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24756 wxString *arg1 = (wxString *) &arg1_defvalue ;
24757 wxPyPrintout *result;
24758 bool temp1 = false ;
24759 PyObject * obj0 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "title", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24765 if (obj0) {
24766 {
24767 arg1 = wxString_in_helper(obj0);
24768 if (arg1 == NULL) SWIG_fail;
24769 temp1 = true;
24770 }
24771 }
24772 {
24773 if (!wxPyCheckForApp()) SWIG_fail;
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24776
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 {
24781 resultobj = wxPyMake_wxObject(result, 1);
24782 }
24783 {
24784 if (temp1)
24785 delete arg1;
24786 }
24787 return resultobj;
24788 fail:
24789 {
24790 if (temp1)
24791 delete arg1;
24792 }
24793 return NULL;
24794 }
24795
24796
24797 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj;
24799 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24800 PyObject *arg2 = (PyObject *) 0 ;
24801 PyObject *arg3 = (PyObject *) 0 ;
24802 PyObject * obj0 = 0 ;
24803 PyObject * obj1 = 0 ;
24804 PyObject * obj2 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "self",(char *) "self",(char *) "_class", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24811 if (SWIG_arg_fail(1)) SWIG_fail;
24812 arg2 = obj1;
24813 arg3 = obj2;
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 (arg1)->_setCallbackInfo(arg2,arg3);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 Py_INCREF(Py_None); resultobj = Py_None;
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj;
24830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24831 wxString result;
24832 PyObject * obj0 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail;
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = ((wxPyPrintout const *)arg1)->GetTitle();
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 {
24848 #if wxUSE_UNICODE
24849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24850 #else
24851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24852 #endif
24853 }
24854 return resultobj;
24855 fail:
24856 return NULL;
24857 }
24858
24859
24860 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj;
24862 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24863 wxDC *result;
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24871 if (SWIG_arg_fail(1)) SWIG_fail;
24872 {
24873 PyThreadState* __tstate = wxPyBeginAllowThreads();
24874 result = (wxDC *)(arg1)->GetDC();
24875
24876 wxPyEndAllowThreads(__tstate);
24877 if (PyErr_Occurred()) SWIG_fail;
24878 }
24879 {
24880 resultobj = wxPyMake_wxObject(result, 0);
24881 }
24882 return resultobj;
24883 fail:
24884 return NULL;
24885 }
24886
24887
24888 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24891 wxDC *arg2 = (wxDC *) 0 ;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self",(char *) "dc", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24902 if (SWIG_arg_fail(2)) SWIG_fail;
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 (arg1)->SetDC(arg2);
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 Py_INCREF(Py_None); resultobj = Py_None;
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24918 PyObject *resultobj;
24919 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24920 int arg2 ;
24921 int arg3 ;
24922 PyObject * obj0 = 0 ;
24923 PyObject * obj1 = 0 ;
24924 PyObject * obj2 = 0 ;
24925 char *kwnames[] = {
24926 (char *) "self",(char *) "w",(char *) "h", NULL
24927 };
24928
24929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24931 if (SWIG_arg_fail(1)) SWIG_fail;
24932 {
24933 arg2 = (int)(SWIG_As_int(obj1));
24934 if (SWIG_arg_fail(2)) SWIG_fail;
24935 }
24936 {
24937 arg3 = (int)(SWIG_As_int(obj2));
24938 if (SWIG_arg_fail(3)) SWIG_fail;
24939 }
24940 {
24941 PyThreadState* __tstate = wxPyBeginAllowThreads();
24942 (arg1)->SetPageSizePixels(arg2,arg3);
24943
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 Py_INCREF(Py_None); resultobj = Py_None;
24948 return resultobj;
24949 fail:
24950 return NULL;
24951 }
24952
24953
24954 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24955 PyObject *resultobj;
24956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24957 int *arg2 = (int *) 0 ;
24958 int *arg3 = (int *) 0 ;
24959 int temp2 ;
24960 int res2 = 0 ;
24961 int temp3 ;
24962 int res3 = 0 ;
24963 PyObject * obj0 = 0 ;
24964 char *kwnames[] = {
24965 (char *) "self", NULL
24966 };
24967
24968 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24969 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail;
24973 {
24974 PyThreadState* __tstate = wxPyBeginAllowThreads();
24975 (arg1)->GetPageSizePixels(arg2,arg3);
24976
24977 wxPyEndAllowThreads(__tstate);
24978 if (PyErr_Occurred()) SWIG_fail;
24979 }
24980 Py_INCREF(Py_None); resultobj = Py_None;
24981 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24982 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24983 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24984 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24994 int arg2 ;
24995 int arg3 ;
24996 PyObject * obj0 = 0 ;
24997 PyObject * obj1 = 0 ;
24998 PyObject * obj2 = 0 ;
24999 char *kwnames[] = {
25000 (char *) "self",(char *) "w",(char *) "h", NULL
25001 };
25002
25003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
25004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25005 if (SWIG_arg_fail(1)) SWIG_fail;
25006 {
25007 arg2 = (int)(SWIG_As_int(obj1));
25008 if (SWIG_arg_fail(2)) SWIG_fail;
25009 }
25010 {
25011 arg3 = (int)(SWIG_As_int(obj2));
25012 if (SWIG_arg_fail(3)) SWIG_fail;
25013 }
25014 {
25015 PyThreadState* __tstate = wxPyBeginAllowThreads();
25016 (arg1)->SetPageSizeMM(arg2,arg3);
25017
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 Py_INCREF(Py_None); resultobj = Py_None;
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25031 int *arg2 = (int *) 0 ;
25032 int *arg3 = (int *) 0 ;
25033 int temp2 ;
25034 int res2 = 0 ;
25035 int temp3 ;
25036 int res3 = 0 ;
25037 PyObject * obj0 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self", NULL
25040 };
25041
25042 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25043 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
25045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail;
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 (arg1)->GetPageSizeMM(arg2,arg3);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 Py_INCREF(Py_None); resultobj = Py_None;
25055 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25056 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25057 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25058 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25059 return resultobj;
25060 fail:
25061 return NULL;
25062 }
25063
25064
25065 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25066 PyObject *resultobj;
25067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25068 int arg2 ;
25069 int arg3 ;
25070 PyObject * obj0 = 0 ;
25071 PyObject * obj1 = 0 ;
25072 PyObject * obj2 = 0 ;
25073 char *kwnames[] = {
25074 (char *) "self",(char *) "x",(char *) "y", NULL
25075 };
25076
25077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
25078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail;
25080 {
25081 arg2 = (int)(SWIG_As_int(obj1));
25082 if (SWIG_arg_fail(2)) SWIG_fail;
25083 }
25084 {
25085 arg3 = (int)(SWIG_As_int(obj2));
25086 if (SWIG_arg_fail(3)) SWIG_fail;
25087 }
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->SetPPIScreen(arg2,arg3);
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 Py_INCREF(Py_None); resultobj = Py_None;
25096 return resultobj;
25097 fail:
25098 return NULL;
25099 }
25100
25101
25102 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
25103 PyObject *resultobj;
25104 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25105 int *arg2 = (int *) 0 ;
25106 int *arg3 = (int *) 0 ;
25107 int temp2 ;
25108 int res2 = 0 ;
25109 int temp3 ;
25110 int res3 = 0 ;
25111 PyObject * obj0 = 0 ;
25112 char *kwnames[] = {
25113 (char *) "self", NULL
25114 };
25115
25116 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25117 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
25119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25120 if (SWIG_arg_fail(1)) SWIG_fail;
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 (arg1)->GetPPIScreen(arg2,arg3);
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 Py_INCREF(Py_None); resultobj = Py_None;
25129 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25130 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25131 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25132 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25133 return resultobj;
25134 fail:
25135 return NULL;
25136 }
25137
25138
25139 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25140 PyObject *resultobj;
25141 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25142 int arg2 ;
25143 int arg3 ;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 PyObject * obj2 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "x",(char *) "y", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
25152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25153 if (SWIG_arg_fail(1)) SWIG_fail;
25154 {
25155 arg2 = (int)(SWIG_As_int(obj1));
25156 if (SWIG_arg_fail(2)) SWIG_fail;
25157 }
25158 {
25159 arg3 = (int)(SWIG_As_int(obj2));
25160 if (SWIG_arg_fail(3)) SWIG_fail;
25161 }
25162 {
25163 PyThreadState* __tstate = wxPyBeginAllowThreads();
25164 (arg1)->SetPPIPrinter(arg2,arg3);
25165
25166 wxPyEndAllowThreads(__tstate);
25167 if (PyErr_Occurred()) SWIG_fail;
25168 }
25169 Py_INCREF(Py_None); resultobj = Py_None;
25170 return resultobj;
25171 fail:
25172 return NULL;
25173 }
25174
25175
25176 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25179 int *arg2 = (int *) 0 ;
25180 int *arg3 = (int *) 0 ;
25181 int temp2 ;
25182 int res2 = 0 ;
25183 int temp3 ;
25184 int res3 = 0 ;
25185 PyObject * obj0 = 0 ;
25186 char *kwnames[] = {
25187 (char *) "self", NULL
25188 };
25189
25190 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25191 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
25193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail;
25195 {
25196 PyThreadState* __tstate = wxPyBeginAllowThreads();
25197 (arg1)->GetPPIPrinter(arg2,arg3);
25198
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 Py_INCREF(Py_None); resultobj = Py_None;
25203 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25204 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25205 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25206 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25207 return resultobj;
25208 fail:
25209 return NULL;
25210 }
25211
25212
25213 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25214 PyObject *resultobj;
25215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25216 bool result;
25217 PyObject * obj0 = 0 ;
25218 char *kwnames[] = {
25219 (char *) "self", NULL
25220 };
25221
25222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
25223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25224 if (SWIG_arg_fail(1)) SWIG_fail;
25225 {
25226 PyThreadState* __tstate = wxPyBeginAllowThreads();
25227 result = (bool)(arg1)->IsPreview();
25228
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 {
25233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25234 }
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj;
25243 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25244 bool arg2 ;
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self",(char *) "p", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
25252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25253 if (SWIG_arg_fail(1)) SWIG_fail;
25254 {
25255 arg2 = (bool)(SWIG_As_bool(obj1));
25256 if (SWIG_arg_fail(2)) SWIG_fail;
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->SetIsPreview(arg2);
25261
25262 wxPyEndAllowThreads(__tstate);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 Py_INCREF(Py_None); resultobj = Py_None;
25266 return resultobj;
25267 fail:
25268 return NULL;
25269 }
25270
25271
25272 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25273 PyObject *resultobj;
25274 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25275 int arg2 ;
25276 int arg3 ;
25277 bool result;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 PyObject * obj2 = 0 ;
25281 char *kwnames[] = {
25282 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25283 };
25284
25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25287 if (SWIG_arg_fail(1)) SWIG_fail;
25288 {
25289 arg2 = (int)(SWIG_As_int(obj1));
25290 if (SWIG_arg_fail(2)) SWIG_fail;
25291 }
25292 {
25293 arg3 = (int)(SWIG_As_int(obj2));
25294 if (SWIG_arg_fail(3)) SWIG_fail;
25295 }
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 {
25304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25305 }
25306 return resultobj;
25307 fail:
25308 return NULL;
25309 }
25310
25311
25312 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj;
25314 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25315 PyObject * obj0 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail;
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 (arg1)->base_OnEndDocument();
25326
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 Py_INCREF(Py_None); resultobj = Py_None;
25331 return resultobj;
25332 fail:
25333 return NULL;
25334 }
25335
25336
25337 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25338 PyObject *resultobj;
25339 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25340 PyObject * obj0 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25347 if (SWIG_arg_fail(1)) SWIG_fail;
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 (arg1)->base_OnBeginPrinting();
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 Py_INCREF(Py_None); resultobj = Py_None;
25356 return resultobj;
25357 fail:
25358 return NULL;
25359 }
25360
25361
25362 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25363 PyObject *resultobj;
25364 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25365 PyObject * obj0 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "self", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25372 if (SWIG_arg_fail(1)) SWIG_fail;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 (arg1)->base_OnEndPrinting();
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 Py_INCREF(Py_None); resultobj = Py_None;
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25390 PyObject * obj0 = 0 ;
25391 char *kwnames[] = {
25392 (char *) "self", NULL
25393 };
25394
25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25397 if (SWIG_arg_fail(1)) SWIG_fail;
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 (arg1)->base_OnPreparePrinting();
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 Py_INCREF(Py_None); resultobj = Py_None;
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25415 int arg2 ;
25416 bool result;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char *kwnames[] = {
25420 (char *) "self",(char *) "page", NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25425 if (SWIG_arg_fail(1)) SWIG_fail;
25426 {
25427 arg2 = (int)(SWIG_As_int(obj1));
25428 if (SWIG_arg_fail(2)) SWIG_fail;
25429 }
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (bool)(arg1)->base_HasPage(arg2);
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 {
25438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25439 }
25440 return resultobj;
25441 fail:
25442 return NULL;
25443 }
25444
25445
25446 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25447 PyObject *resultobj;
25448 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25449 int *arg2 = (int *) 0 ;
25450 int *arg3 = (int *) 0 ;
25451 int *arg4 = (int *) 0 ;
25452 int *arg5 = (int *) 0 ;
25453 int temp2 ;
25454 int res2 = 0 ;
25455 int temp3 ;
25456 int res3 = 0 ;
25457 int temp4 ;
25458 int res4 = 0 ;
25459 int temp5 ;
25460 int res5 = 0 ;
25461 PyObject * obj0 = 0 ;
25462 char *kwnames[] = {
25463 (char *) "self", NULL
25464 };
25465
25466 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25467 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25468 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25469 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25472 if (SWIG_arg_fail(1)) SWIG_fail;
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 Py_INCREF(Py_None); resultobj = Py_None;
25481 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25482 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25483 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25484 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25485 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25486 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25487 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25488 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25496 PyObject *obj;
25497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25498 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25499 Py_INCREF(obj);
25500 return Py_BuildValue((char *)"");
25501 }
25502 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25503 PyObject *resultobj;
25504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25505 wxWindow *arg2 = (wxWindow *) 0 ;
25506 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25507 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25508 wxSize const &arg4_defvalue = wxDefaultSize ;
25509 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25510 long arg5 = (long) 0 ;
25511 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25512 wxString *arg6 = (wxString *) &arg6_defvalue ;
25513 wxPreviewCanvas *result;
25514 wxPoint temp3 ;
25515 wxSize temp4 ;
25516 bool temp6 = false ;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 PyObject * obj2 = 0 ;
25520 PyObject * obj3 = 0 ;
25521 PyObject * obj4 = 0 ;
25522 PyObject * obj5 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25525 };
25526
25527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25529 if (SWIG_arg_fail(1)) SWIG_fail;
25530 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25531 if (SWIG_arg_fail(2)) SWIG_fail;
25532 if (obj2) {
25533 {
25534 arg3 = &temp3;
25535 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25536 }
25537 }
25538 if (obj3) {
25539 {
25540 arg4 = &temp4;
25541 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25542 }
25543 }
25544 if (obj4) {
25545 {
25546 arg5 = (long)(SWIG_As_long(obj4));
25547 if (SWIG_arg_fail(5)) SWIG_fail;
25548 }
25549 }
25550 if (obj5) {
25551 {
25552 arg6 = wxString_in_helper(obj5);
25553 if (arg6 == NULL) SWIG_fail;
25554 temp6 = true;
25555 }
25556 }
25557 {
25558 if (!wxPyCheckForApp()) SWIG_fail;
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25561
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25566 {
25567 if (temp6)
25568 delete arg6;
25569 }
25570 return resultobj;
25571 fail:
25572 {
25573 if (temp6)
25574 delete arg6;
25575 }
25576 return NULL;
25577 }
25578
25579
25580 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25581 PyObject *obj;
25582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25583 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25584 Py_INCREF(obj);
25585 return Py_BuildValue((char *)"");
25586 }
25587 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25590 wxFrame *arg2 = (wxFrame *) 0 ;
25591 wxString *arg3 = 0 ;
25592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25594 wxSize const &arg5_defvalue = wxDefaultSize ;
25595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25596 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25597 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25598 wxString *arg7 = (wxString *) &arg7_defvalue ;
25599 wxPreviewFrame *result;
25600 bool temp3 = false ;
25601 wxPoint temp4 ;
25602 wxSize temp5 ;
25603 bool temp7 = false ;
25604 PyObject * obj0 = 0 ;
25605 PyObject * obj1 = 0 ;
25606 PyObject * obj2 = 0 ;
25607 PyObject * obj3 = 0 ;
25608 PyObject * obj4 = 0 ;
25609 PyObject * obj5 = 0 ;
25610 PyObject * obj6 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail;
25618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25619 if (SWIG_arg_fail(2)) SWIG_fail;
25620 {
25621 arg3 = wxString_in_helper(obj2);
25622 if (arg3 == NULL) SWIG_fail;
25623 temp3 = true;
25624 }
25625 if (obj3) {
25626 {
25627 arg4 = &temp4;
25628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25629 }
25630 }
25631 if (obj4) {
25632 {
25633 arg5 = &temp5;
25634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25635 }
25636 }
25637 if (obj5) {
25638 {
25639 arg6 = (long)(SWIG_As_long(obj5));
25640 if (SWIG_arg_fail(6)) SWIG_fail;
25641 }
25642 }
25643 if (obj6) {
25644 {
25645 arg7 = wxString_in_helper(obj6);
25646 if (arg7 == NULL) SWIG_fail;
25647 temp7 = true;
25648 }
25649 }
25650 {
25651 if (!wxPyCheckForApp()) SWIG_fail;
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25654
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
25658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25659 {
25660 if (temp3)
25661 delete arg3;
25662 }
25663 {
25664 if (temp7)
25665 delete arg7;
25666 }
25667 return resultobj;
25668 fail:
25669 {
25670 if (temp3)
25671 delete arg3;
25672 }
25673 {
25674 if (temp7)
25675 delete arg7;
25676 }
25677 return NULL;
25678 }
25679
25680
25681 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj;
25683 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25684 PyObject * obj0 = 0 ;
25685 char *kwnames[] = {
25686 (char *) "self", NULL
25687 };
25688
25689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25691 if (SWIG_arg_fail(1)) SWIG_fail;
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->Initialize();
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 Py_INCREF(Py_None); resultobj = Py_None;
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25709 PyObject * obj0 = 0 ;
25710 char *kwnames[] = {
25711 (char *) "self", NULL
25712 };
25713
25714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25716 if (SWIG_arg_fail(1)) SWIG_fail;
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 (arg1)->CreateControlBar();
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 Py_INCREF(Py_None); resultobj = Py_None;
25725 return resultobj;
25726 fail:
25727 return NULL;
25728 }
25729
25730
25731 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25732 PyObject *resultobj;
25733 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25734 PyObject * obj0 = 0 ;
25735 char *kwnames[] = {
25736 (char *) "self", NULL
25737 };
25738
25739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25741 if (SWIG_arg_fail(1)) SWIG_fail;
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 (arg1)->CreateCanvas();
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 Py_INCREF(Py_None); resultobj = Py_None;
25750 return resultobj;
25751 fail:
25752 return NULL;
25753 }
25754
25755
25756 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25757 PyObject *resultobj;
25758 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25759 wxPreviewControlBar *result;
25760 PyObject * obj0 = 0 ;
25761 char *kwnames[] = {
25762 (char *) "self", NULL
25763 };
25764
25765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25767 if (SWIG_arg_fail(1)) SWIG_fail;
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25771
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
25775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25776 return resultobj;
25777 fail:
25778 return NULL;
25779 }
25780
25781
25782 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25783 PyObject *obj;
25784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25785 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25786 Py_INCREF(obj);
25787 return Py_BuildValue((char *)"");
25788 }
25789 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25790 PyObject *resultobj;
25791 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25792 long arg2 ;
25793 wxWindow *arg3 = (wxWindow *) 0 ;
25794 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25795 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25796 wxSize const &arg5_defvalue = wxDefaultSize ;
25797 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25798 long arg6 = (long) wxTAB_TRAVERSAL ;
25799 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25800 wxString *arg7 = (wxString *) &arg7_defvalue ;
25801 wxPreviewControlBar *result;
25802 wxPoint temp4 ;
25803 wxSize temp5 ;
25804 bool temp7 = false ;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 PyObject * obj2 = 0 ;
25808 PyObject * obj3 = 0 ;
25809 PyObject * obj4 = 0 ;
25810 PyObject * obj5 = 0 ;
25811 PyObject * obj6 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail;
25819 {
25820 arg2 = (long)(SWIG_As_long(obj1));
25821 if (SWIG_arg_fail(2)) SWIG_fail;
25822 }
25823 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(3)) SWIG_fail;
25825 if (obj3) {
25826 {
25827 arg4 = &temp4;
25828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25829 }
25830 }
25831 if (obj4) {
25832 {
25833 arg5 = &temp5;
25834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25835 }
25836 }
25837 if (obj5) {
25838 {
25839 arg6 = (long)(SWIG_As_long(obj5));
25840 if (SWIG_arg_fail(6)) SWIG_fail;
25841 }
25842 }
25843 if (obj6) {
25844 {
25845 arg7 = wxString_in_helper(obj6);
25846 if (arg7 == NULL) SWIG_fail;
25847 temp7 = true;
25848 }
25849 }
25850 {
25851 if (!wxPyCheckForApp()) SWIG_fail;
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25859 {
25860 if (temp7)
25861 delete arg7;
25862 }
25863 return resultobj;
25864 fail:
25865 {
25866 if (temp7)
25867 delete arg7;
25868 }
25869 return NULL;
25870 }
25871
25872
25873 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25874 PyObject *resultobj;
25875 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25876 int result;
25877 PyObject * obj0 = 0 ;
25878 char *kwnames[] = {
25879 (char *) "self", NULL
25880 };
25881
25882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25884 if (SWIG_arg_fail(1)) SWIG_fail;
25885 {
25886 PyThreadState* __tstate = wxPyBeginAllowThreads();
25887 result = (int)(arg1)->GetZoomControl();
25888
25889 wxPyEndAllowThreads(__tstate);
25890 if (PyErr_Occurred()) SWIG_fail;
25891 }
25892 {
25893 resultobj = SWIG_From_int((int)(result));
25894 }
25895 return resultobj;
25896 fail:
25897 return NULL;
25898 }
25899
25900
25901 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj;
25903 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25904 int arg2 ;
25905 PyObject * obj0 = 0 ;
25906 PyObject * obj1 = 0 ;
25907 char *kwnames[] = {
25908 (char *) "self",(char *) "zoom", NULL
25909 };
25910
25911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail;
25914 {
25915 arg2 = (int)(SWIG_As_int(obj1));
25916 if (SWIG_arg_fail(2)) SWIG_fail;
25917 }
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 (arg1)->SetZoomControl(arg2);
25921
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 Py_INCREF(Py_None); resultobj = Py_None;
25926 return resultobj;
25927 fail:
25928 return NULL;
25929 }
25930
25931
25932 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj;
25934 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25935 wxPrintPreview *result;
25936 PyObject * obj0 = 0 ;
25937 char *kwnames[] = {
25938 (char *) "self", NULL
25939 };
25940
25941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25943 if (SWIG_arg_fail(1)) SWIG_fail;
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25952 return resultobj;
25953 fail:
25954 return NULL;
25955 }
25956
25957
25958 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25959 PyObject *resultobj;
25960 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25961 PyObject * obj0 = 0 ;
25962 char *kwnames[] = {
25963 (char *) "self", NULL
25964 };
25965
25966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail;
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 (arg1)->OnNext();
25972
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 Py_INCREF(Py_None); resultobj = Py_None;
25977 return resultobj;
25978 fail:
25979 return NULL;
25980 }
25981
25982
25983 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25984 PyObject *resultobj;
25985 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25986 PyObject * obj0 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail;
25994 {
25995 PyThreadState* __tstate = wxPyBeginAllowThreads();
25996 (arg1)->OnPrevious();
25997
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 Py_INCREF(Py_None); resultobj = Py_None;
26002 return resultobj;
26003 fail:
26004 return NULL;
26005 }
26006
26007
26008 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
26009 PyObject *resultobj;
26010 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26011 PyObject * obj0 = 0 ;
26012 char *kwnames[] = {
26013 (char *) "self", NULL
26014 };
26015
26016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
26017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26018 if (SWIG_arg_fail(1)) SWIG_fail;
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 (arg1)->OnFirst();
26022
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 Py_INCREF(Py_None); resultobj = Py_None;
26027 return resultobj;
26028 fail:
26029 return NULL;
26030 }
26031
26032
26033 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
26034 PyObject *resultobj;
26035 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26036 PyObject * obj0 = 0 ;
26037 char *kwnames[] = {
26038 (char *) "self", NULL
26039 };
26040
26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
26042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail;
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 (arg1)->OnLast();
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 Py_INCREF(Py_None); resultobj = Py_None;
26052 return resultobj;
26053 fail:
26054 return NULL;
26055 }
26056
26057
26058 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj;
26060 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26061 PyObject * obj0 = 0 ;
26062 char *kwnames[] = {
26063 (char *) "self", NULL
26064 };
26065
26066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
26067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26068 if (SWIG_arg_fail(1)) SWIG_fail;
26069 {
26070 PyThreadState* __tstate = wxPyBeginAllowThreads();
26071 (arg1)->OnGoto();
26072
26073 wxPyEndAllowThreads(__tstate);
26074 if (PyErr_Occurred()) SWIG_fail;
26075 }
26076 Py_INCREF(Py_None); resultobj = Py_None;
26077 return resultobj;
26078 fail:
26079 return NULL;
26080 }
26081
26082
26083 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
26084 PyObject *obj;
26085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26086 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26087 Py_INCREF(obj);
26088 return Py_BuildValue((char *)"");
26089 }
26090 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
26091 PyObject *resultobj;
26092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26093 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26094 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26095 wxPrintPreview *result;
26096 PyObject * obj0 = 0 ;
26097 PyObject * obj1 = 0 ;
26098 PyObject * obj2 = 0 ;
26099
26100 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26102 if (SWIG_arg_fail(1)) SWIG_fail;
26103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26104 if (SWIG_arg_fail(2)) SWIG_fail;
26105 if (obj2) {
26106 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26107 if (SWIG_arg_fail(3)) SWIG_fail;
26108 }
26109 {
26110 if (!wxPyCheckForApp()) SWIG_fail;
26111 PyThreadState* __tstate = wxPyBeginAllowThreads();
26112 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26113
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
26117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26118 return resultobj;
26119 fail:
26120 return NULL;
26121 }
26122
26123
26124 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
26125 PyObject *resultobj;
26126 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26127 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26128 wxPrintData *arg3 = (wxPrintData *) 0 ;
26129 wxPrintPreview *result;
26130 PyObject * obj0 = 0 ;
26131 PyObject * obj1 = 0 ;
26132 PyObject * obj2 = 0 ;
26133
26134 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
26135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26136 if (SWIG_arg_fail(1)) SWIG_fail;
26137 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26138 if (SWIG_arg_fail(2)) SWIG_fail;
26139 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26140 if (SWIG_arg_fail(3)) SWIG_fail;
26141 {
26142 if (!wxPyCheckForApp()) SWIG_fail;
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26150 return resultobj;
26151 fail:
26152 return NULL;
26153 }
26154
26155
26156 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26157 int argc;
26158 PyObject *argv[4];
26159 int ii;
26160
26161 argc = PyObject_Length(args);
26162 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26163 argv[ii] = PyTuple_GetItem(args,ii);
26164 }
26165 if ((argc >= 2) && (argc <= 3)) {
26166 int _v;
26167 {
26168 void *ptr;
26169 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26170 _v = 0;
26171 PyErr_Clear();
26172 } else {
26173 _v = 1;
26174 }
26175 }
26176 if (_v) {
26177 {
26178 void *ptr;
26179 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26180 _v = 0;
26181 PyErr_Clear();
26182 } else {
26183 _v = 1;
26184 }
26185 }
26186 if (_v) {
26187 if (argc <= 2) {
26188 return _wrap_new_PrintPreview__SWIG_0(self,args);
26189 }
26190 {
26191 void *ptr;
26192 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26193 _v = 0;
26194 PyErr_Clear();
26195 } else {
26196 _v = 1;
26197 }
26198 }
26199 if (_v) {
26200 return _wrap_new_PrintPreview__SWIG_0(self,args);
26201 }
26202 }
26203 }
26204 }
26205 if (argc == 3) {
26206 int _v;
26207 {
26208 void *ptr;
26209 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26210 _v = 0;
26211 PyErr_Clear();
26212 } else {
26213 _v = 1;
26214 }
26215 }
26216 if (_v) {
26217 {
26218 void *ptr;
26219 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26220 _v = 0;
26221 PyErr_Clear();
26222 } else {
26223 _v = 1;
26224 }
26225 }
26226 if (_v) {
26227 {
26228 void *ptr;
26229 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26230 _v = 0;
26231 PyErr_Clear();
26232 } else {
26233 _v = 1;
26234 }
26235 }
26236 if (_v) {
26237 return _wrap_new_PrintPreview__SWIG_1(self,args);
26238 }
26239 }
26240 }
26241 }
26242
26243 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
26244 return NULL;
26245 }
26246
26247
26248 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26249 PyObject *resultobj;
26250 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26251 int arg2 ;
26252 bool result;
26253 PyObject * obj0 = 0 ;
26254 PyObject * obj1 = 0 ;
26255 char *kwnames[] = {
26256 (char *) "self",(char *) "pageNum", NULL
26257 };
26258
26259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26261 if (SWIG_arg_fail(1)) SWIG_fail;
26262 {
26263 arg2 = (int)(SWIG_As_int(obj1));
26264 if (SWIG_arg_fail(2)) SWIG_fail;
26265 }
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 result = (bool)(arg1)->SetCurrentPage(arg2);
26269
26270 wxPyEndAllowThreads(__tstate);
26271 if (PyErr_Occurred()) SWIG_fail;
26272 }
26273 {
26274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26275 }
26276 return resultobj;
26277 fail:
26278 return NULL;
26279 }
26280
26281
26282 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26283 PyObject *resultobj;
26284 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26285 int result;
26286 PyObject * obj0 = 0 ;
26287 char *kwnames[] = {
26288 (char *) "self", NULL
26289 };
26290
26291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail;
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 result = (int)(arg1)->GetCurrentPage();
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 {
26302 resultobj = SWIG_From_int((int)(result));
26303 }
26304 return resultobj;
26305 fail:
26306 return NULL;
26307 }
26308
26309
26310 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26311 PyObject *resultobj;
26312 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26313 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26314 PyObject * obj0 = 0 ;
26315 PyObject * obj1 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self",(char *) "printout", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail;
26323 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26324 if (SWIG_arg_fail(2)) SWIG_fail;
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 (arg1)->SetPrintout(arg2);
26328
26329 wxPyEndAllowThreads(__tstate);
26330 if (PyErr_Occurred()) SWIG_fail;
26331 }
26332 Py_INCREF(Py_None); resultobj = Py_None;
26333 return resultobj;
26334 fail:
26335 return NULL;
26336 }
26337
26338
26339 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26340 PyObject *resultobj;
26341 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26342 wxPyPrintout *result;
26343 PyObject * obj0 = 0 ;
26344 char *kwnames[] = {
26345 (char *) "self", NULL
26346 };
26347
26348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26350 if (SWIG_arg_fail(1)) SWIG_fail;
26351 {
26352 PyThreadState* __tstate = wxPyBeginAllowThreads();
26353 result = (wxPyPrintout *)(arg1)->GetPrintout();
26354
26355 wxPyEndAllowThreads(__tstate);
26356 if (PyErr_Occurred()) SWIG_fail;
26357 }
26358 {
26359 resultobj = wxPyMake_wxObject(result, 0);
26360 }
26361 return resultobj;
26362 fail:
26363 return NULL;
26364 }
26365
26366
26367 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26370 wxPyPrintout *result;
26371 PyObject * obj0 = 0 ;
26372 char *kwnames[] = {
26373 (char *) "self", NULL
26374 };
26375
26376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail;
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26382
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
26386 {
26387 resultobj = wxPyMake_wxObject(result, 0);
26388 }
26389 return resultobj;
26390 fail:
26391 return NULL;
26392 }
26393
26394
26395 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26398 wxFrame *arg2 = (wxFrame *) 0 ;
26399 PyObject * obj0 = 0 ;
26400 PyObject * obj1 = 0 ;
26401 char *kwnames[] = {
26402 (char *) "self",(char *) "frame", NULL
26403 };
26404
26405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail;
26408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26409 if (SWIG_arg_fail(2)) SWIG_fail;
26410 {
26411 PyThreadState* __tstate = wxPyBeginAllowThreads();
26412 (arg1)->SetFrame(arg2);
26413
26414 wxPyEndAllowThreads(__tstate);
26415 if (PyErr_Occurred()) SWIG_fail;
26416 }
26417 Py_INCREF(Py_None); resultobj = Py_None;
26418 return resultobj;
26419 fail:
26420 return NULL;
26421 }
26422
26423
26424 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26427 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self",(char *) "canvas", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26436 if (SWIG_arg_fail(1)) SWIG_fail;
26437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26438 if (SWIG_arg_fail(2)) SWIG_fail;
26439 {
26440 PyThreadState* __tstate = wxPyBeginAllowThreads();
26441 (arg1)->SetCanvas(arg2);
26442
26443 wxPyEndAllowThreads(__tstate);
26444 if (PyErr_Occurred()) SWIG_fail;
26445 }
26446 Py_INCREF(Py_None); resultobj = Py_None;
26447 return resultobj;
26448 fail:
26449 return NULL;
26450 }
26451
26452
26453 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26454 PyObject *resultobj;
26455 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26456 wxFrame *result;
26457 PyObject * obj0 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 result = (wxFrame *)(arg1)->GetFrame();
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 {
26473 resultobj = wxPyMake_wxObject(result, 0);
26474 }
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26482 PyObject *resultobj;
26483 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26484 wxPreviewCanvas *result;
26485 PyObject * obj0 = 0 ;
26486 char *kwnames[] = {
26487 (char *) "self", NULL
26488 };
26489
26490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26496
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26508 PyObject *resultobj;
26509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26510 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26511 wxDC *arg3 = 0 ;
26512 bool result;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 PyObject * obj2 = 0 ;
26516 char *kwnames[] = {
26517 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26518 };
26519
26520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26522 if (SWIG_arg_fail(1)) SWIG_fail;
26523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26524 if (SWIG_arg_fail(2)) SWIG_fail;
26525 {
26526 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26527 if (SWIG_arg_fail(3)) SWIG_fail;
26528 if (arg3 == NULL) {
26529 SWIG_null_ref("wxDC");
26530 }
26531 if (SWIG_arg_fail(3)) SWIG_fail;
26532 }
26533 {
26534 PyThreadState* __tstate = wxPyBeginAllowThreads();
26535 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26536
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 {
26541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26542 }
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26550 PyObject *resultobj;
26551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26552 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26553 wxDC *arg3 = 0 ;
26554 bool result;
26555 PyObject * obj0 = 0 ;
26556 PyObject * obj1 = 0 ;
26557 PyObject * obj2 = 0 ;
26558 char *kwnames[] = {
26559 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26560 };
26561
26562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26564 if (SWIG_arg_fail(1)) SWIG_fail;
26565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26566 if (SWIG_arg_fail(2)) SWIG_fail;
26567 {
26568 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26569 if (SWIG_arg_fail(3)) SWIG_fail;
26570 if (arg3 == NULL) {
26571 SWIG_null_ref("wxDC");
26572 }
26573 if (SWIG_arg_fail(3)) SWIG_fail;
26574 }
26575 {
26576 PyThreadState* __tstate = wxPyBeginAllowThreads();
26577 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26578
26579 wxPyEndAllowThreads(__tstate);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 }
26582 {
26583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26584 }
26585 return resultobj;
26586 fail:
26587 return NULL;
26588 }
26589
26590
26591 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26592 PyObject *resultobj;
26593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26594 int arg2 ;
26595 bool result;
26596 PyObject * obj0 = 0 ;
26597 PyObject * obj1 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self",(char *) "pageNum", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail;
26605 {
26606 arg2 = (int)(SWIG_As_int(obj1));
26607 if (SWIG_arg_fail(2)) SWIG_fail;
26608 }
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 result = (bool)(arg1)->RenderPage(arg2);
26612
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 {
26617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26618 }
26619 return resultobj;
26620 fail:
26621 return NULL;
26622 }
26623
26624
26625 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26626 PyObject *resultobj;
26627 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26628 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26629 PyObject * obj0 = 0 ;
26630 PyObject * obj1 = 0 ;
26631 char *kwnames[] = {
26632 (char *) "self",(char *) "canvas", NULL
26633 };
26634
26635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26637 if (SWIG_arg_fail(1)) SWIG_fail;
26638 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26639 if (SWIG_arg_fail(2)) SWIG_fail;
26640 {
26641 PyThreadState* __tstate = wxPyBeginAllowThreads();
26642 (arg1)->AdjustScrollbars(arg2);
26643
26644 wxPyEndAllowThreads(__tstate);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
26647 Py_INCREF(Py_None); resultobj = Py_None;
26648 return resultobj;
26649 fail:
26650 return NULL;
26651 }
26652
26653
26654 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26655 PyObject *resultobj;
26656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26657 wxPrintDialogData *result;
26658 PyObject * obj0 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail;
26666 {
26667 PyThreadState* __tstate = wxPyBeginAllowThreads();
26668 {
26669 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26670 result = (wxPrintDialogData *) &_result_ref;
26671 }
26672
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26677 return resultobj;
26678 fail:
26679 return NULL;
26680 }
26681
26682
26683 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26686 int arg2 ;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "percent", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26695 if (SWIG_arg_fail(1)) SWIG_fail;
26696 {
26697 arg2 = (int)(SWIG_As_int(obj1));
26698 if (SWIG_arg_fail(2)) SWIG_fail;
26699 }
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 (arg1)->SetZoom(arg2);
26703
26704 wxPyEndAllowThreads(__tstate);
26705 if (PyErr_Occurred()) SWIG_fail;
26706 }
26707 Py_INCREF(Py_None); resultobj = Py_None;
26708 return resultobj;
26709 fail:
26710 return NULL;
26711 }
26712
26713
26714 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26715 PyObject *resultobj;
26716 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26717 int result;
26718 PyObject * obj0 = 0 ;
26719 char *kwnames[] = {
26720 (char *) "self", NULL
26721 };
26722
26723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26725 if (SWIG_arg_fail(1)) SWIG_fail;
26726 {
26727 PyThreadState* __tstate = wxPyBeginAllowThreads();
26728 result = (int)(arg1)->GetZoom();
26729
26730 wxPyEndAllowThreads(__tstate);
26731 if (PyErr_Occurred()) SWIG_fail;
26732 }
26733 {
26734 resultobj = SWIG_From_int((int)(result));
26735 }
26736 return resultobj;
26737 fail:
26738 return NULL;
26739 }
26740
26741
26742 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26743 PyObject *resultobj;
26744 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26745 int result;
26746 PyObject * obj0 = 0 ;
26747 char *kwnames[] = {
26748 (char *) "self", NULL
26749 };
26750
26751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26753 if (SWIG_arg_fail(1)) SWIG_fail;
26754 {
26755 PyThreadState* __tstate = wxPyBeginAllowThreads();
26756 result = (int)(arg1)->GetMaxPage();
26757
26758 wxPyEndAllowThreads(__tstate);
26759 if (PyErr_Occurred()) SWIG_fail;
26760 }
26761 {
26762 resultobj = SWIG_From_int((int)(result));
26763 }
26764 return resultobj;
26765 fail:
26766 return NULL;
26767 }
26768
26769
26770 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26771 PyObject *resultobj;
26772 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26773 int result;
26774 PyObject * obj0 = 0 ;
26775 char *kwnames[] = {
26776 (char *) "self", NULL
26777 };
26778
26779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26781 if (SWIG_arg_fail(1)) SWIG_fail;
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 result = (int)(arg1)->GetMinPage();
26785
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 {
26790 resultobj = SWIG_From_int((int)(result));
26791 }
26792 return resultobj;
26793 fail:
26794 return NULL;
26795 }
26796
26797
26798 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26799 PyObject *resultobj;
26800 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26801 bool result;
26802 PyObject * obj0 = 0 ;
26803 char *kwnames[] = {
26804 (char *) "self", NULL
26805 };
26806
26807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26809 if (SWIG_arg_fail(1)) SWIG_fail;
26810 {
26811 PyThreadState* __tstate = wxPyBeginAllowThreads();
26812 result = (bool)(arg1)->Ok();
26813
26814 wxPyEndAllowThreads(__tstate);
26815 if (PyErr_Occurred()) SWIG_fail;
26816 }
26817 {
26818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26819 }
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj;
26828 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26829 bool arg2 ;
26830 PyObject * obj0 = 0 ;
26831 PyObject * obj1 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self",(char *) "ok", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26838 if (SWIG_arg_fail(1)) SWIG_fail;
26839 {
26840 arg2 = (bool)(SWIG_As_bool(obj1));
26841 if (SWIG_arg_fail(2)) SWIG_fail;
26842 }
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 (arg1)->SetOk(arg2);
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
26850 Py_INCREF(Py_None); resultobj = Py_None;
26851 return resultobj;
26852 fail:
26853 return NULL;
26854 }
26855
26856
26857 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26858 PyObject *resultobj;
26859 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26860 bool arg2 ;
26861 bool result;
26862 PyObject * obj0 = 0 ;
26863 PyObject * obj1 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self",(char *) "interactive", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
26871 {
26872 arg2 = (bool)(SWIG_As_bool(obj1));
26873 if (SWIG_arg_fail(2)) SWIG_fail;
26874 }
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 result = (bool)(arg1)->Print(arg2);
26878
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 {
26883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26884 }
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj;
26893 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26894 PyObject * obj0 = 0 ;
26895 char *kwnames[] = {
26896 (char *) "self", NULL
26897 };
26898
26899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail;
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 (arg1)->DetermineScaling();
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 Py_INCREF(Py_None); resultobj = Py_None;
26910 return resultobj;
26911 fail:
26912 return NULL;
26913 }
26914
26915
26916 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26917 PyObject *obj;
26918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26919 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26920 Py_INCREF(obj);
26921 return Py_BuildValue((char *)"");
26922 }
26923 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26924 PyObject *resultobj;
26925 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26926 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26927 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26928 wxPyPrintPreview *result;
26929 PyObject * obj0 = 0 ;
26930 PyObject * obj1 = 0 ;
26931 PyObject * obj2 = 0 ;
26932
26933 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26935 if (SWIG_arg_fail(1)) SWIG_fail;
26936 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26937 if (SWIG_arg_fail(2)) SWIG_fail;
26938 if (obj2) {
26939 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26940 if (SWIG_arg_fail(3)) SWIG_fail;
26941 }
26942 {
26943 if (!wxPyCheckForApp()) SWIG_fail;
26944 PyThreadState* __tstate = wxPyBeginAllowThreads();
26945 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26946
26947 wxPyEndAllowThreads(__tstate);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26951 return resultobj;
26952 fail:
26953 return NULL;
26954 }
26955
26956
26957 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26958 PyObject *resultobj;
26959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26960 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26961 wxPrintData *arg3 = (wxPrintData *) 0 ;
26962 wxPyPrintPreview *result;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 PyObject * obj2 = 0 ;
26966
26967 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26969 if (SWIG_arg_fail(1)) SWIG_fail;
26970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26971 if (SWIG_arg_fail(2)) SWIG_fail;
26972 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26973 if (SWIG_arg_fail(3)) SWIG_fail;
26974 {
26975 if (!wxPyCheckForApp()) SWIG_fail;
26976 PyThreadState* __tstate = wxPyBeginAllowThreads();
26977 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26978
26979 wxPyEndAllowThreads(__tstate);
26980 if (PyErr_Occurred()) SWIG_fail;
26981 }
26982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26983 return resultobj;
26984 fail:
26985 return NULL;
26986 }
26987
26988
26989 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26990 int argc;
26991 PyObject *argv[4];
26992 int ii;
26993
26994 argc = PyObject_Length(args);
26995 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26996 argv[ii] = PyTuple_GetItem(args,ii);
26997 }
26998 if ((argc >= 2) && (argc <= 3)) {
26999 int _v;
27000 {
27001 void *ptr;
27002 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27003 _v = 0;
27004 PyErr_Clear();
27005 } else {
27006 _v = 1;
27007 }
27008 }
27009 if (_v) {
27010 {
27011 void *ptr;
27012 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27013 _v = 0;
27014 PyErr_Clear();
27015 } else {
27016 _v = 1;
27017 }
27018 }
27019 if (_v) {
27020 if (argc <= 2) {
27021 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27022 }
27023 {
27024 void *ptr;
27025 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
27026 _v = 0;
27027 PyErr_Clear();
27028 } else {
27029 _v = 1;
27030 }
27031 }
27032 if (_v) {
27033 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27034 }
27035 }
27036 }
27037 }
27038 if (argc == 3) {
27039 int _v;
27040 {
27041 void *ptr;
27042 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27043 _v = 0;
27044 PyErr_Clear();
27045 } else {
27046 _v = 1;
27047 }
27048 }
27049 if (_v) {
27050 {
27051 void *ptr;
27052 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27053 _v = 0;
27054 PyErr_Clear();
27055 } else {
27056 _v = 1;
27057 }
27058 }
27059 if (_v) {
27060 {
27061 void *ptr;
27062 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
27063 _v = 0;
27064 PyErr_Clear();
27065 } else {
27066 _v = 1;
27067 }
27068 }
27069 if (_v) {
27070 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
27071 }
27072 }
27073 }
27074 }
27075
27076 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
27077 return NULL;
27078 }
27079
27080
27081 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27082 PyObject *resultobj;
27083 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27084 PyObject *arg2 = (PyObject *) 0 ;
27085 PyObject *arg3 = (PyObject *) 0 ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 PyObject * obj2 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self",(char *) "self",(char *) "_class", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail;
27096 arg2 = obj1;
27097 arg3 = obj2;
27098 {
27099 PyThreadState* __tstate = wxPyBeginAllowThreads();
27100 (arg1)->_setCallbackInfo(arg2,arg3);
27101
27102 wxPyEndAllowThreads(__tstate);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 Py_INCREF(Py_None); resultobj = Py_None;
27106 return resultobj;
27107 fail:
27108 return NULL;
27109 }
27110
27111
27112 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
27113 PyObject *resultobj;
27114 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27115 int arg2 ;
27116 bool result;
27117 PyObject * obj0 = 0 ;
27118 PyObject * obj1 = 0 ;
27119 char *kwnames[] = {
27120 (char *) "self",(char *) "pageNum", NULL
27121 };
27122
27123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
27124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27125 if (SWIG_arg_fail(1)) SWIG_fail;
27126 {
27127 arg2 = (int)(SWIG_As_int(obj1));
27128 if (SWIG_arg_fail(2)) SWIG_fail;
27129 }
27130 {
27131 PyThreadState* __tstate = wxPyBeginAllowThreads();
27132 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27133
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 {
27138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27139 }
27140 return resultobj;
27141 fail:
27142 return NULL;
27143 }
27144
27145
27146 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj;
27148 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27149 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27150 wxDC *arg3 = 0 ;
27151 bool result;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 PyObject * obj2 = 0 ;
27155 char *kwnames[] = {
27156 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27157 };
27158
27159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail;
27162 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27163 if (SWIG_arg_fail(2)) SWIG_fail;
27164 {
27165 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27166 if (SWIG_arg_fail(3)) SWIG_fail;
27167 if (arg3 == NULL) {
27168 SWIG_null_ref("wxDC");
27169 }
27170 if (SWIG_arg_fail(3)) SWIG_fail;
27171 }
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 {
27180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27181 }
27182 return resultobj;
27183 fail:
27184 return NULL;
27185 }
27186
27187
27188 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
27189 PyObject *resultobj;
27190 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27191 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27192 wxDC *arg3 = 0 ;
27193 bool result;
27194 PyObject * obj0 = 0 ;
27195 PyObject * obj1 = 0 ;
27196 PyObject * obj2 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
27202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27203 if (SWIG_arg_fail(1)) SWIG_fail;
27204 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27205 if (SWIG_arg_fail(2)) SWIG_fail;
27206 {
27207 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27208 if (SWIG_arg_fail(3)) SWIG_fail;
27209 if (arg3 == NULL) {
27210 SWIG_null_ref("wxDC");
27211 }
27212 if (SWIG_arg_fail(3)) SWIG_fail;
27213 }
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27217
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 {
27222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27223 }
27224 return resultobj;
27225 fail:
27226 return NULL;
27227 }
27228
27229
27230 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
27231 PyObject *resultobj;
27232 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27233 int arg2 ;
27234 bool result;
27235 PyObject * obj0 = 0 ;
27236 PyObject * obj1 = 0 ;
27237 char *kwnames[] = {
27238 (char *) "self",(char *) "pageNum", NULL
27239 };
27240
27241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
27242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27243 if (SWIG_arg_fail(1)) SWIG_fail;
27244 {
27245 arg2 = (int)(SWIG_As_int(obj1));
27246 if (SWIG_arg_fail(2)) SWIG_fail;
27247 }
27248 {
27249 PyThreadState* __tstate = wxPyBeginAllowThreads();
27250 result = (bool)(arg1)->base_RenderPage(arg2);
27251
27252 wxPyEndAllowThreads(__tstate);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 {
27256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27257 }
27258 return resultobj;
27259 fail:
27260 return NULL;
27261 }
27262
27263
27264 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27267 int arg2 ;
27268 PyObject * obj0 = 0 ;
27269 PyObject * obj1 = 0 ;
27270 char *kwnames[] = {
27271 (char *) "self",(char *) "percent", NULL
27272 };
27273
27274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
27275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27276 if (SWIG_arg_fail(1)) SWIG_fail;
27277 {
27278 arg2 = (int)(SWIG_As_int(obj1));
27279 if (SWIG_arg_fail(2)) SWIG_fail;
27280 }
27281 {
27282 PyThreadState* __tstate = wxPyBeginAllowThreads();
27283 (arg1)->base_SetZoom(arg2);
27284
27285 wxPyEndAllowThreads(__tstate);
27286 if (PyErr_Occurred()) SWIG_fail;
27287 }
27288 Py_INCREF(Py_None); resultobj = Py_None;
27289 return resultobj;
27290 fail:
27291 return NULL;
27292 }
27293
27294
27295 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27296 PyObject *resultobj;
27297 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27298 bool arg2 ;
27299 bool result;
27300 PyObject * obj0 = 0 ;
27301 PyObject * obj1 = 0 ;
27302 char *kwnames[] = {
27303 (char *) "self",(char *) "interactive", NULL
27304 };
27305
27306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27308 if (SWIG_arg_fail(1)) SWIG_fail;
27309 {
27310 arg2 = (bool)(SWIG_As_bool(obj1));
27311 if (SWIG_arg_fail(2)) SWIG_fail;
27312 }
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (bool)(arg1)->base_Print(arg2);
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 {
27321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27322 }
27323 return resultobj;
27324 fail:
27325 return NULL;
27326 }
27327
27328
27329 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27330 PyObject *resultobj;
27331 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27332 PyObject * obj0 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 {
27341 PyThreadState* __tstate = wxPyBeginAllowThreads();
27342 (arg1)->base_DetermineScaling();
27343
27344 wxPyEndAllowThreads(__tstate);
27345 if (PyErr_Occurred()) SWIG_fail;
27346 }
27347 Py_INCREF(Py_None); resultobj = Py_None;
27348 return resultobj;
27349 fail:
27350 return NULL;
27351 }
27352
27353
27354 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27355 PyObject *obj;
27356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27357 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27358 Py_INCREF(obj);
27359 return Py_BuildValue((char *)"");
27360 }
27361 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27364 wxFrame *arg2 = (wxFrame *) 0 ;
27365 wxString *arg3 = 0 ;
27366 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27367 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27368 wxSize const &arg5_defvalue = wxDefaultSize ;
27369 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27370 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27371 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27372 wxString *arg7 = (wxString *) &arg7_defvalue ;
27373 wxPyPreviewFrame *result;
27374 bool temp3 = false ;
27375 wxPoint temp4 ;
27376 wxSize temp5 ;
27377 bool temp7 = false ;
27378 PyObject * obj0 = 0 ;
27379 PyObject * obj1 = 0 ;
27380 PyObject * obj2 = 0 ;
27381 PyObject * obj3 = 0 ;
27382 PyObject * obj4 = 0 ;
27383 PyObject * obj5 = 0 ;
27384 PyObject * obj6 = 0 ;
27385 char *kwnames[] = {
27386 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27387 };
27388
27389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail;
27392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27393 if (SWIG_arg_fail(2)) SWIG_fail;
27394 {
27395 arg3 = wxString_in_helper(obj2);
27396 if (arg3 == NULL) SWIG_fail;
27397 temp3 = true;
27398 }
27399 if (obj3) {
27400 {
27401 arg4 = &temp4;
27402 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27403 }
27404 }
27405 if (obj4) {
27406 {
27407 arg5 = &temp5;
27408 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27409 }
27410 }
27411 if (obj5) {
27412 {
27413 arg6 = (long)(SWIG_As_long(obj5));
27414 if (SWIG_arg_fail(6)) SWIG_fail;
27415 }
27416 }
27417 if (obj6) {
27418 {
27419 arg7 = wxString_in_helper(obj6);
27420 if (arg7 == NULL) SWIG_fail;
27421 temp7 = true;
27422 }
27423 }
27424 {
27425 if (!wxPyCheckForApp()) SWIG_fail;
27426 PyThreadState* __tstate = wxPyBeginAllowThreads();
27427 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27428
27429 wxPyEndAllowThreads(__tstate);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27433 {
27434 if (temp3)
27435 delete arg3;
27436 }
27437 {
27438 if (temp7)
27439 delete arg7;
27440 }
27441 return resultobj;
27442 fail:
27443 {
27444 if (temp3)
27445 delete arg3;
27446 }
27447 {
27448 if (temp7)
27449 delete arg7;
27450 }
27451 return NULL;
27452 }
27453
27454
27455 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27456 PyObject *resultobj;
27457 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27458 PyObject *arg2 = (PyObject *) 0 ;
27459 PyObject *arg3 = (PyObject *) 0 ;
27460 PyObject * obj0 = 0 ;
27461 PyObject * obj1 = 0 ;
27462 PyObject * obj2 = 0 ;
27463 char *kwnames[] = {
27464 (char *) "self",(char *) "self",(char *) "_class", NULL
27465 };
27466
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27469 if (SWIG_arg_fail(1)) SWIG_fail;
27470 arg2 = obj1;
27471 arg3 = obj2;
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 (arg1)->_setCallbackInfo(arg2,arg3);
27475
27476 wxPyEndAllowThreads(__tstate);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 Py_INCREF(Py_None); resultobj = Py_None;
27480 return resultobj;
27481 fail:
27482 return NULL;
27483 }
27484
27485
27486 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27487 PyObject *resultobj;
27488 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27489 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27490 PyObject * obj0 = 0 ;
27491 PyObject * obj1 = 0 ;
27492 char *kwnames[] = {
27493 (char *) "self",(char *) "canvas", NULL
27494 };
27495
27496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27498 if (SWIG_arg_fail(1)) SWIG_fail;
27499 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27500 if (SWIG_arg_fail(2)) SWIG_fail;
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 (arg1)->SetPreviewCanvas(arg2);
27504
27505 wxPyEndAllowThreads(__tstate);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 Py_INCREF(Py_None); resultobj = Py_None;
27509 return resultobj;
27510 fail:
27511 return NULL;
27512 }
27513
27514
27515 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj;
27517 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27518 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27519 PyObject * obj0 = 0 ;
27520 PyObject * obj1 = 0 ;
27521 char *kwnames[] = {
27522 (char *) "self",(char *) "bar", NULL
27523 };
27524
27525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27527 if (SWIG_arg_fail(1)) SWIG_fail;
27528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27529 if (SWIG_arg_fail(2)) SWIG_fail;
27530 {
27531 PyThreadState* __tstate = wxPyBeginAllowThreads();
27532 (arg1)->SetControlBar(arg2);
27533
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 Py_INCREF(Py_None); resultobj = Py_None;
27538 return resultobj;
27539 fail:
27540 return NULL;
27541 }
27542
27543
27544 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27545 PyObject *resultobj;
27546 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27547 PyObject * obj0 = 0 ;
27548 char *kwnames[] = {
27549 (char *) "self", NULL
27550 };
27551
27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail;
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 (arg1)->base_Initialize();
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 Py_INCREF(Py_None); resultobj = Py_None;
27563 return resultobj;
27564 fail:
27565 return NULL;
27566 }
27567
27568
27569 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27570 PyObject *resultobj;
27571 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27572 PyObject * obj0 = 0 ;
27573 char *kwnames[] = {
27574 (char *) "self", NULL
27575 };
27576
27577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27579 if (SWIG_arg_fail(1)) SWIG_fail;
27580 {
27581 PyThreadState* __tstate = wxPyBeginAllowThreads();
27582 (arg1)->base_CreateCanvas();
27583
27584 wxPyEndAllowThreads(__tstate);
27585 if (PyErr_Occurred()) SWIG_fail;
27586 }
27587 Py_INCREF(Py_None); resultobj = Py_None;
27588 return resultobj;
27589 fail:
27590 return NULL;
27591 }
27592
27593
27594 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27595 PyObject *resultobj;
27596 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27597 PyObject * obj0 = 0 ;
27598 char *kwnames[] = {
27599 (char *) "self", NULL
27600 };
27601
27602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27604 if (SWIG_arg_fail(1)) SWIG_fail;
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 (arg1)->base_CreateControlBar();
27608
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 Py_INCREF(Py_None); resultobj = Py_None;
27613 return resultobj;
27614 fail:
27615 return NULL;
27616 }
27617
27618
27619 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27620 PyObject *obj;
27621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27622 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27623 Py_INCREF(obj);
27624 return Py_BuildValue((char *)"");
27625 }
27626 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27627 PyObject *resultobj;
27628 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27629 long arg2 ;
27630 wxWindow *arg3 = (wxWindow *) 0 ;
27631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27633 wxSize const &arg5_defvalue = wxDefaultSize ;
27634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27635 long arg6 = (long) 0 ;
27636 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27637 wxString *arg7 = (wxString *) &arg7_defvalue ;
27638 wxPyPreviewControlBar *result;
27639 wxPoint temp4 ;
27640 wxSize temp5 ;
27641 bool temp7 = false ;
27642 PyObject * obj0 = 0 ;
27643 PyObject * obj1 = 0 ;
27644 PyObject * obj2 = 0 ;
27645 PyObject * obj3 = 0 ;
27646 PyObject * obj4 = 0 ;
27647 PyObject * obj5 = 0 ;
27648 PyObject * obj6 = 0 ;
27649 char *kwnames[] = {
27650 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27651 };
27652
27653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27655 if (SWIG_arg_fail(1)) SWIG_fail;
27656 {
27657 arg2 = (long)(SWIG_As_long(obj1));
27658 if (SWIG_arg_fail(2)) SWIG_fail;
27659 }
27660 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27661 if (SWIG_arg_fail(3)) SWIG_fail;
27662 if (obj3) {
27663 {
27664 arg4 = &temp4;
27665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27666 }
27667 }
27668 if (obj4) {
27669 {
27670 arg5 = &temp5;
27671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27672 }
27673 }
27674 if (obj5) {
27675 {
27676 arg6 = (long)(SWIG_As_long(obj5));
27677 if (SWIG_arg_fail(6)) SWIG_fail;
27678 }
27679 }
27680 if (obj6) {
27681 {
27682 arg7 = wxString_in_helper(obj6);
27683 if (arg7 == NULL) SWIG_fail;
27684 temp7 = true;
27685 }
27686 }
27687 {
27688 if (!wxPyCheckForApp()) SWIG_fail;
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27691
27692 wxPyEndAllowThreads(__tstate);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27696 {
27697 if (temp7)
27698 delete arg7;
27699 }
27700 return resultobj;
27701 fail:
27702 {
27703 if (temp7)
27704 delete arg7;
27705 }
27706 return NULL;
27707 }
27708
27709
27710 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27711 PyObject *resultobj;
27712 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27713 PyObject *arg2 = (PyObject *) 0 ;
27714 PyObject *arg3 = (PyObject *) 0 ;
27715 PyObject * obj0 = 0 ;
27716 PyObject * obj1 = 0 ;
27717 PyObject * obj2 = 0 ;
27718 char *kwnames[] = {
27719 (char *) "self",(char *) "self",(char *) "_class", NULL
27720 };
27721
27722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail;
27725 arg2 = obj1;
27726 arg3 = obj2;
27727 {
27728 PyThreadState* __tstate = wxPyBeginAllowThreads();
27729 (arg1)->_setCallbackInfo(arg2,arg3);
27730
27731 wxPyEndAllowThreads(__tstate);
27732 if (PyErr_Occurred()) SWIG_fail;
27733 }
27734 Py_INCREF(Py_None); resultobj = Py_None;
27735 return resultobj;
27736 fail:
27737 return NULL;
27738 }
27739
27740
27741 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27742 PyObject *resultobj;
27743 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27744 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27745 PyObject * obj0 = 0 ;
27746 PyObject * obj1 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "preview", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27753 if (SWIG_arg_fail(1)) SWIG_fail;
27754 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27755 if (SWIG_arg_fail(2)) SWIG_fail;
27756 {
27757 PyThreadState* __tstate = wxPyBeginAllowThreads();
27758 (arg1)->SetPrintPreview(arg2);
27759
27760 wxPyEndAllowThreads(__tstate);
27761 if (PyErr_Occurred()) SWIG_fail;
27762 }
27763 Py_INCREF(Py_None); resultobj = Py_None;
27764 return resultobj;
27765 fail:
27766 return NULL;
27767 }
27768
27769
27770 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27771 PyObject *resultobj;
27772 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27773 PyObject * obj0 = 0 ;
27774 char *kwnames[] = {
27775 (char *) "self", NULL
27776 };
27777
27778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27780 if (SWIG_arg_fail(1)) SWIG_fail;
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
27783 (arg1)->base_CreateButtons();
27784
27785 wxPyEndAllowThreads(__tstate);
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
27788 Py_INCREF(Py_None); resultobj = Py_None;
27789 return resultobj;
27790 fail:
27791 return NULL;
27792 }
27793
27794
27795 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27796 PyObject *resultobj;
27797 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27798 int arg2 ;
27799 PyObject * obj0 = 0 ;
27800 PyObject * obj1 = 0 ;
27801 char *kwnames[] = {
27802 (char *) "self",(char *) "zoom", NULL
27803 };
27804
27805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail;
27808 {
27809 arg2 = (int)(SWIG_As_int(obj1));
27810 if (SWIG_arg_fail(2)) SWIG_fail;
27811 }
27812 {
27813 PyThreadState* __tstate = wxPyBeginAllowThreads();
27814 (arg1)->base_SetZoomControl(arg2);
27815
27816 wxPyEndAllowThreads(__tstate);
27817 if (PyErr_Occurred()) SWIG_fail;
27818 }
27819 Py_INCREF(Py_None); resultobj = Py_None;
27820 return resultobj;
27821 fail:
27822 return NULL;
27823 }
27824
27825
27826 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27827 PyObject *obj;
27828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27829 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27830 Py_INCREF(obj);
27831 return Py_BuildValue((char *)"");
27832 }
27833 static PyMethodDef SwigMethods[] = {
27834 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27842 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27857 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27858 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27865 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27883 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27907 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27920 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27924 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27928 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27933 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27950 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27980 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
28010 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
28018 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
28030 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
28036 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
28045 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
28051 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
28056 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
28062 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
28066 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
28086 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28112 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28120 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28129 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28131 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28140 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28143 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28150 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28168 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28172 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28177 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28181 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28183 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28199 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28202 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28204 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28208 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28217 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28226 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28232 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28244 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28251 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28255 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28282 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction) _wrap_PyPanel_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28309 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction) _wrap_PyScrolledWindow_base_OnInternalIdle, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28336 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28337 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28354 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28358 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28367 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28373 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28384 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28385 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28397 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28399 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28404 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28415 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28418 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28423 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28424 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28426 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28435 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28448 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28457 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28462 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28463 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28467 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28473 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28474 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28475 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28476 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28477 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28478 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28479 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28480 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28481 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28482 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28483 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28484 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28485 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28486 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28487 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28488 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28489 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28490 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28491 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28492 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28493 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28494 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28495 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28496 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28497 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28498 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28499 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28500 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28501 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28502 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28503 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28504 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28505 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28506 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28507 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28508 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28509 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28510 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28511 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28512 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28513 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28514 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28515 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28516 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28517 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28518 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28519 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28520 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28521 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28522 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28523 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28524 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28525 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28526 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28527 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28528 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28529 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28530 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28531 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28532 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28533 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28534 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28535 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28536 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28537 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28538 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28539 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28540 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28541 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28542 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28543 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28544 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28545 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28546 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28547 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28548 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28549 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28550 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28551 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28552 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28553 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28554 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28555 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28556 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28557 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28558 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28559 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28560 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28561 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28562 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28563 { NULL, NULL, 0, NULL }
28564 };
28565
28566
28567 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28568
28569 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28570 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28571 }
28572 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28574 }
28575 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28576 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28577 }
28578 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28579 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28580 }
28581 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28582 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28583 }
28584 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28585 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28586 }
28587 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28588 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28589 }
28590 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28592 }
28593 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28594 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28595 }
28596 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28597 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28598 }
28599 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28601 }
28602 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28603 return (void *)((wxEvent *) ((wxPyEvent *) x));
28604 }
28605 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28606 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28607 }
28608 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28609 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28610 }
28611 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28612 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28613 }
28614 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28615 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28616 }
28617 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28618 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28619 }
28620 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28621 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28622 }
28623 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28624 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28625 }
28626 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28627 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28628 }
28629 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28630 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28631 }
28632 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28633 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28634 }
28635 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28636 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28637 }
28638 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28639 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28640 }
28641 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28642 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28643 }
28644 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28645 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28646 }
28647 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28648 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28649 }
28650 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28651 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28652 }
28653 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28654 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28655 }
28656 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28657 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28658 }
28659 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28660 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28661 }
28662 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28663 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28664 }
28665 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28667 }
28668 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28669 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28670 }
28671 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28672 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28673 }
28674 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28675 return (void *)((wxEvent *) ((wxShowEvent *) x));
28676 }
28677 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28678 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28679 }
28680 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28681 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28682 }
28683 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28684 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28685 }
28686 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28687 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28688 }
28689 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28690 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28691 }
28692 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28693 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28694 }
28695 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28696 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28697 }
28698 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28699 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28700 }
28701 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28702 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28703 }
28704 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28705 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28706 }
28707 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28709 }
28710 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28711 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28712 }
28713 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28714 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28715 }
28716 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28717 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28718 }
28719 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28720 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28721 }
28722 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28723 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28724 }
28725 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28726 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28727 }
28728 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28729 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28730 }
28731 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28732 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28733 }
28734 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28735 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28736 }
28737 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28738 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28739 }
28740 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28741 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28742 }
28743 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28744 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28745 }
28746 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28747 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28748 }
28749 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28750 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28751 }
28752 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28753 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28754 }
28755 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28756 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28757 }
28758 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28759 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28760 }
28761 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28762 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28763 }
28764 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28765 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28766 }
28767 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28768 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28769 }
28770 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28771 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28772 }
28773 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28774 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28775 }
28776 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28778 }
28779 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28780 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28781 }
28782 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28783 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28784 }
28785 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28786 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28787 }
28788 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28789 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28790 }
28791 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28792 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28793 }
28794 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28795 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28796 }
28797 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28799 }
28800 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28802 }
28803 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28805 }
28806 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28807 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28808 }
28809 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28810 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28811 }
28812 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28814 }
28815 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28816 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28817 }
28818 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28820 }
28821 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28823 }
28824 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28826 }
28827 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28828 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28829 }
28830 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28831 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28832 }
28833 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28834 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28835 }
28836 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28837 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28838 }
28839 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28840 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28841 }
28842 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28843 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28844 }
28845 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28846 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28847 }
28848 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28849 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28850 }
28851 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28852 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28853 }
28854 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28855 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28856 }
28857 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28858 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28859 }
28860 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28861 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28862 }
28863 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28864 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28865 }
28866 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28867 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28868 }
28869 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28870 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28871 }
28872 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28873 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28874 }
28875 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28877 }
28878 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28880 }
28881 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28883 }
28884 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28886 }
28887 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28889 }
28890 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) ((wxSizerItem *) x));
28892 }
28893 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28895 }
28896 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28898 }
28899 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28901 }
28902 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28904 }
28905 static void *_p_wxSizerTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) ((wxSizer *) x));
28907 }
28908 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28910 }
28911 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28913 }
28914 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28916 }
28917 static void *_p_wxEventTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) ((wxEvent *) x));
28919 }
28920 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) ((wxFontData *) x));
28922 }
28923 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) ((wxPrintData *) x));
28925 }
28926 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28928 }
28929 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28931 }
28932 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28934 }
28935 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28937 }
28938 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28940 }
28941 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28943 }
28944 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28946 }
28947 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28949 }
28950 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28952 }
28953 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28955 }
28956 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28958 }
28959 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28961 }
28962 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28964 }
28965 static void *_p_wxControlTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28967 }
28968 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28970 }
28971 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28973 }
28974 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) ((wxFSFile *) x));
28976 }
28977 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28979 }
28980 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28982 }
28983 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28985 }
28986 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) ((wxColourData *) x));
28988 }
28989 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28991 }
28992 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28994 }
28995 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28997 }
28998 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29000 }
29001 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
29002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29003 }
29004 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
29005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29006 }
29007 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
29008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29009 }
29010 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
29011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29012 }
29013 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
29014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29015 }
29016 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
29017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29018 }
29019 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
29020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29021 }
29022 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
29023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29024 }
29025 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29026 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29027 }
29028 static void *_p_wxPrinterTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) ((wxPrinter *) x));
29030 }
29031 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) ((wxMenuItem *) x));
29033 }
29034 static void *_p_wxDateEventTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
29036 }
29037 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29039 }
29040 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29042 }
29043 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29045 }
29046 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29048 }
29049 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29051 }
29052 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29054 }
29055 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29056 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29057 }
29058 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29059 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29060 }
29061 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29062 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29063 }
29064 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29065 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29066 }
29067 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29068 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29069 }
29070 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29071 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29072 }
29073 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29074 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29075 }
29076 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29077 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29078 }
29079 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29080 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29081 }
29082 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29083 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29084 }
29085 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29086 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29087 }
29088 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29089 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29090 }
29091 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29092 return (void *)((wxObject *) ((wxImageHandler *) x));
29093 }
29094 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29095 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29096 }
29097 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29098 return (void *)((wxObject *) ((wxEvtHandler *) x));
29099 }
29100 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29101 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29102 }
29103 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29105 }
29106 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29108 }
29109 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29110 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29111 }
29112 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29113 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29114 }
29115 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29117 }
29118 static void *_p_wxImageTo_p_wxObject(void *x) {
29119 return (void *)((wxObject *) ((wxImage *) x));
29120 }
29121 static void *_p_wxFrameTo_p_wxObject(void *x) {
29122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29123 }
29124 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29125 return (void *)((wxObject *) ((wxPyPrintout *) x));
29126 }
29127 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29128 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29129 }
29130 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29131 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29132 }
29133 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29135 }
29136 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29138 }
29139 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29140 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29141 }
29142 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29143 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29144 }
29145 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29146 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29147 }
29148 static void *_p_wxWindowTo_p_wxObject(void *x) {
29149 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29150 }
29151 static void *_p_wxMenuTo_p_wxObject(void *x) {
29152 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29153 }
29154 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29156 }
29157 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29159 }
29160 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29162 }
29163 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29165 }
29166 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29168 }
29169 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29171 }
29172 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29174 }
29175 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29177 }
29178 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29180 }
29181 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29183 }
29184 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29186 }
29187 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29189 }
29190 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29192 }
29193 static void *_p_wxSashEventTo_p_wxObject(void *x) {
29194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29195 }
29196 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29197 return (void *)((wxObject *) ((wxPrintPreview *) x));
29198 }
29199 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29200 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29201 }
29202 static void *_p_wxPanelTo_p_wxObject(void *x) {
29203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29204 }
29205 static void *_p_wxDialogTo_p_wxObject(void *x) {
29206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29207 }
29208 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29210 }
29211 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29213 }
29214 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29216 }
29217 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
29218 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
29219 }
29220 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
29221 return (void *)((wxObject *) ((wxPrintDialog *) x));
29222 }
29223 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29224 return (void *)((wxObject *) ((wxFileSystem *) x));
29225 }
29226 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29227 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29228 }
29229 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29230 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29231 }
29232 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29233 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29234 }
29235 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29236 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29237 }
29238 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29239 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29240 }
29241 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29242 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29243 }
29244 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29246 }
29247 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29248 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29249 }
29250 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29252 }
29253 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29255 }
29256 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29257 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29258 }
29259 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29260 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29261 }
29262 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29263 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29264 }
29265 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29267 }
29268 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29269 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29270 }
29271 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29272 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29273 }
29274 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29275 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29276 }
29277 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29278 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29279 }
29280 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29281 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29282 }
29283 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29284 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29285 }
29286 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29287 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29288 }
29289 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29290 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29291 }
29292 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29293 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29294 }
29295 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29296 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29297 }
29298 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29299 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29300 }
29301 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29302 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29303 }
29304 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29305 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29306 }
29307 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29308 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29309 }
29310 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29311 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29312 }
29313 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29314 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29315 }
29316 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29317 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29318 }
29319 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29320 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29321 }
29322 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29323 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29324 }
29325 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29326 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29327 }
29328 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29329 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29330 }
29331 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29332 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29333 }
29334 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29335 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29336 }
29337 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29338 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29339 }
29340 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29341 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29342 }
29343 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29344 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29345 }
29346 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29347 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29348 }
29349 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29350 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29351 }
29352 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29353 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29354 }
29355 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29356 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29357 }
29358 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29359 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29360 }
29361 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29362 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29363 }
29364 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29365 return (void *)((wxWindow *) ((wxMenuBar *) x));
29366 }
29367 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29368 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29369 }
29370 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29371 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29372 }
29373 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29374 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29375 }
29376 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29377 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29378 }
29379 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29380 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29381 }
29382 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29383 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29384 }
29385 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29386 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29387 }
29388 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29389 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29390 }
29391 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29392 return (void *)((wxWindow *) ((wxPanel *) x));
29393 }
29394 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29395 return (void *)((wxWindow *) ((wxStatusBar *) x));
29396 }
29397 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29398 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29399 }
29400 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29401 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29402 }
29403 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29404 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29405 }
29406 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29407 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29408 }
29409 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29410 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29411 }
29412 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29413 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29414 }
29415 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29416 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29417 }
29418 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29419 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29420 }
29421 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29422 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29423 }
29424 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29425 return (void *)((wxWindow *) ((wxSashWindow *) x));
29426 }
29427 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29428 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29429 }
29430 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29431 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29432 }
29433 static void *_p_wxControlTo_p_wxWindow(void *x) {
29434 return (void *)((wxWindow *) ((wxControl *) x));
29435 }
29436 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29438 }
29439 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29441 }
29442 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29444 }
29445 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29446 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29447 }
29448 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29449 return (void *)((wxWindow *) ((wxPyWindow *) x));
29450 }
29451 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29452 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29453 }
29454 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29455 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29456 }
29457 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29458 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29459 }
29460 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29461 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29462 }
29463 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29464 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29465 }
29466 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29467 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29468 }
29469 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29470 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29471 }
29472 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29473 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29474 }
29475 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29476 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29477 }
29478 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29479 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29480 }
29481 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29482 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29483 }
29484 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29485 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29486 }
29487 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29488 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29489 }
29490 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29491 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29492 }
29493 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29494 return (void *)((wxDialog *) ((wxColourDialog *) x));
29495 }
29496 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29497 return (void *)((wxDialog *) ((wxDirDialog *) x));
29498 }
29499 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29500 return (void *)((wxDialog *) ((wxFontDialog *) x));
29501 }
29502 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29503 return (void *)((wxDialog *) ((wxFileDialog *) x));
29504 }
29505 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29506 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29507 }
29508 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29509 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29510 }
29511 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29512 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29513 }
29514 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29515 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29516 }
29517 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29518 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29519 }
29520 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29521 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29522 }
29523 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29524 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29525 }
29526 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29527 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29528 }
29529 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29530 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29531 }
29532 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29533 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29534 }
29535 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29536 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29537 }
29538 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29539 return (void *)((wxPanel *) ((wxPyPanel *) x));
29540 }
29541 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29542 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29543 }
29544 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29545 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29546 }
29547 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29548 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29549 }
29550 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29551 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29552 }
29553 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29554 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29555 }
29556 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29557 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29558 }
29559 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29560 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29561 }
29562 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29563 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29564 }
29565 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29566 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29567 }
29568 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29569 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29570 }
29571 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29572 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29573 }
29574 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29575 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29576 }
29577 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29578 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29579 }
29580 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29581 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29582 }
29583 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29584 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29585 }
29586 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29587 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29588 }
29589 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}};
29590 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}};
29591 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}};
29592 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}};
29593 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}};
29594 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}};
29595 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}};
29596 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}};
29597 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}};
29598 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}};
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29660 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}};
29661 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}};
29662 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}};
29663 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}};
29664 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}};
29665 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}};
29666 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}};
29667 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}};
29668 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}};
29669 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}};
29670 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}};
29671 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}};
29672 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}};
29673 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}};
29674 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}};
29675 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}};
29676 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}};
29677 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}};
29678 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}};
29679 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}};
29680 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}};
29681 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}};
29682 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}};
29683 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}};
29684 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}};
29685 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}};
29686
29687 static swig_type_info *swig_types_initial[] = {
29688 _swigt__p_wxQueryLayoutInfoEvent,
29689 _swigt__p_wxPreviewFrame,
29690 _swigt__p_wxPyPreviewFrame,
29691 _swigt__p_wxPyPanel,
29692 _swigt__p_wxMenu,
29693 _swigt__p_wxFontData,
29694 _swigt__p_wxEvent,
29695 _swigt__p_wxPrintData,
29696 _swigt__p_wxTaskBarIcon,
29697 _swigt__p_wxPyTaskBarIcon,
29698 _swigt__p_wxIconBundle,
29699 _swigt__p_wxLayoutAlgorithm,
29700 _swigt__p_wxFindDialogEvent,
29701 _swigt__p_wxPreviewCanvas,
29702 _swigt__p_wxFont,
29703 _swigt__p_wxSplitterEvent,
29704 _swigt__p_wxRegion,
29705 _swigt__ptrdiff_t,
29706 _swigt__std__ptrdiff_t,
29707 _swigt__p_wxFindReplaceData,
29708 _swigt__p_int,
29709 _swigt__p_wxSize,
29710 _swigt__p_wxDC,
29711 _swigt__p_wxIcon,
29712 _swigt__p_wxVisualAttributes,
29713 _swigt__p_wxMDIChildFrame,
29714 _swigt__p_wxColourData,
29715 _swigt__p_wxNotifyEvent,
29716 _swigt__p_wxPyWindow,
29717 _swigt__p_form_ops_t,
29718 _swigt__p_wxSplashScreen,
29719 _swigt__p_wxPasswordEntryDialog,
29720 _swigt__p_wxSingleChoiceDialog,
29721 _swigt__p_wxMultiChoiceDialog,
29722 _swigt__p_wxFileDialog,
29723 _swigt__p_wxTextEntryDialog,
29724 _swigt__p_wxMessageDialog,
29725 _swigt__p_wxProgressDialog,
29726 _swigt__p_wxFindReplaceDialog,
29727 _swigt__p_wxPrinter,
29728 _swigt__p_wxArrayInt,
29729 _swigt__p_wxDuplexMode,
29730 _swigt__p_wxEvtHandler,
29731 _swigt__p_wxCalculateLayoutEvent,
29732 _swigt__p_wxPyHtmlListBox,
29733 _swigt__p_wxPyVListBox,
29734 _swigt__p_wxRect,
29735 _swigt__p_wxStdDialogButtonSizer,
29736 _swigt__p_char,
29737 _swigt__p_wxMiniFrame,
29738 _swigt__p_wxFrame,
29739 _swigt__p_wxPyPrintout,
29740 _swigt__p_wxTaskBarIconEvent,
29741 _swigt__p_wxScrollWinEvent,
29742 _swigt__p_wxPaperSize,
29743 _swigt__p_wxStatusBar,
29744 _swigt__p_wxMDIParentFrame,
29745 _swigt__p_wxPoint,
29746 _swigt__p_wxObject,
29747 _swigt__p_unsigned_long,
29748 _swigt__p_wxTipWindow,
29749 _swigt__p_wxSashLayoutWindow,
29750 _swigt__p_wxSplitterWindow,
29751 _swigt__p_wxSplashScreenWindow,
29752 _swigt__p_wxPyVScrolledWindow,
29753 _swigt__p_wxPyPopupTransientWindow,
29754 _swigt__p_wxPopupWindow,
29755 _swigt__p_wxSashWindow,
29756 _swigt__p_wxTopLevelWindow,
29757 _swigt__p_wxWindow,
29758 _swigt__p_wxScrolledWindow,
29759 _swigt__p_wxMenuBar,
29760 _swigt__p_wxMDIClientWindow,
29761 _swigt__p_wxPyScrolledWindow,
29762 _swigt__p_wxPrintPreview,
29763 _swigt__p_wxSashEvent,
29764 _swigt__p_wxString,
29765 _swigt__p_wxPyPrintPreview,
29766 _swigt__p_wxDirDialog,
29767 _swigt__p_wxColourDialog,
29768 _swigt__p_wxDialog,
29769 _swigt__p_wxPanel,
29770 _swigt__p_wxFontDialog,
29771 _swigt__p_wxPageSetupDialog,
29772 _swigt__p_wxPrintDialog,
29773 _swigt__p_wxFileSystem,
29774 _swigt__p_wxBitmap,
29775 _swigt__unsigned_int,
29776 _swigt__p_unsigned_int,
29777 _swigt__p_unsigned_char,
29778 _swigt__p_wxCommandEvent,
29779 _swigt__p_wxPreviewControlBar,
29780 _swigt__p_wxPyPreviewControlBar,
29781 _swigt__p_wxColour,
29782 _swigt__p_wxToolBar,
29783 _swigt__p_wxPageSetupDialogData,
29784 _swigt__p_wxPrintDialogData,
29785 0
29786 };
29787
29788
29789 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29790
29791 static swig_const_info swig_const_table[] = {
29792 {0, 0, 0, 0.0, 0, 0}};
29793
29794 #ifdef __cplusplus
29795 }
29796 #endif
29797
29798
29799 #ifdef __cplusplus
29800 extern "C" {
29801 #endif
29802
29803 /* Python-specific SWIG API */
29804 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29805 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29806 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29807
29808 /* -----------------------------------------------------------------------------
29809 * global variable support code.
29810 * ----------------------------------------------------------------------------- */
29811
29812 typedef struct swig_globalvar {
29813 char *name; /* Name of global variable */
29814 PyObject *(*get_attr)(); /* Return the current value */
29815 int (*set_attr)(PyObject *); /* Set the value */
29816 struct swig_globalvar *next;
29817 } swig_globalvar;
29818
29819 typedef struct swig_varlinkobject {
29820 PyObject_HEAD
29821 swig_globalvar *vars;
29822 } swig_varlinkobject;
29823
29824 static PyObject *
29825 swig_varlink_repr(swig_varlinkobject *v) {
29826 v = v;
29827 return PyString_FromString("<Swig global variables>");
29828 }
29829
29830 static int
29831 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29832 swig_globalvar *var;
29833 flags = flags;
29834 fprintf(fp,"Swig global variables { ");
29835 for (var = v->vars; var; var=var->next) {
29836 fprintf(fp,"%s", var->name);
29837 if (var->next) fprintf(fp,", ");
29838 }
29839 fprintf(fp," }\n");
29840 return 0;
29841 }
29842
29843 static PyObject *
29844 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29845 swig_globalvar *var = v->vars;
29846 while (var) {
29847 if (strcmp(var->name,n) == 0) {
29848 return (*var->get_attr)();
29849 }
29850 var = var->next;
29851 }
29852 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29853 return NULL;
29854 }
29855
29856 static int
29857 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29858 swig_globalvar *var = v->vars;
29859 while (var) {
29860 if (strcmp(var->name,n) == 0) {
29861 return (*var->set_attr)(p);
29862 }
29863 var = var->next;
29864 }
29865 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29866 return 1;
29867 }
29868
29869 static PyTypeObject varlinktype = {
29870 PyObject_HEAD_INIT(0)
29871 0, /* Number of items in variable part (ob_size) */
29872 (char *)"swigvarlink", /* Type name (tp_name) */
29873 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29874 0, /* Itemsize (tp_itemsize) */
29875 0, /* Deallocator (tp_dealloc) */
29876 (printfunc) swig_varlink_print, /* Print (tp_print) */
29877 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29878 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29879 0, /* tp_compare */
29880 (reprfunc) swig_varlink_repr, /* tp_repr */
29881 0, /* tp_as_number */
29882 0, /* tp_as_sequence */
29883 0, /* tp_as_mapping */
29884 0, /* tp_hash */
29885 0, /* tp_call */
29886 0, /* tp_str */
29887 0, /* tp_getattro */
29888 0, /* tp_setattro */
29889 0, /* tp_as_buffer */
29890 0, /* tp_flags */
29891 0, /* tp_doc */
29892 #if PY_VERSION_HEX >= 0x02000000
29893 0, /* tp_traverse */
29894 0, /* tp_clear */
29895 #endif
29896 #if PY_VERSION_HEX >= 0x02010000
29897 0, /* tp_richcompare */
29898 0, /* tp_weaklistoffset */
29899 #endif
29900 #if PY_VERSION_HEX >= 0x02020000
29901 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29902 #endif
29903 #if PY_VERSION_HEX >= 0x02030000
29904 0, /* tp_del */
29905 #endif
29906 #ifdef COUNT_ALLOCS
29907 0,0,0,0 /* tp_alloc -> tp_next */
29908 #endif
29909 };
29910
29911 /* Create a variable linking object for use later */
29912 static PyObject *
29913 SWIG_Python_newvarlink(void) {
29914 swig_varlinkobject *result = 0;
29915 result = PyMem_NEW(swig_varlinkobject,1);
29916 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29917 result->ob_type = &varlinktype;
29918 result->vars = 0;
29919 result->ob_refcnt = 0;
29920 Py_XINCREF((PyObject *) result);
29921 return ((PyObject*) result);
29922 }
29923
29924 static void
29925 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29926 swig_varlinkobject *v;
29927 swig_globalvar *gv;
29928 v= (swig_varlinkobject *) p;
29929 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29930 gv->name = (char *) malloc(strlen(name)+1);
29931 strcpy(gv->name,name);
29932 gv->get_attr = get_attr;
29933 gv->set_attr = set_attr;
29934 gv->next = v->vars;
29935 v->vars = gv;
29936 }
29937
29938 /* -----------------------------------------------------------------------------
29939 * constants/methods manipulation
29940 * ----------------------------------------------------------------------------- */
29941
29942 /* Install Constants */
29943 static void
29944 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29945 PyObject *obj = 0;
29946 size_t i;
29947 for (i = 0; constants[i].type; i++) {
29948 switch(constants[i].type) {
29949 case SWIG_PY_INT:
29950 obj = PyInt_FromLong(constants[i].lvalue);
29951 break;
29952 case SWIG_PY_FLOAT:
29953 obj = PyFloat_FromDouble(constants[i].dvalue);
29954 break;
29955 case SWIG_PY_STRING:
29956 if (constants[i].pvalue) {
29957 obj = PyString_FromString((char *) constants[i].pvalue);
29958 } else {
29959 Py_INCREF(Py_None);
29960 obj = Py_None;
29961 }
29962 break;
29963 case SWIG_PY_POINTER:
29964 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29965 break;
29966 case SWIG_PY_BINARY:
29967 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29968 break;
29969 default:
29970 obj = 0;
29971 break;
29972 }
29973 if (obj) {
29974 PyDict_SetItemString(d,constants[i].name,obj);
29975 Py_DECREF(obj);
29976 }
29977 }
29978 }
29979
29980 /* -----------------------------------------------------------------------------*/
29981 /* Fix SwigMethods to carry the callback ptrs when needed */
29982 /* -----------------------------------------------------------------------------*/
29983
29984 static void
29985 SWIG_Python_FixMethods(PyMethodDef *methods,
29986 swig_const_info *const_table,
29987 swig_type_info **types,
29988 swig_type_info **types_initial) {
29989 size_t i;
29990 for (i = 0; methods[i].ml_name; ++i) {
29991 char *c = methods[i].ml_doc;
29992 if (c && (c = strstr(c, "swig_ptr: "))) {
29993 int j;
29994 swig_const_info *ci = 0;
29995 char *name = c + 10;
29996 for (j = 0; const_table[j].type; j++) {
29997 if (strncmp(const_table[j].name, name,
29998 strlen(const_table[j].name)) == 0) {
29999 ci = &(const_table[j]);
30000 break;
30001 }
30002 }
30003 if (ci) {
30004 size_t shift = (ci->ptype) - types;
30005 swig_type_info *ty = types_initial[shift];
30006 size_t ldoc = (c - methods[i].ml_doc);
30007 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30008 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30009 char *buff = ndoc;
30010 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
30011 strncpy(buff, methods[i].ml_doc, ldoc);
30012 buff += ldoc;
30013 strncpy(buff, "swig_ptr: ", 10);
30014 buff += 10;
30015 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30016 methods[i].ml_doc = ndoc;
30017 }
30018 }
30019 }
30020 }
30021
30022 /* -----------------------------------------------------------------------------*
30023 * Initialize type list
30024 * -----------------------------------------------------------------------------*/
30025
30026 #if PY_MAJOR_VERSION < 2
30027 /* PyModule_AddObject function was introduced in Python 2.0. The following function
30028 is copied out of Python/modsupport.c in python version 2.3.4 */
30029 static int
30030 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
30031 {
30032 PyObject *dict;
30033 if (!PyModule_Check(m)) {
30034 PyErr_SetString(PyExc_TypeError,
30035 "PyModule_AddObject() needs module as first arg");
30036 return -1;
30037 }
30038 if (!o) {
30039 PyErr_SetString(PyExc_TypeError,
30040 "PyModule_AddObject() needs non-NULL value");
30041 return -1;
30042 }
30043
30044 dict = PyModule_GetDict(m);
30045 if (dict == NULL) {
30046 /* Internal error -- modules must have a dict! */
30047 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
30048 PyModule_GetName(m));
30049 return -1;
30050 }
30051 if (PyDict_SetItemString(dict, name, o))
30052 return -1;
30053 Py_DECREF(o);
30054 return 0;
30055 }
30056 #endif
30057
30058 static swig_type_info **
30059 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
30060 static PyMethodDef swig_empty_runtime_method_table[] = {
30061 {
30062 NULL, NULL, 0, NULL
30063 }
30064 };/* Sentinel */
30065
30066 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
30067 swig_empty_runtime_method_table);
30068 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
30069 if (pointer && module) {
30070 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
30071 }
30072 return type_list_handle;
30073 }
30074
30075 static swig_type_info **
30076 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
30077 swig_type_info **type_pointer;
30078
30079 /* first check if module already created */
30080 type_pointer = SWIG_Python_GetTypeListHandle();
30081 if (type_pointer) {
30082 return type_pointer;
30083 } else {
30084 /* create a new module and variable */
30085 return SWIG_Python_SetTypeListHandle(type_list_handle);
30086 }
30087 }
30088
30089 #ifdef __cplusplus
30090 }
30091 #endif
30092
30093 /* -----------------------------------------------------------------------------*
30094 * Partial Init method
30095 * -----------------------------------------------------------------------------*/
30096
30097 #ifdef SWIG_LINK_RUNTIME
30098 #ifdef __cplusplus
30099 extern "C"
30100 #endif
30101 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30102 #endif
30103
30104 #ifdef __cplusplus
30105 extern "C"
30106 #endif
30107 SWIGEXPORT(void) SWIG_init(void) {
30108 static PyObject *SWIG_globals = 0;
30109 static int typeinit = 0;
30110 PyObject *m, *d;
30111 int i;
30112 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30113
30114 /* Fix SwigMethods to carry the callback ptrs when needed */
30115 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30116
30117 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30118 d = PyModule_GetDict(m);
30119
30120 if (!typeinit) {
30121 #ifdef SWIG_LINK_RUNTIME
30122 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30123 #else
30124 # ifndef SWIG_STATIC_RUNTIME
30125 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30126 # endif
30127 #endif
30128 for (i = 0; swig_types_initial[i]; i++) {
30129 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30130 }
30131 typeinit = 1;
30132 }
30133 SWIG_InstallConstants(d,swig_const_table);
30134
30135 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30136 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30137 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30138 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30139 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30140 {
30141 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30142 }
30143 {
30144 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30145 }
30146 {
30147 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30148 }
30149 {
30150 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30151 }
30152 {
30153 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30154 }
30155 {
30156 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30157 }
30158 {
30159 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30160 }
30161 {
30162 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30163 }
30164 {
30165 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30166 }
30167 {
30168 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30169 }
30170 {
30171 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30172 }
30173 {
30174 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30175 }
30176 {
30177 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30178 }
30179 {
30180 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30181 }
30182 {
30183 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30184 }
30185 {
30186 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30187 }
30188 {
30189 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30190 }
30191 {
30192 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30193 }
30194 {
30195 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30196 }
30197 {
30198 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30199 }
30200 {
30201 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30202 }
30203 {
30204 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30205 }
30206 {
30207 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
30208 }
30209 {
30210 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
30211 }
30212 {
30213 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30214 }
30215 {
30216 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30217 }
30218 {
30219 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30220 }
30221 {
30222 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30223 }
30224 {
30225 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30226 }
30227 {
30228 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30229 }
30230 {
30231 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30232 }
30233 {
30234 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30235 }
30236 {
30237 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30238 }
30239 {
30240 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30241 }
30242 {
30243 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30244 }
30245 {
30246 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30247 }
30248 {
30249 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30250 }
30251 {
30252 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30253 }
30254 {
30255 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30256 }
30257 {
30258 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30259 }
30260 {
30261 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30262 }
30263 {
30264 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30265 }
30266 {
30267 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30268 }
30269 {
30270 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30274 }
30275 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
30276 {
30277 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30278 }
30279 {
30280 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30281 }
30282 {
30283 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30284 }
30285 {
30286 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30287 }
30288 {
30289 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30290 }
30291 {
30292 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30293 }
30294 {
30295 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30296 }
30297 {
30298 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30299 }
30300 {
30301 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30302 }
30303 {
30304 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30305 }
30306 {
30307 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30314 }
30315 {
30316 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30317 }
30318 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30319 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30320 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30321 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30322 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30323 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30324 {
30325 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30326 }
30327 {
30328 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30329 }
30330 {
30331 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30332 }
30333 {
30334 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30335 }
30336 {
30337 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30338 }
30339 {
30340 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30341 }
30342 {
30343 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30362 }
30363 {
30364 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30365 }
30366 {
30367 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30368 }
30369 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30370 {
30371 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30372 }
30373 {
30374 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30375 }
30376 {
30377 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30378 }
30379 {
30380 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30381 }
30382 {
30383 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30384 }
30385 {
30386 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30387 }
30388 {
30389 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30390 }
30391 {
30392 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30393 }
30394 {
30395 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30396 }
30397 {
30398 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30399 }
30400 {
30401 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30402 }
30403 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30404 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30405 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30406
30407 // Map renamed classes back to their common name for OOR
30408 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30409 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30410 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30411
30412 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30413 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30414 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30415 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30416 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30417 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30418 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30419 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30420 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30421 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30422 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30423 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30424 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30425 {
30426 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30427 }
30428 {
30429 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30430 }
30431 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30432 {
30433 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30434 }
30435 {
30436 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30437 }
30438 {
30439 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30440 }
30441 {
30442 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30443 }
30444 {
30445 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30446 }
30447 {
30448 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30449 }
30450 {
30451 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30452 }
30453 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30454 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30455 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30456 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30457 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30458 {
30459 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30460 }
30461 {
30462 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30463 }
30464 {
30465 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30466 }
30467 {
30468 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30469 }
30470 {
30471 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30472 }
30473 {
30474 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30475 }
30476 {
30477 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30478 }
30479 {
30480 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30481 }
30482 {
30483 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30484 }
30485 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30486 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30487 {
30488 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30489 }
30490 {
30491 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30492 }
30493 {
30494 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30495 }
30496 {
30497 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30498 }
30499 {
30500 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30501 }
30502 {
30503 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30504 }
30505 {
30506 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30507 }
30508 {
30509 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30510 }
30511 {
30512 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30513 }
30514 {
30515 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30516 }
30517 {
30518 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30519 }
30520 {
30521 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30522 }
30523 {
30524 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30525 }
30526 {
30527 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30528 }
30529 {
30530 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30531 }
30532 {
30533 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30534 }
30535 {
30536 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30537 }
30538 {
30539 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30540 }
30541 {
30542 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30543 }
30544 {
30545 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30546 }
30547 {
30548 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30549 }
30550 {
30551 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30552 }
30553 {
30554 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30555 }
30556 {
30557 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30558 }
30559 {
30560 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30561 }
30562 {
30563 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30564 }
30565 {
30566 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30567 }
30568 {
30569 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30570 }
30571 {
30572 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30573 }
30574 {
30575 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30576 }
30577 {
30578 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30579 }
30580 {
30581 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30582 }
30583 {
30584 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30585 }
30586 {
30587 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30588 }
30589 {
30590 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30591 }
30592 {
30593 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30594 }
30595 {
30596 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30597 }
30598 {
30599 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30600 }
30601 {
30602 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30603 }
30604
30605 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30606
30607 }
30608