]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_windows_wrap.cpp
wxDEFAULT_STATUSBAR_STYLE
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389 #define SWIGTYPE_p_char swig_types[48]
1390 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391 #define SWIGTYPE_p_wxFrame swig_types[50]
1392 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1396 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1397 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398 #define SWIGTYPE_p_wxPoint swig_types[57]
1399 #define SWIGTYPE_p_wxObject swig_types[58]
1400 #define SWIGTYPE_p_unsigned_long swig_types[59]
1401 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1402 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1407 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1409 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410 #define SWIGTYPE_p_wxWindow swig_types[69]
1411 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1413 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1417 #define SWIGTYPE_p_wxString swig_types[76]
1418 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1420 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1421 #define SWIGTYPE_p_wxDialog swig_types[80]
1422 #define SWIGTYPE_p_wxPanel swig_types[81]
1423 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1427 #define SWIGTYPE_p_wxBitmap swig_types[86]
1428 #define SWIGTYPE_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_int swig_types[88]
1430 #define SWIGTYPE_p_unsigned_char swig_types[89]
1431 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxToolBar swig_types[94]
1436 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438 static swig_type_info *swig_types[98];
1439
1440 /* -------- TYPES TABLE (END) -------- */
1441
1442
1443 /*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_windows_
1447
1448 #define SWIG_name "_windows_"
1449
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459 #include <limits.h>
1460
1461
1462 SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465 {
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482 }
1483
1484
1485 SWIGINTERN int
1486 SWIG_AsVal_long(PyObject* obj, long* val)
1487 {
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496 }
1497
1498
1499 #if INT_MAX != LONG_MAX
1500 SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502 {
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519 }
1520 #else
1521 SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523 {
1524 return SWIG_AsVal_long(obj,(long*)val);
1525 }
1526 #endif
1527
1528
1529 SWIGINTERNSHORT int
1530 SWIG_As_int(PyObject* obj)
1531 {
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540 }
1541
1542
1543 SWIGINTERNSHORT long
1544 SWIG_As_long(PyObject* obj)
1545 {
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554 }
1555
1556
1557 SWIGINTERNSHORT int
1558 SWIG_Check_int(PyObject* obj)
1559 {
1560 return SWIG_AsVal_int(obj, (int*)0);
1561 }
1562
1563
1564 SWIGINTERNSHORT int
1565 SWIG_Check_long(PyObject* obj)
1566 {
1567 return SWIG_AsVal_long(obj, (long*)0);
1568 }
1569
1570
1571 SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573 {
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593 }
1594
1595
1596 SWIGINTERNSHORT bool
1597 SWIG_As_bool(PyObject* obj)
1598 {
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607 }
1608
1609
1610 SWIGINTERNSHORT int
1611 SWIG_Check_bool(PyObject* obj)
1612 {
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614 }
1615
1616
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618 #define SWIG_From_int PyInt_FromLong
1619 /*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650 SWIGINTERN int
1651 SWIG_AsVal_double(PyObject *obj, double* val)
1652 {
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661 }
1662
1663
1664 SWIGINTERNSHORT double
1665 SWIG_As_double(PyObject* obj)
1666 {
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675 }
1676
1677
1678 SWIGINTERNSHORT int
1679 SWIG_Check_double(PyObject* obj)
1680 {
1681 return SWIG_AsVal_double(obj, (double*)0);
1682 }
1683
1684
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686 #define SWIG_From_double PyFloat_FromDouble
1687 /*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695 #define SWIG_From_long PyInt_FromLong
1696 /*@@*/
1697
1698
1699
1700 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1701 wxRect r;
1702 self->GetFieldRect(i, r);
1703 return r;
1704 }
1705 static const wxString wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1708
1709 #include <wx/popupwin.h>
1710
1711
1712 class wxPopupWindow : public wxWindow {
1713 public:
1714 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1716 };
1717
1718 class wxPyPopupTransientWindow : public wxPopupWindow
1719 {
1720 public:
1721 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1723 };
1724
1725
1726 #include <wx/tipwin.h>
1727
1728 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1729 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1730 }
1731
1732 #include <wx/tipwin.h>
1733
1734
1735 #include <wx/vscroll.h>
1736
1737
1738 class wxPyVScrolledWindow : public wxVScrolledWindow
1739 {
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1741 public:
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1743
1744 wxPyVScrolledWindow(wxWindow *parent,
1745 wxWindowID id = wxID_ANY,
1746 const wxPoint& pos = wxDefaultPosition,
1747 const wxSize& size = wxDefaultSize,
1748 long style = 0,
1749 const wxString& name = wxPyPanelNameStr)
1750 : wxVScrolledWindow(parent, id, pos, size, style, name)
1751 {}
1752
1753 // Overridable virtuals
1754
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1758
1759
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1763 // once
1764 //
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1770 //
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1772 // usual
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1774
1775
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1780 // its own logic
1781 //
1782 // this function should return the best guess for the total height it may
1783 // make
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1785
1786
1787 // Also expose some other interesting protected methods
1788
1789
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1794
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1799
1800
1801 PYPRIVATE;
1802 };
1803
1804 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1805
1806 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1807 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1808 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1809
1810
1811 SWIGINTERN int
1812 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1813 {
1814 long v = 0;
1815 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1816 SWIG_type_error("unsigned number", obj);
1817 }
1818 else if (val)
1819 *val = (unsigned long)v;
1820 return 1;
1821 }
1822
1823
1824 SWIGINTERNSHORT unsigned long
1825 SWIG_As_unsigned_SS_long(PyObject* obj)
1826 {
1827 unsigned long v;
1828 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1829 /*
1830 this is needed to make valgrind/purify happier.
1831 */
1832 memset((void*)&v, 0, sizeof(unsigned long));
1833 }
1834 return v;
1835 }
1836
1837
1838 SWIGINTERNSHORT int
1839 SWIG_Check_unsigned_SS_long(PyObject* obj)
1840 {
1841 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1842 }
1843
1844
1845 SWIGINTERNSHORT PyObject*
1846 SWIG_From_unsigned_SS_long(unsigned long value)
1847 {
1848 return (value > LONG_MAX) ?
1849 PyLong_FromUnsignedLong(value)
1850 : PyInt_FromLong((long)(value));
1851 }
1852
1853
1854 #include <wx/vlbox.h>
1855
1856 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1857
1858 class wxPyVListBox : public wxVListBox
1859 {
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1861 public:
1862 wxPyVListBox() : wxVListBox() {}
1863
1864 wxPyVListBox(wxWindow *parent,
1865 wxWindowID id = wxID_ANY,
1866 const wxPoint& pos = wxDefaultPosition,
1867 const wxSize& size = wxDefaultSize,
1868 long style = 0,
1869 const wxString& name = wxPyVListBoxNameStr)
1870 : wxVListBox(parent, id, pos, size, style, name)
1871 {}
1872
1873 // Overridable virtuals
1874
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1879
1880
1881 // the derived class must implement this method to return the height of the
1882 // specified item
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1885
1886
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1890 //
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1894
1895
1896 // this method is used to draw the items background and, maybe, a border
1897 // around it
1898 //
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1902 // current
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1905
1906
1907 PYPRIVATE;
1908 };
1909
1910 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1911
1912 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1913 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1914 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1915 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1916
1917
1918 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1919 unsigned long cookie = 0;
1920 int selected = self->GetFirstSelected(cookie);
1921 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1922 PyObject* tup = PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1924 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1925 wxPyEndBlockThreads(blocked);
1926 return tup;
1927 }
1928 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1929 int selected = self->GetNextSelected(cookie);
1930 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1931 PyObject* tup = PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1933 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1934 wxPyEndBlockThreads(blocked);
1935 return tup;
1936 }
1937
1938 #include <wx/htmllbox.h>
1939
1940
1941 class wxPyHtmlListBox : public wxHtmlListBox
1942 {
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1944 public:
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1946
1947 wxPyHtmlListBox(wxWindow *parent,
1948 wxWindowID id = wxID_ANY,
1949 const wxPoint& pos = wxDefaultPosition,
1950 const wxSize& size = wxDefaultSize,
1951 long style = 0,
1952 const wxString& name = wxPyVListBoxNameStr)
1953 : wxHtmlListBox(parent, id, pos, size, style, name)
1954 {}
1955
1956 // Overridable virtuals
1957
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1961
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1964
1965 // TODO:
1966 // // this method allows to customize the selection appearance: it may be used
1967 // // to specify the colour of the text which normally has the given colour
1968 // // colFg when it is inside the selection
1969 // //
1970 // // by default, the original colour is not used at all and all text has the
1971 // // same (default for this system) colour inside selection
1972 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1973
1974 // // this is the same as GetSelectedTextColour() but allows to customize the
1975 // // background colour -- this is even more rarely used as you can change it
1976 // // globally using SetSelectionBackground()
1977 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1978
1979
1980 PYPRIVATE;
1981 };
1982
1983
1984 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1985
1986 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1987 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1988
1989
1990
1991
1992
1993 #ifndef wxHAS_TASK_BAR_ICON
1994 // implement dummy classes for platforms that don't have it
1995
1996 class wxTaskBarIcon : public wxEvtHandler
1997 {
1998 public:
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2000 };
2001
2002
2003 class wxTaskBarIconEvent : public wxEvent
2004 {
2005 public:
2006 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent* Clone() const { return NULL; }
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu *menu) { return false; }
2014 };
2015
2016 enum {
2017 wxEVT_TASKBAR_MOVE = 0,
2018 wxEVT_TASKBAR_LEFT_DOWN = 0,
2019 wxEVT_TASKBAR_LEFT_UP = 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2021 wxEVT_TASKBAR_RIGHT_UP = 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2024 };
2025
2026
2027 #else
2028 // Otherwise make a class that can virtualize CreatePopupMenu
2029 class wxPyTaskBarIcon : public wxTaskBarIcon
2030 {
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2032 public:
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2034 {}
2035
2036 wxMenu* CreatePopupMenu() {
2037 wxMenu *rval = NULL;
2038 bool found;
2039 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2040 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2041 PyObject* ro;
2042 wxMenu* ptr;
2043 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2044 if (ro) {
2045 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2046 rval = ptr;
2047 Py_DECREF(ro);
2048 }
2049 }
2050 wxPyEndBlockThreads(blocked);
2051 if (! found)
2052 rval = wxTaskBarIcon::CreatePopupMenu();
2053 return rval;
2054 }
2055
2056 PYPRIVATE;
2057 };
2058
2059 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2060
2061 #endif
2062
2063 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2064 self->RemoveIcon();
2065 delete self;
2066 }
2067 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2068 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2069 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2070 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2071 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2072 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2073 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2074 wxArrayString arr;
2075 self->GetFilenames(arr);
2076 return wxArrayString2PyList_helper(arr);
2077 }
2078 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2079 wxArrayString arr;
2080 self->GetPaths(arr);
2081 return wxArrayString2PyList_helper(arr);
2082 }
2083 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2084 return wxArrayInt2PyList_helper(self->GetSelections());
2085 }
2086 static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
2087 return new wxSingleChoiceDialog(parent, message, caption,
2088 choices, choices_array, NULL, style, pos);
2089 }
2090 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2091
2092 #include <wx/mdi.h>
2093
2094 // C++ version of Python aware wxWindow
2095 class wxPyWindow : public wxWindow
2096 {
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2098 public:
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow* parent, const wxWindowID id,
2101 const wxPoint& pos = wxDefaultPosition,
2102 const wxSize& size = wxDefaultSize,
2103 long style = 0,
2104 const wxString& name = wxPyPanelNameStr)
2105 : wxWindow(parent, id, pos, size, style, name) {}
2106
2107 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2108
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2113
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2117
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2120
2121 DEC_PYCALLBACK__(InitDialog);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2124 DEC_PYCALLBACK_BOOL_(Validate);
2125
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2129
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2132
2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2136
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2138
2139 PYPRIVATE;
2140 };
2141
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2143
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2148
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2152
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2155
2156 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2160
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2164
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2167
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2169 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
2170 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2171
2172 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2173
2174 // C++ version of Python aware wxPanel
2175 class wxPyPanel : public wxPanel
2176 {
2177 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2178 public:
2179 wxPyPanel() : wxPanel() {}
2180 wxPyPanel(wxWindow* parent, const wxWindowID id,
2181 const wxPoint& pos = wxDefaultPosition,
2182 const wxSize& size = wxDefaultSize,
2183 long style = 0,
2184 const wxString& name = wxPyPanelNameStr)
2185 : wxPanel(parent, id, pos, size, style, name) {}
2186
2187 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2188
2189
2190 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2191 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2193 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2194
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2198
2199 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2200 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2201
2202 DEC_PYCALLBACK__(InitDialog);
2203 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2204 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2205 DEC_PYCALLBACK_BOOL_(Validate);
2206
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2208 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2209 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2210
2211 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2212 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2213
2214 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2215 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2216 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2217
2218 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2219
2220 PYPRIVATE;
2221 };
2222
2223 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2224
2225 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2226 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2227 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2229
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2233
2234 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2236
2237 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2241
2242 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2244 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2245
2246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2248
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2250 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
2251 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2252
2253 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2254
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow : public wxScrolledWindow
2257 {
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2259 public:
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2262 const wxPoint& pos = wxDefaultPosition,
2263 const wxSize& size = wxDefaultSize,
2264 long style = 0,
2265 const wxString& name = wxPyPanelNameStr)
2266 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2267
2268 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2269
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2274
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2278
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2281
2282 DEC_PYCALLBACK__(InitDialog);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2285 DEC_PYCALLBACK_BOOL_(Validate);
2286
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2290
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2293
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2297
2298 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2299
2300 PYPRIVATE;
2301 };
2302
2303 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2304
2305 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2306 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2307 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2308 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2309
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2311 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2312 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2313
2314 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2315 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2316
2317 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2319 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2320 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2321
2322 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2323 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2324 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2325
2326 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2327 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2328
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2330 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
2331 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2332
2333 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2334
2335
2336 #include "wx/wxPython/printfw.h"
2337
2338
2339 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2340 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2341 static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2342 PyObject* data;
2343 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2344 data = PyString_FromStringAndSize(self->GetPrivData(),
2345 self->GetPrivDataLen());
2346 wxPyEndBlockThreads(blocked);
2347 return data;
2348 }
2349 static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2350 if (! PyString_Check(data)) {
2351 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2352 "Expected string object"));
2353 return /* NULL */ ;
2354 }
2355
2356 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2357 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2358 wxPyEndBlockThreads(blocked);
2359 }
2360
2361
2362 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2363
2364 // Since this one would be tough and ugly to do with the Macros...
2365 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2366 bool hadErr = false;
2367 bool found;
2368
2369 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2370 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2371 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2372 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2373 PyObject* val;
2374
2375 val = PyTuple_GetItem(result, 0);
2376 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2377 else hadErr = true;
2378
2379 val = PyTuple_GetItem(result, 1);
2380 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2381 else hadErr = true;
2382
2383 val = PyTuple_GetItem(result, 2);
2384 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2385 else hadErr = true;
2386
2387 val = PyTuple_GetItem(result, 3);
2388 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2389 else hadErr = true;
2390 }
2391 else
2392 hadErr = true;
2393
2394 if (hadErr) {
2395 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2396 PyErr_Print();
2397 }
2398 Py_DECREF(result);
2399 }
2400 wxPyEndBlockThreads(blocked);
2401 if (! found)
2402 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2403 }
2404
2405 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2406 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2407 }
2408
2409
2410 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2411 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2412 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2413 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2414 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2415 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2416 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2417
2418
2419
2420
2421
2422 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2423 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2424 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2425
2426
2427 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2428 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2429 bool rval=false; \
2430 bool found; \
2431 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2432 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2433 PyObject* win = wxPyMake_wxObject(a,false); \
2434 PyObject* dc = wxPyMake_wxObject(&b,false); \
2435 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2436 Py_DECREF(win); \
2437 Py_DECREF(dc); \
2438 } \
2439 wxPyEndBlockThreads(blocked); \
2440 if (! found) \
2441 rval = PCLASS::CBNAME(a, b); \
2442 return rval; \
2443 } \
2444 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2445 return PCLASS::CBNAME(a, b); \
2446 }
2447
2448
2449
2450
2451 class wxPyPrintPreview : public wxPrintPreview
2452 {
2453 DECLARE_CLASS(wxPyPrintPreview)
2454 public:
2455 wxPyPrintPreview(wxPyPrintout* printout,
2456 wxPyPrintout* printoutForPrinting,
2457 wxPrintDialogData* data=NULL)
2458 : wxPrintPreview(printout, printoutForPrinting, data)
2459 {}
2460 wxPyPrintPreview(wxPyPrintout* printout,
2461 wxPyPrintout* printoutForPrinting,
2462 wxPrintData* data=NULL)
2463 : wxPrintPreview(printout, printoutForPrinting, data)
2464 {}
2465
2466 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2467 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2468 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2469 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2470 DEC_PYCALLBACK_VOID_INT(SetZoom);
2471 DEC_PYCALLBACK_BOOL_BOOL(Print);
2472 DEC_PYCALLBACK_VOID_(DetermineScaling);
2473
2474 PYPRIVATE;
2475 };
2476
2477 // Stupid renamed classes... Fix this in 2.5...
2478 #if defined(__WXMSW__)
2479 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2480 #elif defined(__WXMAC__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2482 #else
2483 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2484 #endif
2485
2486 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2487 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2488 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2489 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2490 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2491 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2492 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2493
2494
2495 class wxPyPreviewFrame : public wxPreviewFrame
2496 {
2497 DECLARE_CLASS(wxPyPreviewFrame);
2498 public:
2499 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2500 const wxString& title,
2501 const wxPoint& pos = wxDefaultPosition,
2502 const wxSize& size = wxDefaultSize,
2503 long style = wxDEFAULT_FRAME_STYLE,
2504 const wxString& name = wxPyFrameNameStr)
2505 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2506 {}
2507
2508 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2509 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2510
2511 DEC_PYCALLBACK_VOID_(Initialize);
2512 DEC_PYCALLBACK_VOID_(CreateCanvas);
2513 DEC_PYCALLBACK_VOID_(CreateControlBar);
2514
2515 PYPRIVATE;
2516 };
2517
2518 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2519
2520 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2521 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2523
2524
2525 class wxPyPreviewControlBar : public wxPreviewControlBar
2526 {
2527 DECLARE_CLASS(wxPyPreviewControlBar);
2528 public:
2529 wxPyPreviewControlBar(wxPrintPreview *preview,
2530 long buttons,
2531 wxWindow *parent,
2532 const wxPoint& pos = wxDefaultPosition,
2533 const wxSize& size = wxDefaultSize,
2534 long style = 0,
2535 const wxString& name = wxPyPanelNameStr)
2536 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2537 {}
2538
2539 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2540
2541 DEC_PYCALLBACK_VOID_(CreateButtons);
2542 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2543
2544 PYPRIVATE;
2545 };
2546
2547 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2548 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2549 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2550
2551 #ifdef __cplusplus
2552 extern "C" {
2553 #endif
2554 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2555 PyObject *resultobj;
2556 wxWindow *arg1 = (wxWindow *) 0 ;
2557 int arg2 = (int) (int)-1 ;
2558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2560 wxSize const &arg4_defvalue = wxDefaultSize ;
2561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2562 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2563 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2564 wxString *arg6 = (wxString *) &arg6_defvalue ;
2565 wxPanel *result;
2566 wxPoint temp3 ;
2567 wxSize temp4 ;
2568 bool temp6 = false ;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj1 = 0 ;
2571 PyObject * obj2 = 0 ;
2572 PyObject * obj3 = 0 ;
2573 PyObject * obj4 = 0 ;
2574 PyObject * obj5 = 0 ;
2575 char *kwnames[] = {
2576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2577 };
2578
2579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2581 if (SWIG_arg_fail(1)) SWIG_fail;
2582 if (obj1) {
2583 {
2584 arg2 = (int const)(SWIG_As_int(obj1));
2585 if (SWIG_arg_fail(2)) SWIG_fail;
2586 }
2587 }
2588 if (obj2) {
2589 {
2590 arg3 = &temp3;
2591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2592 }
2593 }
2594 if (obj3) {
2595 {
2596 arg4 = &temp4;
2597 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2598 }
2599 }
2600 if (obj4) {
2601 {
2602 arg5 = (long)(SWIG_As_long(obj4));
2603 if (SWIG_arg_fail(5)) SWIG_fail;
2604 }
2605 }
2606 if (obj5) {
2607 {
2608 arg6 = wxString_in_helper(obj5);
2609 if (arg6 == NULL) SWIG_fail;
2610 temp6 = true;
2611 }
2612 }
2613 {
2614 if (!wxPyCheckForApp()) SWIG_fail;
2615 PyThreadState* __tstate = wxPyBeginAllowThreads();
2616 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2617
2618 wxPyEndAllowThreads(__tstate);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2622 {
2623 if (temp6)
2624 delete arg6;
2625 }
2626 return resultobj;
2627 fail:
2628 {
2629 if (temp6)
2630 delete arg6;
2631 }
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2637 PyObject *resultobj;
2638 wxPanel *result;
2639 char *kwnames[] = {
2640 NULL
2641 };
2642
2643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2644 {
2645 if (!wxPyCheckForApp()) SWIG_fail;
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 result = (wxPanel *)new wxPanel();
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2653 return resultobj;
2654 fail:
2655 return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxPanel *arg1 = (wxPanel *) 0 ;
2662 wxWindow *arg2 = (wxWindow *) 0 ;
2663 int arg3 = (int) (int)-1 ;
2664 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2665 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2666 wxSize const &arg5_defvalue = wxDefaultSize ;
2667 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2668 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2669 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2670 wxString *arg7 = (wxString *) &arg7_defvalue ;
2671 bool result;
2672 wxPoint temp4 ;
2673 wxSize temp5 ;
2674 bool temp7 = false ;
2675 PyObject * obj0 = 0 ;
2676 PyObject * obj1 = 0 ;
2677 PyObject * obj2 = 0 ;
2678 PyObject * obj3 = 0 ;
2679 PyObject * obj4 = 0 ;
2680 PyObject * obj5 = 0 ;
2681 PyObject * obj6 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2688 if (SWIG_arg_fail(1)) SWIG_fail;
2689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2690 if (SWIG_arg_fail(2)) SWIG_fail;
2691 if (obj2) {
2692 {
2693 arg3 = (int const)(SWIG_As_int(obj2));
2694 if (SWIG_arg_fail(3)) SWIG_fail;
2695 }
2696 }
2697 if (obj3) {
2698 {
2699 arg4 = &temp4;
2700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2701 }
2702 }
2703 if (obj4) {
2704 {
2705 arg5 = &temp5;
2706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2707 }
2708 }
2709 if (obj5) {
2710 {
2711 arg6 = (long)(SWIG_As_long(obj5));
2712 if (SWIG_arg_fail(6)) SWIG_fail;
2713 }
2714 }
2715 if (obj6) {
2716 {
2717 arg7 = wxString_in_helper(obj6);
2718 if (arg7 == NULL) SWIG_fail;
2719 temp7 = true;
2720 }
2721 }
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 {
2730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2731 }
2732 {
2733 if (temp7)
2734 delete arg7;
2735 }
2736 return resultobj;
2737 fail:
2738 {
2739 if (temp7)
2740 delete arg7;
2741 }
2742 return NULL;
2743 }
2744
2745
2746 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2747 PyObject *resultobj;
2748 wxPanel *arg1 = (wxPanel *) 0 ;
2749 PyObject * obj0 = 0 ;
2750 char *kwnames[] = {
2751 (char *) "self", NULL
2752 };
2753
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2756 if (SWIG_arg_fail(1)) SWIG_fail;
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->InitDialog();
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxPanel *arg1 = (wxPanel *) 0 ;
2774 PyObject * obj0 = 0 ;
2775 char *kwnames[] = {
2776 (char *) "self", NULL
2777 };
2778
2779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2781 if (SWIG_arg_fail(1)) SWIG_fail;
2782 {
2783 PyThreadState* __tstate = wxPyBeginAllowThreads();
2784 (arg1)->SetFocus();
2785
2786 wxPyEndAllowThreads(__tstate);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 }
2789 Py_INCREF(Py_None); resultobj = Py_None;
2790 return resultobj;
2791 fail:
2792 return NULL;
2793 }
2794
2795
2796 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2797 PyObject *resultobj;
2798 wxPanel *arg1 = (wxPanel *) 0 ;
2799 PyObject * obj0 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2806 if (SWIG_arg_fail(1)) SWIG_fail;
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 (arg1)->SetFocusIgnoringChildren();
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 Py_INCREF(Py_None); resultobj = Py_None;
2815 return resultobj;
2816 fail:
2817 return NULL;
2818 }
2819
2820
2821 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2822 PyObject *resultobj;
2823 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2824 wxVisualAttributes result;
2825 PyObject * obj0 = 0 ;
2826 char *kwnames[] = {
2827 (char *) "variant", NULL
2828 };
2829
2830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2831 if (obj0) {
2832 {
2833 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2834 if (SWIG_arg_fail(1)) SWIG_fail;
2835 }
2836 }
2837 {
2838 if (!wxPyCheckForApp()) SWIG_fail;
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 {
2846 wxVisualAttributes * resultptr;
2847 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2849 }
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2857 PyObject *obj;
2858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2860 Py_INCREF(obj);
2861 return Py_BuildValue((char *)"");
2862 }
2863 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxWindow *arg1 = (wxWindow *) 0 ;
2866 int arg2 = (int) (int)-1 ;
2867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2869 wxSize const &arg4_defvalue = wxDefaultSize ;
2870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2871 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2872 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2873 wxString *arg6 = (wxString *) &arg6_defvalue ;
2874 wxScrolledWindow *result;
2875 wxPoint temp3 ;
2876 wxSize temp4 ;
2877 bool temp6 = false ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 PyObject * obj3 = 0 ;
2882 PyObject * obj4 = 0 ;
2883 PyObject * obj5 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2890 if (SWIG_arg_fail(1)) SWIG_fail;
2891 if (obj1) {
2892 {
2893 arg2 = (int const)(SWIG_As_int(obj1));
2894 if (SWIG_arg_fail(2)) SWIG_fail;
2895 }
2896 }
2897 if (obj2) {
2898 {
2899 arg3 = &temp3;
2900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2901 }
2902 }
2903 if (obj3) {
2904 {
2905 arg4 = &temp4;
2906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2907 }
2908 }
2909 if (obj4) {
2910 {
2911 arg5 = (long)(SWIG_As_long(obj4));
2912 if (SWIG_arg_fail(5)) SWIG_fail;
2913 }
2914 }
2915 if (obj5) {
2916 {
2917 arg6 = wxString_in_helper(obj5);
2918 if (arg6 == NULL) SWIG_fail;
2919 temp6 = true;
2920 }
2921 }
2922 {
2923 if (!wxPyCheckForApp()) SWIG_fail;
2924 PyThreadState* __tstate = wxPyBeginAllowThreads();
2925 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2926
2927 wxPyEndAllowThreads(__tstate);
2928 if (PyErr_Occurred()) SWIG_fail;
2929 }
2930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2931 {
2932 if (temp6)
2933 delete arg6;
2934 }
2935 return resultobj;
2936 fail:
2937 {
2938 if (temp6)
2939 delete arg6;
2940 }
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxScrolledWindow *result;
2948 char *kwnames[] = {
2949 NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2953 {
2954 if (!wxPyCheckForApp()) SWIG_fail;
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = (wxScrolledWindow *)new wxScrolledWindow();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2971 wxWindow *arg2 = (wxWindow *) 0 ;
2972 int arg3 = (int) (int)-1 ;
2973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2975 wxSize const &arg5_defvalue = wxDefaultSize ;
2976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2977 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2978 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2979 wxString *arg7 = (wxString *) &arg7_defvalue ;
2980 bool result;
2981 wxPoint temp4 ;
2982 wxSize temp5 ;
2983 bool temp7 = false ;
2984 PyObject * obj0 = 0 ;
2985 PyObject * obj1 = 0 ;
2986 PyObject * obj2 = 0 ;
2987 PyObject * obj3 = 0 ;
2988 PyObject * obj4 = 0 ;
2989 PyObject * obj5 = 0 ;
2990 PyObject * obj6 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2997 if (SWIG_arg_fail(1)) SWIG_fail;
2998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2999 if (SWIG_arg_fail(2)) SWIG_fail;
3000 if (obj2) {
3001 {
3002 arg3 = (int const)(SWIG_As_int(obj2));
3003 if (SWIG_arg_fail(3)) SWIG_fail;
3004 }
3005 }
3006 if (obj3) {
3007 {
3008 arg4 = &temp4;
3009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3010 }
3011 }
3012 if (obj4) {
3013 {
3014 arg5 = &temp5;
3015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3016 }
3017 }
3018 if (obj5) {
3019 {
3020 arg6 = (long)(SWIG_As_long(obj5));
3021 if (SWIG_arg_fail(6)) SWIG_fail;
3022 }
3023 }
3024 if (obj6) {
3025 {
3026 arg7 = wxString_in_helper(obj6);
3027 if (arg7 == NULL) SWIG_fail;
3028 temp7 = true;
3029 }
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 {
3039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3040 }
3041 {
3042 if (temp7)
3043 delete arg7;
3044 }
3045 return resultobj;
3046 fail:
3047 {
3048 if (temp7)
3049 delete arg7;
3050 }
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3058 int arg2 ;
3059 int arg3 ;
3060 int arg4 ;
3061 int arg5 ;
3062 int arg6 = (int) 0 ;
3063 int arg7 = (int) 0 ;
3064 bool arg8 = (bool) false ;
3065 PyObject * obj0 = 0 ;
3066 PyObject * obj1 = 0 ;
3067 PyObject * obj2 = 0 ;
3068 PyObject * obj3 = 0 ;
3069 PyObject * obj4 = 0 ;
3070 PyObject * obj5 = 0 ;
3071 PyObject * obj6 = 0 ;
3072 PyObject * obj7 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail;
3080 {
3081 arg2 = (int)(SWIG_As_int(obj1));
3082 if (SWIG_arg_fail(2)) SWIG_fail;
3083 }
3084 {
3085 arg3 = (int)(SWIG_As_int(obj2));
3086 if (SWIG_arg_fail(3)) SWIG_fail;
3087 }
3088 {
3089 arg4 = (int)(SWIG_As_int(obj3));
3090 if (SWIG_arg_fail(4)) SWIG_fail;
3091 }
3092 {
3093 arg5 = (int)(SWIG_As_int(obj4));
3094 if (SWIG_arg_fail(5)) SWIG_fail;
3095 }
3096 if (obj5) {
3097 {
3098 arg6 = (int)(SWIG_As_int(obj5));
3099 if (SWIG_arg_fail(6)) SWIG_fail;
3100 }
3101 }
3102 if (obj6) {
3103 {
3104 arg7 = (int)(SWIG_As_int(obj6));
3105 if (SWIG_arg_fail(7)) SWIG_fail;
3106 }
3107 }
3108 if (obj7) {
3109 {
3110 arg8 = (bool)(SWIG_As_bool(obj7));
3111 if (SWIG_arg_fail(8)) SWIG_fail;
3112 }
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 Py_INCREF(Py_None); resultobj = Py_None;
3122 return resultobj;
3123 fail:
3124 return NULL;
3125 }
3126
3127
3128 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3129 PyObject *resultobj;
3130 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3131 int arg2 ;
3132 int arg3 ;
3133 PyObject * obj0 = 0 ;
3134 PyObject * obj1 = 0 ;
3135 PyObject * obj2 = 0 ;
3136 char *kwnames[] = {
3137 (char *) "self",(char *) "x",(char *) "y", NULL
3138 };
3139
3140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3142 if (SWIG_arg_fail(1)) SWIG_fail;
3143 {
3144 arg2 = (int)(SWIG_As_int(obj1));
3145 if (SWIG_arg_fail(2)) SWIG_fail;
3146 }
3147 {
3148 arg3 = (int)(SWIG_As_int(obj2));
3149 if (SWIG_arg_fail(3)) SWIG_fail;
3150 }
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->Scroll(arg2,arg3);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3168 int arg2 ;
3169 int result;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "orient", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3178 if (SWIG_arg_fail(1)) SWIG_fail;
3179 {
3180 arg2 = (int)(SWIG_As_int(obj1));
3181 if (SWIG_arg_fail(2)) SWIG_fail;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 resultobj = SWIG_From_int((int)(result));
3192 }
3193 return resultobj;
3194 fail:
3195 return NULL;
3196 }
3197
3198
3199 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3202 int arg2 ;
3203 int arg3 ;
3204 PyObject * obj0 = 0 ;
3205 PyObject * obj1 = 0 ;
3206 PyObject * obj2 = 0 ;
3207 char *kwnames[] = {
3208 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3209 };
3210
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3213 if (SWIG_arg_fail(1)) SWIG_fail;
3214 {
3215 arg2 = (int)(SWIG_As_int(obj1));
3216 if (SWIG_arg_fail(2)) SWIG_fail;
3217 }
3218 {
3219 arg3 = (int)(SWIG_As_int(obj2));
3220 if (SWIG_arg_fail(3)) SWIG_fail;
3221 }
3222 {
3223 PyThreadState* __tstate = wxPyBeginAllowThreads();
3224 (arg1)->SetScrollPageSize(arg2,arg3);
3225
3226 wxPyEndAllowThreads(__tstate);
3227 if (PyErr_Occurred()) SWIG_fail;
3228 }
3229 Py_INCREF(Py_None); resultobj = Py_None;
3230 return resultobj;
3231 fail:
3232 return NULL;
3233 }
3234
3235
3236 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj;
3238 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3239 int arg2 ;
3240 int arg3 ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 PyObject * obj2 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3250 if (SWIG_arg_fail(1)) SWIG_fail;
3251 {
3252 arg2 = (int)(SWIG_As_int(obj1));
3253 if (SWIG_arg_fail(2)) SWIG_fail;
3254 }
3255 {
3256 arg3 = (int)(SWIG_As_int(obj2));
3257 if (SWIG_arg_fail(3)) SWIG_fail;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetScrollRate(arg2,arg3);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270 }
3271
3272
3273 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3276 int *arg2 = (int *) 0 ;
3277 int *arg3 = (int *) 0 ;
3278 int temp2 ;
3279 int res2 = 0 ;
3280 int temp3 ;
3281 int res3 = 0 ;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3288 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3291 if (SWIG_arg_fail(1)) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3301 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3302 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3303 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3313 bool arg2 ;
3314 bool arg3 ;
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj1 = 0 ;
3317 PyObject * obj2 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3324 if (SWIG_arg_fail(1)) SWIG_fail;
3325 {
3326 arg2 = (bool)(SWIG_As_bool(obj1));
3327 if (SWIG_arg_fail(2)) SWIG_fail;
3328 }
3329 {
3330 arg3 = (bool)(SWIG_As_bool(obj2));
3331 if (SWIG_arg_fail(3)) SWIG_fail;
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->EnableScrolling(arg2,arg3);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3350 int *arg2 = (int *) 0 ;
3351 int *arg3 = (int *) 0 ;
3352 int temp2 ;
3353 int res2 = 0 ;
3354 int temp3 ;
3355 int res3 = 0 ;
3356 PyObject * obj0 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "self", NULL
3359 };
3360
3361 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3362 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3365 if (SWIG_arg_fail(1)) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3375 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3376 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3377 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3378 return resultobj;
3379 fail:
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3387 double arg2 ;
3388 double arg3 ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
3391 PyObject * obj2 = 0 ;
3392 char *kwnames[] = {
3393 (char *) "self",(char *) "xs",(char *) "ys", NULL
3394 };
3395
3396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3398 if (SWIG_arg_fail(1)) SWIG_fail;
3399 {
3400 arg2 = (double)(SWIG_As_double(obj1));
3401 if (SWIG_arg_fail(2)) SWIG_fail;
3402 }
3403 {
3404 arg3 = (double)(SWIG_As_double(obj2));
3405 if (SWIG_arg_fail(3)) SWIG_fail;
3406 }
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 (arg1)->SetScale(arg2,arg3);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 Py_INCREF(Py_None); resultobj = Py_None;
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3424 double result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 {
3441 resultobj = SWIG_From_double((double)(result));
3442 }
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3452 double result;
3453 PyObject * obj0 = 0 ;
3454 char *kwnames[] = {
3455 (char *) "self", NULL
3456 };
3457
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail;
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
3468 {
3469 resultobj = SWIG_From_double((double)(result));
3470 }
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3478 PyObject *resultobj;
3479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3480 wxPoint *arg2 = 0 ;
3481 wxPoint result;
3482 wxPoint temp2 ;
3483 PyObject * obj0 = 0 ;
3484 PyObject * obj1 = 0 ;
3485
3486 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3488 if (SWIG_arg_fail(1)) SWIG_fail;
3489 {
3490 arg2 = &temp2;
3491 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3492 }
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 {
3501 wxPoint * resultptr;
3502 resultptr = new wxPoint((wxPoint &)(result));
3503 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3504 }
3505 return resultobj;
3506 fail:
3507 return NULL;
3508 }
3509
3510
3511 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3512 PyObject *resultobj;
3513 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3514 int arg2 ;
3515 int arg3 ;
3516 int *arg4 = (int *) 0 ;
3517 int *arg5 = (int *) 0 ;
3518 int temp4 ;
3519 int res4 = 0 ;
3520 int temp5 ;
3521 int res5 = 0 ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 PyObject * obj2 = 0 ;
3525
3526 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3527 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3528 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3530 if (SWIG_arg_fail(1)) SWIG_fail;
3531 {
3532 arg2 = (int)(SWIG_As_int(obj1));
3533 if (SWIG_arg_fail(2)) SWIG_fail;
3534 }
3535 {
3536 arg3 = (int)(SWIG_As_int(obj2));
3537 if (SWIG_arg_fail(3)) SWIG_fail;
3538 }
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 Py_INCREF(Py_None); resultobj = Py_None;
3547 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3548 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3549 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3550 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3558 int argc;
3559 PyObject *argv[4];
3560 int ii;
3561
3562 argc = PyObject_Length(args);
3563 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3564 argv[ii] = PyTuple_GetItem(args,ii);
3565 }
3566 if (argc == 2) {
3567 int _v;
3568 {
3569 void *ptr;
3570 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3571 _v = 0;
3572 PyErr_Clear();
3573 } else {
3574 _v = 1;
3575 }
3576 }
3577 if (_v) {
3578 {
3579 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3580 }
3581 if (_v) {
3582 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3583 }
3584 }
3585 }
3586 if (argc == 3) {
3587 int _v;
3588 {
3589 void *ptr;
3590 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3591 _v = 0;
3592 PyErr_Clear();
3593 } else {
3594 _v = 1;
3595 }
3596 }
3597 if (_v) {
3598 _v = SWIG_Check_int(argv[1]);
3599 if (_v) {
3600 _v = SWIG_Check_int(argv[2]);
3601 if (_v) {
3602 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3603 }
3604 }
3605 }
3606 }
3607
3608 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3614 PyObject *resultobj;
3615 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3616 wxPoint *arg2 = 0 ;
3617 wxPoint result;
3618 wxPoint temp2 ;
3619 PyObject * obj0 = 0 ;
3620 PyObject * obj1 = 0 ;
3621
3622 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3624 if (SWIG_arg_fail(1)) SWIG_fail;
3625 {
3626 arg2 = &temp2;
3627 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3628 }
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3632
3633 wxPyEndAllowThreads(__tstate);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 }
3636 {
3637 wxPoint * resultptr;
3638 resultptr = new wxPoint((wxPoint &)(result));
3639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3640 }
3641 return resultobj;
3642 fail:
3643 return NULL;
3644 }
3645
3646
3647 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3648 PyObject *resultobj;
3649 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3650 int arg2 ;
3651 int arg3 ;
3652 int *arg4 = (int *) 0 ;
3653 int *arg5 = (int *) 0 ;
3654 int temp4 ;
3655 int res4 = 0 ;
3656 int temp5 ;
3657 int res5 = 0 ;
3658 PyObject * obj0 = 0 ;
3659 PyObject * obj1 = 0 ;
3660 PyObject * obj2 = 0 ;
3661
3662 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3663 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3664 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3666 if (SWIG_arg_fail(1)) SWIG_fail;
3667 {
3668 arg2 = (int)(SWIG_As_int(obj1));
3669 if (SWIG_arg_fail(2)) SWIG_fail;
3670 }
3671 {
3672 arg3 = (int)(SWIG_As_int(obj2));
3673 if (SWIG_arg_fail(3)) SWIG_fail;
3674 }
3675 {
3676 PyThreadState* __tstate = wxPyBeginAllowThreads();
3677 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3678
3679 wxPyEndAllowThreads(__tstate);
3680 if (PyErr_Occurred()) SWIG_fail;
3681 }
3682 Py_INCREF(Py_None); resultobj = Py_None;
3683 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3684 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3685 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3686 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3694 int argc;
3695 PyObject *argv[4];
3696 int ii;
3697
3698 argc = PyObject_Length(args);
3699 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3700 argv[ii] = PyTuple_GetItem(args,ii);
3701 }
3702 if (argc == 2) {
3703 int _v;
3704 {
3705 void *ptr;
3706 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3707 _v = 0;
3708 PyErr_Clear();
3709 } else {
3710 _v = 1;
3711 }
3712 }
3713 if (_v) {
3714 {
3715 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3716 }
3717 if (_v) {
3718 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3719 }
3720 }
3721 }
3722 if (argc == 3) {
3723 int _v;
3724 {
3725 void *ptr;
3726 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3727 _v = 0;
3728 PyErr_Clear();
3729 } else {
3730 _v = 1;
3731 }
3732 }
3733 if (_v) {
3734 _v = SWIG_Check_int(argv[1]);
3735 if (_v) {
3736 _v = SWIG_Check_int(argv[2]);
3737 if (_v) {
3738 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3739 }
3740 }
3741 }
3742 }
3743
3744 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3752 PyObject * obj0 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 (arg1)->AdjustScrollbars();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3777 wxScrollWinEvent *arg2 = 0 ;
3778 int result;
3779 PyObject * obj0 = 0 ;
3780 PyObject * obj1 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self",(char *) "event", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3787 if (SWIG_arg_fail(1)) SWIG_fail;
3788 {
3789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3790 if (SWIG_arg_fail(2)) SWIG_fail;
3791 if (arg2 == NULL) {
3792 SWIG_null_ref("wxScrollWinEvent");
3793 }
3794 if (SWIG_arg_fail(2)) SWIG_fail;
3795 }
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (int)(arg1)->CalcScrollInc(*arg2);
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 {
3804 resultobj = SWIG_From_int((int)(result));
3805 }
3806 return resultobj;
3807 fail:
3808 return NULL;
3809 }
3810
3811
3812 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3813 PyObject *resultobj;
3814 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3815 wxWindow *arg2 = (wxWindow *) 0 ;
3816 PyObject * obj0 = 0 ;
3817 PyObject * obj1 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self",(char *) "target", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail;
3825 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3826 if (SWIG_arg_fail(2)) SWIG_fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 (arg1)->SetTargetWindow(arg2);
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 Py_INCREF(Py_None); resultobj = Py_None;
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3842 PyObject *resultobj;
3843 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3844 wxWindow *result;
3845 PyObject * obj0 = 0 ;
3846 char *kwnames[] = {
3847 (char *) "self", NULL
3848 };
3849
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3852 if (SWIG_arg_fail(1)) SWIG_fail;
3853 {
3854 PyThreadState* __tstate = wxPyBeginAllowThreads();
3855 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3856
3857 wxPyEndAllowThreads(__tstate);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 {
3861 resultobj = wxPyMake_wxObject(result, 0);
3862 }
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3870 PyObject *resultobj;
3871 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3872 wxRect *arg2 = 0 ;
3873 wxRect temp2 ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self",(char *) "rect", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
3881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail;
3883 {
3884 arg2 = &temp2;
3885 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetTargetRect((wxRect const &)*arg2);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3904 wxRect result;
3905 PyObject * obj0 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
3911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail;
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 {
3921 wxRect * resultptr;
3922 resultptr = new wxRect((wxRect &)(result));
3923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3932 PyObject *resultobj;
3933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3934 wxDC *arg2 = 0 ;
3935 PyObject * obj0 = 0 ;
3936 PyObject * obj1 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self",(char *) "dc", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail;
3944 {
3945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3946 if (SWIG_arg_fail(2)) SWIG_fail;
3947 if (arg2 == NULL) {
3948 SWIG_null_ref("wxDC");
3949 }
3950 if (SWIG_arg_fail(2)) SWIG_fail;
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 (arg1)->DoPrepareDC(*arg2);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3969 wxVisualAttributes result;
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
3972 (char *) "variant", NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3976 if (obj0) {
3977 {
3978 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3979 if (SWIG_arg_fail(1)) SWIG_fail;
3980 }
3981 }
3982 {
3983 if (!wxPyCheckForApp()) SWIG_fail;
3984 PyThreadState* __tstate = wxPyBeginAllowThreads();
3985 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3986
3987 wxPyEndAllowThreads(__tstate);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 {
3991 wxVisualAttributes * resultptr;
3992 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3994 }
3995 return resultobj;
3996 fail:
3997 return NULL;
3998 }
3999
4000
4001 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
4002 PyObject *obj;
4003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4004 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4005 Py_INCREF(obj);
4006 return Py_BuildValue((char *)"");
4007 }
4008 static int _wrap_FrameNameStr_set(PyObject *) {
4009 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4010 return 1;
4011 }
4012
4013
4014 static PyObject *_wrap_FrameNameStr_get(void) {
4015 PyObject *pyobj;
4016
4017 {
4018 #if wxUSE_UNICODE
4019 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4020 #else
4021 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4022 #endif
4023 }
4024 return pyobj;
4025 }
4026
4027
4028 static int _wrap_DialogNameStr_set(PyObject *) {
4029 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4030 return 1;
4031 }
4032
4033
4034 static PyObject *_wrap_DialogNameStr_get(void) {
4035 PyObject *pyobj;
4036
4037 {
4038 #if wxUSE_UNICODE
4039 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4040 #else
4041 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4042 #endif
4043 }
4044 return pyobj;
4045 }
4046
4047
4048 static int _wrap_StatusLineNameStr_set(PyObject *) {
4049 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4050 return 1;
4051 }
4052
4053
4054 static PyObject *_wrap_StatusLineNameStr_get(void) {
4055 PyObject *pyobj;
4056
4057 {
4058 #if wxUSE_UNICODE
4059 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4060 #else
4061 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4062 #endif
4063 }
4064 return pyobj;
4065 }
4066
4067
4068 static int _wrap_ToolBarNameStr_set(PyObject *) {
4069 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4070 return 1;
4071 }
4072
4073
4074 static PyObject *_wrap_ToolBarNameStr_get(void) {
4075 PyObject *pyobj;
4076
4077 {
4078 #if wxUSE_UNICODE
4079 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4080 #else
4081 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4082 #endif
4083 }
4084 return pyobj;
4085 }
4086
4087
4088 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4089 PyObject *resultobj;
4090 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4091 bool arg2 = (bool) true ;
4092 PyObject * obj0 = 0 ;
4093 PyObject * obj1 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self",(char *) "maximize", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail;
4101 if (obj1) {
4102 {
4103 arg2 = (bool)(SWIG_As_bool(obj1));
4104 if (SWIG_arg_fail(2)) SWIG_fail;
4105 }
4106 }
4107 {
4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
4109 (arg1)->Maximize(arg2);
4110
4111 wxPyEndAllowThreads(__tstate);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 Py_INCREF(Py_None); resultobj = Py_None;
4115 return resultobj;
4116 fail:
4117 return NULL;
4118 }
4119
4120
4121 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4122 PyObject *resultobj;
4123 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4124 PyObject * obj0 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "self", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail;
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 (arg1)->Restore();
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj;
4148 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4149 bool arg2 = (bool) true ;
4150 PyObject * obj0 = 0 ;
4151 PyObject * obj1 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self",(char *) "iconize", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail;
4159 if (obj1) {
4160 {
4161 arg2 = (bool)(SWIG_As_bool(obj1));
4162 if (SWIG_arg_fail(2)) SWIG_fail;
4163 }
4164 }
4165 {
4166 PyThreadState* __tstate = wxPyBeginAllowThreads();
4167 (arg1)->Iconize(arg2);
4168
4169 wxPyEndAllowThreads(__tstate);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 Py_INCREF(Py_None); resultobj = Py_None;
4173 return resultobj;
4174 fail:
4175 return NULL;
4176 }
4177
4178
4179 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4180 PyObject *resultobj;
4181 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4182 bool result;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 {
4199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4200 }
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4210 bool result;
4211 PyObject * obj0 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail;
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
4227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4228 }
4229 return resultobj;
4230 fail:
4231 return NULL;
4232 }
4233
4234
4235 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4238 wxIcon result;
4239 PyObject * obj0 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4246 if (SWIG_arg_fail(1)) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255 wxIcon * resultptr;
4256 resultptr = new wxIcon((wxIcon &)(result));
4257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4258 }
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4268 wxIcon *arg2 = 0 ;
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 char *kwnames[] = {
4272 (char *) "self",(char *) "icon", NULL
4273 };
4274
4275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4277 if (SWIG_arg_fail(1)) SWIG_fail;
4278 {
4279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4280 if (SWIG_arg_fail(2)) SWIG_fail;
4281 if (arg2 == NULL) {
4282 SWIG_null_ref("wxIcon");
4283 }
4284 if (SWIG_arg_fail(2)) SWIG_fail;
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 (arg1)->SetIcon((wxIcon const &)*arg2);
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 Py_INCREF(Py_None); resultobj = Py_None;
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4303 wxIconBundle *arg2 = 0 ;
4304 PyObject * obj0 = 0 ;
4305 PyObject * obj1 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self",(char *) "icons", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4312 if (SWIG_arg_fail(1)) SWIG_fail;
4313 {
4314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4315 if (SWIG_arg_fail(2)) SWIG_fail;
4316 if (arg2 == NULL) {
4317 SWIG_null_ref("wxIconBundle");
4318 }
4319 if (SWIG_arg_fail(2)) SWIG_fail;
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 Py_INCREF(Py_None); resultobj = Py_None;
4329 return resultobj;
4330 fail:
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4338 bool arg2 ;
4339 long arg3 = (long) wxFULLSCREEN_ALL ;
4340 bool result;
4341 PyObject * obj0 = 0 ;
4342 PyObject * obj1 = 0 ;
4343 PyObject * obj2 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self",(char *) "show",(char *) "style", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4350 if (SWIG_arg_fail(1)) SWIG_fail;
4351 {
4352 arg2 = (bool)(SWIG_As_bool(obj1));
4353 if (SWIG_arg_fail(2)) SWIG_fail;
4354 }
4355 if (obj2) {
4356 {
4357 arg3 = (long)(SWIG_As_long(obj2));
4358 if (SWIG_arg_fail(3)) SWIG_fail;
4359 }
4360 }
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4370 }
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4380 bool result;
4381 PyObject * obj0 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4388 if (SWIG_arg_fail(1)) SWIG_fail;
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 {
4397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4398 }
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj;
4407 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4408 wxString *arg2 = 0 ;
4409 bool temp2 = false ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "title", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail;
4419 {
4420 arg2 = wxString_in_helper(obj1);
4421 if (arg2 == NULL) SWIG_fail;
4422 temp2 = true;
4423 }
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->SetTitle((wxString const &)*arg2);
4427
4428 wxPyEndAllowThreads(__tstate);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 Py_INCREF(Py_None); resultobj = Py_None;
4432 {
4433 if (temp2)
4434 delete arg2;
4435 }
4436 return resultobj;
4437 fail:
4438 {
4439 if (temp2)
4440 delete arg2;
4441 }
4442 return NULL;
4443 }
4444
4445
4446 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4447 PyObject *resultobj;
4448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4449 wxString result;
4450 PyObject * obj0 = 0 ;
4451 char *kwnames[] = {
4452 (char *) "self", NULL
4453 };
4454
4455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 {
4466 #if wxUSE_UNICODE
4467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4468 #else
4469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4470 #endif
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj;
4480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4481 wxRegion *arg2 = 0 ;
4482 bool result;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "region", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail;
4492 {
4493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4494 if (SWIG_arg_fail(2)) SWIG_fail;
4495 if (arg2 == NULL) {
4496 SWIG_null_ref("wxRegion");
4497 }
4498 if (SWIG_arg_fail(2)) SWIG_fail;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4519 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self",(char *) "flags", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
4529 if (obj1) {
4530 {
4531 arg2 = (int)(SWIG_As_int(obj1));
4532 if (SWIG_arg_fail(2)) SWIG_fail;
4533 }
4534 }
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 (arg1)->RequestUserAttention(arg2);
4538
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 Py_INCREF(Py_None); resultobj = Py_None;
4543 return resultobj;
4544 fail:
4545 return NULL;
4546 }
4547
4548
4549 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj;
4551 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4552 bool result;
4553 PyObject * obj0 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail;
4561 {
4562 PyThreadState* __tstate = wxPyBeginAllowThreads();
4563 result = (bool)(arg1)->IsActive();
4564
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 {
4569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4570 }
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4580 bool arg2 ;
4581 PyObject * obj0 = 0 ;
4582 PyObject * obj1 = 0 ;
4583 char *kwnames[] = {
4584 (char *) "self",(char *) "on", NULL
4585 };
4586
4587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4589 if (SWIG_arg_fail(1)) SWIG_fail;
4590 {
4591 arg2 = (bool)(SWIG_As_bool(obj1));
4592 if (SWIG_arg_fail(2)) SWIG_fail;
4593 }
4594 {
4595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4596 (arg1)->MacSetMetalAppearance(arg2);
4597
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 Py_INCREF(Py_None); resultobj = Py_None;
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4611 bool result;
4612 PyObject * obj0 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 {
4628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4629 }
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4637 PyObject *obj;
4638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4639 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4640 Py_INCREF(obj);
4641 return Py_BuildValue((char *)"");
4642 }
4643 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxWindow *arg1 = (wxWindow *) 0 ;
4646 int arg2 = (int) (int)-1 ;
4647 wxString const &arg3_defvalue = wxPyEmptyString ;
4648 wxString *arg3 = (wxString *) &arg3_defvalue ;
4649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4651 wxSize const &arg5_defvalue = wxDefaultSize ;
4652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4653 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4654 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4655 wxString *arg7 = (wxString *) &arg7_defvalue ;
4656 wxFrame *result;
4657 bool temp3 = false ;
4658 wxPoint temp4 ;
4659 wxSize temp5 ;
4660 bool temp7 = false ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj1 = 0 ;
4663 PyObject * obj2 = 0 ;
4664 PyObject * obj3 = 0 ;
4665 PyObject * obj4 = 0 ;
4666 PyObject * obj5 = 0 ;
4667 PyObject * obj6 = 0 ;
4668 char *kwnames[] = {
4669 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4670 };
4671
4672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail;
4675 if (obj1) {
4676 {
4677 arg2 = (int const)(SWIG_As_int(obj1));
4678 if (SWIG_arg_fail(2)) SWIG_fail;
4679 }
4680 }
4681 if (obj2) {
4682 {
4683 arg3 = wxString_in_helper(obj2);
4684 if (arg3 == NULL) SWIG_fail;
4685 temp3 = true;
4686 }
4687 }
4688 if (obj3) {
4689 {
4690 arg4 = &temp4;
4691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4692 }
4693 }
4694 if (obj4) {
4695 {
4696 arg5 = &temp5;
4697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4698 }
4699 }
4700 if (obj5) {
4701 {
4702 arg6 = (long)(SWIG_As_long(obj5));
4703 if (SWIG_arg_fail(6)) SWIG_fail;
4704 }
4705 }
4706 if (obj6) {
4707 {
4708 arg7 = wxString_in_helper(obj6);
4709 if (arg7 == NULL) SWIG_fail;
4710 temp7 = true;
4711 }
4712 }
4713 {
4714 if (!wxPyCheckForApp()) SWIG_fail;
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4722 {
4723 if (temp3)
4724 delete arg3;
4725 }
4726 {
4727 if (temp7)
4728 delete arg7;
4729 }
4730 return resultobj;
4731 fail:
4732 {
4733 if (temp3)
4734 delete arg3;
4735 }
4736 {
4737 if (temp7)
4738 delete arg7;
4739 }
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxFrame *result;
4747 char *kwnames[] = {
4748 NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4752 {
4753 if (!wxPyCheckForApp()) SWIG_fail;
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 result = (wxFrame *)new wxFrame();
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4761 return resultobj;
4762 fail:
4763 return NULL;
4764 }
4765
4766
4767 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxFrame *arg1 = (wxFrame *) 0 ;
4770 wxWindow *arg2 = (wxWindow *) 0 ;
4771 int arg3 = (int) (int)-1 ;
4772 wxString const &arg4_defvalue = wxPyEmptyString ;
4773 wxString *arg4 = (wxString *) &arg4_defvalue ;
4774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4776 wxSize const &arg6_defvalue = wxDefaultSize ;
4777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4778 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4779 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4780 wxString *arg8 = (wxString *) &arg8_defvalue ;
4781 bool result;
4782 bool temp4 = false ;
4783 wxPoint temp5 ;
4784 wxSize temp6 ;
4785 bool temp8 = false ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 PyObject * obj2 = 0 ;
4789 PyObject * obj3 = 0 ;
4790 PyObject * obj4 = 0 ;
4791 PyObject * obj5 = 0 ;
4792 PyObject * obj6 = 0 ;
4793 PyObject * obj7 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4800 if (SWIG_arg_fail(1)) SWIG_fail;
4801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4802 if (SWIG_arg_fail(2)) SWIG_fail;
4803 if (obj2) {
4804 {
4805 arg3 = (int const)(SWIG_As_int(obj2));
4806 if (SWIG_arg_fail(3)) SWIG_fail;
4807 }
4808 }
4809 if (obj3) {
4810 {
4811 arg4 = wxString_in_helper(obj3);
4812 if (arg4 == NULL) SWIG_fail;
4813 temp4 = true;
4814 }
4815 }
4816 if (obj4) {
4817 {
4818 arg5 = &temp5;
4819 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4820 }
4821 }
4822 if (obj5) {
4823 {
4824 arg6 = &temp6;
4825 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4826 }
4827 }
4828 if (obj6) {
4829 {
4830 arg7 = (long)(SWIG_As_long(obj6));
4831 if (SWIG_arg_fail(7)) SWIG_fail;
4832 }
4833 }
4834 if (obj7) {
4835 {
4836 arg8 = wxString_in_helper(obj7);
4837 if (arg8 == NULL) SWIG_fail;
4838 temp8 = true;
4839 }
4840 }
4841 {
4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
4843 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4844
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 {
4849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4850 }
4851 {
4852 if (temp4)
4853 delete arg4;
4854 }
4855 {
4856 if (temp8)
4857 delete arg8;
4858 }
4859 return resultobj;
4860 fail:
4861 {
4862 if (temp4)
4863 delete arg4;
4864 }
4865 {
4866 if (temp8)
4867 delete arg8;
4868 }
4869 return NULL;
4870 }
4871
4872
4873 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 wxFrame *arg1 = (wxFrame *) 0 ;
4876 wxPoint result;
4877 PyObject * obj0 = 0 ;
4878 char *kwnames[] = {
4879 (char *) "self", NULL
4880 };
4881
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4884 if (SWIG_arg_fail(1)) SWIG_fail;
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 {
4893 wxPoint * resultptr;
4894 resultptr = new wxPoint((wxPoint &)(result));
4895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4896 }
4897 return resultobj;
4898 fail:
4899 return NULL;
4900 }
4901
4902
4903 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4904 PyObject *resultobj;
4905 wxFrame *arg1 = (wxFrame *) 0 ;
4906 PyObject * obj0 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "self", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4913 if (SWIG_arg_fail(1)) SWIG_fail;
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 (arg1)->SendSizeEvent();
4917
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 Py_INCREF(Py_None); resultobj = Py_None;
4922 return resultobj;
4923 fail:
4924 return NULL;
4925 }
4926
4927
4928 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4929 PyObject *resultobj;
4930 wxFrame *arg1 = (wxFrame *) 0 ;
4931 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self",(char *) "menubar", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
4941 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(2)) SWIG_fail;
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->SetMenuBar(arg2);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj;
4959 wxFrame *arg1 = (wxFrame *) 0 ;
4960 wxMenuBar *result;
4961 PyObject * obj0 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 {
4977 resultobj = wxPyMake_wxObject(result, 0);
4978 }
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxFrame *arg1 = (wxFrame *) 0 ;
4988 int arg2 ;
4989 bool result;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj1 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self",(char *) "winid", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail;
4999 {
5000 arg2 = (int)(SWIG_As_int(obj1));
5001 if (SWIG_arg_fail(2)) SWIG_fail;
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 result = (bool)(arg1)->ProcessCommand(arg2);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 {
5011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5012 }
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxFrame *arg1 = (wxFrame *) 0 ;
5022 int arg2 = (int) 1 ;
5023 long arg3 = (long) wxST_SIZEGRIP ;
5024 int arg4 = (int) 0 ;
5025 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5026 wxString *arg5 = (wxString *) &arg5_defvalue ;
5027 wxStatusBar *result;
5028 bool temp5 = false ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 PyObject * obj2 = 0 ;
5032 PyObject * obj3 = 0 ;
5033 PyObject * obj4 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 if (obj1) {
5042 {
5043 arg2 = (int)(SWIG_As_int(obj1));
5044 if (SWIG_arg_fail(2)) SWIG_fail;
5045 }
5046 }
5047 if (obj2) {
5048 {
5049 arg3 = (long)(SWIG_As_long(obj2));
5050 if (SWIG_arg_fail(3)) SWIG_fail;
5051 }
5052 }
5053 if (obj3) {
5054 {
5055 arg4 = (int)(SWIG_As_int(obj3));
5056 if (SWIG_arg_fail(4)) SWIG_fail;
5057 }
5058 }
5059 if (obj4) {
5060 {
5061 arg5 = wxString_in_helper(obj4);
5062 if (arg5 == NULL) SWIG_fail;
5063 temp5 = true;
5064 }
5065 }
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 {
5074 resultobj = wxPyMake_wxObject(result, 0);
5075 }
5076 {
5077 if (temp5)
5078 delete arg5;
5079 }
5080 return resultobj;
5081 fail:
5082 {
5083 if (temp5)
5084 delete arg5;
5085 }
5086 return NULL;
5087 }
5088
5089
5090 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5091 PyObject *resultobj;
5092 wxFrame *arg1 = (wxFrame *) 0 ;
5093 wxStatusBar *result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5101 if (SWIG_arg_fail(1)) SWIG_fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 resultobj = wxPyMake_wxObject(result, 0);
5111 }
5112 return resultobj;
5113 fail:
5114 return NULL;
5115 }
5116
5117
5118 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxFrame *arg1 = (wxFrame *) 0 ;
5121 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5122 PyObject * obj0 = 0 ;
5123 PyObject * obj1 = 0 ;
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "statBar", NULL
5126 };
5127
5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail;
5131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5132 if (SWIG_arg_fail(2)) SWIG_fail;
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetStatusBar(arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxFrame *arg1 = (wxFrame *) 0 ;
5150 wxString *arg2 = 0 ;
5151 int arg3 = (int) 0 ;
5152 bool temp2 = false ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 PyObject * obj2 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self",(char *) "text",(char *) "number", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
5163 {
5164 arg2 = wxString_in_helper(obj1);
5165 if (arg2 == NULL) SWIG_fail;
5166 temp2 = true;
5167 }
5168 if (obj2) {
5169 {
5170 arg3 = (int)(SWIG_As_int(obj2));
5171 if (SWIG_arg_fail(3)) SWIG_fail;
5172 }
5173 }
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 Py_INCREF(Py_None); resultobj = Py_None;
5182 {
5183 if (temp2)
5184 delete arg2;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (temp2)
5190 delete arg2;
5191 }
5192 return NULL;
5193 }
5194
5195
5196 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5197 PyObject *resultobj;
5198 wxFrame *arg1 = (wxFrame *) 0 ;
5199 int arg2 ;
5200 int *arg3 = (int *) 0 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "widths", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5209 if (SWIG_arg_fail(1)) SWIG_fail;
5210 {
5211 arg2 = PyList_Size(obj1);
5212 arg3 = int_LIST_helper(obj1);
5213 if (arg3 == NULL) SWIG_fail;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (arg3) delete [] arg3;
5225 }
5226 return resultobj;
5227 fail:
5228 {
5229 if (arg3) delete [] arg3;
5230 }
5231 return NULL;
5232 }
5233
5234
5235 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj;
5237 wxFrame *arg1 = (wxFrame *) 0 ;
5238 wxString *arg2 = 0 ;
5239 int arg3 = (int) 0 ;
5240 bool temp2 = false ;
5241 PyObject * obj0 = 0 ;
5242 PyObject * obj1 = 0 ;
5243 PyObject * obj2 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "text",(char *) "number", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5250 if (SWIG_arg_fail(1)) SWIG_fail;
5251 {
5252 arg2 = wxString_in_helper(obj1);
5253 if (arg2 == NULL) SWIG_fail;
5254 temp2 = true;
5255 }
5256 if (obj2) {
5257 {
5258 arg3 = (int)(SWIG_As_int(obj2));
5259 if (SWIG_arg_fail(3)) SWIG_fail;
5260 }
5261 }
5262 {
5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
5264 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5265
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 Py_INCREF(Py_None); resultobj = Py_None;
5270 {
5271 if (temp2)
5272 delete arg2;
5273 }
5274 return resultobj;
5275 fail:
5276 {
5277 if (temp2)
5278 delete arg2;
5279 }
5280 return NULL;
5281 }
5282
5283
5284 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxFrame *arg1 = (wxFrame *) 0 ;
5287 int arg2 = (int) 0 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "number", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail;
5297 if (obj1) {
5298 {
5299 arg2 = (int)(SWIG_As_int(obj1));
5300 if (SWIG_arg_fail(2)) SWIG_fail;
5301 }
5302 }
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 (arg1)->PopStatusText(arg2);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 Py_INCREF(Py_None); resultobj = Py_None;
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5318 PyObject *resultobj;
5319 wxFrame *arg1 = (wxFrame *) 0 ;
5320 int arg2 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self",(char *) "n", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail;
5330 {
5331 arg2 = (int)(SWIG_As_int(obj1));
5332 if (SWIG_arg_fail(2)) SWIG_fail;
5333 }
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 (arg1)->SetStatusBarPane(arg2);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 Py_INCREF(Py_None); resultobj = Py_None;
5342 return resultobj;
5343 fail:
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxFrame *arg1 = (wxFrame *) 0 ;
5351 int result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5363
5364 wxPyEndAllowThreads(__tstate);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 }
5367 {
5368 resultobj = SWIG_From_int((int)(result));
5369 }
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxFrame *arg1 = (wxFrame *) 0 ;
5379 long arg2 = (long) -1 ;
5380 int arg3 = (int) -1 ;
5381 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5382 wxString *arg4 = (wxString *) &arg4_defvalue ;
5383 wxToolBar *result;
5384 bool temp4 = false ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 PyObject * obj3 = 0 ;
5389 char *kwnames[] = {
5390 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5391 };
5392
5393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5395 if (SWIG_arg_fail(1)) SWIG_fail;
5396 if (obj1) {
5397 {
5398 arg2 = (long)(SWIG_As_long(obj1));
5399 if (SWIG_arg_fail(2)) SWIG_fail;
5400 }
5401 }
5402 if (obj2) {
5403 {
5404 arg3 = (int)(SWIG_As_int(obj2));
5405 if (SWIG_arg_fail(3)) SWIG_fail;
5406 }
5407 }
5408 if (obj3) {
5409 {
5410 arg4 = wxString_in_helper(obj3);
5411 if (arg4 == NULL) SWIG_fail;
5412 temp4 = true;
5413 }
5414 }
5415 {
5416 PyThreadState* __tstate = wxPyBeginAllowThreads();
5417 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5418
5419 wxPyEndAllowThreads(__tstate);
5420 if (PyErr_Occurred()) SWIG_fail;
5421 }
5422 {
5423 resultobj = wxPyMake_wxObject(result, 0);
5424 }
5425 {
5426 if (temp4)
5427 delete arg4;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (temp4)
5433 delete arg4;
5434 }
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxFrame *arg1 = (wxFrame *) 0 ;
5442 wxToolBar *result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5450 if (SWIG_arg_fail(1)) SWIG_fail;
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 {
5459 resultobj = wxPyMake_wxObject(result, 0);
5460 }
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxFrame *arg1 = (wxFrame *) 0 ;
5470 wxToolBar *arg2 = (wxToolBar *) 0 ;
5471 PyObject * obj0 = 0 ;
5472 PyObject * obj1 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "toolbar", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail;
5480 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(2)) SWIG_fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 (arg1)->SetToolBar(arg2);
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 Py_INCREF(Py_None); resultobj = Py_None;
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxFrame *arg1 = (wxFrame *) 0 ;
5499 wxString *arg2 = 0 ;
5500 bool arg3 ;
5501 bool temp2 = false ;
5502 PyObject * obj0 = 0 ;
5503 PyObject * obj1 = 0 ;
5504 PyObject * obj2 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "text",(char *) "show", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail;
5512 {
5513 arg2 = wxString_in_helper(obj1);
5514 if (arg2 == NULL) SWIG_fail;
5515 temp2 = true;
5516 }
5517 {
5518 arg3 = (bool)(SWIG_As_bool(obj2));
5519 if (SWIG_arg_fail(3)) SWIG_fail;
5520 }
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 Py_INCREF(Py_None); resultobj = Py_None;
5529 {
5530 if (temp2)
5531 delete arg2;
5532 }
5533 return resultobj;
5534 fail:
5535 {
5536 if (temp2)
5537 delete arg2;
5538 }
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxFrame *arg1 = (wxFrame *) 0 ;
5546 wxMenu *arg2 = (wxMenu *) NULL ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "menu", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail;
5556 if (obj1) {
5557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5558 if (SWIG_arg_fail(2)) SWIG_fail;
5559 }
5560 {
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 (arg1)->DoMenuUpdates(arg2);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 Py_INCREF(Py_None); resultobj = Py_None;
5568 return resultobj;
5569 fail:
5570 return NULL;
5571 }
5572
5573
5574 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj;
5576 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5577 wxVisualAttributes result;
5578 PyObject * obj0 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "variant", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5584 if (obj0) {
5585 {
5586 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5587 if (SWIG_arg_fail(1)) SWIG_fail;
5588 }
5589 }
5590 {
5591 if (!wxPyCheckForApp()) SWIG_fail;
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 wxVisualAttributes * resultptr;
5600 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5602 }
5603 return resultobj;
5604 fail:
5605 return NULL;
5606 }
5607
5608
5609 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5610 PyObject *obj;
5611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5612 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5613 Py_INCREF(obj);
5614 return Py_BuildValue((char *)"");
5615 }
5616 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxWindow *arg1 = (wxWindow *) 0 ;
5619 int arg2 = (int) (int)-1 ;
5620 wxString const &arg3_defvalue = wxPyEmptyString ;
5621 wxString *arg3 = (wxString *) &arg3_defvalue ;
5622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5624 wxSize const &arg5_defvalue = wxDefaultSize ;
5625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5626 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5627 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5628 wxString *arg7 = (wxString *) &arg7_defvalue ;
5629 wxDialog *result;
5630 bool temp3 = false ;
5631 wxPoint temp4 ;
5632 wxSize temp5 ;
5633 bool temp7 = false ;
5634 PyObject * obj0 = 0 ;
5635 PyObject * obj1 = 0 ;
5636 PyObject * obj2 = 0 ;
5637 PyObject * obj3 = 0 ;
5638 PyObject * obj4 = 0 ;
5639 PyObject * obj5 = 0 ;
5640 PyObject * obj6 = 0 ;
5641 char *kwnames[] = {
5642 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5647 if (SWIG_arg_fail(1)) SWIG_fail;
5648 if (obj1) {
5649 {
5650 arg2 = (int const)(SWIG_As_int(obj1));
5651 if (SWIG_arg_fail(2)) SWIG_fail;
5652 }
5653 }
5654 if (obj2) {
5655 {
5656 arg3 = wxString_in_helper(obj2);
5657 if (arg3 == NULL) SWIG_fail;
5658 temp3 = true;
5659 }
5660 }
5661 if (obj3) {
5662 {
5663 arg4 = &temp4;
5664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5665 }
5666 }
5667 if (obj4) {
5668 {
5669 arg5 = &temp5;
5670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5671 }
5672 }
5673 if (obj5) {
5674 {
5675 arg6 = (long)(SWIG_As_long(obj5));
5676 if (SWIG_arg_fail(6)) SWIG_fail;
5677 }
5678 }
5679 if (obj6) {
5680 {
5681 arg7 = wxString_in_helper(obj6);
5682 if (arg7 == NULL) SWIG_fail;
5683 temp7 = true;
5684 }
5685 }
5686 {
5687 if (!wxPyCheckForApp()) SWIG_fail;
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5690
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 }
5694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5695 {
5696 if (temp3)
5697 delete arg3;
5698 }
5699 {
5700 if (temp7)
5701 delete arg7;
5702 }
5703 return resultobj;
5704 fail:
5705 {
5706 if (temp3)
5707 delete arg3;
5708 }
5709 {
5710 if (temp7)
5711 delete arg7;
5712 }
5713 return NULL;
5714 }
5715
5716
5717 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxDialog *result;
5720 char *kwnames[] = {
5721 NULL
5722 };
5723
5724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5725 {
5726 if (!wxPyCheckForApp()) SWIG_fail;
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (wxDialog *)new wxDialog();
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5734 return resultobj;
5735 fail:
5736 return NULL;
5737 }
5738
5739
5740 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj;
5742 wxDialog *arg1 = (wxDialog *) 0 ;
5743 wxWindow *arg2 = (wxWindow *) 0 ;
5744 int arg3 = (int) (int)-1 ;
5745 wxString const &arg4_defvalue = wxPyEmptyString ;
5746 wxString *arg4 = (wxString *) &arg4_defvalue ;
5747 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5748 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5749 wxSize const &arg6_defvalue = wxDefaultSize ;
5750 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5751 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5752 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5753 wxString *arg8 = (wxString *) &arg8_defvalue ;
5754 bool result;
5755 bool temp4 = false ;
5756 wxPoint temp5 ;
5757 wxSize temp6 ;
5758 bool temp8 = false ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 PyObject * obj2 = 0 ;
5762 PyObject * obj3 = 0 ;
5763 PyObject * obj4 = 0 ;
5764 PyObject * obj5 = 0 ;
5765 PyObject * obj6 = 0 ;
5766 PyObject * obj7 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5773 if (SWIG_arg_fail(1)) SWIG_fail;
5774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5775 if (SWIG_arg_fail(2)) SWIG_fail;
5776 if (obj2) {
5777 {
5778 arg3 = (int const)(SWIG_As_int(obj2));
5779 if (SWIG_arg_fail(3)) SWIG_fail;
5780 }
5781 }
5782 if (obj3) {
5783 {
5784 arg4 = wxString_in_helper(obj3);
5785 if (arg4 == NULL) SWIG_fail;
5786 temp4 = true;
5787 }
5788 }
5789 if (obj4) {
5790 {
5791 arg5 = &temp5;
5792 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5793 }
5794 }
5795 if (obj5) {
5796 {
5797 arg6 = &temp6;
5798 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5799 }
5800 }
5801 if (obj6) {
5802 {
5803 arg7 = (long)(SWIG_As_long(obj6));
5804 if (SWIG_arg_fail(7)) SWIG_fail;
5805 }
5806 }
5807 if (obj7) {
5808 {
5809 arg8 = wxString_in_helper(obj7);
5810 if (arg8 == NULL) SWIG_fail;
5811 temp8 = true;
5812 }
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 {
5822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5823 }
5824 {
5825 if (temp4)
5826 delete arg4;
5827 }
5828 {
5829 if (temp8)
5830 delete arg8;
5831 }
5832 return resultobj;
5833 fail:
5834 {
5835 if (temp4)
5836 delete arg4;
5837 }
5838 {
5839 if (temp8)
5840 delete arg8;
5841 }
5842 return NULL;
5843 }
5844
5845
5846 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5847 PyObject *resultobj;
5848 wxDialog *arg1 = (wxDialog *) 0 ;
5849 int arg2 ;
5850 PyObject * obj0 = 0 ;
5851 PyObject * obj1 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self",(char *) "returnCode", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5858 if (SWIG_arg_fail(1)) SWIG_fail;
5859 {
5860 arg2 = (int)(SWIG_As_int(obj1));
5861 if (SWIG_arg_fail(2)) SWIG_fail;
5862 }
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 (arg1)->SetReturnCode(arg2);
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 Py_INCREF(Py_None); resultobj = Py_None;
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxDialog *arg1 = (wxDialog *) 0 ;
5880 int result;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 {
5897 resultobj = SWIG_From_int((int)(result));
5898 }
5899 return resultobj;
5900 fail:
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxDialog *arg1 = (wxDialog *) 0 ;
5908 wxString *arg2 = 0 ;
5909 wxSizer *result;
5910 bool temp2 = false ;
5911 PyObject * obj0 = 0 ;
5912 PyObject * obj1 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self",(char *) "message", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail;
5920 {
5921 arg2 = wxString_in_helper(obj1);
5922 if (arg2 == NULL) SWIG_fail;
5923 temp2 = true;
5924 }
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 {
5933 resultobj = wxPyMake_wxSizer(result, 0);
5934 }
5935 {
5936 if (temp2)
5937 delete arg2;
5938 }
5939 return resultobj;
5940 fail:
5941 {
5942 if (temp2)
5943 delete arg2;
5944 }
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxDialog *arg1 = (wxDialog *) 0 ;
5952 long arg2 ;
5953 wxSizer *result;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 char *kwnames[] = {
5957 (char *) "self",(char *) "flags", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail;
5963 {
5964 arg2 = (long)(SWIG_As_long(obj1));
5965 if (SWIG_arg_fail(2)) SWIG_fail;
5966 }
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5970
5971 wxPyEndAllowThreads(__tstate);
5972 if (PyErr_Occurred()) SWIG_fail;
5973 }
5974 {
5975 resultobj = wxPyMake_wxSizer(result, 0);
5976 }
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxDialog *arg1 = (wxDialog *) 0 ;
5986 long arg2 ;
5987 wxStdDialogButtonSizer *result;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self",(char *) "flags", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5996 if (SWIG_arg_fail(1)) SWIG_fail;
5997 {
5998 arg2 = (long)(SWIG_As_long(obj1));
5999 if (SWIG_arg_fail(2)) SWIG_fail;
6000 }
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6009 return resultobj;
6010 fail:
6011 return NULL;
6012 }
6013
6014
6015 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
6016 PyObject *resultobj;
6017 wxDialog *arg1 = (wxDialog *) 0 ;
6018 bool result;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
6025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail;
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 result = (bool)((wxDialog const *)arg1)->IsModal();
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 {
6035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6036 }
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxDialog *arg1 = (wxDialog *) 0 ;
6046 int result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
6053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (int)(arg1)->ShowModal();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 {
6063 resultobj = SWIG_From_int((int)(result));
6064 }
6065 return resultobj;
6066 fail:
6067 return NULL;
6068 }
6069
6070
6071 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
6072 PyObject *resultobj;
6073 wxDialog *arg1 = (wxDialog *) 0 ;
6074 int arg2 ;
6075 PyObject * obj0 = 0 ;
6076 PyObject * obj1 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self",(char *) "retCode", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail;
6084 {
6085 arg2 = (int)(SWIG_As_int(obj1));
6086 if (SWIG_arg_fail(2)) SWIG_fail;
6087 }
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 (arg1)->EndModal(arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 Py_INCREF(Py_None); resultobj = Py_None;
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6105 wxVisualAttributes result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "variant", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6112 if (obj0) {
6113 {
6114 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6115 if (SWIG_arg_fail(1)) SWIG_fail;
6116 }
6117 }
6118 {
6119 if (!wxPyCheckForApp()) SWIG_fail;
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 {
6127 wxVisualAttributes * resultptr;
6128 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6129 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6130 }
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6138 PyObject *obj;
6139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6140 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6141 Py_INCREF(obj);
6142 return Py_BuildValue((char *)"");
6143 }
6144 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxWindow *arg1 = (wxWindow *) 0 ;
6147 int arg2 = (int) (int)-1 ;
6148 wxString const &arg3_defvalue = wxPyEmptyString ;
6149 wxString *arg3 = (wxString *) &arg3_defvalue ;
6150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6152 wxSize const &arg5_defvalue = wxDefaultSize ;
6153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6154 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6155 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6156 wxString *arg7 = (wxString *) &arg7_defvalue ;
6157 wxMiniFrame *result;
6158 bool temp3 = false ;
6159 wxPoint temp4 ;
6160 wxSize temp5 ;
6161 bool temp7 = false ;
6162 PyObject * obj0 = 0 ;
6163 PyObject * obj1 = 0 ;
6164 PyObject * obj2 = 0 ;
6165 PyObject * obj3 = 0 ;
6166 PyObject * obj4 = 0 ;
6167 PyObject * obj5 = 0 ;
6168 PyObject * obj6 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail;
6176 if (obj1) {
6177 {
6178 arg2 = (int const)(SWIG_As_int(obj1));
6179 if (SWIG_arg_fail(2)) SWIG_fail;
6180 }
6181 }
6182 if (obj2) {
6183 {
6184 arg3 = wxString_in_helper(obj2);
6185 if (arg3 == NULL) SWIG_fail;
6186 temp3 = true;
6187 }
6188 }
6189 if (obj3) {
6190 {
6191 arg4 = &temp4;
6192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6193 }
6194 }
6195 if (obj4) {
6196 {
6197 arg5 = &temp5;
6198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6199 }
6200 }
6201 if (obj5) {
6202 {
6203 arg6 = (long)(SWIG_As_long(obj5));
6204 if (SWIG_arg_fail(6)) SWIG_fail;
6205 }
6206 }
6207 if (obj6) {
6208 {
6209 arg7 = wxString_in_helper(obj6);
6210 if (arg7 == NULL) SWIG_fail;
6211 temp7 = true;
6212 }
6213 }
6214 {
6215 if (!wxPyCheckForApp()) SWIG_fail;
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6223 {
6224 if (temp3)
6225 delete arg3;
6226 }
6227 {
6228 if (temp7)
6229 delete arg7;
6230 }
6231 return resultobj;
6232 fail:
6233 {
6234 if (temp3)
6235 delete arg3;
6236 }
6237 {
6238 if (temp7)
6239 delete arg7;
6240 }
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxMiniFrame *result;
6248 char *kwnames[] = {
6249 NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6253 {
6254 if (!wxPyCheckForApp()) SWIG_fail;
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (wxMiniFrame *)new wxMiniFrame();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6271 wxWindow *arg2 = (wxWindow *) 0 ;
6272 int arg3 = (int) (int)-1 ;
6273 wxString const &arg4_defvalue = wxPyEmptyString ;
6274 wxString *arg4 = (wxString *) &arg4_defvalue ;
6275 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6276 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6277 wxSize const &arg6_defvalue = wxDefaultSize ;
6278 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6279 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6280 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6281 wxString *arg8 = (wxString *) &arg8_defvalue ;
6282 bool result;
6283 bool temp4 = false ;
6284 wxPoint temp5 ;
6285 wxSize temp6 ;
6286 bool temp8 = false ;
6287 PyObject * obj0 = 0 ;
6288 PyObject * obj1 = 0 ;
6289 PyObject * obj2 = 0 ;
6290 PyObject * obj3 = 0 ;
6291 PyObject * obj4 = 0 ;
6292 PyObject * obj5 = 0 ;
6293 PyObject * obj6 = 0 ;
6294 PyObject * obj7 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail;
6302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6303 if (SWIG_arg_fail(2)) SWIG_fail;
6304 if (obj2) {
6305 {
6306 arg3 = (int const)(SWIG_As_int(obj2));
6307 if (SWIG_arg_fail(3)) SWIG_fail;
6308 }
6309 }
6310 if (obj3) {
6311 {
6312 arg4 = wxString_in_helper(obj3);
6313 if (arg4 == NULL) SWIG_fail;
6314 temp4 = true;
6315 }
6316 }
6317 if (obj4) {
6318 {
6319 arg5 = &temp5;
6320 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6321 }
6322 }
6323 if (obj5) {
6324 {
6325 arg6 = &temp6;
6326 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6327 }
6328 }
6329 if (obj6) {
6330 {
6331 arg7 = (long)(SWIG_As_long(obj6));
6332 if (SWIG_arg_fail(7)) SWIG_fail;
6333 }
6334 }
6335 if (obj7) {
6336 {
6337 arg8 = wxString_in_helper(obj7);
6338 if (arg8 == NULL) SWIG_fail;
6339 temp8 = true;
6340 }
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 {
6350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6351 }
6352 {
6353 if (temp4)
6354 delete arg4;
6355 }
6356 {
6357 if (temp8)
6358 delete arg8;
6359 }
6360 return resultobj;
6361 fail:
6362 {
6363 if (temp4)
6364 delete arg4;
6365 }
6366 {
6367 if (temp8)
6368 delete arg8;
6369 }
6370 return NULL;
6371 }
6372
6373
6374 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6375 PyObject *obj;
6376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6377 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6378 Py_INCREF(obj);
6379 return Py_BuildValue((char *)"");
6380 }
6381 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxBitmap *arg1 = 0 ;
6384 wxWindow *arg2 = (wxWindow *) 0 ;
6385 int arg3 ;
6386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6388 wxSize const &arg5_defvalue = wxDefaultSize ;
6389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6390 long arg6 = (long) wxNO_BORDER ;
6391 wxSplashScreenWindow *result;
6392 wxPoint temp4 ;
6393 wxSize temp5 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj2 = 0 ;
6397 PyObject * obj3 = 0 ;
6398 PyObject * obj4 = 0 ;
6399 PyObject * obj5 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6405 {
6406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail;
6408 if (arg1 == NULL) {
6409 SWIG_null_ref("wxBitmap");
6410 }
6411 if (SWIG_arg_fail(1)) SWIG_fail;
6412 }
6413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6414 if (SWIG_arg_fail(2)) SWIG_fail;
6415 {
6416 arg3 = (int)(SWIG_As_int(obj2));
6417 if (SWIG_arg_fail(3)) SWIG_fail;
6418 }
6419 if (obj3) {
6420 {
6421 arg4 = &temp4;
6422 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6423 }
6424 }
6425 if (obj4) {
6426 {
6427 arg5 = &temp5;
6428 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6429 }
6430 }
6431 if (obj5) {
6432 {
6433 arg6 = (long)(SWIG_As_long(obj5));
6434 if (SWIG_arg_fail(6)) SWIG_fail;
6435 }
6436 }
6437 {
6438 if (!wxPyCheckForApp()) SWIG_fail;
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6455 wxBitmap *arg2 = 0 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "bitmap", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6464 if (SWIG_arg_fail(1)) SWIG_fail;
6465 {
6466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6467 if (SWIG_arg_fail(2)) SWIG_fail;
6468 if (arg2 == NULL) {
6469 SWIG_null_ref("wxBitmap");
6470 }
6471 if (SWIG_arg_fail(2)) SWIG_fail;
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6490 wxBitmap *result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 {
6502 wxBitmap &_result_ref = (arg1)->GetBitmap();
6503 result = (wxBitmap *) &_result_ref;
6504 }
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 wxBitmap* resultptr = new wxBitmap(*result);
6511 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6520 PyObject *obj;
6521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6522 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6523 Py_INCREF(obj);
6524 return Py_BuildValue((char *)"");
6525 }
6526 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxBitmap *arg1 = 0 ;
6529 long arg2 ;
6530 int arg3 ;
6531 wxWindow *arg4 = (wxWindow *) 0 ;
6532 int arg5 = (int) -1 ;
6533 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6534 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6535 wxSize const &arg7_defvalue = wxDefaultSize ;
6536 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6537 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6538 wxSplashScreen *result;
6539 wxPoint temp6 ;
6540 wxSize temp7 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 PyObject * obj2 = 0 ;
6544 PyObject * obj3 = 0 ;
6545 PyObject * obj4 = 0 ;
6546 PyObject * obj5 = 0 ;
6547 PyObject * obj6 = 0 ;
6548 PyObject * obj7 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6554 {
6555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail;
6557 if (arg1 == NULL) {
6558 SWIG_null_ref("wxBitmap");
6559 }
6560 if (SWIG_arg_fail(1)) SWIG_fail;
6561 }
6562 {
6563 arg2 = (long)(SWIG_As_long(obj1));
6564 if (SWIG_arg_fail(2)) SWIG_fail;
6565 }
6566 {
6567 arg3 = (int)(SWIG_As_int(obj2));
6568 if (SWIG_arg_fail(3)) SWIG_fail;
6569 }
6570 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(4)) SWIG_fail;
6572 if (obj4) {
6573 {
6574 arg5 = (int)(SWIG_As_int(obj4));
6575 if (SWIG_arg_fail(5)) SWIG_fail;
6576 }
6577 }
6578 if (obj5) {
6579 {
6580 arg6 = &temp6;
6581 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6582 }
6583 }
6584 if (obj6) {
6585 {
6586 arg7 = &temp7;
6587 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6588 }
6589 }
6590 if (obj7) {
6591 {
6592 arg8 = (long)(SWIG_As_long(obj7));
6593 if (SWIG_arg_fail(8)) SWIG_fail;
6594 }
6595 }
6596 {
6597 if (!wxPyCheckForApp()) SWIG_fail;
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6614 long result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 resultobj = SWIG_From_long((long)(result));
6632 }
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6642 wxSplashScreenWindow *result;
6643 PyObject * obj0 = 0 ;
6644 char *kwnames[] = {
6645 (char *) "self", NULL
6646 };
6647
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail;
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6659 return resultobj;
6660 fail:
6661 return NULL;
6662 }
6663
6664
6665 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6666 PyObject *resultobj;
6667 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6668 int result;
6669 PyObject * obj0 = 0 ;
6670 char *kwnames[] = {
6671 (char *) "self", NULL
6672 };
6673
6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = SWIG_From_int((int)(result));
6686 }
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6694 PyObject *obj;
6695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6696 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6697 Py_INCREF(obj);
6698 return Py_BuildValue((char *)"");
6699 }
6700 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxWindow *arg1 = (wxWindow *) 0 ;
6703 int arg2 = (int) -1 ;
6704 long arg3 = (long) wxST_SIZEGRIP ;
6705 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6706 wxString *arg4 = (wxString *) &arg4_defvalue ;
6707 wxStatusBar *result;
6708 bool temp4 = false ;
6709 PyObject * obj0 = 0 ;
6710 PyObject * obj1 = 0 ;
6711 PyObject * obj2 = 0 ;
6712 PyObject * obj3 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail;
6720 if (obj1) {
6721 {
6722 arg2 = (int)(SWIG_As_int(obj1));
6723 if (SWIG_arg_fail(2)) SWIG_fail;
6724 }
6725 }
6726 if (obj2) {
6727 {
6728 arg3 = (long)(SWIG_As_long(obj2));
6729 if (SWIG_arg_fail(3)) SWIG_fail;
6730 }
6731 }
6732 if (obj3) {
6733 {
6734 arg4 = wxString_in_helper(obj3);
6735 if (arg4 == NULL) SWIG_fail;
6736 temp4 = true;
6737 }
6738 }
6739 {
6740 if (!wxPyCheckForApp()) SWIG_fail;
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6748 {
6749 if (temp4)
6750 delete arg4;
6751 }
6752 return resultobj;
6753 fail:
6754 {
6755 if (temp4)
6756 delete arg4;
6757 }
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxStatusBar *result;
6765 char *kwnames[] = {
6766 NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6770 {
6771 if (!wxPyCheckForApp()) SWIG_fail;
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (wxStatusBar *)new wxStatusBar();
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6779 return resultobj;
6780 fail:
6781 return NULL;
6782 }
6783
6784
6785 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj;
6787 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6788 wxWindow *arg2 = (wxWindow *) 0 ;
6789 int arg3 = (int) -1 ;
6790 long arg4 = (long) wxST_SIZEGRIP ;
6791 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6792 wxString *arg5 = (wxString *) &arg5_defvalue ;
6793 bool result;
6794 bool temp5 = false ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 PyObject * obj3 = 0 ;
6799 PyObject * obj4 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
6807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6808 if (SWIG_arg_fail(2)) SWIG_fail;
6809 if (obj2) {
6810 {
6811 arg3 = (int)(SWIG_As_int(obj2));
6812 if (SWIG_arg_fail(3)) SWIG_fail;
6813 }
6814 }
6815 if (obj3) {
6816 {
6817 arg4 = (long)(SWIG_As_long(obj3));
6818 if (SWIG_arg_fail(4)) SWIG_fail;
6819 }
6820 }
6821 if (obj4) {
6822 {
6823 arg5 = wxString_in_helper(obj4);
6824 if (arg5 == NULL) SWIG_fail;
6825 temp5 = true;
6826 }
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 {
6836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6837 }
6838 {
6839 if (temp5)
6840 delete arg5;
6841 }
6842 return resultobj;
6843 fail:
6844 {
6845 if (temp5)
6846 delete arg5;
6847 }
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6855 int arg2 = (int) 1 ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj1 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "number", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail;
6865 if (obj1) {
6866 {
6867 arg2 = (int)(SWIG_As_int(obj1));
6868 if (SWIG_arg_fail(2)) SWIG_fail;
6869 }
6870 }
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->SetFieldsCount(arg2);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6888 int result;
6889 PyObject * obj0 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 {
6905 resultobj = SWIG_From_int((int)(result));
6906 }
6907 return resultobj;
6908 fail:
6909 return NULL;
6910 }
6911
6912
6913 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6916 wxString *arg2 = 0 ;
6917 int arg3 = (int) 0 ;
6918 bool temp2 = false ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self",(char *) "text",(char *) "number", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail;
6929 {
6930 arg2 = wxString_in_helper(obj1);
6931 if (arg2 == NULL) SWIG_fail;
6932 temp2 = true;
6933 }
6934 if (obj2) {
6935 {
6936 arg3 = (int)(SWIG_As_int(obj2));
6937 if (SWIG_arg_fail(3)) SWIG_fail;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 Py_INCREF(Py_None); resultobj = Py_None;
6948 {
6949 if (temp2)
6950 delete arg2;
6951 }
6952 return resultobj;
6953 fail:
6954 {
6955 if (temp2)
6956 delete arg2;
6957 }
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6965 int arg2 = (int) 0 ;
6966 wxString result;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self",(char *) "number", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6975 if (SWIG_arg_fail(1)) SWIG_fail;
6976 if (obj1) {
6977 {
6978 arg2 = (int)(SWIG_As_int(obj1));
6979 if (SWIG_arg_fail(2)) SWIG_fail;
6980 }
6981 }
6982 {
6983 PyThreadState* __tstate = wxPyBeginAllowThreads();
6984 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6985
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 {
6990 #if wxUSE_UNICODE
6991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6992 #else
6993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6994 #endif
6995 }
6996 return resultobj;
6997 fail:
6998 return NULL;
6999 }
7000
7001
7002 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7005 wxString *arg2 = 0 ;
7006 int arg3 = (int) 0 ;
7007 bool temp2 = false ;
7008 PyObject * obj0 = 0 ;
7009 PyObject * obj1 = 0 ;
7010 PyObject * obj2 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self",(char *) "text",(char *) "number", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
7018 {
7019 arg2 = wxString_in_helper(obj1);
7020 if (arg2 == NULL) SWIG_fail;
7021 temp2 = true;
7022 }
7023 if (obj2) {
7024 {
7025 arg3 = (int)(SWIG_As_int(obj2));
7026 if (SWIG_arg_fail(3)) SWIG_fail;
7027 }
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 {
7038 if (temp2)
7039 delete arg2;
7040 }
7041 return resultobj;
7042 fail:
7043 {
7044 if (temp2)
7045 delete arg2;
7046 }
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7054 int arg2 = (int) 0 ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self",(char *) "number", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
7062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7063 if (SWIG_arg_fail(1)) SWIG_fail;
7064 if (obj1) {
7065 {
7066 arg2 = (int)(SWIG_As_int(obj1));
7067 if (SWIG_arg_fail(2)) SWIG_fail;
7068 }
7069 }
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->PopStatusText(arg2);
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7087 int arg2 ;
7088 int *arg3 = (int *) 0 ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "widths", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail;
7098 {
7099 arg2 = PyList_Size(obj1);
7100 arg3 = int_LIST_helper(obj1);
7101 if (arg3 == NULL) SWIG_fail;
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 Py_INCREF(Py_None); resultobj = Py_None;
7111 {
7112 if (arg3) delete [] arg3;
7113 }
7114 return resultobj;
7115 fail:
7116 {
7117 if (arg3) delete [] arg3;
7118 }
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7126 int arg2 ;
7127 int *arg3 = (int *) 0 ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "styles", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail;
7137 {
7138 arg2 = PyList_Size(obj1);
7139 arg3 = int_LIST_helper(obj1);
7140 if (arg3 == NULL) SWIG_fail;
7141 }
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 {
7151 if (arg3) delete [] arg3;
7152 }
7153 return resultobj;
7154 fail:
7155 {
7156 if (arg3) delete [] arg3;
7157 }
7158 return NULL;
7159 }
7160
7161
7162 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7165 int arg2 ;
7166 wxRect result;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "i", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7175 if (SWIG_arg_fail(1)) SWIG_fail;
7176 {
7177 arg2 = (int)(SWIG_As_int(obj1));
7178 if (SWIG_arg_fail(2)) SWIG_fail;
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 result = wxStatusBar_GetFieldRect(arg1,arg2);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 {
7188 wxRect * resultptr;
7189 resultptr = new wxRect((wxRect &)(result));
7190 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7191 }
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7201 int arg2 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "height", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
7209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail;
7211 {
7212 arg2 = (int)(SWIG_As_int(obj1));
7213 if (SWIG_arg_fail(2)) SWIG_fail;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->SetMinHeight(arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226 }
7227
7228
7229 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7232 int result;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 {
7249 resultobj = SWIG_From_int((int)(result));
7250 }
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7260 int result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 {
7277 resultobj = SWIG_From_int((int)(result));
7278 }
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7288 wxVisualAttributes result;
7289 PyObject * obj0 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "variant", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7295 if (obj0) {
7296 {
7297 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7298 if (SWIG_arg_fail(1)) SWIG_fail;
7299 }
7300 }
7301 {
7302 if (!wxPyCheckForApp()) SWIG_fail;
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 {
7310 wxVisualAttributes * resultptr;
7311 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7313 }
7314 return resultobj;
7315 fail:
7316 return NULL;
7317 }
7318
7319
7320 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7321 PyObject *obj;
7322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7323 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7324 Py_INCREF(obj);
7325 return Py_BuildValue((char *)"");
7326 }
7327 static int _wrap_SplitterNameStr_set(PyObject *) {
7328 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7329 return 1;
7330 }
7331
7332
7333 static PyObject *_wrap_SplitterNameStr_get(void) {
7334 PyObject *pyobj;
7335
7336 {
7337 #if wxUSE_UNICODE
7338 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7339 #else
7340 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7341 #endif
7342 }
7343 return pyobj;
7344 }
7345
7346
7347 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxWindow *arg1 = (wxWindow *) 0 ;
7350 int arg2 = (int) -1 ;
7351 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7352 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7353 wxSize const &arg4_defvalue = wxDefaultSize ;
7354 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7355 long arg5 = (long) wxSP_3D ;
7356 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7357 wxString *arg6 = (wxString *) &arg6_defvalue ;
7358 wxSplitterWindow *result;
7359 wxPoint temp3 ;
7360 wxSize temp4 ;
7361 bool temp6 = false ;
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 PyObject * obj3 = 0 ;
7366 PyObject * obj4 = 0 ;
7367 PyObject * obj5 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7370 };
7371
7372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7374 if (SWIG_arg_fail(1)) SWIG_fail;
7375 if (obj1) {
7376 {
7377 arg2 = (int)(SWIG_As_int(obj1));
7378 if (SWIG_arg_fail(2)) SWIG_fail;
7379 }
7380 }
7381 if (obj2) {
7382 {
7383 arg3 = &temp3;
7384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7385 }
7386 }
7387 if (obj3) {
7388 {
7389 arg4 = &temp4;
7390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7391 }
7392 }
7393 if (obj4) {
7394 {
7395 arg5 = (long)(SWIG_As_long(obj4));
7396 if (SWIG_arg_fail(5)) SWIG_fail;
7397 }
7398 }
7399 if (obj5) {
7400 {
7401 arg6 = wxString_in_helper(obj5);
7402 if (arg6 == NULL) SWIG_fail;
7403 temp6 = true;
7404 }
7405 }
7406 {
7407 if (!wxPyCheckForApp()) SWIG_fail;
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7415 {
7416 if (temp6)
7417 delete arg6;
7418 }
7419 return resultobj;
7420 fail:
7421 {
7422 if (temp6)
7423 delete arg6;
7424 }
7425 return NULL;
7426 }
7427
7428
7429 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxSplitterWindow *result;
7432 char *kwnames[] = {
7433 NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7437 {
7438 if (!wxPyCheckForApp()) SWIG_fail;
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (wxSplitterWindow *)new wxSplitterWindow();
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7455 wxWindow *arg2 = (wxWindow *) 0 ;
7456 int arg3 = (int) -1 ;
7457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7459 wxSize const &arg5_defvalue = wxDefaultSize ;
7460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7461 long arg6 = (long) wxSP_3D ;
7462 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7463 wxString *arg7 = (wxString *) &arg7_defvalue ;
7464 bool result;
7465 wxPoint temp4 ;
7466 wxSize temp5 ;
7467 bool temp7 = false ;
7468 PyObject * obj0 = 0 ;
7469 PyObject * obj1 = 0 ;
7470 PyObject * obj2 = 0 ;
7471 PyObject * obj3 = 0 ;
7472 PyObject * obj4 = 0 ;
7473 PyObject * obj5 = 0 ;
7474 PyObject * obj6 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
7482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail;
7484 if (obj2) {
7485 {
7486 arg3 = (int)(SWIG_As_int(obj2));
7487 if (SWIG_arg_fail(3)) SWIG_fail;
7488 }
7489 }
7490 if (obj3) {
7491 {
7492 arg4 = &temp4;
7493 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7494 }
7495 }
7496 if (obj4) {
7497 {
7498 arg5 = &temp5;
7499 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7500 }
7501 }
7502 if (obj5) {
7503 {
7504 arg6 = (long)(SWIG_As_long(obj5));
7505 if (SWIG_arg_fail(6)) SWIG_fail;
7506 }
7507 }
7508 if (obj6) {
7509 {
7510 arg7 = wxString_in_helper(obj6);
7511 if (arg7 == NULL) SWIG_fail;
7512 temp7 = true;
7513 }
7514 }
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
7522 {
7523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7524 }
7525 {
7526 if (temp7)
7527 delete arg7;
7528 }
7529 return resultobj;
7530 fail:
7531 {
7532 if (temp7)
7533 delete arg7;
7534 }
7535 return NULL;
7536 }
7537
7538
7539 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7540 PyObject *resultobj;
7541 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7542 wxWindow *result;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 {
7559 resultobj = wxPyMake_wxObject(result, 0);
7560 }
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7570 wxWindow *result;
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail;
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 {
7587 resultobj = wxPyMake_wxObject(result, 0);
7588 }
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7598 int arg2 ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "mode", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7607 if (SWIG_arg_fail(1)) SWIG_fail;
7608 {
7609 arg2 = (int)(SWIG_As_int(obj1));
7610 if (SWIG_arg_fail(2)) SWIG_fail;
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetSplitMode(arg2);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623 }
7624
7625
7626 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7629 wxSplitMode result;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 resultobj = SWIG_From_int((result));
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7655 wxWindow *arg2 = (wxWindow *) 0 ;
7656 PyObject * obj0 = 0 ;
7657 PyObject * obj1 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self",(char *) "window", NULL
7660 };
7661
7662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7664 if (SWIG_arg_fail(1)) SWIG_fail;
7665 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->Initialize(arg2);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 Py_INCREF(Py_None); resultobj = Py_None;
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7684 wxWindow *arg2 = (wxWindow *) 0 ;
7685 wxWindow *arg3 = (wxWindow *) 0 ;
7686 int arg4 = (int) 0 ;
7687 bool result;
7688 PyObject * obj0 = 0 ;
7689 PyObject * obj1 = 0 ;
7690 PyObject * obj2 = 0 ;
7691 PyObject * obj3 = 0 ;
7692 char *kwnames[] = {
7693 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7694 };
7695
7696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7698 if (SWIG_arg_fail(1)) SWIG_fail;
7699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7700 if (SWIG_arg_fail(2)) SWIG_fail;
7701 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7702 if (SWIG_arg_fail(3)) SWIG_fail;
7703 if (obj3) {
7704 {
7705 arg4 = (int)(SWIG_As_int(obj3));
7706 if (SWIG_arg_fail(4)) SWIG_fail;
7707 }
7708 }
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 {
7717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7718 }
7719 return resultobj;
7720 fail:
7721 return NULL;
7722 }
7723
7724
7725 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7728 wxWindow *arg2 = (wxWindow *) 0 ;
7729 wxWindow *arg3 = (wxWindow *) 0 ;
7730 int arg4 = (int) 0 ;
7731 bool result;
7732 PyObject * obj0 = 0 ;
7733 PyObject * obj1 = 0 ;
7734 PyObject * obj2 = 0 ;
7735 PyObject * obj3 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7742 if (SWIG_arg_fail(1)) SWIG_fail;
7743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(2)) SWIG_fail;
7745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(3)) SWIG_fail;
7747 if (obj3) {
7748 {
7749 arg4 = (int)(SWIG_As_int(obj3));
7750 if (SWIG_arg_fail(4)) SWIG_fail;
7751 }
7752 }
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7762 }
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7772 wxWindow *arg2 = (wxWindow *) NULL ;
7773 bool result;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char *kwnames[] = {
7777 (char *) "self",(char *) "toRemove", NULL
7778 };
7779
7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7782 if (SWIG_arg_fail(1)) SWIG_fail;
7783 if (obj1) {
7784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7785 if (SWIG_arg_fail(2)) SWIG_fail;
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 result = (bool)(arg1)->Unsplit(arg2);
7790
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 {
7795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7796 }
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7806 wxWindow *arg2 = (wxWindow *) 0 ;
7807 wxWindow *arg3 = (wxWindow *) 0 ;
7808 bool result;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 PyObject * obj2 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7818 if (SWIG_arg_fail(1)) SWIG_fail;
7819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7820 if (SWIG_arg_fail(2)) SWIG_fail;
7821 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7822 if (SWIG_arg_fail(3)) SWIG_fail;
7823 {
7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7825 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7826
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7832 }
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->UpdateSize();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "width", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->SetSashSize(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7926 int arg2 ;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "width", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7935 if (SWIG_arg_fail(1)) SWIG_fail;
7936 {
7937 arg2 = (int)(SWIG_As_int(obj1));
7938 if (SWIG_arg_fail(2)) SWIG_fail;
7939 }
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 (arg1)->SetBorderSize(arg2);
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 Py_INCREF(Py_None); resultobj = Py_None;
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7957 int result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail;
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 {
7974 resultobj = SWIG_From_int((int)(result));
7975 }
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7985 int result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002 resultobj = SWIG_From_int((int)(result));
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8013 int arg2 ;
8014 bool arg3 = (bool) true ;
8015 PyObject * obj0 = 0 ;
8016 PyObject * obj1 = 0 ;
8017 PyObject * obj2 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self",(char *) "position",(char *) "redraw", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail;
8025 {
8026 arg2 = (int)(SWIG_As_int(obj1));
8027 if (SWIG_arg_fail(2)) SWIG_fail;
8028 }
8029 if (obj2) {
8030 {
8031 arg3 = (bool)(SWIG_As_bool(obj2));
8032 if (SWIG_arg_fail(3)) SWIG_fail;
8033 }
8034 }
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 (arg1)->SetSashPosition(arg2,arg3);
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 Py_INCREF(Py_None); resultobj = Py_None;
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8052 int result;
8053 PyObject * obj0 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
8059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 {
8069 resultobj = SWIG_From_int((int)(result));
8070 }
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8080 double arg2 ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self",(char *) "gravity", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8089 if (SWIG_arg_fail(1)) SWIG_fail;
8090 {
8091 arg2 = (double)(SWIG_As_double(obj1));
8092 if (SWIG_arg_fail(2)) SWIG_fail;
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 (arg1)->SetSashGravity(arg2);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 Py_INCREF(Py_None); resultobj = Py_None;
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj;
8110 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8111 double result;
8112 PyObject * obj0 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail;
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 {
8128 resultobj = SWIG_From_double((double)(result));
8129 }
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8139 int arg2 ;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "min", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8148 if (SWIG_arg_fail(1)) SWIG_fail;
8149 {
8150 arg2 = (int)(SWIG_As_int(obj1));
8151 if (SWIG_arg_fail(2)) SWIG_fail;
8152 }
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 (arg1)->SetMinimumPaneSize(arg2);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 Py_INCREF(Py_None); resultobj = Py_None;
8161 return resultobj;
8162 fail:
8163 return NULL;
8164 }
8165
8166
8167 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8168 PyObject *resultobj;
8169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8170 int result;
8171 PyObject * obj0 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail;
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) SWIG_fail;
8185 }
8186 {
8187 resultobj = SWIG_From_int((int)(result));
8188 }
8189 return resultobj;
8190 fail:
8191 return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8198 int arg2 ;
8199 int arg3 ;
8200 int arg4 = (int) 5 ;
8201 bool result;
8202 PyObject * obj0 = 0 ;
8203 PyObject * obj1 = 0 ;
8204 PyObject * obj2 = 0 ;
8205 PyObject * obj3 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail;
8213 {
8214 arg2 = (int)(SWIG_As_int(obj1));
8215 if (SWIG_arg_fail(2)) SWIG_fail;
8216 }
8217 {
8218 arg3 = (int)(SWIG_As_int(obj2));
8219 if (SWIG_arg_fail(3)) SWIG_fail;
8220 }
8221 if (obj3) {
8222 {
8223 arg4 = (int)(SWIG_As_int(obj3));
8224 if (SWIG_arg_fail(4)) SWIG_fail;
8225 }
8226 }
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 {
8235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8236 }
8237 return resultobj;
8238 fail:
8239 return NULL;
8240 }
8241
8242
8243 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8253 if (SWIG_arg_fail(1)) SWIG_fail;
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 (arg1)->SizeWindows();
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 return resultobj;
8263 fail:
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8271 bool arg2 ;
8272 PyObject * obj0 = 0 ;
8273 PyObject * obj1 = 0 ;
8274 char *kwnames[] = {
8275 (char *) "self",(char *) "needUpdating", NULL
8276 };
8277
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8280 if (SWIG_arg_fail(1)) SWIG_fail;
8281 {
8282 arg2 = (bool)(SWIG_As_bool(obj1));
8283 if (SWIG_arg_fail(2)) SWIG_fail;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->SetNeedUpdating(arg2);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8302 bool result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 {
8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8320 }
8321 return resultobj;
8322 fail:
8323 return NULL;
8324 }
8325
8326
8327 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8330 wxVisualAttributes result;
8331 PyObject * obj0 = 0 ;
8332 char *kwnames[] = {
8333 (char *) "variant", NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8337 if (obj0) {
8338 {
8339 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8340 if (SWIG_arg_fail(1)) SWIG_fail;
8341 }
8342 }
8343 {
8344 if (!wxPyCheckForApp()) SWIG_fail;
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 wxVisualAttributes * resultptr;
8353 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8355 }
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8363 PyObject *obj;
8364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8365 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8366 Py_INCREF(obj);
8367 return Py_BuildValue((char *)"");
8368 }
8369 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8370 PyObject *resultobj;
8371 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8372 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8373 wxSplitterEvent *result;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "type",(char *) "splitter", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8381 if (obj0) {
8382 {
8383 arg1 = (wxEventType)(SWIG_As_int(obj0));
8384 if (SWIG_arg_fail(1)) SWIG_fail;
8385 }
8386 }
8387 if (obj1) {
8388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8389 if (SWIG_arg_fail(2)) SWIG_fail;
8390 }
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8408 int arg2 ;
8409 PyObject * obj0 = 0 ;
8410 PyObject * obj1 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self",(char *) "pos", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail;
8418 {
8419 arg2 = (int)(SWIG_As_int(obj1));
8420 if (SWIG_arg_fail(2)) SWIG_fail;
8421 }
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->SetSashPosition(arg2);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 return resultobj;
8431 fail:
8432 return NULL;
8433 }
8434
8435
8436 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8439 int result;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail;
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 {
8456 resultobj = SWIG_From_int((int)(result));
8457 }
8458 return resultobj;
8459 fail:
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8467 wxWindow *result;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail;
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 {
8484 resultobj = wxPyMake_wxObject(result, 0);
8485 }
8486 return resultobj;
8487 fail:
8488 return NULL;
8489 }
8490
8491
8492 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8493 PyObject *resultobj;
8494 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8495 int result;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 {
8512 resultobj = SWIG_From_int((int)(result));
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517 }
8518
8519
8520 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8523 int result;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8531 if (SWIG_arg_fail(1)) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 {
8540 resultobj = SWIG_From_int((int)(result));
8541 }
8542 return resultobj;
8543 fail:
8544 return NULL;
8545 }
8546
8547
8548 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8549 PyObject *obj;
8550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8551 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8552 Py_INCREF(obj);
8553 return Py_BuildValue((char *)"");
8554 }
8555 static int _wrap_SashNameStr_set(PyObject *) {
8556 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8557 return 1;
8558 }
8559
8560
8561 static PyObject *_wrap_SashNameStr_get(void) {
8562 PyObject *pyobj;
8563
8564 {
8565 #if wxUSE_UNICODE
8566 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8567 #else
8568 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8569 #endif
8570 }
8571 return pyobj;
8572 }
8573
8574
8575 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8576 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8577 return 1;
8578 }
8579
8580
8581 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8582 PyObject *pyobj;
8583
8584 {
8585 #if wxUSE_UNICODE
8586 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8587 #else
8588 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8589 #endif
8590 }
8591 return pyobj;
8592 }
8593
8594
8595 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxWindow *arg1 = (wxWindow *) 0 ;
8598 int arg2 = (int) -1 ;
8599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8601 wxSize const &arg4_defvalue = wxDefaultSize ;
8602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8603 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8604 wxString const &arg6_defvalue = wxPySashNameStr ;
8605 wxString *arg6 = (wxString *) &arg6_defvalue ;
8606 wxSashWindow *result;
8607 wxPoint temp3 ;
8608 wxSize temp4 ;
8609 bool temp6 = false ;
8610 PyObject * obj0 = 0 ;
8611 PyObject * obj1 = 0 ;
8612 PyObject * obj2 = 0 ;
8613 PyObject * obj3 = 0 ;
8614 PyObject * obj4 = 0 ;
8615 PyObject * obj5 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail;
8623 if (obj1) {
8624 {
8625 arg2 = (int)(SWIG_As_int(obj1));
8626 if (SWIG_arg_fail(2)) SWIG_fail;
8627 }
8628 }
8629 if (obj2) {
8630 {
8631 arg3 = &temp3;
8632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8633 }
8634 }
8635 if (obj3) {
8636 {
8637 arg4 = &temp4;
8638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8639 }
8640 }
8641 if (obj4) {
8642 {
8643 arg5 = (long)(SWIG_As_long(obj4));
8644 if (SWIG_arg_fail(5)) SWIG_fail;
8645 }
8646 }
8647 if (obj5) {
8648 {
8649 arg6 = wxString_in_helper(obj5);
8650 if (arg6 == NULL) SWIG_fail;
8651 temp6 = true;
8652 }
8653 }
8654 {
8655 if (!wxPyCheckForApp()) SWIG_fail;
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8663 {
8664 if (temp6)
8665 delete arg6;
8666 }
8667 return resultobj;
8668 fail:
8669 {
8670 if (temp6)
8671 delete arg6;
8672 }
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxSashWindow *result;
8680 char *kwnames[] = {
8681 NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8685 {
8686 if (!wxPyCheckForApp()) SWIG_fail;
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (wxSashWindow *)new wxSashWindow();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8703 wxWindow *arg2 = (wxWindow *) 0 ;
8704 int arg3 = (int) -1 ;
8705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8707 wxSize const &arg5_defvalue = wxDefaultSize ;
8708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8709 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8710 wxString const &arg7_defvalue = wxPySashNameStr ;
8711 wxString *arg7 = (wxString *) &arg7_defvalue ;
8712 bool result;
8713 wxPoint temp4 ;
8714 wxSize temp5 ;
8715 bool temp7 = false ;
8716 PyObject * obj0 = 0 ;
8717 PyObject * obj1 = 0 ;
8718 PyObject * obj2 = 0 ;
8719 PyObject * obj3 = 0 ;
8720 PyObject * obj4 = 0 ;
8721 PyObject * obj5 = 0 ;
8722 PyObject * obj6 = 0 ;
8723 char *kwnames[] = {
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8725 };
8726
8727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8729 if (SWIG_arg_fail(1)) SWIG_fail;
8730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8731 if (SWIG_arg_fail(2)) SWIG_fail;
8732 if (obj2) {
8733 {
8734 arg3 = (int)(SWIG_As_int(obj2));
8735 if (SWIG_arg_fail(3)) SWIG_fail;
8736 }
8737 }
8738 if (obj3) {
8739 {
8740 arg4 = &temp4;
8741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8742 }
8743 }
8744 if (obj4) {
8745 {
8746 arg5 = &temp5;
8747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8748 }
8749 }
8750 if (obj5) {
8751 {
8752 arg6 = (long)(SWIG_As_long(obj5));
8753 if (SWIG_arg_fail(6)) SWIG_fail;
8754 }
8755 }
8756 if (obj6) {
8757 {
8758 arg7 = wxString_in_helper(obj6);
8759 if (arg7 == NULL) SWIG_fail;
8760 temp7 = true;
8761 }
8762 }
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 {
8771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8772 }
8773 {
8774 if (temp7)
8775 delete arg7;
8776 }
8777 return resultobj;
8778 fail:
8779 {
8780 if (temp7)
8781 delete arg7;
8782 }
8783 return NULL;
8784 }
8785
8786
8787 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8790 wxSashEdgePosition arg2 ;
8791 bool arg3 ;
8792 PyObject * obj0 = 0 ;
8793 PyObject * obj1 = 0 ;
8794 PyObject * obj2 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "edge",(char *) "sash", NULL
8797 };
8798
8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8801 if (SWIG_arg_fail(1)) SWIG_fail;
8802 {
8803 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8804 if (SWIG_arg_fail(2)) SWIG_fail;
8805 }
8806 {
8807 arg3 = (bool)(SWIG_As_bool(obj2));
8808 if (SWIG_arg_fail(3)) SWIG_fail;
8809 }
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 Py_INCREF(Py_None); resultobj = Py_None;
8818 return resultobj;
8819 fail:
8820 return NULL;
8821 }
8822
8823
8824 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8825 PyObject *resultobj;
8826 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8827 wxSashEdgePosition arg2 ;
8828 bool result;
8829 PyObject * obj0 = 0 ;
8830 PyObject * obj1 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "edge", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
8838 {
8839 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 {
8850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8851 }
8852 return resultobj;
8853 fail:
8854 return NULL;
8855 }
8856
8857
8858 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj;
8860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8861 wxSashEdgePosition arg2 ;
8862 bool arg3 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self",(char *) "edge",(char *) "border", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail;
8873 {
8874 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8875 if (SWIG_arg_fail(2)) SWIG_fail;
8876 }
8877 {
8878 arg3 = (bool)(SWIG_As_bool(obj2));
8879 if (SWIG_arg_fail(3)) SWIG_fail;
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8898 wxSashEdgePosition arg2 ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self",(char *) "edge", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8908 if (SWIG_arg_fail(1)) SWIG_fail;
8909 {
8910 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8911 if (SWIG_arg_fail(2)) SWIG_fail;
8912 }
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 {
8921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8922 }
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8932 wxSashEdgePosition arg2 ;
8933 int result;
8934 PyObject * obj0 = 0 ;
8935 PyObject * obj1 = 0 ;
8936 char *kwnames[] = {
8937 (char *) "self",(char *) "edge", NULL
8938 };
8939
8940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8942 if (SWIG_arg_fail(1)) SWIG_fail;
8943 {
8944 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8945 if (SWIG_arg_fail(2)) SWIG_fail;
8946 }
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 {
8955 resultobj = SWIG_From_int((int)(result));
8956 }
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8966 int arg2 ;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "width", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8975 if (SWIG_arg_fail(1)) SWIG_fail;
8976 {
8977 arg2 = (int)(SWIG_As_int(obj1));
8978 if (SWIG_arg_fail(2)) SWIG_fail;
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetDefaultBorderSize(arg2);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8997 int result;
8998 PyObject * obj0 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "self", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
9004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail;
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 {
9014 resultobj = SWIG_From_int((int)(result));
9015 }
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9025 int arg2 ;
9026 PyObject * obj0 = 0 ;
9027 PyObject * obj1 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self",(char *) "width", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
9033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9034 if (SWIG_arg_fail(1)) SWIG_fail;
9035 {
9036 arg2 = (int)(SWIG_As_int(obj1));
9037 if (SWIG_arg_fail(2)) SWIG_fail;
9038 }
9039 {
9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
9041 (arg1)->SetExtraBorderSize(arg2);
9042
9043 wxPyEndAllowThreads(__tstate);
9044 if (PyErr_Occurred()) SWIG_fail;
9045 }
9046 Py_INCREF(Py_None); resultobj = Py_None;
9047 return resultobj;
9048 fail:
9049 return NULL;
9050 }
9051
9052
9053 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
9054 PyObject *resultobj;
9055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9056 int result;
9057 PyObject * obj0 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
9063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 {
9073 resultobj = SWIG_From_int((int)(result));
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9084 int arg2 ;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "min", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9093 if (SWIG_arg_fail(1)) SWIG_fail;
9094 {
9095 arg2 = (int)(SWIG_As_int(obj1));
9096 if (SWIG_arg_fail(2)) SWIG_fail;
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->SetMinimumSizeX(arg2);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 Py_INCREF(Py_None); resultobj = Py_None;
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj;
9114 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9115 int arg2 ;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self",(char *) "min", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
9125 {
9126 arg2 = (int)(SWIG_As_int(obj1));
9127 if (SWIG_arg_fail(2)) SWIG_fail;
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->SetMinimumSizeY(arg2);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9146 int result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 resultobj = SWIG_From_int((int)(result));
9164 }
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9174 int result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 {
9191 resultobj = SWIG_From_int((int)(result));
9192 }
9193 return resultobj;
9194 fail:
9195 return NULL;
9196 }
9197
9198
9199 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj;
9201 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9202 int arg2 ;
9203 PyObject * obj0 = 0 ;
9204 PyObject * obj1 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "max", NULL
9207 };
9208
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9211 if (SWIG_arg_fail(1)) SWIG_fail;
9212 {
9213 arg2 = (int)(SWIG_As_int(obj1));
9214 if (SWIG_arg_fail(2)) SWIG_fail;
9215 }
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->SetMaximumSizeX(arg2);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 Py_INCREF(Py_None); resultobj = Py_None;
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9233 int arg2 ;
9234 PyObject * obj0 = 0 ;
9235 PyObject * obj1 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self",(char *) "max", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail;
9243 {
9244 arg2 = (int)(SWIG_As_int(obj1));
9245 if (SWIG_arg_fail(2)) SWIG_fail;
9246 }
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 (arg1)->SetMaximumSizeY(arg2);
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 Py_INCREF(Py_None); resultobj = Py_None;
9255 return resultobj;
9256 fail:
9257 return NULL;
9258 }
9259
9260
9261 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9264 int result;
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail;
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
9280 {
9281 resultobj = SWIG_From_int((int)(result));
9282 }
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9292 int result;
9293 PyObject * obj0 = 0 ;
9294 char *kwnames[] = {
9295 (char *) "self", NULL
9296 };
9297
9298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9300 if (SWIG_arg_fail(1)) SWIG_fail;
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 {
9309 resultobj = SWIG_From_int((int)(result));
9310 }
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9320 int arg2 ;
9321 int arg3 ;
9322 int arg4 = (int) 2 ;
9323 wxSashEdgePosition result;
9324 PyObject * obj0 = 0 ;
9325 PyObject * obj1 = 0 ;
9326 PyObject * obj2 = 0 ;
9327 PyObject * obj3 = 0 ;
9328 char *kwnames[] = {
9329 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail;
9335 {
9336 arg2 = (int)(SWIG_As_int(obj1));
9337 if (SWIG_arg_fail(2)) SWIG_fail;
9338 }
9339 {
9340 arg3 = (int)(SWIG_As_int(obj2));
9341 if (SWIG_arg_fail(3)) SWIG_fail;
9342 }
9343 if (obj3) {
9344 {
9345 arg4 = (int)(SWIG_As_int(obj3));
9346 if (SWIG_arg_fail(4)) SWIG_fail;
9347 }
9348 }
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_From_int((result));
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->SizeWindows();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9389 PyObject *obj;
9390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9391 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9392 Py_INCREF(obj);
9393 return Py_BuildValue((char *)"");
9394 }
9395 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj;
9397 int arg1 = (int) 0 ;
9398 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9399 wxSashEvent *result;
9400 PyObject * obj0 = 0 ;
9401 PyObject * obj1 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "id",(char *) "edge", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9407 if (obj0) {
9408 {
9409 arg1 = (int)(SWIG_As_int(obj0));
9410 if (SWIG_arg_fail(1)) SWIG_fail;
9411 }
9412 }
9413 if (obj1) {
9414 {
9415 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9416 if (SWIG_arg_fail(2)) SWIG_fail;
9417 }
9418 }
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9427 return resultobj;
9428 fail:
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9436 wxSashEdgePosition arg2 ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self",(char *) "edge", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail;
9446 {
9447 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9448 if (SWIG_arg_fail(2)) SWIG_fail;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9467 wxSashEdgePosition result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_From_int((result));
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9493 wxRect *arg2 = 0 ;
9494 wxRect temp2 ;
9495 PyObject * obj0 = 0 ;
9496 PyObject * obj1 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self",(char *) "rect", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9503 if (SWIG_arg_fail(1)) SWIG_fail;
9504 {
9505 arg2 = &temp2;
9506 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9507 }
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 (arg1)->SetDragRect((wxRect const &)*arg2);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 Py_INCREF(Py_None); resultobj = Py_None;
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9525 wxRect result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = ((wxSashEvent const *)arg1)->GetDragRect();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 {
9542 wxRect * resultptr;
9543 resultptr = new wxRect((wxRect &)(result));
9544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9545 }
9546 return resultobj;
9547 fail:
9548 return NULL;
9549 }
9550
9551
9552 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9555 wxSashDragStatus arg2 ;
9556 PyObject * obj0 = 0 ;
9557 PyObject * obj1 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self",(char *) "status", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9564 if (SWIG_arg_fail(1)) SWIG_fail;
9565 {
9566 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9567 if (SWIG_arg_fail(2)) SWIG_fail;
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 Py_INCREF(Py_None); resultobj = Py_None;
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9586 wxSashDragStatus result;
9587 PyObject * obj0 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail;
9595 {
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9598
9599 wxPyEndAllowThreads(__tstate);
9600 if (PyErr_Occurred()) SWIG_fail;
9601 }
9602 resultobj = SWIG_From_int((result));
9603 return resultobj;
9604 fail:
9605 return NULL;
9606 }
9607
9608
9609 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9610 PyObject *obj;
9611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9612 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9613 Py_INCREF(obj);
9614 return Py_BuildValue((char *)"");
9615 }
9616 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 int arg1 = (int) 0 ;
9619 wxQueryLayoutInfoEvent *result;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "id", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9626 if (obj0) {
9627 {
9628 arg1 = (int)(SWIG_As_int(obj0));
9629 if (SWIG_arg_fail(1)) SWIG_fail;
9630 }
9631 }
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9649 int arg2 ;
9650 PyObject * obj0 = 0 ;
9651 PyObject * obj1 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self",(char *) "length", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9658 if (SWIG_arg_fail(1)) SWIG_fail;
9659 {
9660 arg2 = (int)(SWIG_As_int(obj1));
9661 if (SWIG_arg_fail(2)) SWIG_fail;
9662 }
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 (arg1)->SetRequestedLength(arg2);
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 Py_INCREF(Py_None); resultobj = Py_None;
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj;
9679 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9680 int result;
9681 PyObject * obj0 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 {
9697 resultobj = SWIG_From_int((int)(result));
9698 }
9699 return resultobj;
9700 fail:
9701 return NULL;
9702 }
9703
9704
9705 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9708 int arg2 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self",(char *) "flags", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail;
9718 {
9719 arg2 = (int)(SWIG_As_int(obj1));
9720 if (SWIG_arg_fail(2)) SWIG_fail;
9721 }
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 (arg1)->SetFlags(arg2);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 Py_INCREF(Py_None); resultobj = Py_None;
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9739 int result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail;
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 {
9756 resultobj = SWIG_From_int((int)(result));
9757 }
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9765 PyObject *resultobj;
9766 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9767 wxSize *arg2 = 0 ;
9768 wxSize temp2 ;
9769 PyObject * obj0 = 0 ;
9770 PyObject * obj1 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "size", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail;
9778 {
9779 arg2 = &temp2;
9780 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9781 }
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 (arg1)->SetSize((wxSize const &)*arg2);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 Py_INCREF(Py_None); resultobj = Py_None;
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9799 wxSize result;
9800 PyObject * obj0 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 {
9816 wxSize * resultptr;
9817 resultptr = new wxSize((wxSize &)(result));
9818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9819 }
9820 return resultobj;
9821 fail:
9822 return NULL;
9823 }
9824
9825
9826 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9827 PyObject *resultobj;
9828 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9829 wxLayoutOrientation arg2 ;
9830 PyObject * obj0 = 0 ;
9831 PyObject * obj1 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "orient", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail;
9839 {
9840 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9841 if (SWIG_arg_fail(2)) SWIG_fail;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9860 wxLayoutOrientation result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail;
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 resultobj = SWIG_From_int((result));
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9886 wxLayoutAlignment arg2 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 char *kwnames[] = {
9890 (char *) "self",(char *) "align", NULL
9891 };
9892
9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail;
9896 {
9897 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9898 if (SWIG_arg_fail(2)) SWIG_fail;
9899 }
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 Py_INCREF(Py_None); resultobj = Py_None;
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9917 wxLayoutAlignment result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_From_int((result));
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9941 PyObject *obj;
9942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9943 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9944 Py_INCREF(obj);
9945 return Py_BuildValue((char *)"");
9946 }
9947 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9948 PyObject *resultobj;
9949 int arg1 = (int) 0 ;
9950 wxCalculateLayoutEvent *result;
9951 PyObject * obj0 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "id", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9957 if (obj0) {
9958 {
9959 arg1 = (int)(SWIG_As_int(obj0));
9960 if (SWIG_arg_fail(1)) SWIG_fail;
9961 }
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9971 return resultobj;
9972 fail:
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9980 int arg2 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "flags", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail;
9990 {
9991 arg2 = (int)(SWIG_As_int(obj1));
9992 if (SWIG_arg_fail(2)) SWIG_fail;
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetFlags(arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10011 int result;
10012 PyObject * obj0 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 {
10028 resultobj = SWIG_From_int((int)(result));
10029 }
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10039 wxRect *arg2 = 0 ;
10040 wxRect temp2 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self",(char *) "rect", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
10048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail;
10050 {
10051 arg2 = &temp2;
10052 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 (arg1)->SetRect((wxRect const &)*arg2);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 Py_INCREF(Py_None); resultobj = Py_None;
10062 return resultobj;
10063 fail:
10064 return NULL;
10065 }
10066
10067
10068 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10071 wxRect result;
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail;
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 {
10088 wxRect * resultptr;
10089 resultptr = new wxRect((wxRect &)(result));
10090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10091 }
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10099 PyObject *obj;
10100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10101 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10102 Py_INCREF(obj);
10103 return Py_BuildValue((char *)"");
10104 }
10105 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj;
10107 wxWindow *arg1 = (wxWindow *) 0 ;
10108 int arg2 = (int) -1 ;
10109 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10110 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10111 wxSize const &arg4_defvalue = wxDefaultSize ;
10112 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10113 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10114 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10115 wxString *arg6 = (wxString *) &arg6_defvalue ;
10116 wxSashLayoutWindow *result;
10117 wxPoint temp3 ;
10118 wxSize temp4 ;
10119 bool temp6 = false ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 PyObject * obj2 = 0 ;
10123 PyObject * obj3 = 0 ;
10124 PyObject * obj4 = 0 ;
10125 PyObject * obj5 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail;
10133 if (obj1) {
10134 {
10135 arg2 = (int)(SWIG_As_int(obj1));
10136 if (SWIG_arg_fail(2)) SWIG_fail;
10137 }
10138 }
10139 if (obj2) {
10140 {
10141 arg3 = &temp3;
10142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10143 }
10144 }
10145 if (obj3) {
10146 {
10147 arg4 = &temp4;
10148 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10149 }
10150 }
10151 if (obj4) {
10152 {
10153 arg5 = (long)(SWIG_As_long(obj4));
10154 if (SWIG_arg_fail(5)) SWIG_fail;
10155 }
10156 }
10157 if (obj5) {
10158 {
10159 arg6 = wxString_in_helper(obj5);
10160 if (arg6 == NULL) SWIG_fail;
10161 temp6 = true;
10162 }
10163 }
10164 {
10165 if (!wxPyCheckForApp()) SWIG_fail;
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10173 {
10174 if (temp6)
10175 delete arg6;
10176 }
10177 return resultobj;
10178 fail:
10179 {
10180 if (temp6)
10181 delete arg6;
10182 }
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxSashLayoutWindow *result;
10190 char *kwnames[] = {
10191 NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10195 {
10196 if (!wxPyCheckForApp()) SWIG_fail;
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10204 return resultobj;
10205 fail:
10206 return NULL;
10207 }
10208
10209
10210 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10213 wxWindow *arg2 = (wxWindow *) 0 ;
10214 int arg3 = (int) -1 ;
10215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10217 wxSize const &arg5_defvalue = wxDefaultSize ;
10218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10219 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10220 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10221 wxString *arg7 = (wxString *) &arg7_defvalue ;
10222 bool result;
10223 wxPoint temp4 ;
10224 wxSize temp5 ;
10225 bool temp7 = false ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 PyObject * obj3 = 0 ;
10230 PyObject * obj4 = 0 ;
10231 PyObject * obj5 = 0 ;
10232 PyObject * obj6 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10239 if (SWIG_arg_fail(1)) SWIG_fail;
10240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10241 if (SWIG_arg_fail(2)) SWIG_fail;
10242 if (obj2) {
10243 {
10244 arg3 = (int)(SWIG_As_int(obj2));
10245 if (SWIG_arg_fail(3)) SWIG_fail;
10246 }
10247 }
10248 if (obj3) {
10249 {
10250 arg4 = &temp4;
10251 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10252 }
10253 }
10254 if (obj4) {
10255 {
10256 arg5 = &temp5;
10257 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10258 }
10259 }
10260 if (obj5) {
10261 {
10262 arg6 = (long)(SWIG_As_long(obj5));
10263 if (SWIG_arg_fail(6)) SWIG_fail;
10264 }
10265 }
10266 if (obj6) {
10267 {
10268 arg7 = wxString_in_helper(obj6);
10269 if (arg7 == NULL) SWIG_fail;
10270 temp7 = true;
10271 }
10272 }
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10282 }
10283 {
10284 if (temp7)
10285 delete arg7;
10286 }
10287 return resultobj;
10288 fail:
10289 {
10290 if (temp7)
10291 delete arg7;
10292 }
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10300 wxLayoutAlignment result;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail;
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_From_int((result));
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj;
10325 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10326 wxLayoutOrientation result;
10327 PyObject * obj0 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10334 if (SWIG_arg_fail(1)) SWIG_fail;
10335 {
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10338
10339 wxPyEndAllowThreads(__tstate);
10340 if (PyErr_Occurred()) SWIG_fail;
10341 }
10342 resultobj = SWIG_From_int((result));
10343 return resultobj;
10344 fail:
10345 return NULL;
10346 }
10347
10348
10349 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10350 PyObject *resultobj;
10351 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10352 wxLayoutAlignment arg2 ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "alignment", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail;
10362 {
10363 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10364 if (SWIG_arg_fail(2)) SWIG_fail;
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10383 wxSize *arg2 = 0 ;
10384 wxSize temp2 ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "size", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10393 if (SWIG_arg_fail(1)) SWIG_fail;
10394 {
10395 arg2 = &temp2;
10396 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 Py_INCREF(Py_None); resultobj = Py_None;
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10415 wxLayoutOrientation arg2 ;
10416 PyObject * obj0 = 0 ;
10417 PyObject * obj1 = 0 ;
10418 char *kwnames[] = {
10419 (char *) "self",(char *) "orientation", NULL
10420 };
10421
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10424 if (SWIG_arg_fail(1)) SWIG_fail;
10425 {
10426 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10427 if (SWIG_arg_fail(2)) SWIG_fail;
10428 }
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 Py_INCREF(Py_None); resultobj = Py_None;
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10444 PyObject *obj;
10445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10446 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10447 Py_INCREF(obj);
10448 return Py_BuildValue((char *)"");
10449 }
10450 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxLayoutAlgorithm *result;
10453 char *kwnames[] = {
10454 NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10482 if (SWIG_arg_fail(1)) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 delete arg1;
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494 }
10495
10496
10497 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10500 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10501 wxRect *arg3 = (wxRect *) NULL ;
10502 bool result;
10503 PyObject * obj0 = 0 ;
10504 PyObject * obj1 = 0 ;
10505 PyObject * obj2 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "frame",(char *) "rect", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail;
10513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10514 if (SWIG_arg_fail(2)) SWIG_fail;
10515 if (obj2) {
10516 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10517 if (SWIG_arg_fail(3)) SWIG_fail;
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 {
10527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10528 }
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10536 PyObject *resultobj;
10537 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10538 wxFrame *arg2 = (wxFrame *) 0 ;
10539 wxWindow *arg3 = (wxWindow *) NULL ;
10540 bool result;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543 PyObject * obj2 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail;
10551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10552 if (SWIG_arg_fail(2)) SWIG_fail;
10553 if (obj2) {
10554 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10555 if (SWIG_arg_fail(3)) SWIG_fail;
10556 }
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 {
10565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10566 }
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10576 wxWindow *arg2 = (wxWindow *) 0 ;
10577 wxWindow *arg3 = (wxWindow *) NULL ;
10578 bool result;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 PyObject * obj2 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail;
10589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10590 if (SWIG_arg_fail(2)) SWIG_fail;
10591 if (obj2) {
10592 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10593 if (SWIG_arg_fail(3)) SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10612 PyObject *obj;
10613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10615 Py_INCREF(obj);
10616 return Py_BuildValue((char *)"");
10617 }
10618 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxWindow *arg1 = (wxWindow *) 0 ;
10621 int arg2 = (int) wxBORDER_NONE ;
10622 wxPopupWindow *result;
10623 PyObject * obj0 = 0 ;
10624 PyObject * obj1 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "parent",(char *) "flags", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail;
10632 if (obj1) {
10633 {
10634 arg2 = (int)(SWIG_As_int(obj1));
10635 if (SWIG_arg_fail(2)) SWIG_fail;
10636 }
10637 }
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxPopupWindow *result;
10655 char *kwnames[] = {
10656 NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (wxPopupWindow *)new wxPopupWindow();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10675 PyObject *obj;
10676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10678 Py_INCREF(obj);
10679 return Py_BuildValue((char *)"");
10680 }
10681 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxWindow *arg1 = (wxWindow *) 0 ;
10684 int arg2 = (int) wxBORDER_NONE ;
10685 wxPyPopupTransientWindow *result;
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "parent",(char *) "style", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail;
10695 if (obj1) {
10696 {
10697 arg2 = (int)(SWIG_As_int(obj1));
10698 if (SWIG_arg_fail(2)) SWIG_fail;
10699 }
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxPyPopupTransientWindow *result;
10718 char *kwnames[] = {
10719 NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10738 PyObject *obj;
10739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10740 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10741 Py_INCREF(obj);
10742 return Py_BuildValue((char *)"");
10743 }
10744 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10745 PyObject *resultobj;
10746 wxWindow *arg1 = (wxWindow *) 0 ;
10747 wxString *arg2 = 0 ;
10748 int arg3 = (int) 100 ;
10749 wxRect *arg4 = (wxRect *) NULL ;
10750 wxTipWindow *result;
10751 bool temp2 = false ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 PyObject * obj2 = 0 ;
10755 PyObject * obj3 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 {
10764 arg2 = wxString_in_helper(obj1);
10765 if (arg2 == NULL) SWIG_fail;
10766 temp2 = true;
10767 }
10768 if (obj2) {
10769 {
10770 arg3 = (int)(SWIG_As_int(obj2));
10771 if (SWIG_arg_fail(3)) SWIG_fail;
10772 }
10773 }
10774 if (obj3) {
10775 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10776 if (SWIG_arg_fail(4)) SWIG_fail;
10777 }
10778 {
10779 if (!wxPyCheckForApp()) SWIG_fail;
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10787 {
10788 if (temp2)
10789 delete arg2;
10790 }
10791 return resultobj;
10792 fail:
10793 {
10794 if (temp2)
10795 delete arg2;
10796 }
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10804 wxRect *arg2 = 0 ;
10805 wxRect temp2 ;
10806 PyObject * obj0 = 0 ;
10807 PyObject * obj1 = 0 ;
10808 char *kwnames[] = {
10809 (char *) "self",(char *) "rectBound", NULL
10810 };
10811
10812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10814 if (SWIG_arg_fail(1)) SWIG_fail;
10815 {
10816 arg2 = &temp2;
10817 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10818 }
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail;
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 (arg1)->Close();
10847
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10859 PyObject *obj;
10860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10862 Py_INCREF(obj);
10863 return Py_BuildValue((char *)"");
10864 }
10865 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxWindow *arg1 = (wxWindow *) 0 ;
10868 int arg2 = (int) wxID_ANY ;
10869 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10870 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10871 wxSize const &arg4_defvalue = wxDefaultSize ;
10872 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10873 long arg5 = (long) 0 ;
10874 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10875 wxString *arg6 = (wxString *) &arg6_defvalue ;
10876 wxPyVScrolledWindow *result;
10877 wxPoint temp3 ;
10878 wxSize temp4 ;
10879 bool temp6 = false ;
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 PyObject * obj2 = 0 ;
10883 PyObject * obj3 = 0 ;
10884 PyObject * obj4 = 0 ;
10885 PyObject * obj5 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail;
10893 if (obj1) {
10894 {
10895 arg2 = (int)(SWIG_As_int(obj1));
10896 if (SWIG_arg_fail(2)) SWIG_fail;
10897 }
10898 }
10899 if (obj2) {
10900 {
10901 arg3 = &temp3;
10902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10903 }
10904 }
10905 if (obj3) {
10906 {
10907 arg4 = &temp4;
10908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10909 }
10910 }
10911 if (obj4) {
10912 {
10913 arg5 = (long)(SWIG_As_long(obj4));
10914 if (SWIG_arg_fail(5)) SWIG_fail;
10915 }
10916 }
10917 if (obj5) {
10918 {
10919 arg6 = wxString_in_helper(obj5);
10920 if (arg6 == NULL) SWIG_fail;
10921 temp6 = true;
10922 }
10923 }
10924 {
10925 if (!wxPyCheckForApp()) SWIG_fail;
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10933 {
10934 if (temp6)
10935 delete arg6;
10936 }
10937 return resultobj;
10938 fail:
10939 {
10940 if (temp6)
10941 delete arg6;
10942 }
10943 return NULL;
10944 }
10945
10946
10947 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxPyVScrolledWindow *result;
10950 char *kwnames[] = {
10951 NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
10955 {
10956 if (!wxPyCheckForApp()) SWIG_fail;
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10964 return resultobj;
10965 fail:
10966 return NULL;
10967 }
10968
10969
10970 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10973 PyObject *arg2 = (PyObject *) 0 ;
10974 PyObject *arg3 = (PyObject *) 0 ;
10975 PyObject * obj0 = 0 ;
10976 PyObject * obj1 = 0 ;
10977 PyObject * obj2 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self",(char *) "self",(char *) "_class", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail;
10985 arg2 = obj1;
10986 arg3 = obj2;
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->_setCallbackInfo(arg2,arg3);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998 }
10999
11000
11001 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11004 wxWindow *arg2 = (wxWindow *) 0 ;
11005 int arg3 = (int) wxID_ANY ;
11006 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11007 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11008 wxSize const &arg5_defvalue = wxDefaultSize ;
11009 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11010 long arg6 = (long) 0 ;
11011 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11012 wxString *arg7 = (wxString *) &arg7_defvalue ;
11013 bool result;
11014 wxPoint temp4 ;
11015 wxSize temp5 ;
11016 bool temp7 = false ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 PyObject * obj2 = 0 ;
11020 PyObject * obj3 = 0 ;
11021 PyObject * obj4 = 0 ;
11022 PyObject * obj5 = 0 ;
11023 PyObject * obj6 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
11031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11032 if (SWIG_arg_fail(2)) SWIG_fail;
11033 if (obj2) {
11034 {
11035 arg3 = (int)(SWIG_As_int(obj2));
11036 if (SWIG_arg_fail(3)) SWIG_fail;
11037 }
11038 }
11039 if (obj3) {
11040 {
11041 arg4 = &temp4;
11042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11043 }
11044 }
11045 if (obj4) {
11046 {
11047 arg5 = &temp5;
11048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11049 }
11050 }
11051 if (obj5) {
11052 {
11053 arg6 = (long)(SWIG_As_long(obj5));
11054 if (SWIG_arg_fail(6)) SWIG_fail;
11055 }
11056 }
11057 if (obj6) {
11058 {
11059 arg7 = wxString_in_helper(obj6);
11060 if (arg7 == NULL) SWIG_fail;
11061 temp7 = true;
11062 }
11063 }
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11073 }
11074 {
11075 if (temp7)
11076 delete arg7;
11077 }
11078 return resultobj;
11079 fail:
11080 {
11081 if (temp7)
11082 delete arg7;
11083 }
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11091 size_t arg2 ;
11092 PyObject * obj0 = 0 ;
11093 PyObject * obj1 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self",(char *) "count", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
11101 {
11102 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11103 if (SWIG_arg_fail(2)) SWIG_fail;
11104 }
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetLineCount(arg2);
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 Py_INCREF(Py_None); resultobj = Py_None;
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11122 size_t arg2 ;
11123 bool result;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self",(char *) "line", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11132 if (SWIG_arg_fail(1)) SWIG_fail;
11133 {
11134 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11135 if (SWIG_arg_fail(2)) SWIG_fail;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 result = (bool)(arg1)->ScrollToLine(arg2);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 {
11145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11146 }
11147 return resultobj;
11148 fail:
11149 return NULL;
11150 }
11151
11152
11153 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11154 PyObject *resultobj;
11155 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11156 int arg2 ;
11157 bool result;
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self",(char *) "lines", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11166 if (SWIG_arg_fail(1)) SWIG_fail;
11167 {
11168 arg2 = (int)(SWIG_As_int(obj1));
11169 if (SWIG_arg_fail(2)) SWIG_fail;
11170 }
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 result = (bool)(arg1)->ScrollLines(arg2);
11174
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11190 int arg2 ;
11191 bool result;
11192 PyObject * obj0 = 0 ;
11193 PyObject * obj1 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self",(char *) "pages", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11200 if (SWIG_arg_fail(1)) SWIG_fail;
11201 {
11202 arg2 = (int)(SWIG_As_int(obj1));
11203 if (SWIG_arg_fail(2)) SWIG_fail;
11204 }
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (bool)(arg1)->ScrollPages(arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 {
11213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11214 }
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11224 size_t arg2 ;
11225 PyObject * obj0 = 0 ;
11226 PyObject * obj1 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self",(char *) "line", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11233 if (SWIG_arg_fail(1)) SWIG_fail;
11234 {
11235 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11236 if (SWIG_arg_fail(2)) SWIG_fail;
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->RefreshLine(arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 Py_INCREF(Py_None); resultobj = Py_None;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11255 size_t arg2 ;
11256 size_t arg3 ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 PyObject * obj2 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self",(char *) "from",(char *) "to", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11266 if (SWIG_arg_fail(1)) SWIG_fail;
11267 {
11268 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11269 if (SWIG_arg_fail(2)) SWIG_fail;
11270 }
11271 {
11272 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11273 if (SWIG_arg_fail(3)) SWIG_fail;
11274 }
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 (arg1)->RefreshLines(arg2,arg3);
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 Py_INCREF(Py_None); resultobj = Py_None;
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11290 PyObject *resultobj;
11291 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11292 int arg2 ;
11293 int arg3 ;
11294 int result;
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 PyObject * obj2 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "x",(char *) "y", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
11303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail;
11305 {
11306 arg2 = (int)(SWIG_As_int(obj1));
11307 if (SWIG_arg_fail(2)) SWIG_fail;
11308 }
11309 {
11310 arg3 = (int)(SWIG_As_int(obj2));
11311 if (SWIG_arg_fail(3)) SWIG_fail;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 resultobj = SWIG_From_int((int)(result));
11322 }
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11332 wxPoint *arg2 = 0 ;
11333 int result;
11334 wxPoint temp2 ;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self",(char *) "pt", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail;
11344 {
11345 arg2 = &temp2;
11346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11347 }
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 {
11356 resultobj = SWIG_From_int((int)(result));
11357 }
11358 return resultobj;
11359 fail:
11360 return NULL;
11361 }
11362
11363
11364 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj;
11366 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail;
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 (arg1)->RefreshAll();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 Py_INCREF(Py_None); resultobj = Py_None;
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11392 size_t result;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 {
11409 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11410 }
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11420 size_t result;
11421 PyObject * obj0 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 {
11437 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11438 }
11439 return resultobj;
11440 fail:
11441 return NULL;
11442 }
11443
11444
11445 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11448 size_t result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11456 if (SWIG_arg_fail(1)) SWIG_fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 {
11465 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11466 }
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11476 size_t arg2 ;
11477 bool result;
11478 PyObject * obj0 = 0 ;
11479 PyObject * obj1 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "line", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail;
11487 {
11488 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11489 if (SWIG_arg_fail(2)) SWIG_fail;
11490 }
11491 {
11492 PyThreadState* __tstate = wxPyBeginAllowThreads();
11493 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11494
11495 wxPyEndAllowThreads(__tstate);
11496 if (PyErr_Occurred()) SWIG_fail;
11497 }
11498 {
11499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11500 }
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11508 PyObject *obj;
11509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11511 Py_INCREF(obj);
11512 return Py_BuildValue((char *)"");
11513 }
11514 static int _wrap_VListBoxNameStr_set(PyObject *) {
11515 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11516 return 1;
11517 }
11518
11519
11520 static PyObject *_wrap_VListBoxNameStr_get(void) {
11521 PyObject *pyobj;
11522
11523 {
11524 #if wxUSE_UNICODE
11525 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11526 #else
11527 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11528 #endif
11529 }
11530 return pyobj;
11531 }
11532
11533
11534 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxWindow *arg1 = (wxWindow *) 0 ;
11537 int arg2 = (int) wxID_ANY ;
11538 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11539 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11540 wxSize const &arg4_defvalue = wxDefaultSize ;
11541 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11542 long arg5 = (long) 0 ;
11543 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11544 wxString *arg6 = (wxString *) &arg6_defvalue ;
11545 wxPyVListBox *result;
11546 wxPoint temp3 ;
11547 wxSize temp4 ;
11548 bool temp6 = false ;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11553 PyObject * obj4 = 0 ;
11554 PyObject * obj5 = 0 ;
11555 char *kwnames[] = {
11556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11557 };
11558
11559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11561 if (SWIG_arg_fail(1)) SWIG_fail;
11562 if (obj1) {
11563 {
11564 arg2 = (int)(SWIG_As_int(obj1));
11565 if (SWIG_arg_fail(2)) SWIG_fail;
11566 }
11567 }
11568 if (obj2) {
11569 {
11570 arg3 = &temp3;
11571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11572 }
11573 }
11574 if (obj3) {
11575 {
11576 arg4 = &temp4;
11577 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11578 }
11579 }
11580 if (obj4) {
11581 {
11582 arg5 = (long)(SWIG_As_long(obj4));
11583 if (SWIG_arg_fail(5)) SWIG_fail;
11584 }
11585 }
11586 if (obj5) {
11587 {
11588 arg6 = wxString_in_helper(obj5);
11589 if (arg6 == NULL) SWIG_fail;
11590 temp6 = true;
11591 }
11592 }
11593 {
11594 if (!wxPyCheckForApp()) SWIG_fail;
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11602 {
11603 if (temp6)
11604 delete arg6;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp6)
11610 delete arg6;
11611 }
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxPyVListBox *result;
11619 char *kwnames[] = {
11620 NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11624 {
11625 if (!wxPyCheckForApp()) SWIG_fail;
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (wxPyVListBox *)new wxPyVListBox();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11642 PyObject *arg2 = (PyObject *) 0 ;
11643 PyObject *arg3 = (PyObject *) 0 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 PyObject * obj2 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self",(char *) "self",(char *) "_class", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11653 if (SWIG_arg_fail(1)) SWIG_fail;
11654 arg2 = obj1;
11655 arg3 = obj2;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 (arg1)->_setCallbackInfo(arg2,arg3);
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 Py_INCREF(Py_None); resultobj = Py_None;
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11673 wxWindow *arg2 = (wxWindow *) 0 ;
11674 int arg3 = (int) wxID_ANY ;
11675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11677 wxSize const &arg5_defvalue = wxDefaultSize ;
11678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11679 long arg6 = (long) 0 ;
11680 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11681 wxString *arg7 = (wxString *) &arg7_defvalue ;
11682 bool result;
11683 wxPoint temp4 ;
11684 wxSize temp5 ;
11685 bool temp7 = false ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj1 = 0 ;
11688 PyObject * obj2 = 0 ;
11689 PyObject * obj3 = 0 ;
11690 PyObject * obj4 = 0 ;
11691 PyObject * obj5 = 0 ;
11692 PyObject * obj6 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11699 if (SWIG_arg_fail(1)) SWIG_fail;
11700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11701 if (SWIG_arg_fail(2)) SWIG_fail;
11702 if (obj2) {
11703 {
11704 arg3 = (int)(SWIG_As_int(obj2));
11705 if (SWIG_arg_fail(3)) SWIG_fail;
11706 }
11707 }
11708 if (obj3) {
11709 {
11710 arg4 = &temp4;
11711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11712 }
11713 }
11714 if (obj4) {
11715 {
11716 arg5 = &temp5;
11717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11718 }
11719 }
11720 if (obj5) {
11721 {
11722 arg6 = (long)(SWIG_As_long(obj5));
11723 if (SWIG_arg_fail(6)) SWIG_fail;
11724 }
11725 }
11726 if (obj6) {
11727 {
11728 arg7 = wxString_in_helper(obj6);
11729 if (arg7 == NULL) SWIG_fail;
11730 temp7 = true;
11731 }
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 {
11741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11742 }
11743 {
11744 if (temp7)
11745 delete arg7;
11746 }
11747 return resultobj;
11748 fail:
11749 {
11750 if (temp7)
11751 delete arg7;
11752 }
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11760 size_t result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11778 }
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11786 PyObject *resultobj;
11787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11788 bool result;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 {
11805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11806 }
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj;
11815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11816 int result;
11817 PyObject * obj0 = 0 ;
11818 char *kwnames[] = {
11819 (char *) "self", NULL
11820 };
11821
11822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
11823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11824 if (SWIG_arg_fail(1)) SWIG_fail;
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 {
11833 resultobj = SWIG_From_int((int)(result));
11834 }
11835 return resultobj;
11836 fail:
11837 return NULL;
11838 }
11839
11840
11841 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
11842 PyObject *resultobj;
11843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11844 size_t arg2 ;
11845 bool result;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "item", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
11853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail;
11855 {
11856 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11857 if (SWIG_arg_fail(2)) SWIG_fail;
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11868 }
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11878 size_t arg2 ;
11879 bool result;
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self",(char *) "item", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
11887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11888 if (SWIG_arg_fail(1)) SWIG_fail;
11889 {
11890 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11891 if (SWIG_arg_fail(2)) SWIG_fail;
11892 }
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 {
11901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11902 }
11903 return resultobj;
11904 fail:
11905 return NULL;
11906 }
11907
11908
11909 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11912 size_t result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 {
11929 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11930 }
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11940 PyObject *result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
11947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = result;
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11966 unsigned long arg2 ;
11967 PyObject *result;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "cookie", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
11975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail;
11977 {
11978 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
11979 if (SWIG_arg_fail(2)) SWIG_fail;
11980 }
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = result;
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11998 wxPoint result;
11999 PyObject * obj0 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = ((wxPyVListBox const *)arg1)->GetMargins();
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 wxPoint * resultptr;
12016 resultptr = new wxPoint((wxPoint &)(result));
12017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12018 }
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12026 PyObject *resultobj;
12027 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12028 wxColour *result;
12029 PyObject * obj0 = 0 ;
12030 char *kwnames[] = {
12031 (char *) "self", NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail;
12037 {
12038 PyThreadState* __tstate = wxPyBeginAllowThreads();
12039 {
12040 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12041 result = (wxColour *) &_result_ref;
12042 }
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12048 return resultobj;
12049 fail:
12050 return NULL;
12051 }
12052
12053
12054 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12057 size_t arg2 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self",(char *) "count", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12066 if (SWIG_arg_fail(1)) SWIG_fail;
12067 {
12068 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12069 if (SWIG_arg_fail(2)) SWIG_fail;
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 (arg1)->SetItemCount(arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 Py_INCREF(Py_None); resultobj = Py_None;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12088 PyObject * obj0 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12095 if (SWIG_arg_fail(1)) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->Clear();
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12113 int arg2 ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "selection", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail;
12123 {
12124 arg2 = (int)(SWIG_As_int(obj1));
12125 if (SWIG_arg_fail(2)) SWIG_fail;
12126 }
12127 {
12128 PyThreadState* __tstate = wxPyBeginAllowThreads();
12129 (arg1)->SetSelection(arg2);
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 Py_INCREF(Py_None); resultobj = Py_None;
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12144 size_t arg2 ;
12145 bool arg3 = (bool) true ;
12146 bool result;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 PyObject * obj2 = 0 ;
12150 char *kwnames[] = {
12151 (char *) "self",(char *) "item",(char *) "select", NULL
12152 };
12153
12154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail;
12157 {
12158 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12159 if (SWIG_arg_fail(2)) SWIG_fail;
12160 }
12161 if (obj2) {
12162 {
12163 arg3 = (bool)(SWIG_As_bool(obj2));
12164 if (SWIG_arg_fail(3)) SWIG_fail;
12165 }
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)(arg1)->Select(arg2,arg3);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 {
12175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12186 size_t arg2 ;
12187 size_t arg3 ;
12188 bool result;
12189 PyObject * obj0 = 0 ;
12190 PyObject * obj1 = 0 ;
12191 PyObject * obj2 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self",(char *) "from",(char *) "to", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12198 if (SWIG_arg_fail(1)) SWIG_fail;
12199 {
12200 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12201 if (SWIG_arg_fail(2)) SWIG_fail;
12202 }
12203 {
12204 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12205 if (SWIG_arg_fail(3)) SWIG_fail;
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (bool)(arg1)->SelectRange(arg2,arg3);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12216 }
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12226 size_t arg2 ;
12227 PyObject * obj0 = 0 ;
12228 PyObject * obj1 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self",(char *) "item", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
12236 {
12237 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12238 if (SWIG_arg_fail(2)) SWIG_fail;
12239 }
12240 {
12241 PyThreadState* __tstate = wxPyBeginAllowThreads();
12242 (arg1)->Toggle(arg2);
12243
12244 wxPyEndAllowThreads(__tstate);
12245 if (PyErr_Occurred()) SWIG_fail;
12246 }
12247 Py_INCREF(Py_None); resultobj = Py_None;
12248 return resultobj;
12249 fail:
12250 return NULL;
12251 }
12252
12253
12254 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12255 PyObject *resultobj;
12256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12257 bool result;
12258 PyObject * obj0 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail;
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (bool)(arg1)->SelectAll();
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12275 }
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12285 bool result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12293 if (SWIG_arg_fail(1)) SWIG_fail;
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)(arg1)->DeselectAll();
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
12301 {
12302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12303 }
12304 return resultobj;
12305 fail:
12306 return NULL;
12307 }
12308
12309
12310 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12311 PyObject *resultobj;
12312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12313 wxPoint *arg2 = 0 ;
12314 wxPoint temp2 ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj1 = 0 ;
12317 char *kwnames[] = {
12318 (char *) "self",(char *) "pt", NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12323 if (SWIG_arg_fail(1)) SWIG_fail;
12324 {
12325 arg2 = &temp2;
12326 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12327 }
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->SetMargins((wxPoint const &)*arg2);
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12345 int arg2 ;
12346 int arg3 ;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 PyObject * obj2 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "x",(char *) "y", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 arg2 = (int)(SWIG_As_int(obj1));
12359 if (SWIG_arg_fail(2)) SWIG_fail;
12360 }
12361 {
12362 arg3 = (int)(SWIG_As_int(obj2));
12363 if (SWIG_arg_fail(3)) SWIG_fail;
12364 }
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 (arg1)->SetMargins(arg2,arg3);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 Py_INCREF(Py_None); resultobj = Py_None;
12373 return resultobj;
12374 fail:
12375 return NULL;
12376 }
12377
12378
12379 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12382 wxColour *arg2 = 0 ;
12383 wxColour temp2 ;
12384 PyObject * obj0 = 0 ;
12385 PyObject * obj1 = 0 ;
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "col", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail;
12393 {
12394 arg2 = &temp2;
12395 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12396 }
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
12404 Py_INCREF(Py_None); resultobj = Py_None;
12405 return resultobj;
12406 fail:
12407 return NULL;
12408 }
12409
12410
12411 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12412 PyObject *obj;
12413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12414 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12415 Py_INCREF(obj);
12416 return Py_BuildValue((char *)"");
12417 }
12418 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxWindow *arg1 = (wxWindow *) 0 ;
12421 int arg2 = (int) wxID_ANY ;
12422 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12423 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12424 wxSize const &arg4_defvalue = wxDefaultSize ;
12425 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12426 long arg5 = (long) 0 ;
12427 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12428 wxString *arg6 = (wxString *) &arg6_defvalue ;
12429 wxPyHtmlListBox *result;
12430 wxPoint temp3 ;
12431 wxSize temp4 ;
12432 bool temp6 = false ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 PyObject * obj2 = 0 ;
12436 PyObject * obj3 = 0 ;
12437 PyObject * obj4 = 0 ;
12438 PyObject * obj5 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12445 if (SWIG_arg_fail(1)) SWIG_fail;
12446 if (obj1) {
12447 {
12448 arg2 = (int)(SWIG_As_int(obj1));
12449 if (SWIG_arg_fail(2)) SWIG_fail;
12450 }
12451 }
12452 if (obj2) {
12453 {
12454 arg3 = &temp3;
12455 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12456 }
12457 }
12458 if (obj3) {
12459 {
12460 arg4 = &temp4;
12461 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12462 }
12463 }
12464 if (obj4) {
12465 {
12466 arg5 = (long)(SWIG_As_long(obj4));
12467 if (SWIG_arg_fail(5)) SWIG_fail;
12468 }
12469 }
12470 if (obj5) {
12471 {
12472 arg6 = wxString_in_helper(obj5);
12473 if (arg6 == NULL) SWIG_fail;
12474 temp6 = true;
12475 }
12476 }
12477 {
12478 if (!wxPyCheckForApp()) SWIG_fail;
12479 PyThreadState* __tstate = wxPyBeginAllowThreads();
12480 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12481
12482 wxPyEndAllowThreads(__tstate);
12483 if (PyErr_Occurred()) SWIG_fail;
12484 }
12485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12486 {
12487 if (temp6)
12488 delete arg6;
12489 }
12490 return resultobj;
12491 fail:
12492 {
12493 if (temp6)
12494 delete arg6;
12495 }
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxPyHtmlListBox *result;
12503 char *kwnames[] = {
12504 NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12508 {
12509 if (!wxPyCheckForApp()) SWIG_fail;
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520 }
12521
12522
12523 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12526 PyObject *arg2 = (PyObject *) 0 ;
12527 PyObject *arg3 = (PyObject *) 0 ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self",(char *) "self",(char *) "_class", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail;
12538 arg2 = obj1;
12539 arg3 = obj2;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 (arg1)->_setCallbackInfo(arg2,arg3);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 Py_INCREF(Py_None); resultobj = Py_None;
12548 return resultobj;
12549 fail:
12550 return NULL;
12551 }
12552
12553
12554 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12555 PyObject *resultobj;
12556 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12557 wxWindow *arg2 = (wxWindow *) 0 ;
12558 int arg3 = (int) wxID_ANY ;
12559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12561 wxSize const &arg5_defvalue = wxDefaultSize ;
12562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12563 long arg6 = (long) 0 ;
12564 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12565 wxString *arg7 = (wxString *) &arg7_defvalue ;
12566 bool result;
12567 wxPoint temp4 ;
12568 wxSize temp5 ;
12569 bool temp7 = false ;
12570 PyObject * obj0 = 0 ;
12571 PyObject * obj1 = 0 ;
12572 PyObject * obj2 = 0 ;
12573 PyObject * obj3 = 0 ;
12574 PyObject * obj4 = 0 ;
12575 PyObject * obj5 = 0 ;
12576 PyObject * obj6 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail;
12584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12585 if (SWIG_arg_fail(2)) SWIG_fail;
12586 if (obj2) {
12587 {
12588 arg3 = (int)(SWIG_As_int(obj2));
12589 if (SWIG_arg_fail(3)) SWIG_fail;
12590 }
12591 }
12592 if (obj3) {
12593 {
12594 arg4 = &temp4;
12595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12596 }
12597 }
12598 if (obj4) {
12599 {
12600 arg5 = &temp5;
12601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12602 }
12603 }
12604 if (obj5) {
12605 {
12606 arg6 = (long)(SWIG_As_long(obj5));
12607 if (SWIG_arg_fail(6)) SWIG_fail;
12608 }
12609 }
12610 if (obj6) {
12611 {
12612 arg7 = wxString_in_helper(obj6);
12613 if (arg7 == NULL) SWIG_fail;
12614 temp7 = true;
12615 }
12616 }
12617 {
12618 PyThreadState* __tstate = wxPyBeginAllowThreads();
12619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12620
12621 wxPyEndAllowThreads(__tstate);
12622 if (PyErr_Occurred()) SWIG_fail;
12623 }
12624 {
12625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12626 }
12627 {
12628 if (temp7)
12629 delete arg7;
12630 }
12631 return resultobj;
12632 fail:
12633 {
12634 if (temp7)
12635 delete arg7;
12636 }
12637 return NULL;
12638 }
12639
12640
12641 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12644 PyObject * obj0 = 0 ;
12645 char *kwnames[] = {
12646 (char *) "self", NULL
12647 };
12648
12649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12651 if (SWIG_arg_fail(1)) SWIG_fail;
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 (arg1)->RefreshAll();
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 Py_INCREF(Py_None); resultobj = Py_None;
12660 return resultobj;
12661 fail:
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12669 size_t arg2 ;
12670 PyObject * obj0 = 0 ;
12671 PyObject * obj1 = 0 ;
12672 char *kwnames[] = {
12673 (char *) "self",(char *) "count", NULL
12674 };
12675
12676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12678 if (SWIG_arg_fail(1)) SWIG_fail;
12679 {
12680 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12681 if (SWIG_arg_fail(2)) SWIG_fail;
12682 }
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 (arg1)->SetItemCount(arg2);
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 Py_INCREF(Py_None); resultobj = Py_None;
12691 return resultobj;
12692 fail:
12693 return NULL;
12694 }
12695
12696
12697 static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12698 PyObject *resultobj;
12699 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12700 wxFileSystem *result;
12701 PyObject * obj0 = 0 ;
12702 char *kwnames[] = {
12703 (char *) "self", NULL
12704 };
12705
12706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12708 if (SWIG_arg_fail(1)) SWIG_fail;
12709 {
12710 PyThreadState* __tstate = wxPyBeginAllowThreads();
12711 {
12712 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12713 result = (wxFileSystem *) &_result_ref;
12714 }
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12727 PyObject *obj;
12728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12729 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12730 Py_INCREF(obj);
12731 return Py_BuildValue((char *)"");
12732 }
12733 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxPyTaskBarIcon *result;
12736 char *kwnames[] = {
12737 NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12741 {
12742 if (!wxPyCheckForApp()) SWIG_fail;
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12759 PyObject *arg2 = (PyObject *) 0 ;
12760 PyObject *arg3 = (PyObject *) 0 ;
12761 int arg4 ;
12762 PyObject * obj0 = 0 ;
12763 PyObject * obj1 = 0 ;
12764 PyObject * obj2 = 0 ;
12765 PyObject * obj3 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12772 if (SWIG_arg_fail(1)) SWIG_fail;
12773 arg2 = obj1;
12774 arg3 = obj2;
12775 {
12776 arg4 = (int)(SWIG_As_int(obj3));
12777 if (SWIG_arg_fail(4)) SWIG_fail;
12778 }
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 Py_INCREF(Py_None); resultobj = Py_None;
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12796 PyObject * obj0 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 wxPyTaskBarIcon_Destroy(arg1);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 Py_INCREF(Py_None); resultobj = Py_None;
12812 return resultobj;
12813 fail:
12814 return NULL;
12815 }
12816
12817
12818 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12821 bool result;
12822 PyObject * obj0 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail;
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12839 }
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12849 bool result;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 }
12868 return resultobj;
12869 fail:
12870 return NULL;
12871 }
12872
12873
12874 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12875 PyObject *resultobj;
12876 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12877 wxIcon *arg2 = 0 ;
12878 wxString const &arg3_defvalue = wxPyEmptyString ;
12879 wxString *arg3 = (wxString *) &arg3_defvalue ;
12880 bool result;
12881 bool temp3 = false ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj1 = 0 ;
12884 PyObject * obj2 = 0 ;
12885 char *kwnames[] = {
12886 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12887 };
12888
12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12891 if (SWIG_arg_fail(1)) SWIG_fail;
12892 {
12893 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12894 if (SWIG_arg_fail(2)) SWIG_fail;
12895 if (arg2 == NULL) {
12896 SWIG_null_ref("wxIcon");
12897 }
12898 if (SWIG_arg_fail(2)) SWIG_fail;
12899 }
12900 if (obj2) {
12901 {
12902 arg3 = wxString_in_helper(obj2);
12903 if (arg3 == NULL) SWIG_fail;
12904 temp3 = true;
12905 }
12906 }
12907 {
12908 PyThreadState* __tstate = wxPyBeginAllowThreads();
12909 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
12910
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 {
12915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12916 }
12917 {
12918 if (temp3)
12919 delete arg3;
12920 }
12921 return resultobj;
12922 fail:
12923 {
12924 if (temp3)
12925 delete arg3;
12926 }
12927 return NULL;
12928 }
12929
12930
12931 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12934 bool result;
12935 PyObject * obj0 = 0 ;
12936 char *kwnames[] = {
12937 (char *) "self", NULL
12938 };
12939
12940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
12941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (bool)(arg1)->RemoveIcon();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12962 wxMenu *arg2 = (wxMenu *) 0 ;
12963 bool result;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self",(char *) "menu", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
12971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12972 if (SWIG_arg_fail(1)) SWIG_fail;
12973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
12974 if (SWIG_arg_fail(2)) SWIG_fail;
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (bool)(arg1)->PopupMenu(arg2);
12978
12979 wxPyEndAllowThreads(__tstate);
12980 if (PyErr_Occurred()) SWIG_fail;
12981 }
12982 {
12983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12984 }
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
12992 PyObject *obj;
12993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12994 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
12995 Py_INCREF(obj);
12996 return Py_BuildValue((char *)"");
12997 }
12998 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxEventType arg1 ;
13001 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13002 wxTaskBarIconEvent *result;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 char *kwnames[] = {
13006 (char *) "evtType",(char *) "tbIcon", NULL
13007 };
13008
13009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13010 {
13011 arg1 = (wxEventType)(SWIG_As_int(obj0));
13012 if (SWIG_arg_fail(1)) SWIG_fail;
13013 }
13014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13015 if (SWIG_arg_fail(2)) SWIG_fail;
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13024 return resultobj;
13025 fail:
13026 return NULL;
13027 }
13028
13029
13030 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13031 PyObject *obj;
13032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13034 Py_INCREF(obj);
13035 return Py_BuildValue((char *)"");
13036 }
13037 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13038 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13039 return 1;
13040 }
13041
13042
13043 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13044 PyObject *pyobj;
13045
13046 {
13047 #if wxUSE_UNICODE
13048 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13049 #else
13050 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13051 #endif
13052 }
13053 return pyobj;
13054 }
13055
13056
13057 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13058 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13059 return 1;
13060 }
13061
13062
13063 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13064 PyObject *pyobj;
13065
13066 {
13067 #if wxUSE_UNICODE
13068 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13069 #else
13070 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13071 #endif
13072 }
13073 return pyobj;
13074 }
13075
13076
13077 static int _wrap_DirDialogNameStr_set(PyObject *) {
13078 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13079 return 1;
13080 }
13081
13082
13083 static PyObject *_wrap_DirDialogNameStr_get(void) {
13084 PyObject *pyobj;
13085
13086 {
13087 #if wxUSE_UNICODE
13088 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13089 #else
13090 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13091 #endif
13092 }
13093 return pyobj;
13094 }
13095
13096
13097 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13098 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13099 return 1;
13100 }
13101
13102
13103 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13104 PyObject *pyobj;
13105
13106 {
13107 #if wxUSE_UNICODE
13108 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13109 #else
13110 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13111 #endif
13112 }
13113 return pyobj;
13114 }
13115
13116
13117 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13118 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13119 return 1;
13120 }
13121
13122
13123 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13124 PyObject *pyobj;
13125
13126 {
13127 #if wxUSE_UNICODE
13128 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13129 #else
13130 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13131 #endif
13132 }
13133 return pyobj;
13134 }
13135
13136
13137 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13138 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13139 return 1;
13140 }
13141
13142
13143 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13144 PyObject *pyobj;
13145
13146 {
13147 #if wxUSE_UNICODE
13148 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13149 #else
13150 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13151 #endif
13152 }
13153 return pyobj;
13154 }
13155
13156
13157 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxColourData *result;
13160 char *kwnames[] = {
13161 NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (wxColourData *)new wxColourData();
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxColourData *arg1 = (wxColourData *) 0 ;
13182 PyObject * obj0 = 0 ;
13183 char *kwnames[] = {
13184 (char *) "self", NULL
13185 };
13186
13187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13189 if (SWIG_arg_fail(1)) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 delete arg1;
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 Py_INCREF(Py_None); resultobj = Py_None;
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxColourData *arg1 = (wxColourData *) 0 ;
13207 bool result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->GetChooseFull();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13233 PyObject *resultobj;
13234 wxColourData *arg1 = (wxColourData *) 0 ;
13235 wxColour result;
13236 PyObject * obj0 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13243 if (SWIG_arg_fail(1)) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 result = (arg1)->GetColour();
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 {
13252 wxColour * resultptr;
13253 resultptr = new wxColour((wxColour &)(result));
13254 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13255 }
13256 return resultobj;
13257 fail:
13258 return NULL;
13259 }
13260
13261
13262 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxColourData *arg1 = (wxColourData *) 0 ;
13265 int arg2 ;
13266 wxColour result;
13267 PyObject * obj0 = 0 ;
13268 PyObject * obj1 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self",(char *) "i", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13275 if (SWIG_arg_fail(1)) SWIG_fail;
13276 {
13277 arg2 = (int)(SWIG_As_int(obj1));
13278 if (SWIG_arg_fail(2)) SWIG_fail;
13279 }
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (arg1)->GetCustomColour(arg2);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 {
13288 wxColour * resultptr;
13289 resultptr = new wxColour((wxColour &)(result));
13290 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13291 }
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxColourData *arg1 = (wxColourData *) 0 ;
13301 int arg2 ;
13302 PyObject * obj0 = 0 ;
13303 PyObject * obj1 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self",(char *) "flag", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13310 if (SWIG_arg_fail(1)) SWIG_fail;
13311 {
13312 arg2 = (int)(SWIG_As_int(obj1));
13313 if (SWIG_arg_fail(2)) SWIG_fail;
13314 }
13315 {
13316 PyThreadState* __tstate = wxPyBeginAllowThreads();
13317 (arg1)->SetChooseFull(arg2);
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 Py_INCREF(Py_None); resultobj = Py_None;
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxColourData *arg1 = (wxColourData *) 0 ;
13332 wxColour *arg2 = 0 ;
13333 wxColour temp2 ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self",(char *) "colour", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13342 if (SWIG_arg_fail(1)) SWIG_fail;
13343 {
13344 arg2 = &temp2;
13345 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13346 }
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 (arg1)->SetColour((wxColour const &)*arg2);
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 Py_INCREF(Py_None); resultobj = Py_None;
13355 return resultobj;
13356 fail:
13357 return NULL;
13358 }
13359
13360
13361 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxColourData *arg1 = (wxColourData *) 0 ;
13364 int arg2 ;
13365 wxColour *arg3 = 0 ;
13366 wxColour temp3 ;
13367 PyObject * obj0 = 0 ;
13368 PyObject * obj1 = 0 ;
13369 PyObject * obj2 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "i",(char *) "colour", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13376 if (SWIG_arg_fail(1)) SWIG_fail;
13377 {
13378 arg2 = (int)(SWIG_As_int(obj1));
13379 if (SWIG_arg_fail(2)) SWIG_fail;
13380 }
13381 {
13382 arg3 = &temp3;
13383 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13384 }
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 Py_INCREF(Py_None); resultobj = Py_None;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13400 PyObject *obj;
13401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13403 Py_INCREF(obj);
13404 return Py_BuildValue((char *)"");
13405 }
13406 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxWindow *arg1 = (wxWindow *) 0 ;
13409 wxColourData *arg2 = (wxColourData *) NULL ;
13410 wxColourDialog *result;
13411 PyObject * obj0 = 0 ;
13412 PyObject * obj1 = 0 ;
13413 char *kwnames[] = {
13414 (char *) "parent",(char *) "data", NULL
13415 };
13416
13417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13419 if (SWIG_arg_fail(1)) SWIG_fail;
13420 if (obj1) {
13421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13422 if (SWIG_arg_fail(2)) SWIG_fail;
13423 }
13424 {
13425 if (!wxPyCheckForApp()) SWIG_fail;
13426 PyThreadState* __tstate = wxPyBeginAllowThreads();
13427 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13428
13429 wxPyEndAllowThreads(__tstate);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 }
13432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13433 return resultobj;
13434 fail:
13435 return NULL;
13436 }
13437
13438
13439 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13440 PyObject *resultobj;
13441 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13442 wxColourData *result;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13450 if (SWIG_arg_fail(1)) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 {
13454 wxColourData &_result_ref = (arg1)->GetColourData();
13455 result = (wxColourData *) &_result_ref;
13456 }
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13469 PyObject *obj;
13470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13471 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13472 Py_INCREF(obj);
13473 return Py_BuildValue((char *)"");
13474 }
13475 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13476 PyObject *resultobj;
13477 wxWindow *arg1 = (wxWindow *) 0 ;
13478 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13479 wxString *arg2 = (wxString *) &arg2_defvalue ;
13480 wxString const &arg3_defvalue = wxPyEmptyString ;
13481 wxString *arg3 = (wxString *) &arg3_defvalue ;
13482 long arg4 = (long) 0 ;
13483 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13484 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13485 wxSize const &arg6_defvalue = wxDefaultSize ;
13486 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13487 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13488 wxString *arg7 = (wxString *) &arg7_defvalue ;
13489 wxDirDialog *result;
13490 bool temp2 = false ;
13491 bool temp3 = false ;
13492 wxPoint temp5 ;
13493 wxSize temp6 ;
13494 bool temp7 = false ;
13495 PyObject * obj0 = 0 ;
13496 PyObject * obj1 = 0 ;
13497 PyObject * obj2 = 0 ;
13498 PyObject * obj3 = 0 ;
13499 PyObject * obj4 = 0 ;
13500 PyObject * obj5 = 0 ;
13501 PyObject * obj6 = 0 ;
13502 char *kwnames[] = {
13503 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13504 };
13505
13506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail;
13509 if (obj1) {
13510 {
13511 arg2 = wxString_in_helper(obj1);
13512 if (arg2 == NULL) SWIG_fail;
13513 temp2 = true;
13514 }
13515 }
13516 if (obj2) {
13517 {
13518 arg3 = wxString_in_helper(obj2);
13519 if (arg3 == NULL) SWIG_fail;
13520 temp3 = true;
13521 }
13522 }
13523 if (obj3) {
13524 {
13525 arg4 = (long)(SWIG_As_long(obj3));
13526 if (SWIG_arg_fail(4)) SWIG_fail;
13527 }
13528 }
13529 if (obj4) {
13530 {
13531 arg5 = &temp5;
13532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13533 }
13534 }
13535 if (obj5) {
13536 {
13537 arg6 = &temp6;
13538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13539 }
13540 }
13541 if (obj6) {
13542 {
13543 arg7 = wxString_in_helper(obj6);
13544 if (arg7 == NULL) SWIG_fail;
13545 temp7 = true;
13546 }
13547 }
13548 {
13549 if (!wxPyCheckForApp()) SWIG_fail;
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13557 {
13558 if (temp2)
13559 delete arg2;
13560 }
13561 {
13562 if (temp3)
13563 delete arg3;
13564 }
13565 {
13566 if (temp7)
13567 delete arg7;
13568 }
13569 return resultobj;
13570 fail:
13571 {
13572 if (temp2)
13573 delete arg2;
13574 }
13575 {
13576 if (temp3)
13577 delete arg3;
13578 }
13579 {
13580 if (temp7)
13581 delete arg7;
13582 }
13583 return NULL;
13584 }
13585
13586
13587 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13590 wxString result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (arg1)->GetPath();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 {
13607 #if wxUSE_UNICODE
13608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13609 #else
13610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13611 #endif
13612 }
13613 return resultobj;
13614 fail:
13615 return NULL;
13616 }
13617
13618
13619 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13622 wxString result;
13623 PyObject * obj0 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13630 if (SWIG_arg_fail(1)) SWIG_fail;
13631 {
13632 PyThreadState* __tstate = wxPyBeginAllowThreads();
13633 result = (arg1)->GetMessage();
13634
13635 wxPyEndAllowThreads(__tstate);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 }
13638 {
13639 #if wxUSE_UNICODE
13640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13641 #else
13642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13643 #endif
13644 }
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13654 long result;
13655 PyObject * obj0 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (long)(arg1)->GetStyle();
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 resultobj = SWIG_From_long((long)(result));
13672 }
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13682 wxString *arg2 = 0 ;
13683 bool temp2 = false ;
13684 PyObject * obj0 = 0 ;
13685 PyObject * obj1 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self",(char *) "message", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
13693 {
13694 arg2 = wxString_in_helper(obj1);
13695 if (arg2 == NULL) SWIG_fail;
13696 temp2 = true;
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 (arg1)->SetMessage((wxString const &)*arg2);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 Py_INCREF(Py_None); resultobj = Py_None;
13706 {
13707 if (temp2)
13708 delete arg2;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp2)
13714 delete arg2;
13715 }
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13723 wxString *arg2 = 0 ;
13724 bool temp2 = false ;
13725 PyObject * obj0 = 0 ;
13726 PyObject * obj1 = 0 ;
13727 char *kwnames[] = {
13728 (char *) "self",(char *) "path", NULL
13729 };
13730
13731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13733 if (SWIG_arg_fail(1)) SWIG_fail;
13734 {
13735 arg2 = wxString_in_helper(obj1);
13736 if (arg2 == NULL) SWIG_fail;
13737 temp2 = true;
13738 }
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 (arg1)->SetPath((wxString const &)*arg2);
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 Py_INCREF(Py_None); resultobj = Py_None;
13747 {
13748 if (temp2)
13749 delete arg2;
13750 }
13751 return resultobj;
13752 fail:
13753 {
13754 if (temp2)
13755 delete arg2;
13756 }
13757 return NULL;
13758 }
13759
13760
13761 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13762 PyObject *obj;
13763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13765 Py_INCREF(obj);
13766 return Py_BuildValue((char *)"");
13767 }
13768 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13769 PyObject *resultobj;
13770 wxWindow *arg1 = (wxWindow *) 0 ;
13771 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13772 wxString *arg2 = (wxString *) &arg2_defvalue ;
13773 wxString const &arg3_defvalue = wxPyEmptyString ;
13774 wxString *arg3 = (wxString *) &arg3_defvalue ;
13775 wxString const &arg4_defvalue = wxPyEmptyString ;
13776 wxString *arg4 = (wxString *) &arg4_defvalue ;
13777 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13778 wxString *arg5 = (wxString *) &arg5_defvalue ;
13779 long arg6 = (long) 0 ;
13780 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13781 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13782 wxFileDialog *result;
13783 bool temp2 = false ;
13784 bool temp3 = false ;
13785 bool temp4 = false ;
13786 bool temp5 = false ;
13787 wxPoint temp7 ;
13788 PyObject * obj0 = 0 ;
13789 PyObject * obj1 = 0 ;
13790 PyObject * obj2 = 0 ;
13791 PyObject * obj3 = 0 ;
13792 PyObject * obj4 = 0 ;
13793 PyObject * obj5 = 0 ;
13794 PyObject * obj6 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13801 if (SWIG_arg_fail(1)) SWIG_fail;
13802 if (obj1) {
13803 {
13804 arg2 = wxString_in_helper(obj1);
13805 if (arg2 == NULL) SWIG_fail;
13806 temp2 = true;
13807 }
13808 }
13809 if (obj2) {
13810 {
13811 arg3 = wxString_in_helper(obj2);
13812 if (arg3 == NULL) SWIG_fail;
13813 temp3 = true;
13814 }
13815 }
13816 if (obj3) {
13817 {
13818 arg4 = wxString_in_helper(obj3);
13819 if (arg4 == NULL) SWIG_fail;
13820 temp4 = true;
13821 }
13822 }
13823 if (obj4) {
13824 {
13825 arg5 = wxString_in_helper(obj4);
13826 if (arg5 == NULL) SWIG_fail;
13827 temp5 = true;
13828 }
13829 }
13830 if (obj5) {
13831 {
13832 arg6 = (long)(SWIG_As_long(obj5));
13833 if (SWIG_arg_fail(6)) SWIG_fail;
13834 }
13835 }
13836 if (obj6) {
13837 {
13838 arg7 = &temp7;
13839 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13840 }
13841 }
13842 {
13843 if (!wxPyCheckForApp()) SWIG_fail;
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
13851 {
13852 if (temp2)
13853 delete arg2;
13854 }
13855 {
13856 if (temp3)
13857 delete arg3;
13858 }
13859 {
13860 if (temp4)
13861 delete arg4;
13862 }
13863 {
13864 if (temp5)
13865 delete arg5;
13866 }
13867 return resultobj;
13868 fail:
13869 {
13870 if (temp2)
13871 delete arg2;
13872 }
13873 {
13874 if (temp3)
13875 delete arg3;
13876 }
13877 {
13878 if (temp4)
13879 delete arg4;
13880 }
13881 {
13882 if (temp5)
13883 delete arg5;
13884 }
13885 return NULL;
13886 }
13887
13888
13889 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13890 PyObject *resultobj;
13891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13892 wxString *arg2 = 0 ;
13893 bool temp2 = false ;
13894 PyObject * obj0 = 0 ;
13895 PyObject * obj1 = 0 ;
13896 char *kwnames[] = {
13897 (char *) "self",(char *) "message", NULL
13898 };
13899
13900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13902 if (SWIG_arg_fail(1)) SWIG_fail;
13903 {
13904 arg2 = wxString_in_helper(obj1);
13905 if (arg2 == NULL) SWIG_fail;
13906 temp2 = true;
13907 }
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 (arg1)->SetMessage((wxString const &)*arg2);
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
13915 Py_INCREF(Py_None); resultobj = Py_None;
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return resultobj;
13921 fail:
13922 {
13923 if (temp2)
13924 delete arg2;
13925 }
13926 return NULL;
13927 }
13928
13929
13930 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13931 PyObject *resultobj;
13932 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13933 wxString *arg2 = 0 ;
13934 bool temp2 = false ;
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self",(char *) "path", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13943 if (SWIG_arg_fail(1)) SWIG_fail;
13944 {
13945 arg2 = wxString_in_helper(obj1);
13946 if (arg2 == NULL) SWIG_fail;
13947 temp2 = true;
13948 }
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 (arg1)->SetPath((wxString const &)*arg2);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 Py_INCREF(Py_None); resultobj = Py_None;
13957 {
13958 if (temp2)
13959 delete arg2;
13960 }
13961 return resultobj;
13962 fail:
13963 {
13964 if (temp2)
13965 delete arg2;
13966 }
13967 return NULL;
13968 }
13969
13970
13971 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13974 wxString *arg2 = 0 ;
13975 bool temp2 = false ;
13976 PyObject * obj0 = 0 ;
13977 PyObject * obj1 = 0 ;
13978 char *kwnames[] = {
13979 (char *) "self",(char *) "dir", NULL
13980 };
13981
13982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
13983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail;
13985 {
13986 arg2 = wxString_in_helper(obj1);
13987 if (arg2 == NULL) SWIG_fail;
13988 temp2 = true;
13989 }
13990 {
13991 PyThreadState* __tstate = wxPyBeginAllowThreads();
13992 (arg1)->SetDirectory((wxString const &)*arg2);
13993
13994 wxPyEndAllowThreads(__tstate);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 Py_INCREF(Py_None); resultobj = Py_None;
13998 {
13999 if (temp2)
14000 delete arg2;
14001 }
14002 return resultobj;
14003 fail:
14004 {
14005 if (temp2)
14006 delete arg2;
14007 }
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14015 wxString *arg2 = 0 ;
14016 bool temp2 = false ;
14017 PyObject * obj0 = 0 ;
14018 PyObject * obj1 = 0 ;
14019 char *kwnames[] = {
14020 (char *) "self",(char *) "name", NULL
14021 };
14022
14023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14025 if (SWIG_arg_fail(1)) SWIG_fail;
14026 {
14027 arg2 = wxString_in_helper(obj1);
14028 if (arg2 == NULL) SWIG_fail;
14029 temp2 = true;
14030 }
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 (arg1)->SetFilename((wxString const &)*arg2);
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 Py_INCREF(Py_None); resultobj = Py_None;
14039 {
14040 if (temp2)
14041 delete arg2;
14042 }
14043 return resultobj;
14044 fail:
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
14049 return NULL;
14050 }
14051
14052
14053 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14054 PyObject *resultobj;
14055 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14056 wxString *arg2 = 0 ;
14057 bool temp2 = false ;
14058 PyObject * obj0 = 0 ;
14059 PyObject * obj1 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "self",(char *) "wildCard", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14066 if (SWIG_arg_fail(1)) SWIG_fail;
14067 {
14068 arg2 = wxString_in_helper(obj1);
14069 if (arg2 == NULL) SWIG_fail;
14070 temp2 = true;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->SetWildcard((wxString const &)*arg2);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp2)
14088 delete arg2;
14089 }
14090 return NULL;
14091 }
14092
14093
14094 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14095 PyObject *resultobj;
14096 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14097 long arg2 ;
14098 PyObject * obj0 = 0 ;
14099 PyObject * obj1 = 0 ;
14100 char *kwnames[] = {
14101 (char *) "self",(char *) "style", NULL
14102 };
14103
14104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14106 if (SWIG_arg_fail(1)) SWIG_fail;
14107 {
14108 arg2 = (long)(SWIG_As_long(obj1));
14109 if (SWIG_arg_fail(2)) SWIG_fail;
14110 }
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->SetStyle(arg2);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14128 int arg2 ;
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "filterIndex", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail;
14138 {
14139 arg2 = (int)(SWIG_As_int(obj1));
14140 if (SWIG_arg_fail(2)) SWIG_fail;
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 (arg1)->SetFilterIndex(arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 Py_INCREF(Py_None); resultobj = Py_None;
14150 return resultobj;
14151 fail:
14152 return NULL;
14153 }
14154
14155
14156 static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
14157 PyObject *resultobj;
14158 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14159 wxString result;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
14166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14167 if (SWIG_arg_fail(1)) SWIG_fail;
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = ((wxFileDialog const *)arg1)->GetMessage();
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 {
14176 #if wxUSE_UNICODE
14177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14178 #else
14179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14180 #endif
14181 }
14182 return resultobj;
14183 fail:
14184 return NULL;
14185 }
14186
14187
14188 static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj;
14190 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14191 wxString result;
14192 PyObject * obj0 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = ((wxFileDialog const *)arg1)->GetPath();
14203
14204 wxPyEndAllowThreads(__tstate);
14205 if (PyErr_Occurred()) SWIG_fail;
14206 }
14207 {
14208 #if wxUSE_UNICODE
14209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14210 #else
14211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14212 #endif
14213 }
14214 return resultobj;
14215 fail:
14216 return NULL;
14217 }
14218
14219
14220 static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj;
14222 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14223 wxString result;
14224 PyObject * obj0 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
14230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14231 if (SWIG_arg_fail(1)) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = ((wxFileDialog const *)arg1)->GetDirectory();
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 {
14240 #if wxUSE_UNICODE
14241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14242 #else
14243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14244 #endif
14245 }
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14255 wxString result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = ((wxFileDialog const *)arg1)->GetFilename();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 #if wxUSE_UNICODE
14273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14274 #else
14275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14276 #endif
14277 }
14278 return resultobj;
14279 fail:
14280 return NULL;
14281 }
14282
14283
14284 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14287 wxString result;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail;
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = ((wxFileDialog const *)arg1)->GetWildcard();
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304 #if wxUSE_UNICODE
14305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14306 #else
14307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14308 #endif
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14319 long result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail;
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 resultobj = SWIG_From_long((long)(result));
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14345 PyObject *resultobj;
14346 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14347 int result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail;
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 {
14364 resultobj = SWIG_From_int((int)(result));
14365 }
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14375 PyObject *result;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14383 if (SWIG_arg_fail(1)) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 resultobj = result;
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14401 PyObject *result;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14409 if (SWIG_arg_fail(1)) SWIG_fail;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = result;
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14425 PyObject *obj;
14426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14427 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14428 Py_INCREF(obj);
14429 return Py_BuildValue((char *)"");
14430 }
14431 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxWindow *arg1 = (wxWindow *) 0 ;
14434 wxString *arg2 = 0 ;
14435 wxString *arg3 = 0 ;
14436 int arg4 = (int) 0 ;
14437 wxString *arg5 = (wxString *) NULL ;
14438 long arg6 = (long) wxCHOICEDLG_STYLE ;
14439 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14440 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14441 wxMultiChoiceDialog *result;
14442 bool temp2 = false ;
14443 bool temp3 = false ;
14444 wxPoint temp7 ;
14445 PyObject * obj0 = 0 ;
14446 PyObject * obj1 = 0 ;
14447 PyObject * obj2 = 0 ;
14448 PyObject * obj3 = 0 ;
14449 PyObject * obj4 = 0 ;
14450 PyObject * obj5 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail;
14458 {
14459 arg2 = wxString_in_helper(obj1);
14460 if (arg2 == NULL) SWIG_fail;
14461 temp2 = true;
14462 }
14463 {
14464 arg3 = wxString_in_helper(obj2);
14465 if (arg3 == NULL) SWIG_fail;
14466 temp3 = true;
14467 }
14468 if (obj3) {
14469 {
14470 arg4 = PyList_Size(obj3);
14471 arg5 = wxString_LIST_helper(obj3);
14472 if (arg5 == NULL) SWIG_fail;
14473 }
14474 }
14475 if (obj4) {
14476 {
14477 arg6 = (long)(SWIG_As_long(obj4));
14478 if (SWIG_arg_fail(6)) SWIG_fail;
14479 }
14480 }
14481 if (obj5) {
14482 {
14483 arg7 = &temp7;
14484 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14485 }
14486 }
14487 {
14488 if (!wxPyCheckForApp()) SWIG_fail;
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14496 {
14497 if (temp2)
14498 delete arg2;
14499 }
14500 {
14501 if (temp3)
14502 delete arg3;
14503 }
14504 {
14505 if (arg5) delete [] arg5;
14506 }
14507 return resultobj;
14508 fail:
14509 {
14510 if (temp2)
14511 delete arg2;
14512 }
14513 {
14514 if (temp3)
14515 delete arg3;
14516 }
14517 {
14518 if (arg5) delete [] arg5;
14519 }
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14527 wxArrayInt *arg2 = 0 ;
14528 bool temp2 = false ;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "selections", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14537 if (SWIG_arg_fail(1)) SWIG_fail;
14538 {
14539 if (! PySequence_Check(obj1)) {
14540 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14541 SWIG_fail;
14542 }
14543 arg2 = new wxArrayInt;
14544 temp2 = true;
14545 int i, len=PySequence_Length(obj1);
14546 for (i=0; i<len; i++) {
14547 PyObject* item = PySequence_GetItem(obj1, i);
14548 PyObject* number = PyNumber_Int(item);
14549 arg2->Add(PyInt_AS_LONG(number));
14550 Py_DECREF(item);
14551 Py_DECREF(number);
14552 }
14553 }
14554 {
14555 PyThreadState* __tstate = wxPyBeginAllowThreads();
14556 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14557
14558 wxPyEndAllowThreads(__tstate);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 Py_INCREF(Py_None); resultobj = Py_None;
14562 {
14563 if (temp2) delete arg2;
14564 }
14565 return resultobj;
14566 fail:
14567 {
14568 if (temp2) delete arg2;
14569 }
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14577 PyObject *result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = result;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14601 PyObject *obj;
14602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14604 Py_INCREF(obj);
14605 return Py_BuildValue((char *)"");
14606 }
14607 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxWindow *arg1 = (wxWindow *) 0 ;
14610 wxString *arg2 = 0 ;
14611 wxString *arg3 = 0 ;
14612 int arg4 ;
14613 wxString *arg5 = (wxString *) 0 ;
14614 long arg6 = (long) wxCHOICEDLG_STYLE ;
14615 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14616 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14617 wxSingleChoiceDialog *result;
14618 bool temp2 = false ;
14619 bool temp3 = false ;
14620 wxPoint temp7 ;
14621 PyObject * obj0 = 0 ;
14622 PyObject * obj1 = 0 ;
14623 PyObject * obj2 = 0 ;
14624 PyObject * obj3 = 0 ;
14625 PyObject * obj4 = 0 ;
14626 PyObject * obj5 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail;
14634 {
14635 arg2 = wxString_in_helper(obj1);
14636 if (arg2 == NULL) SWIG_fail;
14637 temp2 = true;
14638 }
14639 {
14640 arg3 = wxString_in_helper(obj2);
14641 if (arg3 == NULL) SWIG_fail;
14642 temp3 = true;
14643 }
14644 {
14645 arg4 = PyList_Size(obj3);
14646 arg5 = wxString_LIST_helper(obj3);
14647 if (arg5 == NULL) SWIG_fail;
14648 }
14649 if (obj4) {
14650 {
14651 arg6 = (long)(SWIG_As_long(obj4));
14652 if (SWIG_arg_fail(6)) SWIG_fail;
14653 }
14654 }
14655 if (obj5) {
14656 {
14657 arg7 = &temp7;
14658 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14659 }
14660 }
14661 {
14662 if (!wxPyCheckForApp()) SWIG_fail;
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 {
14679 if (arg5) delete [] arg5;
14680 }
14681 return resultobj;
14682 fail:
14683 {
14684 if (temp2)
14685 delete arg2;
14686 }
14687 {
14688 if (temp3)
14689 delete arg3;
14690 }
14691 {
14692 if (arg5) delete [] arg5;
14693 }
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14701 int result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (int)(arg1)->GetSelection();
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 {
14718 resultobj = SWIG_From_int((int)(result));
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723 }
14724
14725
14726 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14729 wxString result;
14730 PyObject * obj0 = 0 ;
14731 char *kwnames[] = {
14732 (char *) "self", NULL
14733 };
14734
14735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail;
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (arg1)->GetStringSelection();
14741
14742 wxPyEndAllowThreads(__tstate);
14743 if (PyErr_Occurred()) SWIG_fail;
14744 }
14745 {
14746 #if wxUSE_UNICODE
14747 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14748 #else
14749 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14750 #endif
14751 }
14752 return resultobj;
14753 fail:
14754 return NULL;
14755 }
14756
14757
14758 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14761 int arg2 ;
14762 PyObject * obj0 = 0 ;
14763 PyObject * obj1 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self",(char *) "sel", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail;
14771 {
14772 arg2 = (int)(SWIG_As_int(obj1));
14773 if (SWIG_arg_fail(2)) SWIG_fail;
14774 }
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 (arg1)->SetSelection(arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 Py_INCREF(Py_None); resultobj = Py_None;
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14790 PyObject *obj;
14791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14792 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14793 Py_INCREF(obj);
14794 return Py_BuildValue((char *)"");
14795 }
14796 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14797 PyObject *resultobj;
14798 wxWindow *arg1 = (wxWindow *) 0 ;
14799 wxString *arg2 = 0 ;
14800 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14801 wxString *arg3 = (wxString *) &arg3_defvalue ;
14802 wxString const &arg4_defvalue = wxPyEmptyString ;
14803 wxString *arg4 = (wxString *) &arg4_defvalue ;
14804 long arg5 = (long) wxTextEntryDialogStyle ;
14805 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14806 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14807 wxTextEntryDialog *result;
14808 bool temp2 = false ;
14809 bool temp3 = false ;
14810 bool temp4 = false ;
14811 wxPoint temp6 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 PyObject * obj2 = 0 ;
14815 PyObject * obj3 = 0 ;
14816 PyObject * obj4 = 0 ;
14817 PyObject * obj5 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail;
14825 {
14826 arg2 = wxString_in_helper(obj1);
14827 if (arg2 == NULL) SWIG_fail;
14828 temp2 = true;
14829 }
14830 if (obj2) {
14831 {
14832 arg3 = wxString_in_helper(obj2);
14833 if (arg3 == NULL) SWIG_fail;
14834 temp3 = true;
14835 }
14836 }
14837 if (obj3) {
14838 {
14839 arg4 = wxString_in_helper(obj3);
14840 if (arg4 == NULL) SWIG_fail;
14841 temp4 = true;
14842 }
14843 }
14844 if (obj4) {
14845 {
14846 arg5 = (long)(SWIG_As_long(obj4));
14847 if (SWIG_arg_fail(5)) SWIG_fail;
14848 }
14849 }
14850 if (obj5) {
14851 {
14852 arg6 = &temp6;
14853 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14854 }
14855 }
14856 {
14857 if (!wxPyCheckForApp()) SWIG_fail;
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
14865 {
14866 if (temp2)
14867 delete arg2;
14868 }
14869 {
14870 if (temp3)
14871 delete arg3;
14872 }
14873 {
14874 if (temp4)
14875 delete arg4;
14876 }
14877 return resultobj;
14878 fail:
14879 {
14880 if (temp2)
14881 delete arg2;
14882 }
14883 {
14884 if (temp3)
14885 delete arg3;
14886 }
14887 {
14888 if (temp4)
14889 delete arg4;
14890 }
14891 return NULL;
14892 }
14893
14894
14895 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14898 wxString result;
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
14905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (arg1)->GetValue();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 {
14915 #if wxUSE_UNICODE
14916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14917 #else
14918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14919 #endif
14920 }
14921 return resultobj;
14922 fail:
14923 return NULL;
14924 }
14925
14926
14927 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14930 wxString *arg2 = 0 ;
14931 bool temp2 = false ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self",(char *) "value", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
14939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail;
14941 {
14942 arg2 = wxString_in_helper(obj1);
14943 if (arg2 == NULL) SWIG_fail;
14944 temp2 = true;
14945 }
14946 {
14947 PyThreadState* __tstate = wxPyBeginAllowThreads();
14948 (arg1)->SetValue((wxString const &)*arg2);
14949
14950 wxPyEndAllowThreads(__tstate);
14951 if (PyErr_Occurred()) SWIG_fail;
14952 }
14953 Py_INCREF(Py_None); resultobj = Py_None;
14954 {
14955 if (temp2)
14956 delete arg2;
14957 }
14958 return resultobj;
14959 fail:
14960 {
14961 if (temp2)
14962 delete arg2;
14963 }
14964 return NULL;
14965 }
14966
14967
14968 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
14969 PyObject *obj;
14970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
14972 Py_INCREF(obj);
14973 return Py_BuildValue((char *)"");
14974 }
14975 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
14976 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
14977 return 1;
14978 }
14979
14980
14981 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
14982 PyObject *pyobj;
14983
14984 {
14985 #if wxUSE_UNICODE
14986 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14987 #else
14988 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14989 #endif
14990 }
14991 return pyobj;
14992 }
14993
14994
14995 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14996 PyObject *resultobj;
14997 wxWindow *arg1 = (wxWindow *) 0 ;
14998 wxString *arg2 = 0 ;
14999 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15000 wxString *arg3 = (wxString *) &arg3_defvalue ;
15001 wxString const &arg4_defvalue = wxPyEmptyString ;
15002 wxString *arg4 = (wxString *) &arg4_defvalue ;
15003 long arg5 = (long) wxTextEntryDialogStyle ;
15004 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15005 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15006 wxPasswordEntryDialog *result;
15007 bool temp2 = false ;
15008 bool temp3 = false ;
15009 bool temp4 = false ;
15010 wxPoint temp6 ;
15011 PyObject * obj0 = 0 ;
15012 PyObject * obj1 = 0 ;
15013 PyObject * obj2 = 0 ;
15014 PyObject * obj3 = 0 ;
15015 PyObject * obj4 = 0 ;
15016 PyObject * obj5 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15023 if (SWIG_arg_fail(1)) SWIG_fail;
15024 {
15025 arg2 = wxString_in_helper(obj1);
15026 if (arg2 == NULL) SWIG_fail;
15027 temp2 = true;
15028 }
15029 if (obj2) {
15030 {
15031 arg3 = wxString_in_helper(obj2);
15032 if (arg3 == NULL) SWIG_fail;
15033 temp3 = true;
15034 }
15035 }
15036 if (obj3) {
15037 {
15038 arg4 = wxString_in_helper(obj3);
15039 if (arg4 == NULL) SWIG_fail;
15040 temp4 = true;
15041 }
15042 }
15043 if (obj4) {
15044 {
15045 arg5 = (long)(SWIG_As_long(obj4));
15046 if (SWIG_arg_fail(5)) SWIG_fail;
15047 }
15048 }
15049 if (obj5) {
15050 {
15051 arg6 = &temp6;
15052 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15053 }
15054 }
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15063 {
15064 if (temp2)
15065 delete arg2;
15066 }
15067 {
15068 if (temp3)
15069 delete arg3;
15070 }
15071 {
15072 if (temp4)
15073 delete arg4;
15074 }
15075 return resultobj;
15076 fail:
15077 {
15078 if (temp2)
15079 delete arg2;
15080 }
15081 {
15082 if (temp3)
15083 delete arg3;
15084 }
15085 {
15086 if (temp4)
15087 delete arg4;
15088 }
15089 return NULL;
15090 }
15091
15092
15093 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15094 PyObject *obj;
15095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15096 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15097 Py_INCREF(obj);
15098 return Py_BuildValue((char *)"");
15099 }
15100 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxFontData *result;
15103 char *kwnames[] = {
15104 NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxFontData *)new wxFontData();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxFontData *arg1 = (wxFontData *) 0 ;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15132 if (SWIG_arg_fail(1)) SWIG_fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 delete arg1;
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxFontData *arg1 = (wxFontData *) 0 ;
15150 bool arg2 ;
15151 PyObject * obj0 = 0 ;
15152 PyObject * obj1 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self",(char *) "enable", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15159 if (SWIG_arg_fail(1)) SWIG_fail;
15160 {
15161 arg2 = (bool)(SWIG_As_bool(obj1));
15162 if (SWIG_arg_fail(2)) SWIG_fail;
15163 }
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->EnableEffects(arg2);
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 Py_INCREF(Py_None); resultobj = Py_None;
15172 return resultobj;
15173 fail:
15174 return NULL;
15175 }
15176
15177
15178 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxFontData *arg1 = (wxFontData *) 0 ;
15181 bool result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail;
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (bool)(arg1)->GetAllowSymbols();
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 {
15198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15199 }
15200 return resultobj;
15201 fail:
15202 return NULL;
15203 }
15204
15205
15206 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15207 PyObject *resultobj;
15208 wxFontData *arg1 = (wxFontData *) 0 ;
15209 wxColour result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail;
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (arg1)->GetColour();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 wxColour * resultptr;
15227 resultptr = new wxColour((wxColour &)(result));
15228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15229 }
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxFontData *arg1 = (wxFontData *) 0 ;
15239 wxFont result;
15240 PyObject * obj0 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15247 if (SWIG_arg_fail(1)) SWIG_fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (arg1)->GetChosenFont();
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 {
15256 wxFont * resultptr;
15257 resultptr = new wxFont((wxFont &)(result));
15258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15259 }
15260 return resultobj;
15261 fail:
15262 return NULL;
15263 }
15264
15265
15266 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxFontData *arg1 = (wxFontData *) 0 ;
15269 bool result;
15270 PyObject * obj0 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail;
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (bool)(arg1)->GetEnableEffects();
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15287 }
15288 return resultobj;
15289 fail:
15290 return NULL;
15291 }
15292
15293
15294 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxFontData *arg1 = (wxFontData *) 0 ;
15297 wxFont result;
15298 PyObject * obj0 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail;
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 result = (arg1)->GetInitialFont();
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 {
15314 wxFont * resultptr;
15315 resultptr = new wxFont((wxFont &)(result));
15316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15317 }
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxFontData *arg1 = (wxFontData *) 0 ;
15327 bool result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
15334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (bool)(arg1)->GetShowHelp();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15345 }
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxFontData *arg1 = (wxFontData *) 0 ;
15355 bool arg2 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "allowSymbols", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
15365 {
15366 arg2 = (bool)(SWIG_As_bool(obj1));
15367 if (SWIG_arg_fail(2)) SWIG_fail;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->SetAllowSymbols(arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxFontData *arg1 = (wxFontData *) 0 ;
15386 wxFont *arg2 = 0 ;
15387 PyObject * obj0 = 0 ;
15388 PyObject * obj1 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self",(char *) "font", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15395 if (SWIG_arg_fail(1)) SWIG_fail;
15396 {
15397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15398 if (SWIG_arg_fail(2)) SWIG_fail;
15399 if (arg2 == NULL) {
15400 SWIG_null_ref("wxFont");
15401 }
15402 if (SWIG_arg_fail(2)) SWIG_fail;
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetChosenFont((wxFont const &)*arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 wxFontData *arg1 = (wxFontData *) 0 ;
15421 wxColour *arg2 = 0 ;
15422 wxColour temp2 ;
15423 PyObject * obj0 = 0 ;
15424 PyObject * obj1 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self",(char *) "colour", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail;
15432 {
15433 arg2 = &temp2;
15434 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15435 }
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 (arg1)->SetColour((wxColour const &)*arg2);
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 Py_INCREF(Py_None); resultobj = Py_None;
15444 return resultobj;
15445 fail:
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxFontData *arg1 = (wxFontData *) 0 ;
15453 wxFont *arg2 = 0 ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "font", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(1)) SWIG_fail;
15463 {
15464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15465 if (SWIG_arg_fail(2)) SWIG_fail;
15466 if (arg2 == NULL) {
15467 SWIG_null_ref("wxFont");
15468 }
15469 if (SWIG_arg_fail(2)) SWIG_fail;
15470 }
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetInitialFont((wxFont const &)*arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxFontData *arg1 = (wxFontData *) 0 ;
15488 int arg2 ;
15489 int arg3 ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self",(char *) "min",(char *) "max", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15499 if (SWIG_arg_fail(1)) SWIG_fail;
15500 {
15501 arg2 = (int)(SWIG_As_int(obj1));
15502 if (SWIG_arg_fail(2)) SWIG_fail;
15503 }
15504 {
15505 arg3 = (int)(SWIG_As_int(obj2));
15506 if (SWIG_arg_fail(3)) SWIG_fail;
15507 }
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetRange(arg2,arg3);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxFontData *arg1 = (wxFontData *) 0 ;
15525 bool arg2 ;
15526 PyObject * obj0 = 0 ;
15527 PyObject * obj1 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "showHelp", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail;
15535 {
15536 arg2 = (bool)(SWIG_As_bool(obj1));
15537 if (SWIG_arg_fail(2)) SWIG_fail;
15538 }
15539 {
15540 PyThreadState* __tstate = wxPyBeginAllowThreads();
15541 (arg1)->SetShowHelp(arg2);
15542
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 Py_INCREF(Py_None); resultobj = Py_None;
15547 return resultobj;
15548 fail:
15549 return NULL;
15550 }
15551
15552
15553 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15554 PyObject *obj;
15555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15556 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15557 Py_INCREF(obj);
15558 return Py_BuildValue((char *)"");
15559 }
15560 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxWindow *arg1 = (wxWindow *) 0 ;
15563 wxFontData *arg2 = 0 ;
15564 wxFontDialog *result;
15565 PyObject * obj0 = 0 ;
15566 PyObject * obj1 = 0 ;
15567 char *kwnames[] = {
15568 (char *) "parent",(char *) "data", NULL
15569 };
15570
15571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15573 if (SWIG_arg_fail(1)) SWIG_fail;
15574 {
15575 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15576 if (SWIG_arg_fail(2)) SWIG_fail;
15577 if (arg2 == NULL) {
15578 SWIG_null_ref("wxFontData");
15579 }
15580 if (SWIG_arg_fail(2)) SWIG_fail;
15581 }
15582 {
15583 if (!wxPyCheckForApp()) SWIG_fail;
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15600 wxFontData *result;
15601 PyObject * obj0 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15608 if (SWIG_arg_fail(1)) SWIG_fail;
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 {
15612 wxFontData &_result_ref = (arg1)->GetFontData();
15613 result = (wxFontData *) &_result_ref;
15614 }
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15627 PyObject *obj;
15628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15629 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15630 Py_INCREF(obj);
15631 return Py_BuildValue((char *)"");
15632 }
15633 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxWindow *arg1 = (wxWindow *) 0 ;
15636 wxString *arg2 = 0 ;
15637 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15638 wxString *arg3 = (wxString *) &arg3_defvalue ;
15639 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15640 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15641 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15642 wxMessageDialog *result;
15643 bool temp2 = false ;
15644 bool temp3 = false ;
15645 wxPoint temp5 ;
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 PyObject * obj2 = 0 ;
15649 PyObject * obj3 = 0 ;
15650 PyObject * obj4 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
15661 temp2 = true;
15662 }
15663 if (obj2) {
15664 {
15665 arg3 = wxString_in_helper(obj2);
15666 if (arg3 == NULL) SWIG_fail;
15667 temp3 = true;
15668 }
15669 }
15670 if (obj3) {
15671 {
15672 arg4 = (long)(SWIG_As_long(obj3));
15673 if (SWIG_arg_fail(4)) SWIG_fail;
15674 }
15675 }
15676 if (obj4) {
15677 {
15678 arg5 = &temp5;
15679 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15680 }
15681 }
15682 {
15683 if (!wxPyCheckForApp()) SWIG_fail;
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15686
15687 wxPyEndAllowThreads(__tstate);
15688 if (PyErr_Occurred()) SWIG_fail;
15689 }
15690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15691 {
15692 if (temp2)
15693 delete arg2;
15694 }
15695 {
15696 if (temp3)
15697 delete arg3;
15698 }
15699 return resultobj;
15700 fail:
15701 {
15702 if (temp2)
15703 delete arg2;
15704 }
15705 {
15706 if (temp3)
15707 delete arg3;
15708 }
15709 return NULL;
15710 }
15711
15712
15713 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15714 PyObject *obj;
15715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15717 Py_INCREF(obj);
15718 return Py_BuildValue((char *)"");
15719 }
15720 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15721 PyObject *resultobj;
15722 wxString *arg1 = 0 ;
15723 wxString *arg2 = 0 ;
15724 int arg3 = (int) 100 ;
15725 wxWindow *arg4 = (wxWindow *) NULL ;
15726 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15727 wxProgressDialog *result;
15728 bool temp1 = false ;
15729 bool temp2 = false ;
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 PyObject * obj2 = 0 ;
15733 PyObject * obj3 = 0 ;
15734 PyObject * obj4 = 0 ;
15735 char *kwnames[] = {
15736 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15737 };
15738
15739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15740 {
15741 arg1 = wxString_in_helper(obj0);
15742 if (arg1 == NULL) SWIG_fail;
15743 temp1 = true;
15744 }
15745 {
15746 arg2 = wxString_in_helper(obj1);
15747 if (arg2 == NULL) SWIG_fail;
15748 temp2 = true;
15749 }
15750 if (obj2) {
15751 {
15752 arg3 = (int)(SWIG_As_int(obj2));
15753 if (SWIG_arg_fail(3)) SWIG_fail;
15754 }
15755 }
15756 if (obj3) {
15757 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15758 if (SWIG_arg_fail(4)) SWIG_fail;
15759 }
15760 if (obj4) {
15761 {
15762 arg5 = (int)(SWIG_As_int(obj4));
15763 if (SWIG_arg_fail(5)) SWIG_fail;
15764 }
15765 }
15766 {
15767 if (!wxPyCheckForApp()) SWIG_fail;
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15770
15771 wxPyEndAllowThreads(__tstate);
15772 if (PyErr_Occurred()) SWIG_fail;
15773 }
15774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15775 {
15776 if (temp1)
15777 delete arg1;
15778 }
15779 {
15780 if (temp2)
15781 delete arg2;
15782 }
15783 return resultobj;
15784 fail:
15785 {
15786 if (temp1)
15787 delete arg1;
15788 }
15789 {
15790 if (temp2)
15791 delete arg2;
15792 }
15793 return NULL;
15794 }
15795
15796
15797 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15800 int arg2 ;
15801 wxString const &arg3_defvalue = wxPyEmptyString ;
15802 wxString *arg3 = (wxString *) &arg3_defvalue ;
15803 bool result;
15804 bool temp3 = false ;
15805 PyObject * obj0 = 0 ;
15806 PyObject * obj1 = 0 ;
15807 PyObject * obj2 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15814 if (SWIG_arg_fail(1)) SWIG_fail;
15815 {
15816 arg2 = (int)(SWIG_As_int(obj1));
15817 if (SWIG_arg_fail(2)) SWIG_fail;
15818 }
15819 if (obj2) {
15820 {
15821 arg3 = wxString_in_helper(obj2);
15822 if (arg3 == NULL) SWIG_fail;
15823 temp3 = true;
15824 }
15825 }
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 {
15834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15835 }
15836 {
15837 if (temp3)
15838 delete arg3;
15839 }
15840 return resultobj;
15841 fail:
15842 {
15843 if (temp3)
15844 delete arg3;
15845 }
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15853 PyObject * obj0 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail;
15861 {
15862 PyThreadState* __tstate = wxPyBeginAllowThreads();
15863 (arg1)->Resume();
15864
15865 wxPyEndAllowThreads(__tstate);
15866 if (PyErr_Occurred()) SWIG_fail;
15867 }
15868 Py_INCREF(Py_None); resultobj = Py_None;
15869 return resultobj;
15870 fail:
15871 return NULL;
15872 }
15873
15874
15875 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
15876 PyObject *obj;
15877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15878 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15879 Py_INCREF(obj);
15880 return Py_BuildValue((char *)"");
15881 }
15882 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15883 PyObject *resultobj;
15884 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15885 int arg2 = (int) 0 ;
15886 wxFindDialogEvent *result;
15887 PyObject * obj0 = 0 ;
15888 PyObject * obj1 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "commandType",(char *) "id", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15894 if (obj0) {
15895 {
15896 arg1 = (wxEventType)(SWIG_As_int(obj0));
15897 if (SWIG_arg_fail(1)) SWIG_fail;
15898 }
15899 }
15900 if (obj1) {
15901 {
15902 arg2 = (int)(SWIG_As_int(obj1));
15903 if (SWIG_arg_fail(2)) SWIG_fail;
15904 }
15905 }
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15923 int result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
15930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (int)(arg1)->GetFlags();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 {
15940 resultobj = SWIG_From_int((int)(result));
15941 }
15942 return resultobj;
15943 fail:
15944 return NULL;
15945 }
15946
15947
15948 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
15949 PyObject *resultobj;
15950 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15951 wxString *result;
15952 PyObject * obj0 = 0 ;
15953 char *kwnames[] = {
15954 (char *) "self", NULL
15955 };
15956
15957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
15958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail;
15960 {
15961 PyThreadState* __tstate = wxPyBeginAllowThreads();
15962 {
15963 wxString const &_result_ref = (arg1)->GetFindString();
15964 result = (wxString *) &_result_ref;
15965 }
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 {
15971 #if wxUSE_UNICODE
15972 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15973 #else
15974 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15975 #endif
15976 }
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15986 wxString *result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
15993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15994 if (SWIG_arg_fail(1)) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 {
15998 wxString const &_result_ref = (arg1)->GetReplaceString();
15999 result = (wxString *) &_result_ref;
16000 }
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 {
16006 #if wxUSE_UNICODE
16007 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16008 #else
16009 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16010 #endif
16011 }
16012 return resultobj;
16013 fail:
16014 return NULL;
16015 }
16016
16017
16018 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16019 PyObject *resultobj;
16020 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16021 wxFindReplaceDialog *result;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail;
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16047 int arg2 ;
16048 PyObject * obj0 = 0 ;
16049 PyObject * obj1 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self",(char *) "flags", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail;
16057 {
16058 arg2 = (int)(SWIG_As_int(obj1));
16059 if (SWIG_arg_fail(2)) SWIG_fail;
16060 }
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->SetFlags(arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16078 wxString *arg2 = 0 ;
16079 bool temp2 = false ;
16080 PyObject * obj0 = 0 ;
16081 PyObject * obj1 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self",(char *) "str", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16088 if (SWIG_arg_fail(1)) SWIG_fail;
16089 {
16090 arg2 = wxString_in_helper(obj1);
16091 if (arg2 == NULL) SWIG_fail;
16092 temp2 = true;
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 (arg1)->SetFindString((wxString const &)*arg2);
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 Py_INCREF(Py_None); resultobj = Py_None;
16102 {
16103 if (temp2)
16104 delete arg2;
16105 }
16106 return resultobj;
16107 fail:
16108 {
16109 if (temp2)
16110 delete arg2;
16111 }
16112 return NULL;
16113 }
16114
16115
16116 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16119 wxString *arg2 = 0 ;
16120 bool temp2 = false ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 char *kwnames[] = {
16124 (char *) "self",(char *) "str", NULL
16125 };
16126
16127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16129 if (SWIG_arg_fail(1)) SWIG_fail;
16130 {
16131 arg2 = wxString_in_helper(obj1);
16132 if (arg2 == NULL) SWIG_fail;
16133 temp2 = true;
16134 }
16135 {
16136 PyThreadState* __tstate = wxPyBeginAllowThreads();
16137 (arg1)->SetReplaceString((wxString const &)*arg2);
16138
16139 wxPyEndAllowThreads(__tstate);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 Py_INCREF(Py_None); resultobj = Py_None;
16143 {
16144 if (temp2)
16145 delete arg2;
16146 }
16147 return resultobj;
16148 fail:
16149 {
16150 if (temp2)
16151 delete arg2;
16152 }
16153 return NULL;
16154 }
16155
16156
16157 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16158 PyObject *obj;
16159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16160 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16161 Py_INCREF(obj);
16162 return Py_BuildValue((char *)"");
16163 }
16164 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 int arg1 = (int) 0 ;
16167 wxFindReplaceData *result;
16168 PyObject * obj0 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "flags", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16174 if (obj0) {
16175 {
16176 arg1 = (int)(SWIG_As_int(obj0));
16177 if (SWIG_arg_fail(1)) SWIG_fail;
16178 }
16179 }
16180 {
16181 PyThreadState* __tstate = wxPyBeginAllowThreads();
16182 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16183
16184 wxPyEndAllowThreads(__tstate);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 }
16187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
16203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail;
16205 {
16206 PyThreadState* __tstate = wxPyBeginAllowThreads();
16207 delete arg1;
16208
16209 wxPyEndAllowThreads(__tstate);
16210 if (PyErr_Occurred()) SWIG_fail;
16211 }
16212 Py_INCREF(Py_None); resultobj = Py_None;
16213 return resultobj;
16214 fail:
16215 return NULL;
16216 }
16217
16218
16219 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16222 wxString *result;
16223 PyObject * obj0 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16230 if (SWIG_arg_fail(1)) SWIG_fail;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 {
16234 wxString const &_result_ref = (arg1)->GetFindString();
16235 result = (wxString *) &_result_ref;
16236 }
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 {
16242 #if wxUSE_UNICODE
16243 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16244 #else
16245 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16246 #endif
16247 }
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16257 wxString *result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
16264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16265 if (SWIG_arg_fail(1)) SWIG_fail;
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 {
16269 wxString const &_result_ref = (arg1)->GetReplaceString();
16270 result = (wxString *) &_result_ref;
16271 }
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 {
16277 #if wxUSE_UNICODE
16278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16279 #else
16280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16281 #endif
16282 }
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16292 int result;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (int)(arg1)->GetFlags();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 resultobj = SWIG_From_int((int)(result));
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314 }
16315
16316
16317 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16320 int arg2 ;
16321 PyObject * obj0 = 0 ;
16322 PyObject * obj1 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self",(char *) "flags", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail;
16330 {
16331 arg2 = (int)(SWIG_As_int(obj1));
16332 if (SWIG_arg_fail(2)) SWIG_fail;
16333 }
16334 {
16335 PyThreadState* __tstate = wxPyBeginAllowThreads();
16336 (arg1)->SetFlags(arg2);
16337
16338 wxPyEndAllowThreads(__tstate);
16339 if (PyErr_Occurred()) SWIG_fail;
16340 }
16341 Py_INCREF(Py_None); resultobj = Py_None;
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16351 wxString *arg2 = 0 ;
16352 bool temp2 = false ;
16353 PyObject * obj0 = 0 ;
16354 PyObject * obj1 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self",(char *) "str", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail;
16362 {
16363 arg2 = wxString_in_helper(obj1);
16364 if (arg2 == NULL) SWIG_fail;
16365 temp2 = true;
16366 }
16367 {
16368 PyThreadState* __tstate = wxPyBeginAllowThreads();
16369 (arg1)->SetFindString((wxString const &)*arg2);
16370
16371 wxPyEndAllowThreads(__tstate);
16372 if (PyErr_Occurred()) SWIG_fail;
16373 }
16374 Py_INCREF(Py_None); resultobj = Py_None;
16375 {
16376 if (temp2)
16377 delete arg2;
16378 }
16379 return resultobj;
16380 fail:
16381 {
16382 if (temp2)
16383 delete arg2;
16384 }
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16392 wxString *arg2 = 0 ;
16393 bool temp2 = false ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self",(char *) "str", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail;
16403 {
16404 arg2 = wxString_in_helper(obj1);
16405 if (arg2 == NULL) SWIG_fail;
16406 temp2 = true;
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 (arg1)->SetReplaceString((wxString const &)*arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 Py_INCREF(Py_None); resultobj = Py_None;
16416 {
16417 if (temp2)
16418 delete arg2;
16419 }
16420 return resultobj;
16421 fail:
16422 {
16423 if (temp2)
16424 delete arg2;
16425 }
16426 return NULL;
16427 }
16428
16429
16430 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16431 PyObject *obj;
16432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16434 Py_INCREF(obj);
16435 return Py_BuildValue((char *)"");
16436 }
16437 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxWindow *arg1 = (wxWindow *) 0 ;
16440 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16441 wxString *arg3 = 0 ;
16442 int arg4 = (int) 0 ;
16443 wxFindReplaceDialog *result;
16444 bool temp3 = false ;
16445 PyObject * obj0 = 0 ;
16446 PyObject * obj1 = 0 ;
16447 PyObject * obj2 = 0 ;
16448 PyObject * obj3 = 0 ;
16449 char *kwnames[] = {
16450 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16451 };
16452
16453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16455 if (SWIG_arg_fail(1)) SWIG_fail;
16456 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16457 if (SWIG_arg_fail(2)) SWIG_fail;
16458 {
16459 arg3 = wxString_in_helper(obj2);
16460 if (arg3 == NULL) SWIG_fail;
16461 temp3 = true;
16462 }
16463 if (obj3) {
16464 {
16465 arg4 = (int)(SWIG_As_int(obj3));
16466 if (SWIG_arg_fail(4)) SWIG_fail;
16467 }
16468 }
16469 {
16470 if (!wxPyCheckForApp()) SWIG_fail;
16471 PyThreadState* __tstate = wxPyBeginAllowThreads();
16472 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16473
16474 wxPyEndAllowThreads(__tstate);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16478 {
16479 if (temp3)
16480 delete arg3;
16481 }
16482 return resultobj;
16483 fail:
16484 {
16485 if (temp3)
16486 delete arg3;
16487 }
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxFindReplaceDialog *result;
16495 char *kwnames[] = {
16496 NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16500 {
16501 if (!wxPyCheckForApp()) SWIG_fail;
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16518 wxWindow *arg2 = (wxWindow *) 0 ;
16519 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16520 wxString *arg4 = 0 ;
16521 int arg5 = (int) 0 ;
16522 bool result;
16523 bool temp4 = false ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 PyObject * obj2 = 0 ;
16527 PyObject * obj3 = 0 ;
16528 PyObject * obj4 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail;
16536 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16537 if (SWIG_arg_fail(2)) SWIG_fail;
16538 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16539 if (SWIG_arg_fail(3)) SWIG_fail;
16540 {
16541 arg4 = wxString_in_helper(obj3);
16542 if (arg4 == NULL) SWIG_fail;
16543 temp4 = true;
16544 }
16545 if (obj4) {
16546 {
16547 arg5 = (int)(SWIG_As_int(obj4));
16548 if (SWIG_arg_fail(5)) SWIG_fail;
16549 }
16550 }
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16560 }
16561 {
16562 if (temp4)
16563 delete arg4;
16564 }
16565 return resultobj;
16566 fail:
16567 {
16568 if (temp4)
16569 delete arg4;
16570 }
16571 return NULL;
16572 }
16573
16574
16575 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16578 wxFindReplaceData *result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail;
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (wxFindReplaceData *)(arg1)->GetData();
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16595 return resultobj;
16596 fail:
16597 return NULL;
16598 }
16599
16600
16601 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16604 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "data", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail;
16614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 (arg1)->SetData(arg2);
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16631 PyObject *obj;
16632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16634 Py_INCREF(obj);
16635 return Py_BuildValue((char *)"");
16636 }
16637 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxWindow *arg1 = (wxWindow *) 0 ;
16640 int arg2 = (int) (int)-1 ;
16641 wxString const &arg3_defvalue = wxPyEmptyString ;
16642 wxString *arg3 = (wxString *) &arg3_defvalue ;
16643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16645 wxSize const &arg5_defvalue = wxDefaultSize ;
16646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16647 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16648 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16649 wxString *arg7 = (wxString *) &arg7_defvalue ;
16650 wxMDIParentFrame *result;
16651 bool temp3 = false ;
16652 wxPoint temp4 ;
16653 wxSize temp5 ;
16654 bool temp7 = false ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 PyObject * obj3 = 0 ;
16659 PyObject * obj4 = 0 ;
16660 PyObject * obj5 = 0 ;
16661 PyObject * obj6 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16668 if (SWIG_arg_fail(1)) SWIG_fail;
16669 if (obj1) {
16670 {
16671 arg2 = (int const)(SWIG_As_int(obj1));
16672 if (SWIG_arg_fail(2)) SWIG_fail;
16673 }
16674 }
16675 if (obj2) {
16676 {
16677 arg3 = wxString_in_helper(obj2);
16678 if (arg3 == NULL) SWIG_fail;
16679 temp3 = true;
16680 }
16681 }
16682 if (obj3) {
16683 {
16684 arg4 = &temp4;
16685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16686 }
16687 }
16688 if (obj4) {
16689 {
16690 arg5 = &temp5;
16691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16692 }
16693 }
16694 if (obj5) {
16695 {
16696 arg6 = (long)(SWIG_As_long(obj5));
16697 if (SWIG_arg_fail(6)) SWIG_fail;
16698 }
16699 }
16700 if (obj6) {
16701 {
16702 arg7 = wxString_in_helper(obj6);
16703 if (arg7 == NULL) SWIG_fail;
16704 temp7 = true;
16705 }
16706 }
16707 {
16708 if (!wxPyCheckForApp()) SWIG_fail;
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16716 {
16717 if (temp3)
16718 delete arg3;
16719 }
16720 {
16721 if (temp7)
16722 delete arg7;
16723 }
16724 return resultobj;
16725 fail:
16726 {
16727 if (temp3)
16728 delete arg3;
16729 }
16730 {
16731 if (temp7)
16732 delete arg7;
16733 }
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxMDIParentFrame *result;
16741 char *kwnames[] = {
16742 NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16746 {
16747 if (!wxPyCheckForApp()) SWIG_fail;
16748 PyThreadState* __tstate = wxPyBeginAllowThreads();
16749 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16750
16751 wxPyEndAllowThreads(__tstate);
16752 if (PyErr_Occurred()) SWIG_fail;
16753 }
16754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16755 return resultobj;
16756 fail:
16757 return NULL;
16758 }
16759
16760
16761 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16762 PyObject *resultobj;
16763 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16764 wxWindow *arg2 = (wxWindow *) 0 ;
16765 int arg3 = (int) (int)-1 ;
16766 wxString const &arg4_defvalue = wxPyEmptyString ;
16767 wxString *arg4 = (wxString *) &arg4_defvalue ;
16768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16770 wxSize const &arg6_defvalue = wxDefaultSize ;
16771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16772 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16773 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16774 wxString *arg8 = (wxString *) &arg8_defvalue ;
16775 bool result;
16776 bool temp4 = false ;
16777 wxPoint temp5 ;
16778 wxSize temp6 ;
16779 bool temp8 = false ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 PyObject * obj2 = 0 ;
16783 PyObject * obj3 = 0 ;
16784 PyObject * obj4 = 0 ;
16785 PyObject * obj5 = 0 ;
16786 PyObject * obj6 = 0 ;
16787 PyObject * obj7 = 0 ;
16788 char *kwnames[] = {
16789 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16790 };
16791
16792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail;
16795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16796 if (SWIG_arg_fail(2)) SWIG_fail;
16797 if (obj2) {
16798 {
16799 arg3 = (int const)(SWIG_As_int(obj2));
16800 if (SWIG_arg_fail(3)) SWIG_fail;
16801 }
16802 }
16803 if (obj3) {
16804 {
16805 arg4 = wxString_in_helper(obj3);
16806 if (arg4 == NULL) SWIG_fail;
16807 temp4 = true;
16808 }
16809 }
16810 if (obj4) {
16811 {
16812 arg5 = &temp5;
16813 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16814 }
16815 }
16816 if (obj5) {
16817 {
16818 arg6 = &temp6;
16819 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16820 }
16821 }
16822 if (obj6) {
16823 {
16824 arg7 = (long)(SWIG_As_long(obj6));
16825 if (SWIG_arg_fail(7)) SWIG_fail;
16826 }
16827 }
16828 if (obj7) {
16829 {
16830 arg8 = wxString_in_helper(obj7);
16831 if (arg8 == NULL) SWIG_fail;
16832 temp8 = true;
16833 }
16834 }
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 {
16843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16844 }
16845 {
16846 if (temp4)
16847 delete arg4;
16848 }
16849 {
16850 if (temp8)
16851 delete arg8;
16852 }
16853 return resultobj;
16854 fail:
16855 {
16856 if (temp4)
16857 delete arg4;
16858 }
16859 {
16860 if (temp8)
16861 delete arg8;
16862 }
16863 return NULL;
16864 }
16865
16866
16867 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
16868 PyObject *resultobj;
16869 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
16876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16877 if (SWIG_arg_fail(1)) SWIG_fail;
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->ActivateNext();
16881
16882 wxPyEndAllowThreads(__tstate);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 }
16885 Py_INCREF(Py_None); resultobj = Py_None;
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj;
16894 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
16901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16902 if (SWIG_arg_fail(1)) SWIG_fail;
16903 {
16904 PyThreadState* __tstate = wxPyBeginAllowThreads();
16905 (arg1)->ActivatePrevious();
16906
16907 wxPyEndAllowThreads(__tstate);
16908 if (PyErr_Occurred()) SWIG_fail;
16909 }
16910 Py_INCREF(Py_None); resultobj = Py_None;
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16920 PyObject * obj0 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "self", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
16926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16927 if (SWIG_arg_fail(1)) SWIG_fail;
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 (arg1)->ArrangeIcons();
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
16951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 (arg1)->Cascade();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 Py_INCREF(Py_None); resultobj = Py_None;
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16970 wxMDIChildFrame *result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
16977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail;
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 resultobj = wxPyMake_wxObject(result, 0);
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16998 wxMDIClientWindow *result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
17015 resultobj = wxPyMake_wxObject(result, 0);
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17026 wxWindow *result;
17027 PyObject * obj0 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail;
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 result = (wxWindow *)(arg1)->GetToolBar();
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 {
17043 resultobj = wxPyMake_wxObject(result, 0);
17044 }
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17052 PyObject *resultobj;
17053 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17054 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
17055 PyObject * obj0 = 0 ;
17056 PyObject * obj1 = 0 ;
17057 char *kwnames[] = {
17058 (char *) "self",(char *) "orient", NULL
17059 };
17060
17061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
17062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17063 if (SWIG_arg_fail(1)) SWIG_fail;
17064 if (obj1) {
17065 {
17066 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17067 if (SWIG_arg_fail(2)) SWIG_fail;
17068 }
17069 }
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->Tile((wxOrientation )arg2);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081 }
17082
17083
17084 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17085 PyObject *obj;
17086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17087 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17088 Py_INCREF(obj);
17089 return Py_BuildValue((char *)"");
17090 }
17091 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17094 int arg2 = (int) (int)-1 ;
17095 wxString const &arg3_defvalue = wxPyEmptyString ;
17096 wxString *arg3 = (wxString *) &arg3_defvalue ;
17097 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17098 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17099 wxSize const &arg5_defvalue = wxDefaultSize ;
17100 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17101 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17102 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17103 wxString *arg7 = (wxString *) &arg7_defvalue ;
17104 wxMDIChildFrame *result;
17105 bool temp3 = false ;
17106 wxPoint temp4 ;
17107 wxSize temp5 ;
17108 bool temp7 = false ;
17109 PyObject * obj0 = 0 ;
17110 PyObject * obj1 = 0 ;
17111 PyObject * obj2 = 0 ;
17112 PyObject * obj3 = 0 ;
17113 PyObject * obj4 = 0 ;
17114 PyObject * obj5 = 0 ;
17115 PyObject * obj6 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail;
17123 if (obj1) {
17124 {
17125 arg2 = (int const)(SWIG_As_int(obj1));
17126 if (SWIG_arg_fail(2)) SWIG_fail;
17127 }
17128 }
17129 if (obj2) {
17130 {
17131 arg3 = wxString_in_helper(obj2);
17132 if (arg3 == NULL) SWIG_fail;
17133 temp3 = true;
17134 }
17135 }
17136 if (obj3) {
17137 {
17138 arg4 = &temp4;
17139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17140 }
17141 }
17142 if (obj4) {
17143 {
17144 arg5 = &temp5;
17145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17146 }
17147 }
17148 if (obj5) {
17149 {
17150 arg6 = (long)(SWIG_As_long(obj5));
17151 if (SWIG_arg_fail(6)) SWIG_fail;
17152 }
17153 }
17154 if (obj6) {
17155 {
17156 arg7 = wxString_in_helper(obj6);
17157 if (arg7 == NULL) SWIG_fail;
17158 temp7 = true;
17159 }
17160 }
17161 {
17162 if (!wxPyCheckForApp()) SWIG_fail;
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17170 {
17171 if (temp3)
17172 delete arg3;
17173 }
17174 {
17175 if (temp7)
17176 delete arg7;
17177 }
17178 return resultobj;
17179 fail:
17180 {
17181 if (temp3)
17182 delete arg3;
17183 }
17184 {
17185 if (temp7)
17186 delete arg7;
17187 }
17188 return NULL;
17189 }
17190
17191
17192 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxMDIChildFrame *result;
17195 char *kwnames[] = {
17196 NULL
17197 };
17198
17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17200 {
17201 if (!wxPyCheckForApp()) SWIG_fail;
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17209 return resultobj;
17210 fail:
17211 return NULL;
17212 }
17213
17214
17215 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17218 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17219 int arg3 = (int) (int)-1 ;
17220 wxString const &arg4_defvalue = wxPyEmptyString ;
17221 wxString *arg4 = (wxString *) &arg4_defvalue ;
17222 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17223 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17224 wxSize const &arg6_defvalue = wxDefaultSize ;
17225 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17226 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17227 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17228 wxString *arg8 = (wxString *) &arg8_defvalue ;
17229 bool result;
17230 bool temp4 = false ;
17231 wxPoint temp5 ;
17232 wxSize temp6 ;
17233 bool temp8 = false ;
17234 PyObject * obj0 = 0 ;
17235 PyObject * obj1 = 0 ;
17236 PyObject * obj2 = 0 ;
17237 PyObject * obj3 = 0 ;
17238 PyObject * obj4 = 0 ;
17239 PyObject * obj5 = 0 ;
17240 PyObject * obj6 = 0 ;
17241 PyObject * obj7 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17248 if (SWIG_arg_fail(1)) SWIG_fail;
17249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17250 if (SWIG_arg_fail(2)) SWIG_fail;
17251 if (obj2) {
17252 {
17253 arg3 = (int const)(SWIG_As_int(obj2));
17254 if (SWIG_arg_fail(3)) SWIG_fail;
17255 }
17256 }
17257 if (obj3) {
17258 {
17259 arg4 = wxString_in_helper(obj3);
17260 if (arg4 == NULL) SWIG_fail;
17261 temp4 = true;
17262 }
17263 }
17264 if (obj4) {
17265 {
17266 arg5 = &temp5;
17267 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17268 }
17269 }
17270 if (obj5) {
17271 {
17272 arg6 = &temp6;
17273 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17274 }
17275 }
17276 if (obj6) {
17277 {
17278 arg7 = (long)(SWIG_As_long(obj6));
17279 if (SWIG_arg_fail(7)) SWIG_fail;
17280 }
17281 }
17282 if (obj7) {
17283 {
17284 arg8 = wxString_in_helper(obj7);
17285 if (arg8 == NULL) SWIG_fail;
17286 temp8 = true;
17287 }
17288 }
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 {
17297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17298 }
17299 {
17300 if (temp4)
17301 delete arg4;
17302 }
17303 {
17304 if (temp8)
17305 delete arg8;
17306 }
17307 return resultobj;
17308 fail:
17309 {
17310 if (temp4)
17311 delete arg4;
17312 }
17313 {
17314 if (temp8)
17315 delete arg8;
17316 }
17317 return NULL;
17318 }
17319
17320
17321 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17331 if (SWIG_arg_fail(1)) SWIG_fail;
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 (arg1)->Activate();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 Py_INCREF(Py_None); resultobj = Py_None;
17340 return resultobj;
17341 fail:
17342 return NULL;
17343 }
17344
17345
17346 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17349 bool arg2 = (bool) true ;
17350 PyObject * obj0 = 0 ;
17351 PyObject * obj1 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "self",(char *) "maximize", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail;
17359 if (obj1) {
17360 {
17361 arg2 = (bool)(SWIG_As_bool(obj1));
17362 if (SWIG_arg_fail(2)) SWIG_fail;
17363 }
17364 }
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 (arg1)->Maximize(arg2);
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 Py_INCREF(Py_None); resultobj = Py_None;
17373 return resultobj;
17374 fail:
17375 return NULL;
17376 }
17377
17378
17379 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17382 PyObject * obj0 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail;
17390 {
17391 PyThreadState* __tstate = wxPyBeginAllowThreads();
17392 (arg1)->Restore();
17393
17394 wxPyEndAllowThreads(__tstate);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 Py_INCREF(Py_None); resultobj = Py_None;
17398 return resultobj;
17399 fail:
17400 return NULL;
17401 }
17402
17403
17404 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17405 PyObject *obj;
17406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17407 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17408 Py_INCREF(obj);
17409 return Py_BuildValue((char *)"");
17410 }
17411 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17414 long arg2 = (long) 0 ;
17415 wxMDIClientWindow *result;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "parent",(char *) "style", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail;
17425 if (obj1) {
17426 {
17427 arg2 = (long)(SWIG_As_long(obj1));
17428 if (SWIG_arg_fail(2)) SWIG_fail;
17429 }
17430 }
17431 {
17432 if (!wxPyCheckForApp()) SWIG_fail;
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxMDIClientWindow *result;
17449 char *kwnames[] = {
17450 NULL
17451 };
17452
17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17454 {
17455 if (!wxPyCheckForApp()) SWIG_fail;
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17463 return resultobj;
17464 fail:
17465 return NULL;
17466 }
17467
17468
17469 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17470 PyObject *resultobj;
17471 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17472 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17473 long arg3 = (long) 0 ;
17474 bool result;
17475 PyObject * obj0 = 0 ;
17476 PyObject * obj1 = 0 ;
17477 PyObject * obj2 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self",(char *) "parent",(char *) "style", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail;
17485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17486 if (SWIG_arg_fail(2)) SWIG_fail;
17487 if (obj2) {
17488 {
17489 arg3 = (long)(SWIG_As_long(obj2));
17490 if (SWIG_arg_fail(3)) SWIG_fail;
17491 }
17492 }
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)(arg1)->Create(arg2,arg3);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17510 PyObject *obj;
17511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17513 Py_INCREF(obj);
17514 return Py_BuildValue((char *)"");
17515 }
17516 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 wxWindow *arg1 = (wxWindow *) 0 ;
17519 int arg2 = (int) (int)-1 ;
17520 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17521 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17522 wxSize const &arg4_defvalue = wxDefaultSize ;
17523 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17524 long arg5 = (long) 0 ;
17525 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17526 wxString *arg6 = (wxString *) &arg6_defvalue ;
17527 wxPyWindow *result;
17528 wxPoint temp3 ;
17529 wxSize temp4 ;
17530 bool temp6 = false ;
17531 PyObject * obj0 = 0 ;
17532 PyObject * obj1 = 0 ;
17533 PyObject * obj2 = 0 ;
17534 PyObject * obj3 = 0 ;
17535 PyObject * obj4 = 0 ;
17536 PyObject * obj5 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail;
17544 if (obj1) {
17545 {
17546 arg2 = (int const)(SWIG_As_int(obj1));
17547 if (SWIG_arg_fail(2)) SWIG_fail;
17548 }
17549 }
17550 if (obj2) {
17551 {
17552 arg3 = &temp3;
17553 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17554 }
17555 }
17556 if (obj3) {
17557 {
17558 arg4 = &temp4;
17559 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17560 }
17561 }
17562 if (obj4) {
17563 {
17564 arg5 = (long)(SWIG_As_long(obj4));
17565 if (SWIG_arg_fail(5)) SWIG_fail;
17566 }
17567 }
17568 if (obj5) {
17569 {
17570 arg6 = wxString_in_helper(obj5);
17571 if (arg6 == NULL) SWIG_fail;
17572 temp6 = true;
17573 }
17574 }
17575 {
17576 if (!wxPyCheckForApp()) SWIG_fail;
17577 PyThreadState* __tstate = wxPyBeginAllowThreads();
17578 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17579
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17584 {
17585 if (temp6)
17586 delete arg6;
17587 }
17588 return resultobj;
17589 fail:
17590 {
17591 if (temp6)
17592 delete arg6;
17593 }
17594 return NULL;
17595 }
17596
17597
17598 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17599 PyObject *resultobj;
17600 wxPyWindow *result;
17601 char *kwnames[] = {
17602 NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17606 {
17607 if (!wxPyCheckForApp()) SWIG_fail;
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (wxPyWindow *)new wxPyWindow();
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17624 PyObject *arg2 = (PyObject *) 0 ;
17625 PyObject *arg3 = (PyObject *) 0 ;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 PyObject * obj2 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self",(char *) "self",(char *) "_class", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17635 if (SWIG_arg_fail(1)) SWIG_fail;
17636 arg2 = obj1;
17637 arg3 = obj2;
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 (arg1)->_setCallbackInfo(arg2,arg3);
17641
17642 wxPyEndAllowThreads(__tstate);
17643 if (PyErr_Occurred()) SWIG_fail;
17644 }
17645 Py_INCREF(Py_None); resultobj = Py_None;
17646 return resultobj;
17647 fail:
17648 return NULL;
17649 }
17650
17651
17652 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17653 PyObject *resultobj;
17654 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17655 wxSize *arg2 = 0 ;
17656 wxSize temp2 ;
17657 PyObject * obj0 = 0 ;
17658 PyObject * obj1 = 0 ;
17659 char *kwnames[] = {
17660 (char *) "self",(char *) "size", NULL
17661 };
17662
17663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
17664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17665 if (SWIG_arg_fail(1)) SWIG_fail;
17666 {
17667 arg2 = &temp2;
17668 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17669 }
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 (arg1)->SetBestSize((wxSize const &)*arg2);
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 Py_INCREF(Py_None); resultobj = Py_None;
17678 return resultobj;
17679 fail:
17680 return NULL;
17681 }
17682
17683
17684 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17685 PyObject *resultobj;
17686 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17687 int arg2 ;
17688 int arg3 ;
17689 int arg4 ;
17690 int arg5 ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj1 = 0 ;
17693 PyObject * obj2 = 0 ;
17694 PyObject * obj3 = 0 ;
17695 PyObject * obj4 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17702 if (SWIG_arg_fail(1)) SWIG_fail;
17703 {
17704 arg2 = (int)(SWIG_As_int(obj1));
17705 if (SWIG_arg_fail(2)) SWIG_fail;
17706 }
17707 {
17708 arg3 = (int)(SWIG_As_int(obj2));
17709 if (SWIG_arg_fail(3)) SWIG_fail;
17710 }
17711 {
17712 arg4 = (int)(SWIG_As_int(obj3));
17713 if (SWIG_arg_fail(4)) SWIG_fail;
17714 }
17715 {
17716 arg5 = (int)(SWIG_As_int(obj4));
17717 if (SWIG_arg_fail(5)) SWIG_fail;
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 Py_INCREF(Py_None); resultobj = Py_None;
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17736 int arg2 ;
17737 int arg3 ;
17738 int arg4 ;
17739 int arg5 ;
17740 int arg6 = (int) wxSIZE_AUTO ;
17741 PyObject * obj0 = 0 ;
17742 PyObject * obj1 = 0 ;
17743 PyObject * obj2 = 0 ;
17744 PyObject * obj3 = 0 ;
17745 PyObject * obj4 = 0 ;
17746 PyObject * obj5 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail;
17754 {
17755 arg2 = (int)(SWIG_As_int(obj1));
17756 if (SWIG_arg_fail(2)) SWIG_fail;
17757 }
17758 {
17759 arg3 = (int)(SWIG_As_int(obj2));
17760 if (SWIG_arg_fail(3)) SWIG_fail;
17761 }
17762 {
17763 arg4 = (int)(SWIG_As_int(obj3));
17764 if (SWIG_arg_fail(4)) SWIG_fail;
17765 }
17766 {
17767 arg5 = (int)(SWIG_As_int(obj4));
17768 if (SWIG_arg_fail(5)) SWIG_fail;
17769 }
17770 if (obj5) {
17771 {
17772 arg6 = (int)(SWIG_As_int(obj5));
17773 if (SWIG_arg_fail(6)) SWIG_fail;
17774 }
17775 }
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17793 int arg2 ;
17794 int arg3 ;
17795 PyObject * obj0 = 0 ;
17796 PyObject * obj1 = 0 ;
17797 PyObject * obj2 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "self",(char *) "width",(char *) "height", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail;
17805 {
17806 arg2 = (int)(SWIG_As_int(obj1));
17807 if (SWIG_arg_fail(2)) SWIG_fail;
17808 }
17809 {
17810 arg3 = (int)(SWIG_As_int(obj2));
17811 if (SWIG_arg_fail(3)) SWIG_fail;
17812 }
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 (arg1)->base_DoSetClientSize(arg2,arg3);
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 Py_INCREF(Py_None); resultobj = Py_None;
17821 return resultobj;
17822 fail:
17823 return NULL;
17824 }
17825
17826
17827 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17828 PyObject *resultobj;
17829 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17830 int arg2 ;
17831 int arg3 ;
17832 PyObject * obj0 = 0 ;
17833 PyObject * obj1 = 0 ;
17834 PyObject * obj2 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "x",(char *) "y", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",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 {
17843 arg2 = (int)(SWIG_As_int(obj1));
17844 if (SWIG_arg_fail(2)) SWIG_fail;
17845 }
17846 {
17847 arg3 = (int)(SWIG_As_int(obj2));
17848 if (SWIG_arg_fail(3)) SWIG_fail;
17849 }
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17853
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 Py_INCREF(Py_None); resultobj = Py_None;
17858 return resultobj;
17859 fail:
17860 return NULL;
17861 }
17862
17863
17864 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17865 PyObject *resultobj;
17866 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17867 int *arg2 = (int *) 0 ;
17868 int *arg3 = (int *) 0 ;
17869 int temp2 ;
17870 int res2 = 0 ;
17871 int temp3 ;
17872 int res3 = 0 ;
17873 PyObject * obj0 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self", NULL
17876 };
17877
17878 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17879 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17882 if (SWIG_arg_fail(1)) SWIG_fail;
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 Py_INCREF(Py_None); resultobj = Py_None;
17891 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17892 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17893 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17894 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17895 return resultobj;
17896 fail:
17897 return NULL;
17898 }
17899
17900
17901 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17904 int *arg2 = (int *) 0 ;
17905 int *arg3 = (int *) 0 ;
17906 int temp2 ;
17907 int res2 = 0 ;
17908 int temp3 ;
17909 int res3 = 0 ;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17916 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
17918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17923
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 Py_INCREF(Py_None); resultobj = Py_None;
17928 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17929 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17930 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17931 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
17939 PyObject *resultobj;
17940 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17941 int *arg2 = (int *) 0 ;
17942 int *arg3 = (int *) 0 ;
17943 int temp2 ;
17944 int res2 = 0 ;
17945 int temp3 ;
17946 int res3 = 0 ;
17947 PyObject * obj0 = 0 ;
17948 char *kwnames[] = {
17949 (char *) "self", NULL
17950 };
17951
17952 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17953 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
17955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17956 if (SWIG_arg_fail(1)) SWIG_fail;
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17960
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 Py_INCREF(Py_None); resultobj = Py_None;
17965 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17966 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17967 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17968 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17978 wxSize result;
17979 PyObject * obj0 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
17985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17986 if (SWIG_arg_fail(1)) SWIG_fail;
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 {
17995 wxSize * resultptr;
17996 resultptr = new wxSize((wxSize &)(result));
17997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17998 }
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18008 wxSize result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 {
18025 wxSize * resultptr;
18026 resultptr = new wxSize((wxSize &)(result));
18027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18028 }
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18038 PyObject * obj0 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail;
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 (arg1)->base_InitDialog();
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 return resultobj;
18055 fail:
18056 return NULL;
18057 }
18058
18059
18060 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj;
18062 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18063 bool result;
18064 PyObject * obj0 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18071 if (SWIG_arg_fail(1)) SWIG_fail;
18072 {
18073 PyThreadState* __tstate = wxPyBeginAllowThreads();
18074 result = (bool)(arg1)->base_TransferDataToWindow();
18075
18076 wxPyEndAllowThreads(__tstate);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 }
18079 {
18080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18081 }
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18091 bool result;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (bool)(arg1)->base_TransferDataFromWindow();
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 {
18108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18109 }
18110 return resultobj;
18111 fail:
18112 return NULL;
18113 }
18114
18115
18116 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18119 bool result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail;
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 result = (bool)(arg1)->base_Validate();
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18137 }
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18147 bool result;
18148 PyObject * obj0 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 {
18164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18165 }
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18175 bool result;
18176 PyObject * obj0 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
18182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 {
18192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18193 }
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18203 wxSize result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
18210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail;
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 {
18220 wxSize * resultptr;
18221 resultptr = new wxSize((wxSize &)(result));
18222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18223 }
18224 return resultobj;
18225 fail:
18226 return NULL;
18227 }
18228
18229
18230 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18231 PyObject *resultobj;
18232 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18233 wxWindow *arg2 = (wxWindow *) 0 ;
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj1 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "child", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
18243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18244 if (SWIG_arg_fail(2)) SWIG_fail;
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 (arg1)->base_AddChild(arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 Py_INCREF(Py_None); resultobj = Py_None;
18253 return resultobj;
18254 fail:
18255 return NULL;
18256 }
18257
18258
18259 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18260 PyObject *resultobj;
18261 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18262 wxWindow *arg2 = (wxWindow *) 0 ;
18263 PyObject * obj0 = 0 ;
18264 PyObject * obj1 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self",(char *) "child", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
18270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail;
18272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18273 if (SWIG_arg_fail(2)) SWIG_fail;
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 (arg1)->base_RemoveChild(arg2);
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 Py_INCREF(Py_None); resultobj = Py_None;
18282 return resultobj;
18283 fail:
18284 return NULL;
18285 }
18286
18287
18288 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18291 bool result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18309 }
18310 return resultobj;
18311 fail:
18312 return NULL;
18313 }
18314
18315
18316 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18317 PyObject *resultobj;
18318 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18319 wxColour *arg2 = 0 ;
18320 wxColour temp2 ;
18321 PyObject * obj0 = 0 ;
18322 PyObject * obj1 = 0 ;
18323 char *kwnames[] = {
18324 (char *) "self",(char *) "c", NULL
18325 };
18326
18327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18329 if (SWIG_arg_fail(1)) SWIG_fail;
18330 {
18331 arg2 = &temp2;
18332 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18333 }
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18351 wxVisualAttributes result;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (arg1)->base_GetDefaultAttributes();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 wxVisualAttributes * resultptr;
18369 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18371 }
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18379 PyObject *obj;
18380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18381 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18382 Py_INCREF(obj);
18383 return Py_BuildValue((char *)"");
18384 }
18385 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18386 PyObject *resultobj;
18387 wxWindow *arg1 = (wxWindow *) 0 ;
18388 int arg2 = (int) (int)-1 ;
18389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18391 wxSize const &arg4_defvalue = wxDefaultSize ;
18392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18393 long arg5 = (long) 0 ;
18394 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18395 wxString *arg6 = (wxString *) &arg6_defvalue ;
18396 wxPyPanel *result;
18397 wxPoint temp3 ;
18398 wxSize temp4 ;
18399 bool temp6 = false ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 PyObject * obj2 = 0 ;
18403 PyObject * obj3 = 0 ;
18404 PyObject * obj4 = 0 ;
18405 PyObject * obj5 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18412 if (SWIG_arg_fail(1)) SWIG_fail;
18413 if (obj1) {
18414 {
18415 arg2 = (int const)(SWIG_As_int(obj1));
18416 if (SWIG_arg_fail(2)) SWIG_fail;
18417 }
18418 }
18419 if (obj2) {
18420 {
18421 arg3 = &temp3;
18422 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18423 }
18424 }
18425 if (obj3) {
18426 {
18427 arg4 = &temp4;
18428 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18429 }
18430 }
18431 if (obj4) {
18432 {
18433 arg5 = (long)(SWIG_As_long(obj4));
18434 if (SWIG_arg_fail(5)) SWIG_fail;
18435 }
18436 }
18437 if (obj5) {
18438 {
18439 arg6 = wxString_in_helper(obj5);
18440 if (arg6 == NULL) SWIG_fail;
18441 temp6 = true;
18442 }
18443 }
18444 {
18445 if (!wxPyCheckForApp()) SWIG_fail;
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18453 {
18454 if (temp6)
18455 delete arg6;
18456 }
18457 return resultobj;
18458 fail:
18459 {
18460 if (temp6)
18461 delete arg6;
18462 }
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxPyPanel *result;
18470 char *kwnames[] = {
18471 NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18475 {
18476 if (!wxPyCheckForApp()) SWIG_fail;
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (wxPyPanel *)new wxPyPanel();
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18493 PyObject *arg2 = (PyObject *) 0 ;
18494 PyObject *arg3 = (PyObject *) 0 ;
18495 PyObject * obj0 = 0 ;
18496 PyObject * obj1 = 0 ;
18497 PyObject * obj2 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self",(char *) "self",(char *) "_class", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18504 if (SWIG_arg_fail(1)) SWIG_fail;
18505 arg2 = obj1;
18506 arg3 = obj2;
18507 {
18508 PyThreadState* __tstate = wxPyBeginAllowThreads();
18509 (arg1)->_setCallbackInfo(arg2,arg3);
18510
18511 wxPyEndAllowThreads(__tstate);
18512 if (PyErr_Occurred()) SWIG_fail;
18513 }
18514 Py_INCREF(Py_None); resultobj = Py_None;
18515 return resultobj;
18516 fail:
18517 return NULL;
18518 }
18519
18520
18521 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18522 PyObject *resultobj;
18523 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18524 wxSize *arg2 = 0 ;
18525 wxSize temp2 ;
18526 PyObject * obj0 = 0 ;
18527 PyObject * obj1 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "size", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
18533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18534 if (SWIG_arg_fail(1)) SWIG_fail;
18535 {
18536 arg2 = &temp2;
18537 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18538 }
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 (arg1)->SetBestSize((wxSize const &)*arg2);
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 Py_INCREF(Py_None); resultobj = Py_None;
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18556 int arg2 ;
18557 int arg3 ;
18558 int arg4 ;
18559 int arg5 ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 PyObject * obj2 = 0 ;
18563 PyObject * obj3 = 0 ;
18564 PyObject * obj4 = 0 ;
18565 char *kwnames[] = {
18566 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18567 };
18568
18569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail;
18572 {
18573 arg2 = (int)(SWIG_As_int(obj1));
18574 if (SWIG_arg_fail(2)) SWIG_fail;
18575 }
18576 {
18577 arg3 = (int)(SWIG_As_int(obj2));
18578 if (SWIG_arg_fail(3)) SWIG_fail;
18579 }
18580 {
18581 arg4 = (int)(SWIG_As_int(obj3));
18582 if (SWIG_arg_fail(4)) SWIG_fail;
18583 }
18584 {
18585 arg5 = (int)(SWIG_As_int(obj4));
18586 if (SWIG_arg_fail(5)) SWIG_fail;
18587 }
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 Py_INCREF(Py_None); resultobj = Py_None;
18596 return resultobj;
18597 fail:
18598 return NULL;
18599 }
18600
18601
18602 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18603 PyObject *resultobj;
18604 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18605 int arg2 ;
18606 int arg3 ;
18607 int arg4 ;
18608 int arg5 ;
18609 int arg6 = (int) wxSIZE_AUTO ;
18610 PyObject * obj0 = 0 ;
18611 PyObject * obj1 = 0 ;
18612 PyObject * obj2 = 0 ;
18613 PyObject * obj3 = 0 ;
18614 PyObject * obj4 = 0 ;
18615 PyObject * obj5 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail;
18623 {
18624 arg2 = (int)(SWIG_As_int(obj1));
18625 if (SWIG_arg_fail(2)) SWIG_fail;
18626 }
18627 {
18628 arg3 = (int)(SWIG_As_int(obj2));
18629 if (SWIG_arg_fail(3)) SWIG_fail;
18630 }
18631 {
18632 arg4 = (int)(SWIG_As_int(obj3));
18633 if (SWIG_arg_fail(4)) SWIG_fail;
18634 }
18635 {
18636 arg5 = (int)(SWIG_As_int(obj4));
18637 if (SWIG_arg_fail(5)) SWIG_fail;
18638 }
18639 if (obj5) {
18640 {
18641 arg6 = (int)(SWIG_As_int(obj5));
18642 if (SWIG_arg_fail(6)) SWIG_fail;
18643 }
18644 }
18645 {
18646 PyThreadState* __tstate = wxPyBeginAllowThreads();
18647 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18648
18649 wxPyEndAllowThreads(__tstate);
18650 if (PyErr_Occurred()) SWIG_fail;
18651 }
18652 Py_INCREF(Py_None); resultobj = Py_None;
18653 return resultobj;
18654 fail:
18655 return NULL;
18656 }
18657
18658
18659 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18662 int arg2 ;
18663 int arg3 ;
18664 PyObject * obj0 = 0 ;
18665 PyObject * obj1 = 0 ;
18666 PyObject * obj2 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "width",(char *) "height", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
18674 {
18675 arg2 = (int)(SWIG_As_int(obj1));
18676 if (SWIG_arg_fail(2)) SWIG_fail;
18677 }
18678 {
18679 arg3 = (int)(SWIG_As_int(obj2));
18680 if (SWIG_arg_fail(3)) SWIG_fail;
18681 }
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 (arg1)->base_DoSetClientSize(arg2,arg3);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 Py_INCREF(Py_None); resultobj = Py_None;
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18699 int arg2 ;
18700 int arg3 ;
18701 PyObject * obj0 = 0 ;
18702 PyObject * obj1 = 0 ;
18703 PyObject * obj2 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "x",(char *) "y", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail;
18711 {
18712 arg2 = (int)(SWIG_As_int(obj1));
18713 if (SWIG_arg_fail(2)) SWIG_fail;
18714 }
18715 {
18716 arg3 = (int)(SWIG_As_int(obj2));
18717 if (SWIG_arg_fail(3)) SWIG_fail;
18718 }
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18736 int *arg2 = (int *) 0 ;
18737 int *arg3 = (int *) 0 ;
18738 int temp2 ;
18739 int res2 = 0 ;
18740 int temp3 ;
18741 int res3 = 0 ;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18748 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 Py_INCREF(Py_None); resultobj = Py_None;
18760 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18761 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18762 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18763 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18773 int *arg2 = (int *) 0 ;
18774 int *arg3 = (int *) 0 ;
18775 int temp2 ;
18776 int res2 = 0 ;
18777 int temp3 ;
18778 int res3 = 0 ;
18779 PyObject * obj0 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self", NULL
18782 };
18783
18784 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18785 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18788 if (SWIG_arg_fail(1)) SWIG_fail;
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
18796 Py_INCREF(Py_None); resultobj = Py_None;
18797 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18798 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18799 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18800 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18801 return resultobj;
18802 fail:
18803 return NULL;
18804 }
18805
18806
18807 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18808 PyObject *resultobj;
18809 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18810 int *arg2 = (int *) 0 ;
18811 int *arg3 = (int *) 0 ;
18812 int temp2 ;
18813 int res2 = 0 ;
18814 int temp3 ;
18815 int res3 = 0 ;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18822 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18825 if (SWIG_arg_fail(1)) SWIG_fail;
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 Py_INCREF(Py_None); resultobj = Py_None;
18834 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18835 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18836 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18837 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18847 wxSize result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 wxSize * resultptr;
18865 resultptr = new wxSize((wxSize &)(result));
18866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18867 }
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18877 wxSize result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 {
18894 wxSize * resultptr;
18895 resultptr = new wxSize((wxSize &)(result));
18896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18897 }
18898 return resultobj;
18899 fail:
18900 return NULL;
18901 }
18902
18903
18904 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18907 PyObject * obj0 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
18913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail;
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 (arg1)->base_InitDialog();
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
18922 Py_INCREF(Py_None); resultobj = Py_None;
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18932 bool result;
18933 PyObject * obj0 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail;
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (bool)(arg1)->base_TransferDataToWindow();
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18950 }
18951 return resultobj;
18952 fail:
18953 return NULL;
18954 }
18955
18956
18957 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18958 PyObject *resultobj;
18959 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18960 bool result;
18961 PyObject * obj0 = 0 ;
18962 char *kwnames[] = {
18963 (char *) "self", NULL
18964 };
18965
18966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18968 if (SWIG_arg_fail(1)) SWIG_fail;
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 result = (bool)(arg1)->base_TransferDataFromWindow();
18972
18973 wxPyEndAllowThreads(__tstate);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 }
18976 {
18977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18978 }
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18988 bool result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
18995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18996 if (SWIG_arg_fail(1)) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (bool)(arg1)->base_Validate();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19006 }
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19016 bool result;
19017 PyObject * obj0 = 0 ;
19018 char *kwnames[] = {
19019 (char *) "self", NULL
19020 };
19021
19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 {
19033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19034 }
19035 return resultobj;
19036 fail:
19037 return NULL;
19038 }
19039
19040
19041 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19042 PyObject *resultobj;
19043 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19044 bool result;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail;
19053 {
19054 PyThreadState* __tstate = wxPyBeginAllowThreads();
19055 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19056
19057 wxPyEndAllowThreads(__tstate);
19058 if (PyErr_Occurred()) SWIG_fail;
19059 }
19060 {
19061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19062 }
19063 return resultobj;
19064 fail:
19065 return NULL;
19066 }
19067
19068
19069 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19070 PyObject *resultobj;
19071 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19072 wxSize result;
19073 PyObject * obj0 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
19079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19080 if (SWIG_arg_fail(1)) SWIG_fail;
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19084
19085 wxPyEndAllowThreads(__tstate);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
19088 {
19089 wxSize * resultptr;
19090 resultptr = new wxSize((wxSize &)(result));
19091 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19092 }
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj;
19101 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19102 wxWindow *arg2 = (wxWindow *) 0 ;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self",(char *) "child", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail;
19112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19113 if (SWIG_arg_fail(2)) SWIG_fail;
19114 {
19115 PyThreadState* __tstate = wxPyBeginAllowThreads();
19116 (arg1)->base_AddChild(arg2);
19117
19118 wxPyEndAllowThreads(__tstate);
19119 if (PyErr_Occurred()) SWIG_fail;
19120 }
19121 Py_INCREF(Py_None); resultobj = Py_None;
19122 return resultobj;
19123 fail:
19124 return NULL;
19125 }
19126
19127
19128 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19129 PyObject *resultobj;
19130 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19131 wxWindow *arg2 = (wxWindow *) 0 ;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self",(char *) "child", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
19139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail;
19141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19142 if (SWIG_arg_fail(2)) SWIG_fail;
19143 {
19144 PyThreadState* __tstate = wxPyBeginAllowThreads();
19145 (arg1)->base_RemoveChild(arg2);
19146
19147 wxPyEndAllowThreads(__tstate);
19148 if (PyErr_Occurred()) SWIG_fail;
19149 }
19150 Py_INCREF(Py_None); resultobj = Py_None;
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19160 bool result;
19161 PyObject * obj0 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail;
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 {
19177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19178 }
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19188 wxColour *arg2 = 0 ;
19189 wxColour temp2 ;
19190 PyObject * obj0 = 0 ;
19191 PyObject * obj1 = 0 ;
19192 char *kwnames[] = {
19193 (char *) "self",(char *) "c", NULL
19194 };
19195
19196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
19197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19198 if (SWIG_arg_fail(1)) SWIG_fail;
19199 {
19200 arg2 = &temp2;
19201 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19202 }
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19220 wxVisualAttributes result;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (arg1)->base_GetDefaultAttributes();
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 {
19237 wxVisualAttributes * resultptr;
19238 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19240 }
19241 return resultobj;
19242 fail:
19243 return NULL;
19244 }
19245
19246
19247 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19248 PyObject *obj;
19249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19251 Py_INCREF(obj);
19252 return Py_BuildValue((char *)"");
19253 }
19254 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxWindow *arg1 = (wxWindow *) 0 ;
19257 int arg2 = (int) (int)-1 ;
19258 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19259 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19260 wxSize const &arg4_defvalue = wxDefaultSize ;
19261 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19262 long arg5 = (long) 0 ;
19263 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19264 wxString *arg6 = (wxString *) &arg6_defvalue ;
19265 wxPyScrolledWindow *result;
19266 wxPoint temp3 ;
19267 wxSize temp4 ;
19268 bool temp6 = false ;
19269 PyObject * obj0 = 0 ;
19270 PyObject * obj1 = 0 ;
19271 PyObject * obj2 = 0 ;
19272 PyObject * obj3 = 0 ;
19273 PyObject * obj4 = 0 ;
19274 PyObject * obj5 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19281 if (SWIG_arg_fail(1)) SWIG_fail;
19282 if (obj1) {
19283 {
19284 arg2 = (int const)(SWIG_As_int(obj1));
19285 if (SWIG_arg_fail(2)) SWIG_fail;
19286 }
19287 }
19288 if (obj2) {
19289 {
19290 arg3 = &temp3;
19291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19292 }
19293 }
19294 if (obj3) {
19295 {
19296 arg4 = &temp4;
19297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19298 }
19299 }
19300 if (obj4) {
19301 {
19302 arg5 = (long)(SWIG_As_long(obj4));
19303 if (SWIG_arg_fail(5)) SWIG_fail;
19304 }
19305 }
19306 if (obj5) {
19307 {
19308 arg6 = wxString_in_helper(obj5);
19309 if (arg6 == NULL) SWIG_fail;
19310 temp6 = true;
19311 }
19312 }
19313 {
19314 if (!wxPyCheckForApp()) SWIG_fail;
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19322 {
19323 if (temp6)
19324 delete arg6;
19325 }
19326 return resultobj;
19327 fail:
19328 {
19329 if (temp6)
19330 delete arg6;
19331 }
19332 return NULL;
19333 }
19334
19335
19336 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj;
19338 wxPyScrolledWindow *result;
19339 char *kwnames[] = {
19340 NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19344 {
19345 if (!wxPyCheckForApp()) SWIG_fail;
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19362 PyObject *arg2 = (PyObject *) 0 ;
19363 PyObject *arg3 = (PyObject *) 0 ;
19364 PyObject * obj0 = 0 ;
19365 PyObject * obj1 = 0 ;
19366 PyObject * obj2 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "self",(char *) "_class", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail;
19374 arg2 = obj1;
19375 arg3 = obj2;
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 (arg1)->_setCallbackInfo(arg2,arg3);
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19393 wxSize *arg2 = 0 ;
19394 wxSize temp2 ;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "size", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
19402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19403 if (SWIG_arg_fail(1)) SWIG_fail;
19404 {
19405 arg2 = &temp2;
19406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19407 }
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetBestSize((wxSize const &)*arg2);
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 Py_INCREF(Py_None); resultobj = Py_None;
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj;
19424 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19425 int arg2 ;
19426 int arg3 ;
19427 int arg4 ;
19428 int arg5 ;
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 PyObject * obj2 = 0 ;
19432 PyObject * obj3 = 0 ;
19433 PyObject * obj4 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19440 if (SWIG_arg_fail(1)) SWIG_fail;
19441 {
19442 arg2 = (int)(SWIG_As_int(obj1));
19443 if (SWIG_arg_fail(2)) SWIG_fail;
19444 }
19445 {
19446 arg3 = (int)(SWIG_As_int(obj2));
19447 if (SWIG_arg_fail(3)) SWIG_fail;
19448 }
19449 {
19450 arg4 = (int)(SWIG_As_int(obj3));
19451 if (SWIG_arg_fail(4)) SWIG_fail;
19452 }
19453 {
19454 arg5 = (int)(SWIG_As_int(obj4));
19455 if (SWIG_arg_fail(5)) SWIG_fail;
19456 }
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19474 int arg2 ;
19475 int arg3 ;
19476 int arg4 ;
19477 int arg5 ;
19478 int arg6 = (int) wxSIZE_AUTO ;
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj1 = 0 ;
19481 PyObject * obj2 = 0 ;
19482 PyObject * obj3 = 0 ;
19483 PyObject * obj4 = 0 ;
19484 PyObject * obj5 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail;
19492 {
19493 arg2 = (int)(SWIG_As_int(obj1));
19494 if (SWIG_arg_fail(2)) SWIG_fail;
19495 }
19496 {
19497 arg3 = (int)(SWIG_As_int(obj2));
19498 if (SWIG_arg_fail(3)) SWIG_fail;
19499 }
19500 {
19501 arg4 = (int)(SWIG_As_int(obj3));
19502 if (SWIG_arg_fail(4)) SWIG_fail;
19503 }
19504 {
19505 arg5 = (int)(SWIG_As_int(obj4));
19506 if (SWIG_arg_fail(5)) SWIG_fail;
19507 }
19508 if (obj5) {
19509 {
19510 arg6 = (int)(SWIG_As_int(obj5));
19511 if (SWIG_arg_fail(6)) SWIG_fail;
19512 }
19513 }
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 Py_INCREF(Py_None); resultobj = Py_None;
19522 return resultobj;
19523 fail:
19524 return NULL;
19525 }
19526
19527
19528 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj;
19530 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19531 int arg2 ;
19532 int arg3 ;
19533 PyObject * obj0 = 0 ;
19534 PyObject * obj1 = 0 ;
19535 PyObject * obj2 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self",(char *) "width",(char *) "height", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail;
19543 {
19544 arg2 = (int)(SWIG_As_int(obj1));
19545 if (SWIG_arg_fail(2)) SWIG_fail;
19546 }
19547 {
19548 arg3 = (int)(SWIG_As_int(obj2));
19549 if (SWIG_arg_fail(3)) SWIG_fail;
19550 }
19551 {
19552 PyThreadState* __tstate = wxPyBeginAllowThreads();
19553 (arg1)->base_DoSetClientSize(arg2,arg3);
19554
19555 wxPyEndAllowThreads(__tstate);
19556 if (PyErr_Occurred()) SWIG_fail;
19557 }
19558 Py_INCREF(Py_None); resultobj = Py_None;
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19568 int arg2 ;
19569 int arg3 ;
19570 PyObject * obj0 = 0 ;
19571 PyObject * obj1 = 0 ;
19572 PyObject * obj2 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "x",(char *) "y", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 {
19581 arg2 = (int)(SWIG_As_int(obj1));
19582 if (SWIG_arg_fail(2)) SWIG_fail;
19583 }
19584 {
19585 arg3 = (int)(SWIG_As_int(obj2));
19586 if (SWIG_arg_fail(3)) SWIG_fail;
19587 }
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 Py_INCREF(Py_None); resultobj = Py_None;
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19605 int *arg2 = (int *) 0 ;
19606 int *arg3 = (int *) 0 ;
19607 int temp2 ;
19608 int res2 = 0 ;
19609 int temp3 ;
19610 int res3 = 0 ;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self", NULL
19614 };
19615
19616 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19617 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail;
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 Py_INCREF(Py_None); resultobj = Py_None;
19629 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19630 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19631 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19632 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19642 int *arg2 = (int *) 0 ;
19643 int *arg3 = (int *) 0 ;
19644 int temp2 ;
19645 int res2 = 0 ;
19646 int temp3 ;
19647 int res3 = 0 ;
19648 PyObject * obj0 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self", NULL
19651 };
19652
19653 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19654 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19657 if (SWIG_arg_fail(1)) SWIG_fail;
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 Py_INCREF(Py_None); resultobj = Py_None;
19666 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19667 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19668 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19669 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19679 int *arg2 = (int *) 0 ;
19680 int *arg3 = (int *) 0 ;
19681 int temp2 ;
19682 int res2 = 0 ;
19683 int temp3 ;
19684 int res3 = 0 ;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19691 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 Py_INCREF(Py_None); resultobj = Py_None;
19703 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19704 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19705 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19706 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19707 return resultobj;
19708 fail:
19709 return NULL;
19710 }
19711
19712
19713 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19716 wxSize result;
19717 PyObject * obj0 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19724 if (SWIG_arg_fail(1)) SWIG_fail;
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
19733 wxSize * resultptr;
19734 resultptr = new wxSize((wxSize &)(result));
19735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19746 wxSize result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19754 if (SWIG_arg_fail(1)) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 wxSize * resultptr;
19764 resultptr = new wxSize((wxSize &)(result));
19765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770 }
19771
19772
19773 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail;
19784 {
19785 PyThreadState* __tstate = wxPyBeginAllowThreads();
19786 (arg1)->base_InitDialog();
19787
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 Py_INCREF(Py_None); resultobj = Py_None;
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19799 PyObject *resultobj;
19800 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19801 bool result;
19802 PyObject * obj0 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19809 if (SWIG_arg_fail(1)) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 result = (bool)(arg1)->base_TransferDataToWindow();
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 {
19818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19819 }
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19829 bool result;
19830 PyObject * obj0 = 0 ;
19831 char *kwnames[] = {
19832 (char *) "self", NULL
19833 };
19834
19835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19837 if (SWIG_arg_fail(1)) SWIG_fail;
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (bool)(arg1)->base_TransferDataFromWindow();
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 {
19846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19847 }
19848 return resultobj;
19849 fail:
19850 return NULL;
19851 }
19852
19853
19854 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19857 bool result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail;
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 result = (bool)(arg1)->base_Validate();
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 {
19874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19875 }
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19885 bool result;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 {
19902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19903 }
19904 return resultobj;
19905 fail:
19906 return NULL;
19907 }
19908
19909
19910 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19913 bool result;
19914 PyObject * obj0 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
19920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19921 if (SWIG_arg_fail(1)) SWIG_fail;
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
19929 {
19930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19931 }
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19939 PyObject *resultobj;
19940 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19941 wxSize result;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
19948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 {
19958 wxSize * resultptr;
19959 resultptr = new wxSize((wxSize &)(result));
19960 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19961 }
19962 return resultobj;
19963 fail:
19964 return NULL;
19965 }
19966
19967
19968 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19971 wxWindow *arg2 = (wxWindow *) 0 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "child", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail;
19981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19982 if (SWIG_arg_fail(2)) SWIG_fail;
19983 {
19984 PyThreadState* __tstate = wxPyBeginAllowThreads();
19985 (arg1)->base_AddChild(arg2);
19986
19987 wxPyEndAllowThreads(__tstate);
19988 if (PyErr_Occurred()) SWIG_fail;
19989 }
19990 Py_INCREF(Py_None); resultobj = Py_None;
19991 return resultobj;
19992 fail:
19993 return NULL;
19994 }
19995
19996
19997 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj;
19999 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20000 wxWindow *arg2 = (wxWindow *) 0 ;
20001 PyObject * obj0 = 0 ;
20002 PyObject * obj1 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "child", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
20008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail;
20010 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20011 if (SWIG_arg_fail(2)) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->base_RemoveChild(arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20029 bool result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail;
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 {
20046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20047 }
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20057 wxColour *arg2 = 0 ;
20058 wxColour temp2 ;
20059 PyObject * obj0 = 0 ;
20060 PyObject * obj1 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self",(char *) "c", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
20066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20067 if (SWIG_arg_fail(1)) SWIG_fail;
20068 {
20069 arg2 = &temp2;
20070 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
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_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20089 wxVisualAttributes result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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 = (arg1)->base_GetDefaultAttributes();
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 {
20106 wxVisualAttributes * resultptr;
20107 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20109 }
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20117 PyObject *obj;
20118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20119 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20120 Py_INCREF(obj);
20121 return Py_BuildValue((char *)"");
20122 }
20123 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20124 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20125 return 1;
20126 }
20127
20128
20129 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20130 PyObject *pyobj;
20131
20132 {
20133 #if wxUSE_UNICODE
20134 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20135 #else
20136 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20137 #endif
20138 }
20139 return pyobj;
20140 }
20141
20142
20143 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20144 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20145 return 1;
20146 }
20147
20148
20149 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20150 PyObject *pyobj;
20151
20152 {
20153 #if wxUSE_UNICODE
20154 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20155 #else
20156 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20157 #endif
20158 }
20159 return pyobj;
20160 }
20161
20162
20163 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20164 PyObject *resultobj;
20165 wxPrintData *result;
20166
20167 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (wxPrintData *)new wxPrintData();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20176 return resultobj;
20177 fail:
20178 return NULL;
20179 }
20180
20181
20182 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20183 PyObject *resultobj;
20184 wxPrintData *arg1 = 0 ;
20185 wxPrintData *result;
20186 PyObject * obj0 = 0 ;
20187
20188 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20189 {
20190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20191 if (SWIG_arg_fail(1)) SWIG_fail;
20192 if (arg1 == NULL) {
20193 SWIG_null_ref("wxPrintData");
20194 }
20195 if (SWIG_arg_fail(1)) SWIG_fail;
20196 }
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20212 int argc;
20213 PyObject *argv[2];
20214 int ii;
20215
20216 argc = PyObject_Length(args);
20217 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20218 argv[ii] = PyTuple_GetItem(args,ii);
20219 }
20220 if (argc == 0) {
20221 return _wrap_new_PrintData__SWIG_0(self,args);
20222 }
20223 if (argc == 1) {
20224 int _v;
20225 {
20226 void *ptr = 0;
20227 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20228 _v = 0;
20229 PyErr_Clear();
20230 } else {
20231 _v = (ptr != 0);
20232 }
20233 }
20234 if (_v) {
20235 return _wrap_new_PrintData__SWIG_1(self,args);
20236 }
20237 }
20238
20239 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20240 return NULL;
20241 }
20242
20243
20244 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20245 PyObject *resultobj;
20246 wxPrintData *arg1 = (wxPrintData *) 0 ;
20247 PyObject * obj0 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail;
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 delete arg1;
20258
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 Py_INCREF(Py_None); resultobj = Py_None;
20263 return resultobj;
20264 fail:
20265 return NULL;
20266 }
20267
20268
20269 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20270 PyObject *resultobj;
20271 wxPrintData *arg1 = (wxPrintData *) 0 ;
20272 int result;
20273 PyObject * obj0 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail;
20281 {
20282 PyThreadState* __tstate = wxPyBeginAllowThreads();
20283 result = (int)(arg1)->GetNoCopies();
20284
20285 wxPyEndAllowThreads(__tstate);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 resultobj = SWIG_From_int((int)(result));
20290 }
20291 return resultobj;
20292 fail:
20293 return NULL;
20294 }
20295
20296
20297 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20298 PyObject *resultobj;
20299 wxPrintData *arg1 = (wxPrintData *) 0 ;
20300 bool result;
20301 PyObject * obj0 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20308 if (SWIG_arg_fail(1)) SWIG_fail;
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 result = (bool)(arg1)->GetCollate();
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
20316 {
20317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20318 }
20319 return resultobj;
20320 fail:
20321 return NULL;
20322 }
20323
20324
20325 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 wxPrintData *arg1 = (wxPrintData *) 0 ;
20328 int result;
20329 PyObject * obj0 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20336 if (SWIG_arg_fail(1)) SWIG_fail;
20337 {
20338 PyThreadState* __tstate = wxPyBeginAllowThreads();
20339 result = (int)(arg1)->GetOrientation();
20340
20341 wxPyEndAllowThreads(__tstate);
20342 if (PyErr_Occurred()) SWIG_fail;
20343 }
20344 {
20345 resultobj = SWIG_From_int((int)(result));
20346 }
20347 return resultobj;
20348 fail:
20349 return NULL;
20350 }
20351
20352
20353 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxPrintData *arg1 = (wxPrintData *) 0 ;
20356 bool result;
20357 PyObject * obj0 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20364 if (SWIG_arg_fail(1)) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)(arg1)->Ok();
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 {
20373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20374 }
20375 return resultobj;
20376 fail:
20377 return NULL;
20378 }
20379
20380
20381 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxPrintData *arg1 = (wxPrintData *) 0 ;
20384 wxString *result;
20385 PyObject * obj0 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20392 if (SWIG_arg_fail(1)) SWIG_fail;
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 {
20396 wxString const &_result_ref = (arg1)->GetPrinterName();
20397 result = (wxString *) &_result_ref;
20398 }
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 {
20404 #if wxUSE_UNICODE
20405 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20406 #else
20407 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20408 #endif
20409 }
20410 return resultobj;
20411 fail:
20412 return NULL;
20413 }
20414
20415
20416 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj;
20418 wxPrintData *arg1 = (wxPrintData *) 0 ;
20419 bool result;
20420 PyObject * obj0 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail;
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = (bool)(arg1)->GetColour();
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20445 PyObject *resultobj;
20446 wxPrintData *arg1 = (wxPrintData *) 0 ;
20447 wxDuplexMode result;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20455 if (SWIG_arg_fail(1)) SWIG_fail;
20456 {
20457 PyThreadState* __tstate = wxPyBeginAllowThreads();
20458 result = (wxDuplexMode)(arg1)->GetDuplex();
20459
20460 wxPyEndAllowThreads(__tstate);
20461 if (PyErr_Occurred()) SWIG_fail;
20462 }
20463 resultobj = SWIG_From_int((result));
20464 return resultobj;
20465 fail:
20466 return NULL;
20467 }
20468
20469
20470 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20471 PyObject *resultobj;
20472 wxPrintData *arg1 = (wxPrintData *) 0 ;
20473 wxPaperSize result;
20474 PyObject * obj0 = 0 ;
20475 char *kwnames[] = {
20476 (char *) "self", NULL
20477 };
20478
20479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20481 if (SWIG_arg_fail(1)) SWIG_fail;
20482 {
20483 PyThreadState* __tstate = wxPyBeginAllowThreads();
20484 result = (wxPaperSize)(arg1)->GetPaperId();
20485
20486 wxPyEndAllowThreads(__tstate);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 resultobj = SWIG_From_int((result));
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxPrintData *arg1 = (wxPrintData *) 0 ;
20499 wxSize *result;
20500 PyObject * obj0 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self", NULL
20503 };
20504
20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20507 if (SWIG_arg_fail(1)) SWIG_fail;
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 {
20511 wxSize const &_result_ref = (arg1)->GetPaperSize();
20512 result = (wxSize *) &_result_ref;
20513 }
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPrintData *arg1 = (wxPrintData *) 0 ;
20528 int result;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20536 if (SWIG_arg_fail(1)) SWIG_fail;
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 result = (int)(arg1)->GetQuality();
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 {
20545 resultobj = SWIG_From_int((int)(result));
20546 }
20547 return resultobj;
20548 fail:
20549 return NULL;
20550 }
20551
20552
20553 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20554 PyObject *resultobj;
20555 wxPrintData *arg1 = (wxPrintData *) 0 ;
20556 wxPrintBin result;
20557 PyObject * obj0 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20564 if (SWIG_arg_fail(1)) SWIG_fail;
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 result = (wxPrintBin)(arg1)->GetBin();
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_From_int((result));
20573 return resultobj;
20574 fail:
20575 return NULL;
20576 }
20577
20578
20579 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxPrintData *arg1 = (wxPrintData *) 0 ;
20582 wxPrintMode result;
20583 PyObject * obj0 = 0 ;
20584 char *kwnames[] = {
20585 (char *) "self", NULL
20586 };
20587
20588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail;
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 resultobj = SWIG_From_int((result));
20599 return resultobj;
20600 fail:
20601 return NULL;
20602 }
20603
20604
20605 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20606 PyObject *resultobj;
20607 wxPrintData *arg1 = (wxPrintData *) 0 ;
20608 int arg2 ;
20609 PyObject * obj0 = 0 ;
20610 PyObject * obj1 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self",(char *) "v", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) 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 arg2 = (int)(SWIG_As_int(obj1));
20620 if (SWIG_arg_fail(2)) SWIG_fail;
20621 }
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->SetNoCopies(arg2);
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
20629 Py_INCREF(Py_None); resultobj = Py_None;
20630 return resultobj;
20631 fail:
20632 return NULL;
20633 }
20634
20635
20636 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20637 PyObject *resultobj;
20638 wxPrintData *arg1 = (wxPrintData *) 0 ;
20639 bool arg2 ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 char *kwnames[] = {
20643 (char *) "self",(char *) "flag", NULL
20644 };
20645
20646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20648 if (SWIG_arg_fail(1)) SWIG_fail;
20649 {
20650 arg2 = (bool)(SWIG_As_bool(obj1));
20651 if (SWIG_arg_fail(2)) SWIG_fail;
20652 }
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 (arg1)->SetCollate(arg2);
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 Py_INCREF(Py_None); resultobj = Py_None;
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPrintData *arg1 = (wxPrintData *) 0 ;
20670 int arg2 ;
20671 PyObject * obj0 = 0 ;
20672 PyObject * obj1 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self",(char *) "orient", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20679 if (SWIG_arg_fail(1)) SWIG_fail;
20680 {
20681 arg2 = (int)(SWIG_As_int(obj1));
20682 if (SWIG_arg_fail(2)) SWIG_fail;
20683 }
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 (arg1)->SetOrientation(arg2);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPrintData *arg1 = (wxPrintData *) 0 ;
20701 wxString *arg2 = 0 ;
20702 bool temp2 = false ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "self",(char *) "name", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20711 if (SWIG_arg_fail(1)) SWIG_fail;
20712 {
20713 arg2 = wxString_in_helper(obj1);
20714 if (arg2 == NULL) SWIG_fail;
20715 temp2 = true;
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 (arg1)->SetPrinterName((wxString const &)*arg2);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 {
20726 if (temp2)
20727 delete arg2;
20728 }
20729 return resultobj;
20730 fail:
20731 {
20732 if (temp2)
20733 delete arg2;
20734 }
20735 return NULL;
20736 }
20737
20738
20739 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxPrintData *arg1 = (wxPrintData *) 0 ;
20742 bool arg2 ;
20743 PyObject * obj0 = 0 ;
20744 PyObject * obj1 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self",(char *) "colour", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20751 if (SWIG_arg_fail(1)) SWIG_fail;
20752 {
20753 arg2 = (bool)(SWIG_As_bool(obj1));
20754 if (SWIG_arg_fail(2)) SWIG_fail;
20755 }
20756 {
20757 PyThreadState* __tstate = wxPyBeginAllowThreads();
20758 (arg1)->SetColour(arg2);
20759
20760 wxPyEndAllowThreads(__tstate);
20761 if (PyErr_Occurred()) SWIG_fail;
20762 }
20763 Py_INCREF(Py_None); resultobj = Py_None;
20764 return resultobj;
20765 fail:
20766 return NULL;
20767 }
20768
20769
20770 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20771 PyObject *resultobj;
20772 wxPrintData *arg1 = (wxPrintData *) 0 ;
20773 wxDuplexMode arg2 ;
20774 PyObject * obj0 = 0 ;
20775 PyObject * obj1 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self",(char *) "duplex", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20782 if (SWIG_arg_fail(1)) SWIG_fail;
20783 {
20784 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20785 if (SWIG_arg_fail(2)) SWIG_fail;
20786 }
20787 {
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 (arg1)->SetDuplex((wxDuplexMode )arg2);
20790
20791 wxPyEndAllowThreads(__tstate);
20792 if (PyErr_Occurred()) SWIG_fail;
20793 }
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxPrintData *arg1 = (wxPrintData *) 0 ;
20804 wxPaperSize arg2 ;
20805 PyObject * obj0 = 0 ;
20806 PyObject * obj1 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self",(char *) "sizeId", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20813 if (SWIG_arg_fail(1)) SWIG_fail;
20814 {
20815 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20816 if (SWIG_arg_fail(2)) SWIG_fail;
20817 }
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 (arg1)->SetPaperId((wxPaperSize )arg2);
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 Py_INCREF(Py_None); resultobj = Py_None;
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPrintData *arg1 = (wxPrintData *) 0 ;
20835 wxSize *arg2 = 0 ;
20836 wxSize temp2 ;
20837 PyObject * obj0 = 0 ;
20838 PyObject * obj1 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "self",(char *) "sz", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
20848 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->SetPaperSize((wxSize const &)*arg2);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 Py_INCREF(Py_None); resultobj = Py_None;
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxPrintData *arg1 = (wxPrintData *) 0 ;
20867 int arg2 ;
20868 PyObject * obj0 = 0 ;
20869 PyObject * obj1 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self",(char *) "quality", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail;
20877 {
20878 arg2 = (int)(SWIG_As_int(obj1));
20879 if (SWIG_arg_fail(2)) SWIG_fail;
20880 }
20881 {
20882 PyThreadState* __tstate = wxPyBeginAllowThreads();
20883 (arg1)->SetQuality(arg2);
20884
20885 wxPyEndAllowThreads(__tstate);
20886 if (PyErr_Occurred()) SWIG_fail;
20887 }
20888 Py_INCREF(Py_None); resultobj = Py_None;
20889 return resultobj;
20890 fail:
20891 return NULL;
20892 }
20893
20894
20895 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxPrintData *arg1 = (wxPrintData *) 0 ;
20898 wxPrintBin arg2 ;
20899 PyObject * obj0 = 0 ;
20900 PyObject * obj1 = 0 ;
20901 char *kwnames[] = {
20902 (char *) "self",(char *) "bin", NULL
20903 };
20904
20905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20907 if (SWIG_arg_fail(1)) SWIG_fail;
20908 {
20909 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20910 if (SWIG_arg_fail(2)) SWIG_fail;
20911 }
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 (arg1)->SetBin((wxPrintBin )arg2);
20915
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
20919 Py_INCREF(Py_None); resultobj = Py_None;
20920 return resultobj;
20921 fail:
20922 return NULL;
20923 }
20924
20925
20926 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxPrintData *arg1 = (wxPrintData *) 0 ;
20929 wxPrintMode arg2 ;
20930 PyObject * obj0 = 0 ;
20931 PyObject * obj1 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self",(char *) "printMode", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
20937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20938 if (SWIG_arg_fail(1)) SWIG_fail;
20939 {
20940 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
20941 if (SWIG_arg_fail(2)) SWIG_fail;
20942 }
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 (arg1)->SetPrintMode((wxPrintMode )arg2);
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 Py_INCREF(Py_None); resultobj = Py_None;
20951 return resultobj;
20952 fail:
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20958 PyObject *resultobj;
20959 wxPrintData *arg1 = (wxPrintData *) 0 ;
20960 wxString result;
20961 PyObject * obj0 = 0 ;
20962 char *kwnames[] = {
20963 (char *) "self", NULL
20964 };
20965
20966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
20967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20968 if (SWIG_arg_fail(1)) SWIG_fail;
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = ((wxPrintData const *)arg1)->GetFilename();
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 #if wxUSE_UNICODE
20978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20979 #else
20980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20981 #endif
20982 }
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxPrintData *arg1 = (wxPrintData *) 0 ;
20992 wxString *arg2 = 0 ;
20993 bool temp2 = false ;
20994 PyObject * obj0 = 0 ;
20995 PyObject * obj1 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "filename", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21002 if (SWIG_arg_fail(1)) SWIG_fail;
21003 {
21004 arg2 = wxString_in_helper(obj1);
21005 if (arg2 == NULL) SWIG_fail;
21006 temp2 = true;
21007 }
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 (arg1)->SetFilename((wxString const &)*arg2);
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 Py_INCREF(Py_None); resultobj = Py_None;
21016 {
21017 if (temp2)
21018 delete arg2;
21019 }
21020 return resultobj;
21021 fail:
21022 {
21023 if (temp2)
21024 delete arg2;
21025 }
21026 return NULL;
21027 }
21028
21029
21030 static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj;
21032 wxPrintData *arg1 = (wxPrintData *) 0 ;
21033 PyObject *result;
21034 PyObject * obj0 = 0 ;
21035 char *kwnames[] = {
21036 (char *) "self", NULL
21037 };
21038
21039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21041 if (SWIG_arg_fail(1)) SWIG_fail;
21042 {
21043 PyThreadState* __tstate = wxPyBeginAllowThreads();
21044 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21045
21046 wxPyEndAllowThreads(__tstate);
21047 if (PyErr_Occurred()) SWIG_fail;
21048 }
21049 resultobj = result;
21050 return resultobj;
21051 fail:
21052 return NULL;
21053 }
21054
21055
21056 static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj;
21058 wxPrintData *arg1 = (wxPrintData *) 0 ;
21059 PyObject *arg2 = (PyObject *) 0 ;
21060 PyObject * obj0 = 0 ;
21061 PyObject * obj1 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self",(char *) "data", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21068 if (SWIG_arg_fail(1)) SWIG_fail;
21069 arg2 = obj1;
21070 {
21071 PyThreadState* __tstate = wxPyBeginAllowThreads();
21072 wxPrintData_SetPrivData(arg1,arg2);
21073
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 Py_INCREF(Py_None); resultobj = Py_None;
21078 return resultobj;
21079 fail:
21080 return NULL;
21081 }
21082
21083
21084 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21085 PyObject *resultobj;
21086 wxPrintData *arg1 = (wxPrintData *) 0 ;
21087 wxString *result;
21088 PyObject * obj0 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "self", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21095 if (SWIG_arg_fail(1)) SWIG_fail;
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 {
21099 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21100 result = (wxString *) &_result_ref;
21101 }
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107 #if wxUSE_UNICODE
21108 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21109 #else
21110 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21111 #endif
21112 }
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxPrintData *arg1 = (wxPrintData *) 0 ;
21122 wxString *result;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21130 if (SWIG_arg_fail(1)) SWIG_fail;
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 {
21134 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21135 result = (wxString *) &_result_ref;
21136 }
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 {
21142 #if wxUSE_UNICODE
21143 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21144 #else
21145 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21146 #endif
21147 }
21148 return resultobj;
21149 fail:
21150 return NULL;
21151 }
21152
21153
21154 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21155 PyObject *resultobj;
21156 wxPrintData *arg1 = (wxPrintData *) 0 ;
21157 wxString *result;
21158 PyObject * obj0 = 0 ;
21159 char *kwnames[] = {
21160 (char *) "self", NULL
21161 };
21162
21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail;
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 {
21169 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21170 result = (wxString *) &_result_ref;
21171 }
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 {
21177 #if wxUSE_UNICODE
21178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21179 #else
21180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21181 #endif
21182 }
21183 return resultobj;
21184 fail:
21185 return NULL;
21186 }
21187
21188
21189 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21190 PyObject *resultobj;
21191 wxPrintData *arg1 = (wxPrintData *) 0 ;
21192 wxString *result;
21193 PyObject * obj0 = 0 ;
21194 char *kwnames[] = {
21195 (char *) "self", NULL
21196 };
21197
21198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail;
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 {
21204 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21205 result = (wxString *) &_result_ref;
21206 }
21207
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 {
21212 #if wxUSE_UNICODE
21213 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21214 #else
21215 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21216 #endif
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrintData *arg1 = (wxPrintData *) 0 ;
21227 double result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 result = (double)(arg1)->GetPrinterScaleX();
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 {
21244 resultobj = SWIG_From_double((double)(result));
21245 }
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxPrintData *arg1 = (wxPrintData *) 0 ;
21255 double result;
21256 PyObject * obj0 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail;
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 result = (double)(arg1)->GetPrinterScaleY();
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 {
21272 resultobj = SWIG_From_double((double)(result));
21273 }
21274 return resultobj;
21275 fail:
21276 return NULL;
21277 }
21278
21279
21280 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPrintData *arg1 = (wxPrintData *) 0 ;
21283 long result;
21284 PyObject * obj0 = 0 ;
21285 char *kwnames[] = {
21286 (char *) "self", NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail;
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 result = (long)(arg1)->GetPrinterTranslateX();
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 {
21300 resultobj = SWIG_From_long((long)(result));
21301 }
21302 return resultobj;
21303 fail:
21304 return NULL;
21305 }
21306
21307
21308 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21309 PyObject *resultobj;
21310 wxPrintData *arg1 = (wxPrintData *) 0 ;
21311 long result;
21312 PyObject * obj0 = 0 ;
21313 char *kwnames[] = {
21314 (char *) "self", NULL
21315 };
21316
21317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail;
21320 {
21321 PyThreadState* __tstate = wxPyBeginAllowThreads();
21322 result = (long)(arg1)->GetPrinterTranslateY();
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 {
21328 resultobj = SWIG_From_long((long)(result));
21329 }
21330 return resultobj;
21331 fail:
21332 return NULL;
21333 }
21334
21335
21336 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxPrintData *arg1 = (wxPrintData *) 0 ;
21339 wxString *arg2 = 0 ;
21340 bool temp2 = false ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "command", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",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 {
21351 arg2 = wxString_in_helper(obj1);
21352 if (arg2 == NULL) SWIG_fail;
21353 temp2 = true;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 Py_INCREF(Py_None); resultobj = Py_None;
21363 {
21364 if (temp2)
21365 delete arg2;
21366 }
21367 return resultobj;
21368 fail:
21369 {
21370 if (temp2)
21371 delete arg2;
21372 }
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxPrintData *arg1 = (wxPrintData *) 0 ;
21380 wxString *arg2 = 0 ;
21381 bool temp2 = false ;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "self",(char *) "options", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail;
21391 {
21392 arg2 = wxString_in_helper(obj1);
21393 if (arg2 == NULL) SWIG_fail;
21394 temp2 = true;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 {
21405 if (temp2)
21406 delete arg2;
21407 }
21408 return resultobj;
21409 fail:
21410 {
21411 if (temp2)
21412 delete arg2;
21413 }
21414 return NULL;
21415 }
21416
21417
21418 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPrintData *arg1 = (wxPrintData *) 0 ;
21421 wxString *arg2 = 0 ;
21422 bool temp2 = false ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "command", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail;
21432 {
21433 arg2 = wxString_in_helper(obj1);
21434 if (arg2 == NULL) SWIG_fail;
21435 temp2 = true;
21436 }
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 {
21446 if (temp2)
21447 delete arg2;
21448 }
21449 return resultobj;
21450 fail:
21451 {
21452 if (temp2)
21453 delete arg2;
21454 }
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPrintData *arg1 = (wxPrintData *) 0 ;
21462 wxString *arg2 = 0 ;
21463 bool temp2 = false ;
21464 PyObject * obj0 = 0 ;
21465 PyObject * obj1 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "self",(char *) "path", NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21472 if (SWIG_arg_fail(1)) SWIG_fail;
21473 {
21474 arg2 = wxString_in_helper(obj1);
21475 if (arg2 == NULL) SWIG_fail;
21476 temp2 = true;
21477 }
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21481
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 Py_INCREF(Py_None); resultobj = Py_None;
21486 {
21487 if (temp2)
21488 delete arg2;
21489 }
21490 return resultobj;
21491 fail:
21492 {
21493 if (temp2)
21494 delete arg2;
21495 }
21496 return NULL;
21497 }
21498
21499
21500 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21501 PyObject *resultobj;
21502 wxPrintData *arg1 = (wxPrintData *) 0 ;
21503 double arg2 ;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self",(char *) "x", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail;
21513 {
21514 arg2 = (double)(SWIG_As_double(obj1));
21515 if (SWIG_arg_fail(2)) SWIG_fail;
21516 }
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 (arg1)->SetPrinterScaleX(arg2);
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 Py_INCREF(Py_None); resultobj = Py_None;
21525 return resultobj;
21526 fail:
21527 return NULL;
21528 }
21529
21530
21531 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj;
21533 wxPrintData *arg1 = (wxPrintData *) 0 ;
21534 double arg2 ;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "y", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail;
21544 {
21545 arg2 = (double)(SWIG_As_double(obj1));
21546 if (SWIG_arg_fail(2)) SWIG_fail;
21547 }
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->SetPrinterScaleY(arg2);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 return resultobj;
21557 fail:
21558 return NULL;
21559 }
21560
21561
21562 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21563 PyObject *resultobj;
21564 wxPrintData *arg1 = (wxPrintData *) 0 ;
21565 double arg2 ;
21566 double arg3 ;
21567 PyObject * obj0 = 0 ;
21568 PyObject * obj1 = 0 ;
21569 PyObject * obj2 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "x",(char *) "y", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail;
21577 {
21578 arg2 = (double)(SWIG_As_double(obj1));
21579 if (SWIG_arg_fail(2)) SWIG_fail;
21580 }
21581 {
21582 arg3 = (double)(SWIG_As_double(obj2));
21583 if (SWIG_arg_fail(3)) SWIG_fail;
21584 }
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 (arg1)->SetPrinterScaling(arg2,arg3);
21588
21589 wxPyEndAllowThreads(__tstate);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 }
21592 Py_INCREF(Py_None); resultobj = Py_None;
21593 return resultobj;
21594 fail:
21595 return NULL;
21596 }
21597
21598
21599 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21600 PyObject *resultobj;
21601 wxPrintData *arg1 = (wxPrintData *) 0 ;
21602 long arg2 ;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "x", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21611 if (SWIG_arg_fail(1)) SWIG_fail;
21612 {
21613 arg2 = (long)(SWIG_As_long(obj1));
21614 if (SWIG_arg_fail(2)) SWIG_fail;
21615 }
21616 {
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 (arg1)->SetPrinterTranslateX(arg2);
21619
21620 wxPyEndAllowThreads(__tstate);
21621 if (PyErr_Occurred()) SWIG_fail;
21622 }
21623 Py_INCREF(Py_None); resultobj = Py_None;
21624 return resultobj;
21625 fail:
21626 return NULL;
21627 }
21628
21629
21630 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21631 PyObject *resultobj;
21632 wxPrintData *arg1 = (wxPrintData *) 0 ;
21633 long arg2 ;
21634 PyObject * obj0 = 0 ;
21635 PyObject * obj1 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "y", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail;
21643 {
21644 arg2 = (long)(SWIG_As_long(obj1));
21645 if (SWIG_arg_fail(2)) SWIG_fail;
21646 }
21647 {
21648 PyThreadState* __tstate = wxPyBeginAllowThreads();
21649 (arg1)->SetPrinterTranslateY(arg2);
21650
21651 wxPyEndAllowThreads(__tstate);
21652 if (PyErr_Occurred()) SWIG_fail;
21653 }
21654 Py_INCREF(Py_None); resultobj = Py_None;
21655 return resultobj;
21656 fail:
21657 return NULL;
21658 }
21659
21660
21661 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21662 PyObject *resultobj;
21663 wxPrintData *arg1 = (wxPrintData *) 0 ;
21664 long arg2 ;
21665 long arg3 ;
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 PyObject * obj2 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self",(char *) "x",(char *) "y", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail;
21676 {
21677 arg2 = (long)(SWIG_As_long(obj1));
21678 if (SWIG_arg_fail(2)) SWIG_fail;
21679 }
21680 {
21681 arg3 = (long)(SWIG_As_long(obj2));
21682 if (SWIG_arg_fail(3)) SWIG_fail;
21683 }
21684 {
21685 PyThreadState* __tstate = wxPyBeginAllowThreads();
21686 (arg1)->SetPrinterTranslation(arg2,arg3);
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 Py_INCREF(Py_None); resultobj = Py_None;
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21699 PyObject *obj;
21700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21701 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21702 Py_INCREF(obj);
21703 return Py_BuildValue((char *)"");
21704 }
21705 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21706 PyObject *resultobj;
21707 wxPageSetupDialogData *result;
21708
21709 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21718 return resultobj;
21719 fail:
21720 return NULL;
21721 }
21722
21723
21724 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21725 PyObject *resultobj;
21726 wxPageSetupDialogData *arg1 = 0 ;
21727 wxPageSetupDialogData *result;
21728 PyObject * obj0 = 0 ;
21729
21730 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21731 {
21732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail;
21734 if (arg1 == NULL) {
21735 SWIG_null_ref("wxPageSetupDialogData");
21736 }
21737 if (SWIG_arg_fail(1)) SWIG_fail;
21738 }
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21754 PyObject *resultobj;
21755 wxPrintData *arg1 = 0 ;
21756 wxPageSetupDialogData *result;
21757 PyObject * obj0 = 0 ;
21758
21759 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21760 {
21761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21762 if (SWIG_arg_fail(1)) SWIG_fail;
21763 if (arg1 == NULL) {
21764 SWIG_null_ref("wxPrintData");
21765 }
21766 if (SWIG_arg_fail(1)) SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21783 int argc;
21784 PyObject *argv[2];
21785 int ii;
21786
21787 argc = PyObject_Length(args);
21788 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21789 argv[ii] = PyTuple_GetItem(args,ii);
21790 }
21791 if (argc == 0) {
21792 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21793 }
21794 if (argc == 1) {
21795 int _v;
21796 {
21797 void *ptr = 0;
21798 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21799 _v = 0;
21800 PyErr_Clear();
21801 } else {
21802 _v = (ptr != 0);
21803 }
21804 }
21805 if (_v) {
21806 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21807 }
21808 }
21809 if (argc == 1) {
21810 int _v;
21811 {
21812 void *ptr = 0;
21813 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21814 _v = 0;
21815 PyErr_Clear();
21816 } else {
21817 _v = (ptr != 0);
21818 }
21819 }
21820 if (_v) {
21821 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21822 }
21823 }
21824
21825 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21833 PyObject * obj0 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail;
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 delete arg1;
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 Py_INCREF(Py_None); resultobj = Py_None;
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21858 bool arg2 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "flag", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
21868 {
21869 arg2 = (bool)(SWIG_As_bool(obj1));
21870 if (SWIG_arg_fail(2)) SWIG_fail;
21871 }
21872 {
21873 PyThreadState* __tstate = wxPyBeginAllowThreads();
21874 (arg1)->EnableHelp(arg2);
21875
21876 wxPyEndAllowThreads(__tstate);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 }
21879 Py_INCREF(Py_None); resultobj = Py_None;
21880 return resultobj;
21881 fail:
21882 return NULL;
21883 }
21884
21885
21886 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj;
21888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21889 bool arg2 ;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "flag", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21898 if (SWIG_arg_fail(1)) SWIG_fail;
21899 {
21900 arg2 = (bool)(SWIG_As_bool(obj1));
21901 if (SWIG_arg_fail(2)) SWIG_fail;
21902 }
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 (arg1)->EnableMargins(arg2);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 Py_INCREF(Py_None); resultobj = Py_None;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21920 bool arg2 ;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "flag", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21929 if (SWIG_arg_fail(1)) SWIG_fail;
21930 {
21931 arg2 = (bool)(SWIG_As_bool(obj1));
21932 if (SWIG_arg_fail(2)) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 (arg1)->EnableOrientation(arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 Py_INCREF(Py_None); resultobj = Py_None;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21951 bool arg2 ;
21952 PyObject * obj0 = 0 ;
21953 PyObject * obj1 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "self",(char *) "flag", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21960 if (SWIG_arg_fail(1)) SWIG_fail;
21961 {
21962 arg2 = (bool)(SWIG_As_bool(obj1));
21963 if (SWIG_arg_fail(2)) SWIG_fail;
21964 }
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 (arg1)->EnablePaper(arg2);
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 Py_INCREF(Py_None); resultobj = Py_None;
21973 return resultobj;
21974 fail:
21975 return NULL;
21976 }
21977
21978
21979 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj;
21981 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21982 bool arg2 ;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "flag", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail;
21992 {
21993 arg2 = (bool)(SWIG_As_bool(obj1));
21994 if (SWIG_arg_fail(2)) SWIG_fail;
21995 }
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 (arg1)->EnablePrinter(arg2);
21999
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 Py_INCREF(Py_None); resultobj = Py_None;
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22013 bool result;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22021 if (SWIG_arg_fail(1)) SWIG_fail;
22022 {
22023 PyThreadState* __tstate = wxPyBeginAllowThreads();
22024 result = (bool)(arg1)->GetDefaultMinMargins();
22025
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 {
22030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22031 }
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22041 bool result;
22042 PyObject * obj0 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail;
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (bool)(arg1)->GetEnableMargins();
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 {
22058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22059 }
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22067 PyObject *resultobj;
22068 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22069 bool result;
22070 PyObject * obj0 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "self", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22077 if (SWIG_arg_fail(1)) SWIG_fail;
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (bool)(arg1)->GetEnableOrientation();
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22087 }
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22097 bool result;
22098 PyObject * obj0 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (bool)(arg1)->GetEnablePaper();
22109
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
22113 {
22114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22115 }
22116 return resultobj;
22117 fail:
22118 return NULL;
22119 }
22120
22121
22122 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22123 PyObject *resultobj;
22124 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22125 bool result;
22126 PyObject * obj0 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail;
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (bool)(arg1)->GetEnablePrinter();
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 {
22142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22143 }
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22153 bool result;
22154 PyObject * obj0 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail;
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (bool)(arg1)->GetEnableHelp();
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
22169 {
22170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22171 }
22172 return resultobj;
22173 fail:
22174 return NULL;
22175 }
22176
22177
22178 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj;
22180 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22181 bool result;
22182 PyObject * obj0 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail;
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (bool)(arg1)->GetDefaultInfo();
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 {
22198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22199 }
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22209 wxPoint result;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail;
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (arg1)->GetMarginTopLeft();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 {
22226 wxPoint * resultptr;
22227 resultptr = new wxPoint((wxPoint &)(result));
22228 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22229 }
22230 return resultobj;
22231 fail:
22232 return NULL;
22233 }
22234
22235
22236 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22237 PyObject *resultobj;
22238 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22239 wxPoint result;
22240 PyObject * obj0 = 0 ;
22241 char *kwnames[] = {
22242 (char *) "self", NULL
22243 };
22244
22245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22247 if (SWIG_arg_fail(1)) SWIG_fail;
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = (arg1)->GetMarginBottomRight();
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 {
22256 wxPoint * resultptr;
22257 resultptr = new wxPoint((wxPoint &)(result));
22258 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22259 }
22260 return resultobj;
22261 fail:
22262 return NULL;
22263 }
22264
22265
22266 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj;
22268 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22269 wxPoint result;
22270 PyObject * obj0 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail;
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 result = (arg1)->GetMinMarginTopLeft();
22281
22282 wxPyEndAllowThreads(__tstate);
22283 if (PyErr_Occurred()) SWIG_fail;
22284 }
22285 {
22286 wxPoint * resultptr;
22287 resultptr = new wxPoint((wxPoint &)(result));
22288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22289 }
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22299 wxPoint result;
22300 PyObject * obj0 = 0 ;
22301 char *kwnames[] = {
22302 (char *) "self", NULL
22303 };
22304
22305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22307 if (SWIG_arg_fail(1)) SWIG_fail;
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (arg1)->GetMinMarginBottomRight();
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 {
22316 wxPoint * resultptr;
22317 resultptr = new wxPoint((wxPoint &)(result));
22318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22319 }
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22329 wxPaperSize result;
22330 PyObject * obj0 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail;
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 result = (wxPaperSize)(arg1)->GetPaperId();
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 resultobj = SWIG_From_int((result));
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22355 wxSize result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail;
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (arg1)->GetPaperSize();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 wxSize * resultptr;
22373 resultptr = new wxSize((wxSize &)(result));
22374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22375 }
22376 return resultobj;
22377 fail:
22378 return NULL;
22379 }
22380
22381
22382 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22385 wxPrintData *result;
22386 PyObject * obj0 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail;
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 {
22397 wxPrintData &_result_ref = (arg1)->GetPrintData();
22398 result = (wxPrintData *) &_result_ref;
22399 }
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22405 return resultobj;
22406 fail:
22407 return NULL;
22408 }
22409
22410
22411 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj;
22413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22414 bool result;
22415 PyObject * obj0 = 0 ;
22416 char *kwnames[] = {
22417 (char *) "self", NULL
22418 };
22419
22420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22422 if (SWIG_arg_fail(1)) SWIG_fail;
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 result = (bool)(arg1)->Ok();
22426
22427 wxPyEndAllowThreads(__tstate);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 }
22430 {
22431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22432 }
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22442 bool arg2 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "flag", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22451 if (SWIG_arg_fail(1)) SWIG_fail;
22452 {
22453 arg2 = (bool)(SWIG_As_bool(obj1));
22454 if (SWIG_arg_fail(2)) SWIG_fail;
22455 }
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 (arg1)->SetDefaultInfo(arg2);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 Py_INCREF(Py_None); resultobj = Py_None;
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22473 bool arg2 ;
22474 PyObject * obj0 = 0 ;
22475 PyObject * obj1 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self",(char *) "flag", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail;
22483 {
22484 arg2 = (bool)(SWIG_As_bool(obj1));
22485 if (SWIG_arg_fail(2)) SWIG_fail;
22486 }
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 (arg1)->SetDefaultMinMargins(arg2);
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 Py_INCREF(Py_None); resultobj = Py_None;
22495 return resultobj;
22496 fail:
22497 return NULL;
22498 }
22499
22500
22501 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22502 PyObject *resultobj;
22503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22504 wxPoint *arg2 = 0 ;
22505 wxPoint temp2 ;
22506 PyObject * obj0 = 0 ;
22507 PyObject * obj1 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self",(char *) "pt", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail;
22515 {
22516 arg2 = &temp2;
22517 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22518 }
22519 {
22520 PyThreadState* __tstate = wxPyBeginAllowThreads();
22521 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22522
22523 wxPyEndAllowThreads(__tstate);
22524 if (PyErr_Occurred()) SWIG_fail;
22525 }
22526 Py_INCREF(Py_None); resultobj = Py_None;
22527 return resultobj;
22528 fail:
22529 return NULL;
22530 }
22531
22532
22533 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22534 PyObject *resultobj;
22535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22536 wxPoint *arg2 = 0 ;
22537 wxPoint temp2 ;
22538 PyObject * obj0 = 0 ;
22539 PyObject * obj1 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "pt", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22546 if (SWIG_arg_fail(1)) SWIG_fail;
22547 {
22548 arg2 = &temp2;
22549 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22550 }
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 Py_INCREF(Py_None); resultobj = Py_None;
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22568 wxPoint *arg2 = 0 ;
22569 wxPoint temp2 ;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self",(char *) "pt", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail;
22579 {
22580 arg2 = &temp2;
22581 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22582 }
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22598 PyObject *resultobj;
22599 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22600 wxPoint *arg2 = 0 ;
22601 wxPoint temp2 ;
22602 PyObject * obj0 = 0 ;
22603 PyObject * obj1 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self",(char *) "pt", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail;
22611 {
22612 arg2 = &temp2;
22613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22614 }
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 Py_INCREF(Py_None); resultobj = Py_None;
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22632 wxPaperSize arg2 ;
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "id", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail;
22642 {
22643 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22644 if (SWIG_arg_fail(2)) SWIG_fail;
22645 }
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 (arg1)->SetPaperId((wxPaperSize )arg2);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 Py_INCREF(Py_None); resultobj = Py_None;
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22663 wxSize *arg2 = 0 ;
22664 wxSize temp2 ;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "size", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail;
22674 {
22675 arg2 = &temp2;
22676 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->SetPaperSize((wxSize const &)*arg2);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22695 wxPrintData *arg2 = 0 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "printData", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22704 if (SWIG_arg_fail(1)) SWIG_fail;
22705 {
22706 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(2)) SWIG_fail;
22708 if (arg2 == NULL) {
22709 SWIG_null_ref("wxPrintData");
22710 }
22711 if (SWIG_arg_fail(2)) SWIG_fail;
22712 }
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail;
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 (arg1)->CalculateIdFromPaperSize();
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 Py_INCREF(Py_None); resultobj = Py_None;
22746 return resultobj;
22747 fail:
22748 return NULL;
22749 }
22750
22751
22752 static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22755 PyObject * obj0 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22762 if (SWIG_arg_fail(1)) SWIG_fail;
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 (arg1)->CalculatePaperSizeFromId();
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 Py_INCREF(Py_None); resultobj = Py_None;
22771 return resultobj;
22772 fail:
22773 return NULL;
22774 }
22775
22776
22777 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22778 PyObject *obj;
22779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22780 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22781 Py_INCREF(obj);
22782 return Py_BuildValue((char *)"");
22783 }
22784 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22785 PyObject *resultobj;
22786 wxWindow *arg1 = (wxWindow *) 0 ;
22787 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22788 wxPageSetupDialog *result;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "parent",(char *) "data", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail;
22798 if (obj1) {
22799 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22800 if (SWIG_arg_fail(2)) SWIG_fail;
22801 }
22802 {
22803 if (!wxPyCheckForApp()) SWIG_fail;
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22811 return resultobj;
22812 fail:
22813 return NULL;
22814 }
22815
22816
22817 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22820 wxPageSetupDialogData *result;
22821 PyObject * obj0 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self", NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22828 if (SWIG_arg_fail(1)) SWIG_fail;
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 {
22832 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22833 result = (wxPageSetupDialogData *) &_result_ref;
22834 }
22835
22836 wxPyEndAllowThreads(__tstate);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22840 return resultobj;
22841 fail:
22842 return NULL;
22843 }
22844
22845
22846 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22847 PyObject *resultobj;
22848 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22849 wxPageSetupDialogData *result;
22850 PyObject * obj0 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22857 if (SWIG_arg_fail(1)) SWIG_fail;
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 {
22861 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22862 result = (wxPageSetupDialogData *) &_result_ref;
22863 }
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22869 return resultobj;
22870 fail:
22871 return NULL;
22872 }
22873
22874
22875 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22876 PyObject *resultobj;
22877 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22878 int result;
22879 PyObject * obj0 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 result = (int)(arg1)->ShowModal();
22890
22891 wxPyEndAllowThreads(__tstate);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 }
22894 {
22895 resultobj = SWIG_From_int((int)(result));
22896 }
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22904 PyObject *obj;
22905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22907 Py_INCREF(obj);
22908 return Py_BuildValue((char *)"");
22909 }
22910 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22911 PyObject *resultobj;
22912 wxPrintDialogData *result;
22913
22914 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22915 {
22916 PyThreadState* __tstate = wxPyBeginAllowThreads();
22917 result = (wxPrintDialogData *)new wxPrintDialogData();
22918
22919 wxPyEndAllowThreads(__tstate);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22923 return resultobj;
22924 fail:
22925 return NULL;
22926 }
22927
22928
22929 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22930 PyObject *resultobj;
22931 wxPrintData *arg1 = 0 ;
22932 wxPrintDialogData *result;
22933 PyObject * obj0 = 0 ;
22934
22935 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22936 {
22937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail;
22939 if (arg1 == NULL) {
22940 SWIG_null_ref("wxPrintData");
22941 }
22942 if (SWIG_arg_fail(1)) SWIG_fail;
22943 }
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22952 return resultobj;
22953 fail:
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22959 PyObject *resultobj;
22960 wxPrintDialogData *arg1 = 0 ;
22961 wxPrintDialogData *result;
22962 PyObject * obj0 = 0 ;
22963
22964 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22965 {
22966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail;
22968 if (arg1 == NULL) {
22969 SWIG_null_ref("wxPrintDialogData");
22970 }
22971 if (SWIG_arg_fail(1)) SWIG_fail;
22972 }
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22988 int argc;
22989 PyObject *argv[2];
22990 int ii;
22991
22992 argc = PyObject_Length(args);
22993 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22994 argv[ii] = PyTuple_GetItem(args,ii);
22995 }
22996 if (argc == 0) {
22997 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22998 }
22999 if (argc == 1) {
23000 int _v;
23001 {
23002 void *ptr = 0;
23003 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23004 _v = 0;
23005 PyErr_Clear();
23006 } else {
23007 _v = (ptr != 0);
23008 }
23009 }
23010 if (_v) {
23011 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23012 }
23013 }
23014 if (argc == 1) {
23015 int _v;
23016 {
23017 void *ptr = 0;
23018 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23019 _v = 0;
23020 PyErr_Clear();
23021 } else {
23022 _v = (ptr != 0);
23023 }
23024 }
23025 if (_v) {
23026 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23027 }
23028 }
23029
23030 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23038 PyObject * obj0 = 0 ;
23039 char *kwnames[] = {
23040 (char *) "self", NULL
23041 };
23042
23043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
23044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail;
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 delete arg1;
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057 }
23058
23059
23060 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23063 int result;
23064 PyObject * obj0 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
23070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail;
23072 {
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23075
23076 wxPyEndAllowThreads(__tstate);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 }
23079 {
23080 resultobj = SWIG_From_int((int)(result));
23081 }
23082 return resultobj;
23083 fail:
23084 return NULL;
23085 }
23086
23087
23088 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23091 int result;
23092 PyObject * obj0 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "self", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
23098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23099 if (SWIG_arg_fail(1)) SWIG_fail;
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 {
23108 resultobj = SWIG_From_int((int)(result));
23109 }
23110 return resultobj;
23111 fail:
23112 return NULL;
23113 }
23114
23115
23116 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23117 PyObject *resultobj;
23118 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23119 int result;
23120 PyObject * obj0 = 0 ;
23121 char *kwnames[] = {
23122 (char *) "self", NULL
23123 };
23124
23125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23127 if (SWIG_arg_fail(1)) SWIG_fail;
23128 {
23129 PyThreadState* __tstate = wxPyBeginAllowThreads();
23130 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23131
23132 wxPyEndAllowThreads(__tstate);
23133 if (PyErr_Occurred()) SWIG_fail;
23134 }
23135 {
23136 resultobj = SWIG_From_int((int)(result));
23137 }
23138 return resultobj;
23139 fail:
23140 return NULL;
23141 }
23142
23143
23144 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23147 int result;
23148 PyObject * obj0 = 0 ;
23149 char *kwnames[] = {
23150 (char *) "self", NULL
23151 };
23152
23153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail;
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 {
23164 resultobj = SWIG_From_int((int)(result));
23165 }
23166 return resultobj;
23167 fail:
23168 return NULL;
23169 }
23170
23171
23172 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23173 PyObject *resultobj;
23174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23175 int result;
23176 PyObject * obj0 = 0 ;
23177 char *kwnames[] = {
23178 (char *) "self", NULL
23179 };
23180
23181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23183 if (SWIG_arg_fail(1)) SWIG_fail;
23184 {
23185 PyThreadState* __tstate = wxPyBeginAllowThreads();
23186 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23187
23188 wxPyEndAllowThreads(__tstate);
23189 if (PyErr_Occurred()) SWIG_fail;
23190 }
23191 {
23192 resultobj = SWIG_From_int((int)(result));
23193 }
23194 return resultobj;
23195 fail:
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23203 bool result;
23204 PyObject * obj0 = 0 ;
23205 char *kwnames[] = {
23206 (char *) "self", NULL
23207 };
23208
23209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23211 if (SWIG_arg_fail(1)) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23221 }
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23231 bool result;
23232 PyObject * obj0 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "self", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail;
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 {
23248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23249 }
23250 return resultobj;
23251 fail:
23252 return NULL;
23253 }
23254
23255
23256 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23259 bool result;
23260 PyObject * obj0 = 0 ;
23261 char *kwnames[] = {
23262 (char *) "self", NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23267 if (SWIG_arg_fail(1)) SWIG_fail;
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 {
23276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23277 }
23278 return resultobj;
23279 fail:
23280 return NULL;
23281 }
23282
23283
23284 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23285 PyObject *resultobj;
23286 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23287 bool result;
23288 PyObject * obj0 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23295 if (SWIG_arg_fail(1)) SWIG_fail;
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 {
23304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23305 }
23306 return resultobj;
23307 fail:
23308 return NULL;
23309 }
23310
23311
23312 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23313 PyObject *resultobj;
23314 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23315 bool result;
23316 PyObject * obj0 = 0 ;
23317 char *kwnames[] = {
23318 (char *) "self", NULL
23319 };
23320
23321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23323 if (SWIG_arg_fail(1)) SWIG_fail;
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 {
23332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23333 }
23334 return resultobj;
23335 fail:
23336 return NULL;
23337 }
23338
23339
23340 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23341 PyObject *resultobj;
23342 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23343 bool arg2 ;
23344 PyObject * obj0 = 0 ;
23345 PyObject * obj1 = 0 ;
23346 char *kwnames[] = {
23347 (char *) "self",(char *) "flag", NULL
23348 };
23349
23350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
23355 if (SWIG_arg_fail(2)) SWIG_fail;
23356 }
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 (arg1)->SetSetupDialog(arg2);
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 Py_INCREF(Py_None); resultobj = Py_None;
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23374 int arg2 ;
23375 PyObject * obj0 = 0 ;
23376 PyObject * obj1 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "self",(char *) "v", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail;
23384 {
23385 arg2 = (int)(SWIG_As_int(obj1));
23386 if (SWIG_arg_fail(2)) SWIG_fail;
23387 }
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 (arg1)->SetFromPage(arg2);
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 Py_INCREF(Py_None); resultobj = Py_None;
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23405 int arg2 ;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self",(char *) "v", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail;
23415 {
23416 arg2 = (int)(SWIG_As_int(obj1));
23417 if (SWIG_arg_fail(2)) SWIG_fail;
23418 }
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 (arg1)->SetToPage(arg2);
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23436 int arg2 ;
23437 PyObject * obj0 = 0 ;
23438 PyObject * obj1 = 0 ;
23439 char *kwnames[] = {
23440 (char *) "self",(char *) "v", NULL
23441 };
23442
23443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23445 if (SWIG_arg_fail(1)) SWIG_fail;
23446 {
23447 arg2 = (int)(SWIG_As_int(obj1));
23448 if (SWIG_arg_fail(2)) SWIG_fail;
23449 }
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 (arg1)->SetMinPage(arg2);
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 Py_INCREF(Py_None); resultobj = Py_None;
23458 return resultobj;
23459 fail:
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23467 int arg2 ;
23468 PyObject * obj0 = 0 ;
23469 PyObject * obj1 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self",(char *) "v", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23476 if (SWIG_arg_fail(1)) SWIG_fail;
23477 {
23478 arg2 = (int)(SWIG_As_int(obj1));
23479 if (SWIG_arg_fail(2)) SWIG_fail;
23480 }
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 (arg1)->SetMaxPage(arg2);
23484
23485 wxPyEndAllowThreads(__tstate);
23486 if (PyErr_Occurred()) SWIG_fail;
23487 }
23488 Py_INCREF(Py_None); resultobj = Py_None;
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23496 PyObject *resultobj;
23497 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23498 int arg2 ;
23499 PyObject * obj0 = 0 ;
23500 PyObject * obj1 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "v", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail;
23508 {
23509 arg2 = (int)(SWIG_As_int(obj1));
23510 if (SWIG_arg_fail(2)) SWIG_fail;
23511 }
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 (arg1)->SetNoCopies(arg2);
23515
23516 wxPyEndAllowThreads(__tstate);
23517 if (PyErr_Occurred()) SWIG_fail;
23518 }
23519 Py_INCREF(Py_None); resultobj = Py_None;
23520 return resultobj;
23521 fail:
23522 return NULL;
23523 }
23524
23525
23526 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23527 PyObject *resultobj;
23528 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23529 bool arg2 ;
23530 PyObject * obj0 = 0 ;
23531 PyObject * obj1 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self",(char *) "flag", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
23539 {
23540 arg2 = (bool)(SWIG_As_bool(obj1));
23541 if (SWIG_arg_fail(2)) SWIG_fail;
23542 }
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 (arg1)->SetAllPages(arg2);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 Py_INCREF(Py_None); resultobj = Py_None;
23551 return resultobj;
23552 fail:
23553 return NULL;
23554 }
23555
23556
23557 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23558 PyObject *resultobj;
23559 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23560 bool arg2 ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self",(char *) "flag", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23569 if (SWIG_arg_fail(1)) SWIG_fail;
23570 {
23571 arg2 = (bool)(SWIG_As_bool(obj1));
23572 if (SWIG_arg_fail(2)) SWIG_fail;
23573 }
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 (arg1)->SetSelection(arg2);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23591 bool arg2 ;
23592 PyObject * obj0 = 0 ;
23593 PyObject * obj1 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "flag", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23600 if (SWIG_arg_fail(1)) SWIG_fail;
23601 {
23602 arg2 = (bool)(SWIG_As_bool(obj1));
23603 if (SWIG_arg_fail(2)) SWIG_fail;
23604 }
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 (arg1)->SetCollate(arg2);
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 Py_INCREF(Py_None); resultobj = Py_None;
23613 return resultobj;
23614 fail:
23615 return NULL;
23616 }
23617
23618
23619 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23620 PyObject *resultobj;
23621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23622 bool arg2 ;
23623 PyObject * obj0 = 0 ;
23624 PyObject * obj1 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self",(char *) "flag", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail;
23632 {
23633 arg2 = (bool)(SWIG_As_bool(obj1));
23634 if (SWIG_arg_fail(2)) SWIG_fail;
23635 }
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 (arg1)->SetPrintToFile(arg2);
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 Py_INCREF(Py_None); resultobj = Py_None;
23644 return resultobj;
23645 fail:
23646 return NULL;
23647 }
23648
23649
23650 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23651 PyObject *resultobj;
23652 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23653 bool arg2 ;
23654 PyObject * obj0 = 0 ;
23655 PyObject * obj1 = 0 ;
23656 char *kwnames[] = {
23657 (char *) "self",(char *) "flag", NULL
23658 };
23659
23660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23662 if (SWIG_arg_fail(1)) SWIG_fail;
23663 {
23664 arg2 = (bool)(SWIG_As_bool(obj1));
23665 if (SWIG_arg_fail(2)) SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 (arg1)->EnablePrintToFile(arg2);
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 Py_INCREF(Py_None); resultobj = Py_None;
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23684 bool arg2 ;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "flag", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23693 if (SWIG_arg_fail(1)) SWIG_fail;
23694 {
23695 arg2 = (bool)(SWIG_As_bool(obj1));
23696 if (SWIG_arg_fail(2)) SWIG_fail;
23697 }
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->EnableSelection(arg2);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 Py_INCREF(Py_None); resultobj = Py_None;
23706 return resultobj;
23707 fail:
23708 return NULL;
23709 }
23710
23711
23712 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23715 bool arg2 ;
23716 PyObject * obj0 = 0 ;
23717 PyObject * obj1 = 0 ;
23718 char *kwnames[] = {
23719 (char *) "self",(char *) "flag", NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23724 if (SWIG_arg_fail(1)) SWIG_fail;
23725 {
23726 arg2 = (bool)(SWIG_As_bool(obj1));
23727 if (SWIG_arg_fail(2)) SWIG_fail;
23728 }
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 (arg1)->EnablePageNumbers(arg2);
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 Py_INCREF(Py_None); resultobj = Py_None;
23737 return resultobj;
23738 fail:
23739 return NULL;
23740 }
23741
23742
23743 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23744 PyObject *resultobj;
23745 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23746 bool arg2 ;
23747 PyObject * obj0 = 0 ;
23748 PyObject * obj1 = 0 ;
23749 char *kwnames[] = {
23750 (char *) "self",(char *) "flag", NULL
23751 };
23752
23753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23755 if (SWIG_arg_fail(1)) SWIG_fail;
23756 {
23757 arg2 = (bool)(SWIG_As_bool(obj1));
23758 if (SWIG_arg_fail(2)) SWIG_fail;
23759 }
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 (arg1)->EnableHelp(arg2);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 Py_INCREF(Py_None); resultobj = Py_None;
23768 return resultobj;
23769 fail:
23770 return NULL;
23771 }
23772
23773
23774 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23777 bool result;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23785 if (SWIG_arg_fail(1)) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23803 PyObject *resultobj;
23804 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23805 bool result;
23806 PyObject * obj0 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail;
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 {
23822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23823 }
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23831 PyObject *resultobj;
23832 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23833 bool result;
23834 PyObject * obj0 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23841 if (SWIG_arg_fail(1)) SWIG_fail;
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 {
23850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23851 }
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23859 PyObject *resultobj;
23860 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23861 bool result;
23862 PyObject * obj0 = 0 ;
23863 char *kwnames[] = {
23864 (char *) "self", NULL
23865 };
23866
23867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23869 if (SWIG_arg_fail(1)) SWIG_fail;
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 {
23878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23879 }
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23889 bool result;
23890 PyObject * obj0 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23897 if (SWIG_arg_fail(1)) SWIG_fail;
23898 {
23899 PyThreadState* __tstate = wxPyBeginAllowThreads();
23900 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23901
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 {
23906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23907 }
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23915 PyObject *resultobj;
23916 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23917 wxPrintData *result;
23918 PyObject * obj0 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23925 if (SWIG_arg_fail(1)) SWIG_fail;
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 {
23929 wxPrintData &_result_ref = (arg1)->GetPrintData();
23930 result = (wxPrintData *) &_result_ref;
23931 }
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23937 return resultobj;
23938 fail:
23939 return NULL;
23940 }
23941
23942
23943 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23944 PyObject *resultobj;
23945 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23946 wxPrintData *arg2 = 0 ;
23947 PyObject * obj0 = 0 ;
23948 PyObject * obj1 = 0 ;
23949 char *kwnames[] = {
23950 (char *) "self",(char *) "printData", NULL
23951 };
23952
23953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail;
23956 {
23957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23958 if (SWIG_arg_fail(2)) SWIG_fail;
23959 if (arg2 == NULL) {
23960 SWIG_null_ref("wxPrintData");
23961 }
23962 if (SWIG_arg_fail(2)) SWIG_fail;
23963 }
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23967
23968 wxPyEndAllowThreads(__tstate);
23969 if (PyErr_Occurred()) SWIG_fail;
23970 }
23971 Py_INCREF(Py_None); resultobj = Py_None;
23972 return resultobj;
23973 fail:
23974 return NULL;
23975 }
23976
23977
23978 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23979 PyObject *obj;
23980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23981 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23982 Py_INCREF(obj);
23983 return Py_BuildValue((char *)"");
23984 }
23985 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23986 PyObject *resultobj;
23987 wxWindow *arg1 = (wxWindow *) 0 ;
23988 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23989 wxPrintDialog *result;
23990 PyObject * obj0 = 0 ;
23991 PyObject * obj1 = 0 ;
23992 char *kwnames[] = {
23993 (char *) "parent",(char *) "data", NULL
23994 };
23995
23996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail;
23999 if (obj1) {
24000 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24001 if (SWIG_arg_fail(2)) SWIG_fail;
24002 }
24003 {
24004 if (!wxPyCheckForApp()) SWIG_fail;
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24012 return resultobj;
24013 fail:
24014 return NULL;
24015 }
24016
24017
24018 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24021 int result;
24022 PyObject * obj0 = 0 ;
24023 char *kwnames[] = {
24024 (char *) "self", NULL
24025 };
24026
24027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
24028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24029 if (SWIG_arg_fail(1)) SWIG_fail;
24030 {
24031 PyThreadState* __tstate = wxPyBeginAllowThreads();
24032 result = (int)(arg1)->ShowModal();
24033
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 {
24038 resultobj = SWIG_From_int((int)(result));
24039 }
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24049 wxPrintDialogData *result;
24050 PyObject * obj0 = 0 ;
24051 char *kwnames[] = {
24052 (char *) "self", NULL
24053 };
24054
24055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
24056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24057 if (SWIG_arg_fail(1)) SWIG_fail;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 {
24061 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24062 result = (wxPrintDialogData *) &_result_ref;
24063 }
24064
24065 wxPyEndAllowThreads(__tstate);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24069 return resultobj;
24070 fail:
24071 return NULL;
24072 }
24073
24074
24075 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
24076 PyObject *resultobj;
24077 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24078 wxPrintData *result;
24079 PyObject * obj0 = 0 ;
24080 char *kwnames[] = {
24081 (char *) "self", NULL
24082 };
24083
24084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
24085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail;
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 {
24090 wxPrintData &_result_ref = (arg1)->GetPrintData();
24091 result = (wxPrintData *) &_result_ref;
24092 }
24093
24094 wxPyEndAllowThreads(__tstate);
24095 if (PyErr_Occurred()) SWIG_fail;
24096 }
24097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24107 wxDC *result;
24108 PyObject * obj0 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (wxDC *)(arg1)->GetPrintDC();
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 {
24124 resultobj = wxPyMake_wxObject(result, 1);
24125 }
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24133 PyObject *obj;
24134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24135 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24136 Py_INCREF(obj);
24137 return Py_BuildValue((char *)"");
24138 }
24139 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24142 wxPrinter *result;
24143 PyObject * obj0 = 0 ;
24144 char *kwnames[] = {
24145 (char *) "data", NULL
24146 };
24147
24148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24149 if (obj0) {
24150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail;
24152 }
24153 {
24154 if (!wxPyCheckForApp()) SWIG_fail;
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 result = (wxPrinter *)new wxPrinter(arg1);
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24162 return resultobj;
24163 fail:
24164 return NULL;
24165 }
24166
24167
24168 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24169 PyObject *resultobj;
24170 wxPrinter *arg1 = (wxPrinter *) 0 ;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 delete arg1;
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 Py_INCREF(Py_None); resultobj = Py_None;
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPrinter *arg1 = (wxPrinter *) 0 ;
24196 wxWindow *arg2 = (wxWindow *) 0 ;
24197 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24198 wxWindow *result;
24199 PyObject * obj0 = 0 ;
24200 PyObject * obj1 = 0 ;
24201 PyObject * obj2 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "self",(char *) "parent",(char *) "printout", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24208 if (SWIG_arg_fail(1)) SWIG_fail;
24209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(2)) SWIG_fail;
24211 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24212 if (SWIG_arg_fail(3)) SWIG_fail;
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 {
24221 resultobj = wxPyMake_wxObject(result, 0);
24222 }
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxPrinter *arg1 = (wxPrinter *) 0 ;
24232 wxWindow *arg2 = (wxWindow *) 0 ;
24233 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24234 wxString *arg4 = 0 ;
24235 bool temp4 = false ;
24236 PyObject * obj0 = 0 ;
24237 PyObject * obj1 = 0 ;
24238 PyObject * obj2 = 0 ;
24239 PyObject * obj3 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail;
24247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail;
24249 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24250 if (SWIG_arg_fail(3)) SWIG_fail;
24251 {
24252 arg4 = wxString_in_helper(obj3);
24253 if (arg4 == NULL) SWIG_fail;
24254 temp4 = true;
24255 }
24256 {
24257 PyThreadState* __tstate = wxPyBeginAllowThreads();
24258 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24259
24260 wxPyEndAllowThreads(__tstate);
24261 if (PyErr_Occurred()) SWIG_fail;
24262 }
24263 Py_INCREF(Py_None); resultobj = Py_None;
24264 {
24265 if (temp4)
24266 delete arg4;
24267 }
24268 return resultobj;
24269 fail:
24270 {
24271 if (temp4)
24272 delete arg4;
24273 }
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxPrinter *arg1 = (wxPrinter *) 0 ;
24281 wxWindow *arg2 = (wxWindow *) 0 ;
24282 bool result;
24283 PyObject * obj0 = 0 ;
24284 PyObject * obj1 = 0 ;
24285 char *kwnames[] = {
24286 (char *) "self",(char *) "parent", NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24291 if (SWIG_arg_fail(1)) SWIG_fail;
24292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(2)) SWIG_fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 result = (bool)(arg1)->Setup(arg2);
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 {
24302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24303 }
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPrinter *arg1 = (wxPrinter *) 0 ;
24313 wxWindow *arg2 = (wxWindow *) 0 ;
24314 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24315 bool arg4 = (bool) true ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
24319 PyObject * obj2 = 0 ;
24320 PyObject * obj3 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24327 if (SWIG_arg_fail(1)) SWIG_fail;
24328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24329 if (SWIG_arg_fail(2)) SWIG_fail;
24330 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24331 if (SWIG_arg_fail(3)) SWIG_fail;
24332 if (obj3) {
24333 {
24334 arg4 = (bool)(SWIG_As_bool(obj3));
24335 if (SWIG_arg_fail(4)) SWIG_fail;
24336 }
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 {
24346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24347 }
24348 return resultobj;
24349 fail:
24350 return NULL;
24351 }
24352
24353
24354 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24355 PyObject *resultobj;
24356 wxPrinter *arg1 = (wxPrinter *) 0 ;
24357 wxWindow *arg2 = (wxWindow *) 0 ;
24358 wxDC *result;
24359 PyObject * obj0 = 0 ;
24360 PyObject * obj1 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self",(char *) "parent", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail;
24368 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24369 if (SWIG_arg_fail(2)) SWIG_fail;
24370 {
24371 PyThreadState* __tstate = wxPyBeginAllowThreads();
24372 result = (wxDC *)(arg1)->PrintDialog(arg2);
24373
24374 wxPyEndAllowThreads(__tstate);
24375 if (PyErr_Occurred()) SWIG_fail;
24376 }
24377 {
24378 resultobj = wxPyMake_wxObject(result, 0);
24379 }
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj;
24388 wxPrinter *arg1 = (wxPrinter *) 0 ;
24389 wxPrintDialogData *result;
24390 PyObject * obj0 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "self", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 {
24401 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24402 result = (wxPrintDialogData *) &_result_ref;
24403 }
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24409 return resultobj;
24410 fail:
24411 return NULL;
24412 }
24413
24414
24415 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxPrinter *arg1 = (wxPrinter *) 0 ;
24418 bool result;
24419 PyObject * obj0 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 result = (bool)(arg1)->GetAbort();
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 {
24435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24436 }
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj;
24445 wxPrinterError result;
24446 char *kwnames[] = {
24447 NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 result = (wxPrinterError)wxPrinter::GetLastError();
24454
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 resultobj = SWIG_From_int((result));
24459 return resultobj;
24460 fail:
24461 return NULL;
24462 }
24463
24464
24465 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24466 PyObject *obj;
24467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24468 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24469 Py_INCREF(obj);
24470 return Py_BuildValue((char *)"");
24471 }
24472 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24473 PyObject *resultobj;
24474 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24475 wxString *arg1 = (wxString *) &arg1_defvalue ;
24476 wxPyPrintout *result;
24477 bool temp1 = false ;
24478 PyObject * obj0 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "title", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24484 if (obj0) {
24485 {
24486 arg1 = wxString_in_helper(obj0);
24487 if (arg1 == NULL) SWIG_fail;
24488 temp1 = true;
24489 }
24490 }
24491 {
24492 if (!wxPyCheckForApp()) SWIG_fail;
24493 PyThreadState* __tstate = wxPyBeginAllowThreads();
24494 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24495
24496 wxPyEndAllowThreads(__tstate);
24497 if (PyErr_Occurred()) SWIG_fail;
24498 }
24499 {
24500 resultobj = wxPyMake_wxObject(result, 1);
24501 }
24502 {
24503 if (temp1)
24504 delete arg1;
24505 }
24506 return resultobj;
24507 fail:
24508 {
24509 if (temp1)
24510 delete arg1;
24511 }
24512 return NULL;
24513 }
24514
24515
24516 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24519 PyObject *arg2 = (PyObject *) 0 ;
24520 PyObject *arg3 = (PyObject *) 0 ;
24521 PyObject * obj0 = 0 ;
24522 PyObject * obj1 = 0 ;
24523 PyObject * obj2 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "self",(char *) "_class", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24530 if (SWIG_arg_fail(1)) SWIG_fail;
24531 arg2 = obj1;
24532 arg3 = obj2;
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 (arg1)->_setCallbackInfo(arg2,arg3);
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj;
24549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24550 wxString result;
24551 PyObject * obj0 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24558 if (SWIG_arg_fail(1)) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = ((wxPyPrintout const *)arg1)->GetTitle();
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 {
24567 #if wxUSE_UNICODE
24568 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24569 #else
24570 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24571 #endif
24572 }
24573 return resultobj;
24574 fail:
24575 return NULL;
24576 }
24577
24578
24579 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24580 PyObject *resultobj;
24581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24582 wxDC *result;
24583 PyObject * obj0 = 0 ;
24584 char *kwnames[] = {
24585 (char *) "self", NULL
24586 };
24587
24588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24590 if (SWIG_arg_fail(1)) SWIG_fail;
24591 {
24592 PyThreadState* __tstate = wxPyBeginAllowThreads();
24593 result = (wxDC *)(arg1)->GetDC();
24594
24595 wxPyEndAllowThreads(__tstate);
24596 if (PyErr_Occurred()) SWIG_fail;
24597 }
24598 {
24599 resultobj = wxPyMake_wxObject(result, 0);
24600 }
24601 return resultobj;
24602 fail:
24603 return NULL;
24604 }
24605
24606
24607 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24610 wxDC *arg2 = (wxDC *) 0 ;
24611 PyObject * obj0 = 0 ;
24612 PyObject * obj1 = 0 ;
24613 char *kwnames[] = {
24614 (char *) "self",(char *) "dc", NULL
24615 };
24616
24617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24619 if (SWIG_arg_fail(1)) SWIG_fail;
24620 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24621 if (SWIG_arg_fail(2)) SWIG_fail;
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 (arg1)->SetDC(arg2);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 Py_INCREF(Py_None); resultobj = Py_None;
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24639 int arg2 ;
24640 int arg3 ;
24641 PyObject * obj0 = 0 ;
24642 PyObject * obj1 = 0 ;
24643 PyObject * obj2 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self",(char *) "w",(char *) "h", NULL
24646 };
24647
24648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail;
24651 {
24652 arg2 = (int)(SWIG_As_int(obj1));
24653 if (SWIG_arg_fail(2)) SWIG_fail;
24654 }
24655 {
24656 arg3 = (int)(SWIG_As_int(obj2));
24657 if (SWIG_arg_fail(3)) SWIG_fail;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 (arg1)->SetPageSizePixels(arg2,arg3);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 Py_INCREF(Py_None); resultobj = Py_None;
24667 return resultobj;
24668 fail:
24669 return NULL;
24670 }
24671
24672
24673 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24674 PyObject *resultobj;
24675 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24676 int *arg2 = (int *) 0 ;
24677 int *arg3 = (int *) 0 ;
24678 int temp2 ;
24679 int res2 = 0 ;
24680 int temp3 ;
24681 int res3 = 0 ;
24682 PyObject * obj0 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self", NULL
24685 };
24686
24687 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24688 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24691 if (SWIG_arg_fail(1)) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 (arg1)->GetPageSizePixels(arg2,arg3);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 Py_INCREF(Py_None); resultobj = Py_None;
24700 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24701 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24702 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24703 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24704 return resultobj;
24705 fail:
24706 return NULL;
24707 }
24708
24709
24710 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24711 PyObject *resultobj;
24712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24713 int arg2 ;
24714 int arg3 ;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 PyObject * obj2 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self",(char *) "w",(char *) "h", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail;
24725 {
24726 arg2 = (int)(SWIG_As_int(obj1));
24727 if (SWIG_arg_fail(2)) SWIG_fail;
24728 }
24729 {
24730 arg3 = (int)(SWIG_As_int(obj2));
24731 if (SWIG_arg_fail(3)) SWIG_fail;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 (arg1)->SetPageSizeMM(arg2,arg3);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 Py_INCREF(Py_None); resultobj = Py_None;
24741 return resultobj;
24742 fail:
24743 return NULL;
24744 }
24745
24746
24747 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24750 int *arg2 = (int *) 0 ;
24751 int *arg3 = (int *) 0 ;
24752 int temp2 ;
24753 int res2 = 0 ;
24754 int temp3 ;
24755 int res3 = 0 ;
24756 PyObject * obj0 = 0 ;
24757 char *kwnames[] = {
24758 (char *) "self", NULL
24759 };
24760
24761 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24762 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail;
24766 {
24767 PyThreadState* __tstate = wxPyBeginAllowThreads();
24768 (arg1)->GetPageSizeMM(arg2,arg3);
24769
24770 wxPyEndAllowThreads(__tstate);
24771 if (PyErr_Occurred()) SWIG_fail;
24772 }
24773 Py_INCREF(Py_None); resultobj = Py_None;
24774 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24775 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24776 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24777 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24787 int arg2 ;
24788 int arg3 ;
24789 PyObject * obj0 = 0 ;
24790 PyObject * obj1 = 0 ;
24791 PyObject * obj2 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self",(char *) "x",(char *) "y", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24798 if (SWIG_arg_fail(1)) SWIG_fail;
24799 {
24800 arg2 = (int)(SWIG_As_int(obj1));
24801 if (SWIG_arg_fail(2)) SWIG_fail;
24802 }
24803 {
24804 arg3 = (int)(SWIG_As_int(obj2));
24805 if (SWIG_arg_fail(3)) SWIG_fail;
24806 }
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 (arg1)->SetPPIScreen(arg2,arg3);
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 Py_INCREF(Py_None); resultobj = Py_None;
24815 return resultobj;
24816 fail:
24817 return NULL;
24818 }
24819
24820
24821 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24822 PyObject *resultobj;
24823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24824 int *arg2 = (int *) 0 ;
24825 int *arg3 = (int *) 0 ;
24826 int temp2 ;
24827 int res2 = 0 ;
24828 int temp3 ;
24829 int res3 = 0 ;
24830 PyObject * obj0 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self", NULL
24833 };
24834
24835 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24836 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",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 (arg1)->GetPPIScreen(arg2,arg3);
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 Py_INCREF(Py_None); resultobj = Py_None;
24848 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24849 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24850 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24851 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24861 int arg2 ;
24862 int arg3 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 PyObject * obj2 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "x",(char *) "y", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
24873 {
24874 arg2 = (int)(SWIG_As_int(obj1));
24875 if (SWIG_arg_fail(2)) SWIG_fail;
24876 }
24877 {
24878 arg3 = (int)(SWIG_As_int(obj2));
24879 if (SWIG_arg_fail(3)) SWIG_fail;
24880 }
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 (arg1)->SetPPIPrinter(arg2,arg3);
24884
24885 wxPyEndAllowThreads(__tstate);
24886 if (PyErr_Occurred()) SWIG_fail;
24887 }
24888 Py_INCREF(Py_None); resultobj = Py_None;
24889 return resultobj;
24890 fail:
24891 return NULL;
24892 }
24893
24894
24895 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24896 PyObject *resultobj;
24897 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24898 int *arg2 = (int *) 0 ;
24899 int *arg3 = (int *) 0 ;
24900 int temp2 ;
24901 int res2 = 0 ;
24902 int temp3 ;
24903 int res3 = 0 ;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24910 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail;
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 (arg1)->GetPPIPrinter(arg2,arg3);
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 Py_INCREF(Py_None); resultobj = Py_None;
24922 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24923 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24924 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24925 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24926 return resultobj;
24927 fail:
24928 return NULL;
24929 }
24930
24931
24932 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24933 PyObject *resultobj;
24934 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24935 bool result;
24936 PyObject * obj0 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "self", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24943 if (SWIG_arg_fail(1)) SWIG_fail;
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = (bool)(arg1)->IsPreview();
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 {
24952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24953 }
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj;
24962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24963 bool arg2 ;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 char *kwnames[] = {
24967 (char *) "self",(char *) "p", NULL
24968 };
24969
24970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) 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 arg2 = (bool)(SWIG_As_bool(obj1));
24975 if (SWIG_arg_fail(2)) SWIG_fail;
24976 }
24977 {
24978 PyThreadState* __tstate = wxPyBeginAllowThreads();
24979 (arg1)->SetIsPreview(arg2);
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 Py_INCREF(Py_None); resultobj = Py_None;
24985 return resultobj;
24986 fail:
24987 return NULL;
24988 }
24989
24990
24991 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24992 PyObject *resultobj;
24993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24994 int arg2 ;
24995 int arg3 ;
24996 bool result;
24997 PyObject * obj0 = 0 ;
24998 PyObject * obj1 = 0 ;
24999 PyObject * obj2 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
25005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail;
25007 {
25008 arg2 = (int)(SWIG_As_int(obj1));
25009 if (SWIG_arg_fail(2)) SWIG_fail;
25010 }
25011 {
25012 arg3 = (int)(SWIG_As_int(obj2));
25013 if (SWIG_arg_fail(3)) SWIG_fail;
25014 }
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
25023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25024 }
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
25032 PyObject *resultobj;
25033 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25034 PyObject * obj0 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
25040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25041 if (SWIG_arg_fail(1)) SWIG_fail;
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 (arg1)->base_OnEndDocument();
25045
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 Py_INCREF(Py_None); resultobj = Py_None;
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25059 PyObject * obj0 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
25065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail;
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 (arg1)->base_OnBeginPrinting();
25070
25071 wxPyEndAllowThreads(__tstate);
25072 if (PyErr_Occurred()) SWIG_fail;
25073 }
25074 Py_INCREF(Py_None); resultobj = Py_None;
25075 return resultobj;
25076 fail:
25077 return NULL;
25078 }
25079
25080
25081 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25082 PyObject *resultobj;
25083 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25084 PyObject * obj0 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
25090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25091 if (SWIG_arg_fail(1)) SWIG_fail;
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 (arg1)->base_OnEndPrinting();
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 Py_INCREF(Py_None); resultobj = Py_None;
25100 return resultobj;
25101 fail:
25102 return NULL;
25103 }
25104
25105
25106 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25107 PyObject *resultobj;
25108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25109 PyObject * obj0 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25116 if (SWIG_arg_fail(1)) SWIG_fail;
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 (arg1)->base_OnPreparePrinting();
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 Py_INCREF(Py_None); resultobj = Py_None;
25125 return resultobj;
25126 fail:
25127 return NULL;
25128 }
25129
25130
25131 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj;
25133 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25134 int arg2 ;
25135 bool result;
25136 PyObject * obj0 = 0 ;
25137 PyObject * obj1 = 0 ;
25138 char *kwnames[] = {
25139 (char *) "self",(char *) "page", NULL
25140 };
25141
25142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail;
25145 {
25146 arg2 = (int)(SWIG_As_int(obj1));
25147 if (SWIG_arg_fail(2)) SWIG_fail;
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (bool)(arg1)->base_HasPage(arg2);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 {
25157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25158 }
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj;
25167 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25168 int *arg2 = (int *) 0 ;
25169 int *arg3 = (int *) 0 ;
25170 int *arg4 = (int *) 0 ;
25171 int *arg5 = (int *) 0 ;
25172 int temp2 ;
25173 int res2 = 0 ;
25174 int temp3 ;
25175 int res3 = 0 ;
25176 int temp4 ;
25177 int res4 = 0 ;
25178 int temp5 ;
25179 int res5 = 0 ;
25180 PyObject * obj0 = 0 ;
25181 char *kwnames[] = {
25182 (char *) "self", NULL
25183 };
25184
25185 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25186 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25187 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25188 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25191 if (SWIG_arg_fail(1)) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25201 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25202 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25203 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25204 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25205 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25206 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25207 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25215 PyObject *obj;
25216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25217 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25218 Py_INCREF(obj);
25219 return Py_BuildValue((char *)"");
25220 }
25221 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25222 PyObject *resultobj;
25223 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25224 wxWindow *arg2 = (wxWindow *) 0 ;
25225 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25226 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25227 wxSize const &arg4_defvalue = wxDefaultSize ;
25228 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25229 long arg5 = (long) 0 ;
25230 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25231 wxString *arg6 = (wxString *) &arg6_defvalue ;
25232 wxPreviewCanvas *result;
25233 wxPoint temp3 ;
25234 wxSize temp4 ;
25235 bool temp6 = false ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 PyObject * obj2 = 0 ;
25239 PyObject * obj3 = 0 ;
25240 PyObject * obj4 = 0 ;
25241 PyObject * obj5 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail;
25249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25250 if (SWIG_arg_fail(2)) SWIG_fail;
25251 if (obj2) {
25252 {
25253 arg3 = &temp3;
25254 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25255 }
25256 }
25257 if (obj3) {
25258 {
25259 arg4 = &temp4;
25260 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25261 }
25262 }
25263 if (obj4) {
25264 {
25265 arg5 = (long)(SWIG_As_long(obj4));
25266 if (SWIG_arg_fail(5)) SWIG_fail;
25267 }
25268 }
25269 if (obj5) {
25270 {
25271 arg6 = wxString_in_helper(obj5);
25272 if (arg6 == NULL) SWIG_fail;
25273 temp6 = true;
25274 }
25275 }
25276 {
25277 if (!wxPyCheckForApp()) SWIG_fail;
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25285 {
25286 if (temp6)
25287 delete arg6;
25288 }
25289 return resultobj;
25290 fail:
25291 {
25292 if (temp6)
25293 delete arg6;
25294 }
25295 return NULL;
25296 }
25297
25298
25299 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25300 PyObject *obj;
25301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25302 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25303 Py_INCREF(obj);
25304 return Py_BuildValue((char *)"");
25305 }
25306 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25309 wxFrame *arg2 = (wxFrame *) 0 ;
25310 wxString *arg3 = 0 ;
25311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25313 wxSize const &arg5_defvalue = wxDefaultSize ;
25314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25315 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25316 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25317 wxString *arg7 = (wxString *) &arg7_defvalue ;
25318 wxPreviewFrame *result;
25319 bool temp3 = false ;
25320 wxPoint temp4 ;
25321 wxSize temp5 ;
25322 bool temp7 = false ;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 PyObject * obj2 = 0 ;
25326 PyObject * obj3 = 0 ;
25327 PyObject * obj4 = 0 ;
25328 PyObject * obj5 = 0 ;
25329 PyObject * obj6 = 0 ;
25330 char *kwnames[] = {
25331 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25332 };
25333
25334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail;
25337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25338 if (SWIG_arg_fail(2)) SWIG_fail;
25339 {
25340 arg3 = wxString_in_helper(obj2);
25341 if (arg3 == NULL) SWIG_fail;
25342 temp3 = true;
25343 }
25344 if (obj3) {
25345 {
25346 arg4 = &temp4;
25347 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25348 }
25349 }
25350 if (obj4) {
25351 {
25352 arg5 = &temp5;
25353 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25354 }
25355 }
25356 if (obj5) {
25357 {
25358 arg6 = (long)(SWIG_As_long(obj5));
25359 if (SWIG_arg_fail(6)) SWIG_fail;
25360 }
25361 }
25362 if (obj6) {
25363 {
25364 arg7 = wxString_in_helper(obj6);
25365 if (arg7 == NULL) SWIG_fail;
25366 temp7 = true;
25367 }
25368 }
25369 {
25370 if (!wxPyCheckForApp()) SWIG_fail;
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25373
25374 wxPyEndAllowThreads(__tstate);
25375 if (PyErr_Occurred()) SWIG_fail;
25376 }
25377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25378 {
25379 if (temp3)
25380 delete arg3;
25381 }
25382 {
25383 if (temp7)
25384 delete arg7;
25385 }
25386 return resultobj;
25387 fail:
25388 {
25389 if (temp3)
25390 delete arg3;
25391 }
25392 {
25393 if (temp7)
25394 delete arg7;
25395 }
25396 return NULL;
25397 }
25398
25399
25400 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25401 PyObject *resultobj;
25402 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25403 PyObject * obj0 = 0 ;
25404 char *kwnames[] = {
25405 (char *) "self", NULL
25406 };
25407
25408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25410 if (SWIG_arg_fail(1)) SWIG_fail;
25411 {
25412 PyThreadState* __tstate = wxPyBeginAllowThreads();
25413 (arg1)->Initialize();
25414
25415 wxPyEndAllowThreads(__tstate);
25416 if (PyErr_Occurred()) SWIG_fail;
25417 }
25418 Py_INCREF(Py_None); resultobj = Py_None;
25419 return resultobj;
25420 fail:
25421 return NULL;
25422 }
25423
25424
25425 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25426 PyObject *resultobj;
25427 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25428 PyObject * obj0 = 0 ;
25429 char *kwnames[] = {
25430 (char *) "self", NULL
25431 };
25432
25433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail;
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 (arg1)->CreateControlBar();
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 Py_INCREF(Py_None); resultobj = Py_None;
25444 return resultobj;
25445 fail:
25446 return NULL;
25447 }
25448
25449
25450 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj;
25452 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25453 PyObject * obj0 = 0 ;
25454 char *kwnames[] = {
25455 (char *) "self", NULL
25456 };
25457
25458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25460 if (SWIG_arg_fail(1)) SWIG_fail;
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 (arg1)->CreateCanvas();
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 return resultobj;
25470 fail:
25471 return NULL;
25472 }
25473
25474
25475 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj;
25477 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25478 wxPreviewControlBar *result;
25479 PyObject * obj0 = 0 ;
25480 char *kwnames[] = {
25481 (char *) "self", NULL
25482 };
25483
25484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail;
25487 {
25488 PyThreadState* __tstate = wxPyBeginAllowThreads();
25489 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25490
25491 wxPyEndAllowThreads(__tstate);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 }
25494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25495 return resultobj;
25496 fail:
25497 return NULL;
25498 }
25499
25500
25501 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25502 PyObject *obj;
25503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25504 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25505 Py_INCREF(obj);
25506 return Py_BuildValue((char *)"");
25507 }
25508 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25511 long arg2 ;
25512 wxWindow *arg3 = (wxWindow *) 0 ;
25513 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25514 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25515 wxSize const &arg5_defvalue = wxDefaultSize ;
25516 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25517 long arg6 = (long) wxTAB_TRAVERSAL ;
25518 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25519 wxString *arg7 = (wxString *) &arg7_defvalue ;
25520 wxPreviewControlBar *result;
25521 wxPoint temp4 ;
25522 wxSize temp5 ;
25523 bool temp7 = false ;
25524 PyObject * obj0 = 0 ;
25525 PyObject * obj1 = 0 ;
25526 PyObject * obj2 = 0 ;
25527 PyObject * obj3 = 0 ;
25528 PyObject * obj4 = 0 ;
25529 PyObject * obj5 = 0 ;
25530 PyObject * obj6 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25537 if (SWIG_arg_fail(1)) SWIG_fail;
25538 {
25539 arg2 = (long)(SWIG_As_long(obj1));
25540 if (SWIG_arg_fail(2)) SWIG_fail;
25541 }
25542 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25543 if (SWIG_arg_fail(3)) SWIG_fail;
25544 if (obj3) {
25545 {
25546 arg4 = &temp4;
25547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25548 }
25549 }
25550 if (obj4) {
25551 {
25552 arg5 = &temp5;
25553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25554 }
25555 }
25556 if (obj5) {
25557 {
25558 arg6 = (long)(SWIG_As_long(obj5));
25559 if (SWIG_arg_fail(6)) SWIG_fail;
25560 }
25561 }
25562 if (obj6) {
25563 {
25564 arg7 = wxString_in_helper(obj6);
25565 if (arg7 == NULL) SWIG_fail;
25566 temp7 = true;
25567 }
25568 }
25569 {
25570 if (!wxPyCheckForApp()) SWIG_fail;
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25578 {
25579 if (temp7)
25580 delete arg7;
25581 }
25582 return resultobj;
25583 fail:
25584 {
25585 if (temp7)
25586 delete arg7;
25587 }
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25595 int result;
25596 PyObject * obj0 = 0 ;
25597 char *kwnames[] = {
25598 (char *) "self", NULL
25599 };
25600
25601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail;
25604 {
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 result = (int)(arg1)->GetZoomControl();
25607
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 {
25612 resultobj = SWIG_From_int((int)(result));
25613 }
25614 return resultobj;
25615 fail:
25616 return NULL;
25617 }
25618
25619
25620 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25621 PyObject *resultobj;
25622 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25623 int arg2 ;
25624 PyObject * obj0 = 0 ;
25625 PyObject * obj1 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self",(char *) "zoom", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25632 if (SWIG_arg_fail(1)) SWIG_fail;
25633 {
25634 arg2 = (int)(SWIG_As_int(obj1));
25635 if (SWIG_arg_fail(2)) SWIG_fail;
25636 }
25637 {
25638 PyThreadState* __tstate = wxPyBeginAllowThreads();
25639 (arg1)->SetZoomControl(arg2);
25640
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 Py_INCREF(Py_None); resultobj = Py_None;
25645 return resultobj;
25646 fail:
25647 return NULL;
25648 }
25649
25650
25651 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25652 PyObject *resultobj;
25653 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25654 wxPrintPreview *result;
25655 PyObject * obj0 = 0 ;
25656 char *kwnames[] = {
25657 (char *) "self", NULL
25658 };
25659
25660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25662 if (SWIG_arg_fail(1)) SWIG_fail;
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25666
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25680 PyObject * obj0 = 0 ;
25681 char *kwnames[] = {
25682 (char *) "self", NULL
25683 };
25684
25685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25687 if (SWIG_arg_fail(1)) SWIG_fail;
25688 {
25689 PyThreadState* __tstate = wxPyBeginAllowThreads();
25690 (arg1)->OnNext();
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 Py_INCREF(Py_None); resultobj = Py_None;
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25703 PyObject *resultobj;
25704 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25705 PyObject * obj0 = 0 ;
25706 char *kwnames[] = {
25707 (char *) "self", NULL
25708 };
25709
25710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail;
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 (arg1)->OnPrevious();
25716
25717 wxPyEndAllowThreads(__tstate);
25718 if (PyErr_Occurred()) SWIG_fail;
25719 }
25720 Py_INCREF(Py_None); resultobj = Py_None;
25721 return resultobj;
25722 fail:
25723 return NULL;
25724 }
25725
25726
25727 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25728 PyObject *resultobj;
25729 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25730 PyObject * obj0 = 0 ;
25731 char *kwnames[] = {
25732 (char *) "self", NULL
25733 };
25734
25735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25737 if (SWIG_arg_fail(1)) SWIG_fail;
25738 {
25739 PyThreadState* __tstate = wxPyBeginAllowThreads();
25740 (arg1)->OnFirst();
25741
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 Py_INCREF(Py_None); resultobj = Py_None;
25746 return resultobj;
25747 fail:
25748 return NULL;
25749 }
25750
25751
25752 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25753 PyObject *resultobj;
25754 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail;
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 (arg1)->OnLast();
25766
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 Py_INCREF(Py_None); resultobj = Py_None;
25771 return resultobj;
25772 fail:
25773 return NULL;
25774 }
25775
25776
25777 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25778 PyObject *resultobj;
25779 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25780 PyObject * obj0 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 (arg1)->OnGoto();
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 Py_INCREF(Py_None); resultobj = Py_None;
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25803 PyObject *obj;
25804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25805 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25806 Py_INCREF(obj);
25807 return Py_BuildValue((char *)"");
25808 }
25809 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25810 PyObject *resultobj;
25811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25812 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25813 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25814 wxPrintPreview *result;
25815 PyObject * obj0 = 0 ;
25816 PyObject * obj1 = 0 ;
25817 PyObject * obj2 = 0 ;
25818
25819 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
25822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25823 if (SWIG_arg_fail(2)) SWIG_fail;
25824 if (obj2) {
25825 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25826 if (SWIG_arg_fail(3)) SWIG_fail;
25827 }
25828 {
25829 if (!wxPyCheckForApp()) SWIG_fail;
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25837 return resultobj;
25838 fail:
25839 return NULL;
25840 }
25841
25842
25843 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25844 PyObject *resultobj;
25845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25846 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25847 wxPrintData *arg3 = (wxPrintData *) 0 ;
25848 wxPrintPreview *result;
25849 PyObject * obj0 = 0 ;
25850 PyObject * obj1 = 0 ;
25851 PyObject * obj2 = 0 ;
25852
25853 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail;
25856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25857 if (SWIG_arg_fail(2)) SWIG_fail;
25858 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25859 if (SWIG_arg_fail(3)) SWIG_fail;
25860 {
25861 if (!wxPyCheckForApp()) SWIG_fail;
25862 PyThreadState* __tstate = wxPyBeginAllowThreads();
25863 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25864
25865 wxPyEndAllowThreads(__tstate);
25866 if (PyErr_Occurred()) SWIG_fail;
25867 }
25868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25869 return resultobj;
25870 fail:
25871 return NULL;
25872 }
25873
25874
25875 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25876 int argc;
25877 PyObject *argv[4];
25878 int ii;
25879
25880 argc = PyObject_Length(args);
25881 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25882 argv[ii] = PyTuple_GetItem(args,ii);
25883 }
25884 if ((argc >= 2) && (argc <= 3)) {
25885 int _v;
25886 {
25887 void *ptr;
25888 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25889 _v = 0;
25890 PyErr_Clear();
25891 } else {
25892 _v = 1;
25893 }
25894 }
25895 if (_v) {
25896 {
25897 void *ptr;
25898 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25899 _v = 0;
25900 PyErr_Clear();
25901 } else {
25902 _v = 1;
25903 }
25904 }
25905 if (_v) {
25906 if (argc <= 2) {
25907 return _wrap_new_PrintPreview__SWIG_0(self,args);
25908 }
25909 {
25910 void *ptr;
25911 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25912 _v = 0;
25913 PyErr_Clear();
25914 } else {
25915 _v = 1;
25916 }
25917 }
25918 if (_v) {
25919 return _wrap_new_PrintPreview__SWIG_0(self,args);
25920 }
25921 }
25922 }
25923 }
25924 if (argc == 3) {
25925 int _v;
25926 {
25927 void *ptr;
25928 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25929 _v = 0;
25930 PyErr_Clear();
25931 } else {
25932 _v = 1;
25933 }
25934 }
25935 if (_v) {
25936 {
25937 void *ptr;
25938 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25939 _v = 0;
25940 PyErr_Clear();
25941 } else {
25942 _v = 1;
25943 }
25944 }
25945 if (_v) {
25946 {
25947 void *ptr;
25948 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25949 _v = 0;
25950 PyErr_Clear();
25951 } else {
25952 _v = 1;
25953 }
25954 }
25955 if (_v) {
25956 return _wrap_new_PrintPreview__SWIG_1(self,args);
25957 }
25958 }
25959 }
25960 }
25961
25962 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25963 return NULL;
25964 }
25965
25966
25967 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25968 PyObject *resultobj;
25969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25970 int arg2 ;
25971 bool result;
25972 PyObject * obj0 = 0 ;
25973 PyObject * obj1 = 0 ;
25974 char *kwnames[] = {
25975 (char *) "self",(char *) "pageNum", NULL
25976 };
25977
25978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25980 if (SWIG_arg_fail(1)) SWIG_fail;
25981 {
25982 arg2 = (int)(SWIG_As_int(obj1));
25983 if (SWIG_arg_fail(2)) SWIG_fail;
25984 }
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (bool)(arg1)->SetCurrentPage(arg2);
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 {
25993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25994 }
25995 return resultobj;
25996 fail:
25997 return NULL;
25998 }
25999
26000
26001 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26002 PyObject *resultobj;
26003 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26004 int result;
26005 PyObject * obj0 = 0 ;
26006 char *kwnames[] = {
26007 (char *) "self", NULL
26008 };
26009
26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
26011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26012 if (SWIG_arg_fail(1)) SWIG_fail;
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 result = (int)(arg1)->GetCurrentPage();
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 {
26021 resultobj = SWIG_From_int((int)(result));
26022 }
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj;
26031 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26032 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 char *kwnames[] = {
26036 (char *) "self",(char *) "printout", NULL
26037 };
26038
26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
26040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(1)) SWIG_fail;
26042 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26043 if (SWIG_arg_fail(2)) SWIG_fail;
26044 {
26045 PyThreadState* __tstate = wxPyBeginAllowThreads();
26046 (arg1)->SetPrintout(arg2);
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_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
26059 PyObject *resultobj;
26060 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26061 wxPyPrintout *result;
26062 PyObject * obj0 = 0 ;
26063 char *kwnames[] = {
26064 (char *) "self", NULL
26065 };
26066
26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
26068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26069 if (SWIG_arg_fail(1)) SWIG_fail;
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 result = (wxPyPrintout *)(arg1)->GetPrintout();
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 {
26078 resultobj = wxPyMake_wxObject(result, 0);
26079 }
26080 return resultobj;
26081 fail:
26082 return NULL;
26083 }
26084
26085
26086 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
26087 PyObject *resultobj;
26088 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26089 wxPyPrintout *result;
26090 PyObject * obj0 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
26096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26097 if (SWIG_arg_fail(1)) SWIG_fail;
26098 {
26099 PyThreadState* __tstate = wxPyBeginAllowThreads();
26100 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26101
26102 wxPyEndAllowThreads(__tstate);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 {
26106 resultobj = wxPyMake_wxObject(result, 0);
26107 }
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj;
26116 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26117 wxFrame *arg2 = (wxFrame *) 0 ;
26118 PyObject * obj0 = 0 ;
26119 PyObject * obj1 = 0 ;
26120 char *kwnames[] = {
26121 (char *) "self",(char *) "frame", NULL
26122 };
26123
26124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26126 if (SWIG_arg_fail(1)) SWIG_fail;
26127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26128 if (SWIG_arg_fail(2)) SWIG_fail;
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 (arg1)->SetFrame(arg2);
26132
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 Py_INCREF(Py_None); resultobj = Py_None;
26137 return resultobj;
26138 fail:
26139 return NULL;
26140 }
26141
26142
26143 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26146 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26147 PyObject * obj0 = 0 ;
26148 PyObject * obj1 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "canvas", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail;
26156 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26157 if (SWIG_arg_fail(2)) SWIG_fail;
26158 {
26159 PyThreadState* __tstate = wxPyBeginAllowThreads();
26160 (arg1)->SetCanvas(arg2);
26161
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 Py_INCREF(Py_None); resultobj = Py_None;
26166 return resultobj;
26167 fail:
26168 return NULL;
26169 }
26170
26171
26172 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26173 PyObject *resultobj;
26174 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26175 wxFrame *result;
26176 PyObject * obj0 = 0 ;
26177 char *kwnames[] = {
26178 (char *) "self", NULL
26179 };
26180
26181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26183 if (SWIG_arg_fail(1)) SWIG_fail;
26184 {
26185 PyThreadState* __tstate = wxPyBeginAllowThreads();
26186 result = (wxFrame *)(arg1)->GetFrame();
26187
26188 wxPyEndAllowThreads(__tstate);
26189 if (PyErr_Occurred()) SWIG_fail;
26190 }
26191 {
26192 resultobj = wxPyMake_wxObject(result, 0);
26193 }
26194 return resultobj;
26195 fail:
26196 return NULL;
26197 }
26198
26199
26200 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26201 PyObject *resultobj;
26202 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26203 wxPreviewCanvas *result;
26204 PyObject * obj0 = 0 ;
26205 char *kwnames[] = {
26206 (char *) "self", NULL
26207 };
26208
26209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail;
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj;
26228 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26229 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26230 wxDC *arg3 = 0 ;
26231 bool result;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 PyObject * obj2 = 0 ;
26235 char *kwnames[] = {
26236 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26237 };
26238
26239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26241 if (SWIG_arg_fail(1)) SWIG_fail;
26242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26243 if (SWIG_arg_fail(2)) SWIG_fail;
26244 {
26245 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26246 if (SWIG_arg_fail(3)) SWIG_fail;
26247 if (arg3 == NULL) {
26248 SWIG_null_ref("wxDC");
26249 }
26250 if (SWIG_arg_fail(3)) SWIG_fail;
26251 }
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 {
26260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26261 }
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26271 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26272 wxDC *arg3 = 0 ;
26273 bool result;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 PyObject * obj2 = 0 ;
26277 char *kwnames[] = {
26278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26279 };
26280
26281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail;
26284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(2)) SWIG_fail;
26286 {
26287 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(3)) SWIG_fail;
26289 if (arg3 == NULL) {
26290 SWIG_null_ref("wxDC");
26291 }
26292 if (SWIG_arg_fail(3)) SWIG_fail;
26293 }
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 {
26302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26303 }
26304 return resultobj;
26305 fail:
26306 return NULL;
26307 }
26308
26309
26310 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26311 PyObject *resultobj;
26312 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26313 int arg2 ;
26314 bool result;
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 char *kwnames[] = {
26318 (char *) "self",(char *) "pageNum", NULL
26319 };
26320
26321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail;
26324 {
26325 arg2 = (int)(SWIG_As_int(obj1));
26326 if (SWIG_arg_fail(2)) SWIG_fail;
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (bool)(arg1)->RenderPage(arg2);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 {
26336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26337 }
26338 return resultobj;
26339 fail:
26340 return NULL;
26341 }
26342
26343
26344 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26345 PyObject *resultobj;
26346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26347 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 char *kwnames[] = {
26351 (char *) "self",(char *) "canvas", NULL
26352 };
26353
26354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26356 if (SWIG_arg_fail(1)) SWIG_fail;
26357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26358 if (SWIG_arg_fail(2)) SWIG_fail;
26359 {
26360 PyThreadState* __tstate = wxPyBeginAllowThreads();
26361 (arg1)->AdjustScrollbars(arg2);
26362
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 Py_INCREF(Py_None); resultobj = Py_None;
26367 return resultobj;
26368 fail:
26369 return NULL;
26370 }
26371
26372
26373 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26374 PyObject *resultobj;
26375 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26376 wxPrintDialogData *result;
26377 PyObject * obj0 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26384 if (SWIG_arg_fail(1)) SWIG_fail;
26385 {
26386 PyThreadState* __tstate = wxPyBeginAllowThreads();
26387 {
26388 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26389 result = (wxPrintDialogData *) &_result_ref;
26390 }
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26396 return resultobj;
26397 fail:
26398 return NULL;
26399 }
26400
26401
26402 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26403 PyObject *resultobj;
26404 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26405 int arg2 ;
26406 PyObject * obj0 = 0 ;
26407 PyObject * obj1 = 0 ;
26408 char *kwnames[] = {
26409 (char *) "self",(char *) "percent", NULL
26410 };
26411
26412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail;
26415 {
26416 arg2 = (int)(SWIG_As_int(obj1));
26417 if (SWIG_arg_fail(2)) SWIG_fail;
26418 }
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 (arg1)->SetZoom(arg2);
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 Py_INCREF(Py_None); resultobj = Py_None;
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26436 int result;
26437 PyObject * obj0 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "self", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail;
26445 {
26446 PyThreadState* __tstate = wxPyBeginAllowThreads();
26447 result = (int)(arg1)->GetZoom();
26448
26449 wxPyEndAllowThreads(__tstate);
26450 if (PyErr_Occurred()) SWIG_fail;
26451 }
26452 {
26453 resultobj = SWIG_From_int((int)(result));
26454 }
26455 return resultobj;
26456 fail:
26457 return NULL;
26458 }
26459
26460
26461 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj;
26463 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26464 int result;
26465 PyObject * obj0 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "self", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26472 if (SWIG_arg_fail(1)) SWIG_fail;
26473 {
26474 PyThreadState* __tstate = wxPyBeginAllowThreads();
26475 result = (int)(arg1)->GetMaxPage();
26476
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 {
26481 resultobj = SWIG_From_int((int)(result));
26482 }
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26492 int result;
26493 PyObject * obj0 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26500 if (SWIG_arg_fail(1)) SWIG_fail;
26501 {
26502 PyThreadState* __tstate = wxPyBeginAllowThreads();
26503 result = (int)(arg1)->GetMinPage();
26504
26505 wxPyEndAllowThreads(__tstate);
26506 if (PyErr_Occurred()) SWIG_fail;
26507 }
26508 {
26509 resultobj = SWIG_From_int((int)(result));
26510 }
26511 return resultobj;
26512 fail:
26513 return NULL;
26514 }
26515
26516
26517 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26518 PyObject *resultobj;
26519 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26520 bool result;
26521 PyObject * obj0 = 0 ;
26522 char *kwnames[] = {
26523 (char *) "self", NULL
26524 };
26525
26526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26528 if (SWIG_arg_fail(1)) SWIG_fail;
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (bool)(arg1)->Ok();
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 {
26537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26538 }
26539 return resultobj;
26540 fail:
26541 return NULL;
26542 }
26543
26544
26545 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj;
26547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26548 bool arg2 ;
26549 PyObject * obj0 = 0 ;
26550 PyObject * obj1 = 0 ;
26551 char *kwnames[] = {
26552 (char *) "self",(char *) "ok", NULL
26553 };
26554
26555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26557 if (SWIG_arg_fail(1)) SWIG_fail;
26558 {
26559 arg2 = (bool)(SWIG_As_bool(obj1));
26560 if (SWIG_arg_fail(2)) SWIG_fail;
26561 }
26562 {
26563 PyThreadState* __tstate = wxPyBeginAllowThreads();
26564 (arg1)->SetOk(arg2);
26565
26566 wxPyEndAllowThreads(__tstate);
26567 if (PyErr_Occurred()) SWIG_fail;
26568 }
26569 Py_INCREF(Py_None); resultobj = Py_None;
26570 return resultobj;
26571 fail:
26572 return NULL;
26573 }
26574
26575
26576 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26577 PyObject *resultobj;
26578 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26579 bool arg2 ;
26580 bool result;
26581 PyObject * obj0 = 0 ;
26582 PyObject * obj1 = 0 ;
26583 char *kwnames[] = {
26584 (char *) "self",(char *) "interactive", NULL
26585 };
26586
26587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26589 if (SWIG_arg_fail(1)) SWIG_fail;
26590 {
26591 arg2 = (bool)(SWIG_As_bool(obj1));
26592 if (SWIG_arg_fail(2)) SWIG_fail;
26593 }
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)(arg1)->Print(arg2);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 {
26602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26603 }
26604 return resultobj;
26605 fail:
26606 return NULL;
26607 }
26608
26609
26610 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26611 PyObject *resultobj;
26612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26613 PyObject * obj0 = 0 ;
26614 char *kwnames[] = {
26615 (char *) "self", NULL
26616 };
26617
26618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail;
26621 {
26622 PyThreadState* __tstate = wxPyBeginAllowThreads();
26623 (arg1)->DetermineScaling();
26624
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 Py_INCREF(Py_None); resultobj = Py_None;
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26636 PyObject *obj;
26637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26638 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26639 Py_INCREF(obj);
26640 return Py_BuildValue((char *)"");
26641 }
26642 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26643 PyObject *resultobj;
26644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26645 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26646 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26647 wxPyPrintPreview *result;
26648 PyObject * obj0 = 0 ;
26649 PyObject * obj1 = 0 ;
26650 PyObject * obj2 = 0 ;
26651
26652 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail;
26655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26656 if (SWIG_arg_fail(2)) SWIG_fail;
26657 if (obj2) {
26658 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26659 if (SWIG_arg_fail(3)) SWIG_fail;
26660 }
26661 {
26662 if (!wxPyCheckForApp()) SWIG_fail;
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26665
26666 wxPyEndAllowThreads(__tstate);
26667 if (PyErr_Occurred()) SWIG_fail;
26668 }
26669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26670 return resultobj;
26671 fail:
26672 return NULL;
26673 }
26674
26675
26676 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26677 PyObject *resultobj;
26678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26679 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26680 wxPrintData *arg3 = (wxPrintData *) 0 ;
26681 wxPyPrintPreview *result;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 PyObject * obj2 = 0 ;
26685
26686 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail;
26689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail;
26691 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26692 if (SWIG_arg_fail(3)) SWIG_fail;
26693 {
26694 if (!wxPyCheckForApp()) SWIG_fail;
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26697
26698 wxPyEndAllowThreads(__tstate);
26699 if (PyErr_Occurred()) SWIG_fail;
26700 }
26701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26702 return resultobj;
26703 fail:
26704 return NULL;
26705 }
26706
26707
26708 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26709 int argc;
26710 PyObject *argv[4];
26711 int ii;
26712
26713 argc = PyObject_Length(args);
26714 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26715 argv[ii] = PyTuple_GetItem(args,ii);
26716 }
26717 if ((argc >= 2) && (argc <= 3)) {
26718 int _v;
26719 {
26720 void *ptr;
26721 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26722 _v = 0;
26723 PyErr_Clear();
26724 } else {
26725 _v = 1;
26726 }
26727 }
26728 if (_v) {
26729 {
26730 void *ptr;
26731 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26732 _v = 0;
26733 PyErr_Clear();
26734 } else {
26735 _v = 1;
26736 }
26737 }
26738 if (_v) {
26739 if (argc <= 2) {
26740 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26741 }
26742 {
26743 void *ptr;
26744 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26745 _v = 0;
26746 PyErr_Clear();
26747 } else {
26748 _v = 1;
26749 }
26750 }
26751 if (_v) {
26752 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26753 }
26754 }
26755 }
26756 }
26757 if (argc == 3) {
26758 int _v;
26759 {
26760 void *ptr;
26761 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26762 _v = 0;
26763 PyErr_Clear();
26764 } else {
26765 _v = 1;
26766 }
26767 }
26768 if (_v) {
26769 {
26770 void *ptr;
26771 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26772 _v = 0;
26773 PyErr_Clear();
26774 } else {
26775 _v = 1;
26776 }
26777 }
26778 if (_v) {
26779 {
26780 void *ptr;
26781 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26782 _v = 0;
26783 PyErr_Clear();
26784 } else {
26785 _v = 1;
26786 }
26787 }
26788 if (_v) {
26789 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26790 }
26791 }
26792 }
26793 }
26794
26795 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26796 return NULL;
26797 }
26798
26799
26800 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26801 PyObject *resultobj;
26802 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26803 PyObject *arg2 = (PyObject *) 0 ;
26804 PyObject *arg3 = (PyObject *) 0 ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 PyObject * obj2 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "self",(char *) "_class", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
26815 arg2 = obj1;
26816 arg3 = obj2;
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 (arg1)->_setCallbackInfo(arg2,arg3);
26820
26821 wxPyEndAllowThreads(__tstate);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
26824 Py_INCREF(Py_None); resultobj = Py_None;
26825 return resultobj;
26826 fail:
26827 return NULL;
26828 }
26829
26830
26831 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26832 PyObject *resultobj;
26833 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26834 int arg2 ;
26835 bool result;
26836 PyObject * obj0 = 0 ;
26837 PyObject * obj1 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self",(char *) "pageNum", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail;
26845 {
26846 arg2 = (int)(SWIG_As_int(obj1));
26847 if (SWIG_arg_fail(2)) SWIG_fail;
26848 }
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26852
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
26856 {
26857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26858 }
26859 return resultobj;
26860 fail:
26861 return NULL;
26862 }
26863
26864
26865 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26866 PyObject *resultobj;
26867 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26868 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26869 wxDC *arg3 = 0 ;
26870 bool result;
26871 PyObject * obj0 = 0 ;
26872 PyObject * obj1 = 0 ;
26873 PyObject * obj2 = 0 ;
26874 char *kwnames[] = {
26875 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26876 };
26877
26878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail;
26881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(2)) SWIG_fail;
26883 {
26884 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26885 if (SWIG_arg_fail(3)) SWIG_fail;
26886 if (arg3 == NULL) {
26887 SWIG_null_ref("wxDC");
26888 }
26889 if (SWIG_arg_fail(3)) SWIG_fail;
26890 }
26891 {
26892 PyThreadState* __tstate = wxPyBeginAllowThreads();
26893 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26894
26895 wxPyEndAllowThreads(__tstate);
26896 if (PyErr_Occurred()) SWIG_fail;
26897 }
26898 {
26899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26900 }
26901 return resultobj;
26902 fail:
26903 return NULL;
26904 }
26905
26906
26907 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj;
26909 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26910 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26911 wxDC *arg3 = 0 ;
26912 bool result;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 PyObject * obj2 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26922 if (SWIG_arg_fail(1)) SWIG_fail;
26923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26924 if (SWIG_arg_fail(2)) SWIG_fail;
26925 {
26926 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26927 if (SWIG_arg_fail(3)) SWIG_fail;
26928 if (arg3 == NULL) {
26929 SWIG_null_ref("wxDC");
26930 }
26931 if (SWIG_arg_fail(3)) SWIG_fail;
26932 }
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 {
26941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26942 }
26943 return resultobj;
26944 fail:
26945 return NULL;
26946 }
26947
26948
26949 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj;
26951 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26952 int arg2 ;
26953 bool result;
26954 PyObject * obj0 = 0 ;
26955 PyObject * obj1 = 0 ;
26956 char *kwnames[] = {
26957 (char *) "self",(char *) "pageNum", NULL
26958 };
26959
26960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail;
26963 {
26964 arg2 = (int)(SWIG_As_int(obj1));
26965 if (SWIG_arg_fail(2)) SWIG_fail;
26966 }
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 result = (bool)(arg1)->base_RenderPage(arg2);
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
26974 {
26975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26976 }
26977 return resultobj;
26978 fail:
26979 return NULL;
26980 }
26981
26982
26983 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26984 PyObject *resultobj;
26985 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26986 int arg2 ;
26987 PyObject * obj0 = 0 ;
26988 PyObject * obj1 = 0 ;
26989 char *kwnames[] = {
26990 (char *) "self",(char *) "percent", NULL
26991 };
26992
26993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26995 if (SWIG_arg_fail(1)) SWIG_fail;
26996 {
26997 arg2 = (int)(SWIG_As_int(obj1));
26998 if (SWIG_arg_fail(2)) SWIG_fail;
26999 }
27000 {
27001 PyThreadState* __tstate = wxPyBeginAllowThreads();
27002 (arg1)->base_SetZoom(arg2);
27003
27004 wxPyEndAllowThreads(__tstate);
27005 if (PyErr_Occurred()) SWIG_fail;
27006 }
27007 Py_INCREF(Py_None); resultobj = Py_None;
27008 return resultobj;
27009 fail:
27010 return NULL;
27011 }
27012
27013
27014 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
27015 PyObject *resultobj;
27016 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27017 bool arg2 ;
27018 bool result;
27019 PyObject * obj0 = 0 ;
27020 PyObject * obj1 = 0 ;
27021 char *kwnames[] = {
27022 (char *) "self",(char *) "interactive", NULL
27023 };
27024
27025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
27026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27027 if (SWIG_arg_fail(1)) SWIG_fail;
27028 {
27029 arg2 = (bool)(SWIG_As_bool(obj1));
27030 if (SWIG_arg_fail(2)) SWIG_fail;
27031 }
27032 {
27033 PyThreadState* __tstate = wxPyBeginAllowThreads();
27034 result = (bool)(arg1)->base_Print(arg2);
27035
27036 wxPyEndAllowThreads(__tstate);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 {
27040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27041 }
27042 return resultobj;
27043 fail:
27044 return NULL;
27045 }
27046
27047
27048 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
27049 PyObject *resultobj;
27050 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27051 PyObject * obj0 = 0 ;
27052 char *kwnames[] = {
27053 (char *) "self", NULL
27054 };
27055
27056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
27057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27058 if (SWIG_arg_fail(1)) SWIG_fail;
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 (arg1)->base_DetermineScaling();
27062
27063 wxPyEndAllowThreads(__tstate);
27064 if (PyErr_Occurred()) SWIG_fail;
27065 }
27066 Py_INCREF(Py_None); resultobj = Py_None;
27067 return resultobj;
27068 fail:
27069 return NULL;
27070 }
27071
27072
27073 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
27074 PyObject *obj;
27075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27076 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27077 Py_INCREF(obj);
27078 return Py_BuildValue((char *)"");
27079 }
27080 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
27081 PyObject *resultobj;
27082 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27083 wxFrame *arg2 = (wxFrame *) 0 ;
27084 wxString *arg3 = 0 ;
27085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27087 wxSize const &arg5_defvalue = wxDefaultSize ;
27088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27089 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27090 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27091 wxString *arg7 = (wxString *) &arg7_defvalue ;
27092 wxPyPreviewFrame *result;
27093 bool temp3 = false ;
27094 wxPoint temp4 ;
27095 wxSize temp5 ;
27096 bool temp7 = false ;
27097 PyObject * obj0 = 0 ;
27098 PyObject * obj1 = 0 ;
27099 PyObject * obj2 = 0 ;
27100 PyObject * obj3 = 0 ;
27101 PyObject * obj4 = 0 ;
27102 PyObject * obj5 = 0 ;
27103 PyObject * obj6 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail;
27111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27112 if (SWIG_arg_fail(2)) SWIG_fail;
27113 {
27114 arg3 = wxString_in_helper(obj2);
27115 if (arg3 == NULL) SWIG_fail;
27116 temp3 = true;
27117 }
27118 if (obj3) {
27119 {
27120 arg4 = &temp4;
27121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27122 }
27123 }
27124 if (obj4) {
27125 {
27126 arg5 = &temp5;
27127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27128 }
27129 }
27130 if (obj5) {
27131 {
27132 arg6 = (long)(SWIG_As_long(obj5));
27133 if (SWIG_arg_fail(6)) SWIG_fail;
27134 }
27135 }
27136 if (obj6) {
27137 {
27138 arg7 = wxString_in_helper(obj6);
27139 if (arg7 == NULL) SWIG_fail;
27140 temp7 = true;
27141 }
27142 }
27143 {
27144 if (!wxPyCheckForApp()) SWIG_fail;
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27152 {
27153 if (temp3)
27154 delete arg3;
27155 }
27156 {
27157 if (temp7)
27158 delete arg7;
27159 }
27160 return resultobj;
27161 fail:
27162 {
27163 if (temp3)
27164 delete arg3;
27165 }
27166 {
27167 if (temp7)
27168 delete arg7;
27169 }
27170 return NULL;
27171 }
27172
27173
27174 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27175 PyObject *resultobj;
27176 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27177 PyObject *arg2 = (PyObject *) 0 ;
27178 PyObject *arg3 = (PyObject *) 0 ;
27179 PyObject * obj0 = 0 ;
27180 PyObject * obj1 = 0 ;
27181 PyObject * obj2 = 0 ;
27182 char *kwnames[] = {
27183 (char *) "self",(char *) "self",(char *) "_class", NULL
27184 };
27185
27186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail;
27189 arg2 = obj1;
27190 arg3 = obj2;
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 (arg1)->_setCallbackInfo(arg2,arg3);
27194
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 Py_INCREF(Py_None); resultobj = Py_None;
27199 return resultobj;
27200 fail:
27201 return NULL;
27202 }
27203
27204
27205 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27206 PyObject *resultobj;
27207 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27208 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27209 PyObject * obj0 = 0 ;
27210 PyObject * obj1 = 0 ;
27211 char *kwnames[] = {
27212 (char *) "self",(char *) "canvas", NULL
27213 };
27214
27215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27217 if (SWIG_arg_fail(1)) SWIG_fail;
27218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27219 if (SWIG_arg_fail(2)) SWIG_fail;
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 (arg1)->SetPreviewCanvas(arg2);
27223
27224 wxPyEndAllowThreads(__tstate);
27225 if (PyErr_Occurred()) SWIG_fail;
27226 }
27227 Py_INCREF(Py_None); resultobj = Py_None;
27228 return resultobj;
27229 fail:
27230 return NULL;
27231 }
27232
27233
27234 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27235 PyObject *resultobj;
27236 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27237 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27238 PyObject * obj0 = 0 ;
27239 PyObject * obj1 = 0 ;
27240 char *kwnames[] = {
27241 (char *) "self",(char *) "bar", NULL
27242 };
27243
27244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail;
27247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27248 if (SWIG_arg_fail(2)) SWIG_fail;
27249 {
27250 PyThreadState* __tstate = wxPyBeginAllowThreads();
27251 (arg1)->SetControlBar(arg2);
27252
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 Py_INCREF(Py_None); resultobj = Py_None;
27257 return resultobj;
27258 fail:
27259 return NULL;
27260 }
27261
27262
27263 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27264 PyObject *resultobj;
27265 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27266 PyObject * obj0 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27273 if (SWIG_arg_fail(1)) SWIG_fail;
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->base_Initialize();
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 return resultobj;
27283 fail:
27284 return NULL;
27285 }
27286
27287
27288 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj;
27290 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27291 PyObject * obj0 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail;
27299 {
27300 PyThreadState* __tstate = wxPyBeginAllowThreads();
27301 (arg1)->base_CreateCanvas();
27302
27303 wxPyEndAllowThreads(__tstate);
27304 if (PyErr_Occurred()) SWIG_fail;
27305 }
27306 Py_INCREF(Py_None); resultobj = Py_None;
27307 return resultobj;
27308 fail:
27309 return NULL;
27310 }
27311
27312
27313 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27316 PyObject * obj0 = 0 ;
27317 char *kwnames[] = {
27318 (char *) "self", NULL
27319 };
27320
27321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27323 if (SWIG_arg_fail(1)) SWIG_fail;
27324 {
27325 PyThreadState* __tstate = wxPyBeginAllowThreads();
27326 (arg1)->base_CreateControlBar();
27327
27328 wxPyEndAllowThreads(__tstate);
27329 if (PyErr_Occurred()) SWIG_fail;
27330 }
27331 Py_INCREF(Py_None); resultobj = Py_None;
27332 return resultobj;
27333 fail:
27334 return NULL;
27335 }
27336
27337
27338 static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27339 PyObject *obj;
27340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27341 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27342 Py_INCREF(obj);
27343 return Py_BuildValue((char *)"");
27344 }
27345 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj;
27347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27348 long arg2 ;
27349 wxWindow *arg3 = (wxWindow *) 0 ;
27350 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27351 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27352 wxSize const &arg5_defvalue = wxDefaultSize ;
27353 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27354 long arg6 = (long) 0 ;
27355 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27356 wxString *arg7 = (wxString *) &arg7_defvalue ;
27357 wxPyPreviewControlBar *result;
27358 wxPoint temp4 ;
27359 wxSize temp5 ;
27360 bool temp7 = false ;
27361 PyObject * obj0 = 0 ;
27362 PyObject * obj1 = 0 ;
27363 PyObject * obj2 = 0 ;
27364 PyObject * obj3 = 0 ;
27365 PyObject * obj4 = 0 ;
27366 PyObject * obj5 = 0 ;
27367 PyObject * obj6 = 0 ;
27368 char *kwnames[] = {
27369 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27370 };
27371
27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail;
27375 {
27376 arg2 = (long)(SWIG_As_long(obj1));
27377 if (SWIG_arg_fail(2)) SWIG_fail;
27378 }
27379 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27380 if (SWIG_arg_fail(3)) SWIG_fail;
27381 if (obj3) {
27382 {
27383 arg4 = &temp4;
27384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27385 }
27386 }
27387 if (obj4) {
27388 {
27389 arg5 = &temp5;
27390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27391 }
27392 }
27393 if (obj5) {
27394 {
27395 arg6 = (long)(SWIG_As_long(obj5));
27396 if (SWIG_arg_fail(6)) SWIG_fail;
27397 }
27398 }
27399 if (obj6) {
27400 {
27401 arg7 = wxString_in_helper(obj6);
27402 if (arg7 == NULL) SWIG_fail;
27403 temp7 = true;
27404 }
27405 }
27406 {
27407 if (!wxPyCheckForApp()) SWIG_fail;
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27415 {
27416 if (temp7)
27417 delete arg7;
27418 }
27419 return resultobj;
27420 fail:
27421 {
27422 if (temp7)
27423 delete arg7;
27424 }
27425 return NULL;
27426 }
27427
27428
27429 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27430 PyObject *resultobj;
27431 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27432 PyObject *arg2 = (PyObject *) 0 ;
27433 PyObject *arg3 = (PyObject *) 0 ;
27434 PyObject * obj0 = 0 ;
27435 PyObject * obj1 = 0 ;
27436 PyObject * obj2 = 0 ;
27437 char *kwnames[] = {
27438 (char *) "self",(char *) "self",(char *) "_class", NULL
27439 };
27440
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail;
27444 arg2 = obj1;
27445 arg3 = obj2;
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 (arg1)->_setCallbackInfo(arg2,arg3);
27449
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 Py_INCREF(Py_None); resultobj = Py_None;
27454 return resultobj;
27455 fail:
27456 return NULL;
27457 }
27458
27459
27460 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27463 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27464 PyObject * obj0 = 0 ;
27465 PyObject * obj1 = 0 ;
27466 char *kwnames[] = {
27467 (char *) "self",(char *) "preview", NULL
27468 };
27469
27470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail;
27473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27474 if (SWIG_arg_fail(2)) SWIG_fail;
27475 {
27476 PyThreadState* __tstate = wxPyBeginAllowThreads();
27477 (arg1)->SetPrintPreview(arg2);
27478
27479 wxPyEndAllowThreads(__tstate);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 Py_INCREF(Py_None); resultobj = Py_None;
27483 return resultobj;
27484 fail:
27485 return NULL;
27486 }
27487
27488
27489 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27490 PyObject *resultobj;
27491 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27492 PyObject * obj0 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self", NULL
27495 };
27496
27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail;
27500 {
27501 PyThreadState* __tstate = wxPyBeginAllowThreads();
27502 (arg1)->base_CreateButtons();
27503
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 Py_INCREF(Py_None); resultobj = Py_None;
27508 return resultobj;
27509 fail:
27510 return NULL;
27511 }
27512
27513
27514 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27515 PyObject *resultobj;
27516 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27517 int arg2 ;
27518 PyObject * obj0 = 0 ;
27519 PyObject * obj1 = 0 ;
27520 char *kwnames[] = {
27521 (char *) "self",(char *) "zoom", NULL
27522 };
27523
27524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27526 if (SWIG_arg_fail(1)) SWIG_fail;
27527 {
27528 arg2 = (int)(SWIG_As_int(obj1));
27529 if (SWIG_arg_fail(2)) SWIG_fail;
27530 }
27531 {
27532 PyThreadState* __tstate = wxPyBeginAllowThreads();
27533 (arg1)->base_SetZoomControl(arg2);
27534
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 Py_INCREF(Py_None); resultobj = Py_None;
27539 return resultobj;
27540 fail:
27541 return NULL;
27542 }
27543
27544
27545 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27546 PyObject *obj;
27547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27548 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27549 Py_INCREF(obj);
27550 return Py_BuildValue((char *)"");
27551 }
27552 static PyMethodDef SwigMethods[] = {
27553 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27561 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27576 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27577 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27586 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27604 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27628 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27641 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27645 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27649 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27654 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27671 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27701 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27708 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27731 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27739 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27751 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27757 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27766 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27772 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27775 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27778 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27782 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27800 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27826 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27834 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27843 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27845 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27854 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27857 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27864 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27882 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27886 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27891 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27895 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27897 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27913 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27916 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27918 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27922 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27931 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27940 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27958 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27965 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27995 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28021 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28047 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28048 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28095 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28096 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28129 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28134 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28135 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28168 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28174 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28185 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28208 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28210 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28216 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28226 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28227 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28250 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28251 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28260 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28268 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28274 { NULL, NULL, 0, NULL }
28275 };
28276
28277
28278 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28279
28280 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28281 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28282 }
28283 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28285 }
28286 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28287 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28288 }
28289 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28290 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28291 }
28292 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28293 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28294 }
28295 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28296 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28297 }
28298 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28299 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28300 }
28301 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28302 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28303 }
28304 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28305 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28306 }
28307 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28308 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28309 }
28310 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28312 }
28313 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28314 return (void *)((wxEvent *) ((wxPyEvent *) x));
28315 }
28316 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28317 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28318 }
28319 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28320 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28321 }
28322 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28323 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28324 }
28325 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28327 }
28328 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28329 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28330 }
28331 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28332 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28333 }
28334 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28335 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28336 }
28337 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28338 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28339 }
28340 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28341 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28342 }
28343 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28344 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28345 }
28346 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28347 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28348 }
28349 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28350 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28351 }
28352 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28353 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28354 }
28355 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28356 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28357 }
28358 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28359 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28360 }
28361 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28362 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28363 }
28364 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28365 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28366 }
28367 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28368 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28369 }
28370 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28371 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28372 }
28373 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28374 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28375 }
28376 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28378 }
28379 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28380 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28381 }
28382 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28383 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28384 }
28385 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28386 return (void *)((wxEvent *) ((wxShowEvent *) x));
28387 }
28388 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28389 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28390 }
28391 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28392 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28393 }
28394 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28396 }
28397 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28398 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28399 }
28400 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28401 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28402 }
28403 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28404 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28405 }
28406 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28407 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28408 }
28409 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28410 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28411 }
28412 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28413 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28414 }
28415 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28417 }
28418 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28420 }
28421 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28423 }
28424 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28426 }
28427 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28429 }
28430 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28432 }
28433 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28435 }
28436 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28438 }
28439 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28441 }
28442 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28444 }
28445 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28447 }
28448 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28450 }
28451 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28452 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28453 }
28454 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28455 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28456 }
28457 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28458 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28459 }
28460 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28461 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28462 }
28463 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28464 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28465 }
28466 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28468 }
28469 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28471 }
28472 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28473 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28474 }
28475 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28476 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28477 }
28478 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28479 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28480 }
28481 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28482 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28483 }
28484 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28485 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28486 }
28487 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28488 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28489 }
28490 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28491 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28492 }
28493 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28494 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28495 }
28496 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28497 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28498 }
28499 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28500 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28501 }
28502 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28503 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28504 }
28505 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28506 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28507 }
28508 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28509 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28510 }
28511 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28512 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28513 }
28514 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28515 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28516 }
28517 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28518 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28519 }
28520 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28522 }
28523 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28524 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28525 }
28526 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28527 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28528 }
28529 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28530 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28531 }
28532 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28533 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28534 }
28535 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28536 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28537 }
28538 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28539 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28540 }
28541 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28542 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28543 }
28544 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28545 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28546 }
28547 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28548 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28549 }
28550 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28551 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28552 }
28553 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28554 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28555 }
28556 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28557 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28558 }
28559 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28560 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28561 }
28562 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28563 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28564 }
28565 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28566 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28567 }
28568 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28569 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28570 }
28571 static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28572 return (void *)((wxFrame *) ((wxTipWindow *) x));
28573 }
28574 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28575 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28576 }
28577 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28578 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28579 }
28580 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28581 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28582 }
28583 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28584 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28585 }
28586 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28587 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28588 }
28589 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28591 }
28592 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28594 }
28595 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28597 }
28598 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28600 }
28601 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28603 }
28604 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) ((wxSizerItem *) x));
28606 }
28607 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28609 }
28610 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28612 }
28613 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28615 }
28616 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28618 }
28619 static void *_p_wxSizerTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) ((wxSizer *) x));
28621 }
28622 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28624 }
28625 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28627 }
28628 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28630 }
28631 static void *_p_wxEventTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) ((wxEvent *) x));
28633 }
28634 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) ((wxFontData *) x));
28636 }
28637 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) ((wxPrintData *) x));
28639 }
28640 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28642 }
28643 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28645 }
28646 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28648 }
28649 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28651 }
28652 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28654 }
28655 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28657 }
28658 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28660 }
28661 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28663 }
28664 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28666 }
28667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28669 }
28670 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28672 }
28673 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28675 }
28676 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28678 }
28679 static void *_p_wxControlTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28681 }
28682 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28684 }
28685 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28687 }
28688 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) ((wxFSFile *) x));
28690 }
28691 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28693 }
28694 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28696 }
28697 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28699 }
28700 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) ((wxColourData *) x));
28702 }
28703 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28705 }
28706 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28708 }
28709 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28711 }
28712 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28714 }
28715 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28717 }
28718 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28720 }
28721 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28723 }
28724 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28726 }
28727 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28729 }
28730 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28732 }
28733 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28735 }
28736 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28738 }
28739 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28741 }
28742 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) ((wxPrinter *) x));
28744 }
28745 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) ((wxMenuItem *) x));
28747 }
28748 static void *_p_wxDateEventTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28750 }
28751 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28753 }
28754 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28756 }
28757 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28759 }
28760 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28762 }
28763 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28765 }
28766 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28768 }
28769 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28771 }
28772 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28774 }
28775 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28777 }
28778 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28780 }
28781 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28783 }
28784 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28786 }
28787 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28789 }
28790 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28792 }
28793 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28795 }
28796 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28798 }
28799 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28801 }
28802 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28804 }
28805 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) ((wxImageHandler *) x));
28807 }
28808 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28810 }
28811 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) ((wxEvtHandler *) x));
28813 }
28814 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28816 }
28817 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28819 }
28820 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28822 }
28823 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28825 }
28826 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28828 }
28829 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28831 }
28832 static void *_p_wxImageTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) ((wxImage *) x));
28834 }
28835 static void *_p_wxFrameTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28837 }
28838 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) ((wxPyPrintout *) x));
28840 }
28841 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28843 }
28844 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28846 }
28847 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28849 }
28850 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28852 }
28853 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28855 }
28856 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28858 }
28859 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28861 }
28862 static void *_p_wxWindowTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28864 }
28865 static void *_p_wxMenuTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28867 }
28868 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28870 }
28871 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28873 }
28874 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28876 }
28877 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28879 }
28880 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28882 }
28883 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28885 }
28886 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28888 }
28889 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28891 }
28892 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28894 }
28895 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28897 }
28898 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28900 }
28901 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28903 }
28904 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28906 }
28907 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28908 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28909 }
28910 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28911 return (void *)((wxObject *) ((wxPrintPreview *) x));
28912 }
28913 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28914 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28915 }
28916 static void *_p_wxPanelTo_p_wxObject(void *x) {
28917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28918 }
28919 static void *_p_wxDialogTo_p_wxObject(void *x) {
28920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28921 }
28922 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28924 }
28925 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28927 }
28928 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28930 }
28931 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28932 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28933 }
28934 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28935 return (void *)((wxObject *) ((wxPrintDialog *) x));
28936 }
28937 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28938 return (void *)((wxObject *) ((wxFileSystem *) x));
28939 }
28940 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28941 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28942 }
28943 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28944 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28945 }
28946 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28947 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28948 }
28949 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28950 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28951 }
28952 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28953 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28954 }
28955 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28956 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28957 }
28958 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28960 }
28961 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28962 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28963 }
28964 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28966 }
28967 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28969 }
28970 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28971 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28972 }
28973 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28974 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28975 }
28976 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28977 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28978 }
28979 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28981 }
28982 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28983 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28984 }
28985 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28986 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28987 }
28988 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28989 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28990 }
28991 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28992 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28993 }
28994 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28995 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28996 }
28997 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28998 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28999 }
29000 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29001 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29002 }
29003 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29004 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29005 }
29006 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29007 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29008 }
29009 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29010 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29011 }
29012 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29013 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29014 }
29015 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29016 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29017 }
29018 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29019 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29020 }
29021 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29022 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29023 }
29024 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29025 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29026 }
29027 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
29028 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
29029 }
29030 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29031 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29032 }
29033 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29034 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29035 }
29036 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29037 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29038 }
29039 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29040 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29041 }
29042 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29043 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29044 }
29045 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29046 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29047 }
29048 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29049 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29050 }
29051 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29052 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29053 }
29054 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29055 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29056 }
29057 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29058 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29059 }
29060 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29061 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29062 }
29063 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29064 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29065 }
29066 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29068 }
29069 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29071 }
29072 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29073 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29074 }
29075 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29076 return (void *)((wxWindow *) ((wxMenuBar *) x));
29077 }
29078 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29079 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29080 }
29081 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29082 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29083 }
29084 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29085 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29086 }
29087 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29088 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29089 }
29090 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29091 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29092 }
29093 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29094 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29095 }
29096 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29097 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29098 }
29099 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29100 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29101 }
29102 static void *_p_wxPanelTo_p_wxWindow(void *x) {
29103 return (void *)((wxWindow *) ((wxPanel *) x));
29104 }
29105 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29106 return (void *)((wxWindow *) ((wxStatusBar *) x));
29107 }
29108 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29109 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29110 }
29111 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29112 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
29113 }
29114 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29115 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29116 }
29117 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29118 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29119 }
29120 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29121 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29122 }
29123 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29124 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29125 }
29126 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29127 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29128 }
29129 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29130 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29131 }
29132 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29133 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29134 }
29135 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29136 return (void *)((wxWindow *) ((wxSashWindow *) x));
29137 }
29138 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29139 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29140 }
29141 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29142 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29143 }
29144 static void *_p_wxControlTo_p_wxWindow(void *x) {
29145 return (void *)((wxWindow *) ((wxControl *) x));
29146 }
29147 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29148 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29149 }
29150 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29151 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29152 }
29153 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29155 }
29156 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29157 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29158 }
29159 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29160 return (void *)((wxWindow *) ((wxPyWindow *) x));
29161 }
29162 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29163 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29164 }
29165 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29166 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29167 }
29168 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29169 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29170 }
29171 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29172 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29173 }
29174 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29175 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29176 }
29177 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29178 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29179 }
29180 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29181 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29182 }
29183 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29184 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29185 }
29186 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29187 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29188 }
29189 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29190 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29191 }
29192 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29193 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29194 }
29195 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29196 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29197 }
29198 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29199 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29200 }
29201 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29202 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29203 }
29204 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29205 return (void *)((wxDialog *) ((wxColourDialog *) x));
29206 }
29207 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29208 return (void *)((wxDialog *) ((wxDirDialog *) x));
29209 }
29210 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29211 return (void *)((wxDialog *) ((wxFontDialog *) x));
29212 }
29213 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29214 return (void *)((wxDialog *) ((wxFileDialog *) x));
29215 }
29216 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29217 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29218 }
29219 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29220 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29221 }
29222 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29223 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29224 }
29225 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29226 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29227 }
29228 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29229 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29230 }
29231 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29232 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29233 }
29234 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29235 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29236 }
29237 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29238 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29239 }
29240 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29241 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29242 }
29243 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29244 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29245 }
29246 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29247 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29248 }
29249 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29250 return (void *)((wxPanel *) ((wxPyPanel *) x));
29251 }
29252 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29253 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29254 }
29255 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29256 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29257 }
29258 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29259 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29260 }
29261 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29262 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29263 }
29264 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29265 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29266 }
29267 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29268 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29269 }
29270 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29271 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29272 }
29273 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29274 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29275 }
29276 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29277 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29278 }
29279 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29280 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29281 }
29282 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29283 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29284 }
29285 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29286 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29287 }
29288 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29289 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29290 }
29291 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29292 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29293 }
29294 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29295 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29296 }
29297 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29298 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29299 }
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29359 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}};
29360 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}};
29361 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29367 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}};
29368 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29369 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397
29398 static swig_type_info *swig_types_initial[] = {
29399 _swigt__p_wxQueryLayoutInfoEvent,
29400 _swigt__p_wxPreviewFrame,
29401 _swigt__p_wxPyPreviewFrame,
29402 _swigt__p_wxPyPanel,
29403 _swigt__p_wxMenu,
29404 _swigt__p_wxFontData,
29405 _swigt__p_wxEvent,
29406 _swigt__p_wxPrintData,
29407 _swigt__p_wxTaskBarIcon,
29408 _swigt__p_wxPyTaskBarIcon,
29409 _swigt__p_wxIconBundle,
29410 _swigt__p_wxLayoutAlgorithm,
29411 _swigt__p_wxFindDialogEvent,
29412 _swigt__p_wxPreviewCanvas,
29413 _swigt__p_wxFont,
29414 _swigt__p_wxSplitterEvent,
29415 _swigt__p_wxRegion,
29416 _swigt__ptrdiff_t,
29417 _swigt__std__ptrdiff_t,
29418 _swigt__p_wxFindReplaceData,
29419 _swigt__p_int,
29420 _swigt__p_wxSize,
29421 _swigt__p_wxDC,
29422 _swigt__p_wxIcon,
29423 _swigt__p_wxVisualAttributes,
29424 _swigt__p_wxMDIChildFrame,
29425 _swigt__p_wxColourData,
29426 _swigt__p_wxNotifyEvent,
29427 _swigt__p_wxPyWindow,
29428 _swigt__p_form_ops_t,
29429 _swigt__p_wxSplashScreen,
29430 _swigt__p_wxPasswordEntryDialog,
29431 _swigt__p_wxSingleChoiceDialog,
29432 _swigt__p_wxMultiChoiceDialog,
29433 _swigt__p_wxFileDialog,
29434 _swigt__p_wxTextEntryDialog,
29435 _swigt__p_wxMessageDialog,
29436 _swigt__p_wxProgressDialog,
29437 _swigt__p_wxFindReplaceDialog,
29438 _swigt__p_wxPrinter,
29439 _swigt__p_wxArrayInt,
29440 _swigt__p_wxDuplexMode,
29441 _swigt__p_wxEvtHandler,
29442 _swigt__p_wxCalculateLayoutEvent,
29443 _swigt__p_wxPyHtmlListBox,
29444 _swigt__p_wxPyVListBox,
29445 _swigt__p_wxRect,
29446 _swigt__p_wxStdDialogButtonSizer,
29447 _swigt__p_char,
29448 _swigt__p_wxMiniFrame,
29449 _swigt__p_wxFrame,
29450 _swigt__p_wxPyPrintout,
29451 _swigt__p_wxTaskBarIconEvent,
29452 _swigt__p_wxScrollWinEvent,
29453 _swigt__p_wxPaperSize,
29454 _swigt__p_wxStatusBar,
29455 _swigt__p_wxMDIParentFrame,
29456 _swigt__p_wxPoint,
29457 _swigt__p_wxObject,
29458 _swigt__p_unsigned_long,
29459 _swigt__p_wxTipWindow,
29460 _swigt__p_wxPyPopupTransientWindow,
29461 _swigt__p_wxSashLayoutWindow,
29462 _swigt__p_wxSplitterWindow,
29463 _swigt__p_wxSplashScreenWindow,
29464 _swigt__p_wxPyVScrolledWindow,
29465 _swigt__p_wxPopupWindow,
29466 _swigt__p_wxSashWindow,
29467 _swigt__p_wxTopLevelWindow,
29468 _swigt__p_wxWindow,
29469 _swigt__p_wxScrolledWindow,
29470 _swigt__p_wxMenuBar,
29471 _swigt__p_wxMDIClientWindow,
29472 _swigt__p_wxPyScrolledWindow,
29473 _swigt__p_wxPrintPreview,
29474 _swigt__p_wxSashEvent,
29475 _swigt__p_wxString,
29476 _swigt__p_wxPyPrintPreview,
29477 _swigt__p_wxDirDialog,
29478 _swigt__p_wxColourDialog,
29479 _swigt__p_wxDialog,
29480 _swigt__p_wxPanel,
29481 _swigt__p_wxFontDialog,
29482 _swigt__p_wxPageSetupDialog,
29483 _swigt__p_wxPrintDialog,
29484 _swigt__p_wxFileSystem,
29485 _swigt__p_wxBitmap,
29486 _swigt__unsigned_int,
29487 _swigt__p_unsigned_int,
29488 _swigt__p_unsigned_char,
29489 _swigt__p_wxCommandEvent,
29490 _swigt__p_wxPreviewControlBar,
29491 _swigt__p_wxPyPreviewControlBar,
29492 _swigt__p_wxColour,
29493 _swigt__p_wxToolBar,
29494 _swigt__p_wxPageSetupDialogData,
29495 _swigt__p_wxPrintDialogData,
29496 0
29497 };
29498
29499
29500 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29501
29502 static swig_const_info swig_const_table[] = {
29503 {0, 0, 0, 0.0, 0, 0}};
29504
29505 #ifdef __cplusplus
29506 }
29507 #endif
29508
29509
29510 #ifdef __cplusplus
29511 extern "C" {
29512 #endif
29513
29514 /* Python-specific SWIG API */
29515 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29516 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29517 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29518
29519 /* -----------------------------------------------------------------------------
29520 * global variable support code.
29521 * ----------------------------------------------------------------------------- */
29522
29523 typedef struct swig_globalvar {
29524 char *name; /* Name of global variable */
29525 PyObject *(*get_attr)(); /* Return the current value */
29526 int (*set_attr)(PyObject *); /* Set the value */
29527 struct swig_globalvar *next;
29528 } swig_globalvar;
29529
29530 typedef struct swig_varlinkobject {
29531 PyObject_HEAD
29532 swig_globalvar *vars;
29533 } swig_varlinkobject;
29534
29535 static PyObject *
29536 swig_varlink_repr(swig_varlinkobject *v) {
29537 v = v;
29538 return PyString_FromString("<Swig global variables>");
29539 }
29540
29541 static int
29542 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29543 swig_globalvar *var;
29544 flags = flags;
29545 fprintf(fp,"Swig global variables { ");
29546 for (var = v->vars; var; var=var->next) {
29547 fprintf(fp,"%s", var->name);
29548 if (var->next) fprintf(fp,", ");
29549 }
29550 fprintf(fp," }\n");
29551 return 0;
29552 }
29553
29554 static PyObject *
29555 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29556 swig_globalvar *var = v->vars;
29557 while (var) {
29558 if (strcmp(var->name,n) == 0) {
29559 return (*var->get_attr)();
29560 }
29561 var = var->next;
29562 }
29563 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29564 return NULL;
29565 }
29566
29567 static int
29568 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29569 swig_globalvar *var = v->vars;
29570 while (var) {
29571 if (strcmp(var->name,n) == 0) {
29572 return (*var->set_attr)(p);
29573 }
29574 var = var->next;
29575 }
29576 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29577 return 1;
29578 }
29579
29580 static PyTypeObject varlinktype = {
29581 PyObject_HEAD_INIT(0)
29582 0, /* Number of items in variable part (ob_size) */
29583 (char *)"swigvarlink", /* Type name (tp_name) */
29584 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29585 0, /* Itemsize (tp_itemsize) */
29586 0, /* Deallocator (tp_dealloc) */
29587 (printfunc) swig_varlink_print, /* Print (tp_print) */
29588 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29589 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29590 0, /* tp_compare */
29591 (reprfunc) swig_varlink_repr, /* tp_repr */
29592 0, /* tp_as_number */
29593 0, /* tp_as_sequence */
29594 0, /* tp_as_mapping */
29595 0, /* tp_hash */
29596 0, /* tp_call */
29597 0, /* tp_str */
29598 0, /* tp_getattro */
29599 0, /* tp_setattro */
29600 0, /* tp_as_buffer */
29601 0, /* tp_flags */
29602 0, /* tp_doc */
29603 #if PY_VERSION_HEX >= 0x02000000
29604 0, /* tp_traverse */
29605 0, /* tp_clear */
29606 #endif
29607 #if PY_VERSION_HEX >= 0x02010000
29608 0, /* tp_richcompare */
29609 0, /* tp_weaklistoffset */
29610 #endif
29611 #if PY_VERSION_HEX >= 0x02020000
29612 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29613 #endif
29614 #if PY_VERSION_HEX >= 0x02030000
29615 0, /* tp_del */
29616 #endif
29617 #ifdef COUNT_ALLOCS
29618 0,0,0,0 /* tp_alloc -> tp_next */
29619 #endif
29620 };
29621
29622 /* Create a variable linking object for use later */
29623 static PyObject *
29624 SWIG_Python_newvarlink(void) {
29625 swig_varlinkobject *result = 0;
29626 result = PyMem_NEW(swig_varlinkobject,1);
29627 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29628 result->ob_type = &varlinktype;
29629 result->vars = 0;
29630 result->ob_refcnt = 0;
29631 Py_XINCREF((PyObject *) result);
29632 return ((PyObject*) result);
29633 }
29634
29635 static void
29636 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29637 swig_varlinkobject *v;
29638 swig_globalvar *gv;
29639 v= (swig_varlinkobject *) p;
29640 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29641 gv->name = (char *) malloc(strlen(name)+1);
29642 strcpy(gv->name,name);
29643 gv->get_attr = get_attr;
29644 gv->set_attr = set_attr;
29645 gv->next = v->vars;
29646 v->vars = gv;
29647 }
29648
29649 /* -----------------------------------------------------------------------------
29650 * constants/methods manipulation
29651 * ----------------------------------------------------------------------------- */
29652
29653 /* Install Constants */
29654 static void
29655 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29656 PyObject *obj = 0;
29657 size_t i;
29658 for (i = 0; constants[i].type; i++) {
29659 switch(constants[i].type) {
29660 case SWIG_PY_INT:
29661 obj = PyInt_FromLong(constants[i].lvalue);
29662 break;
29663 case SWIG_PY_FLOAT:
29664 obj = PyFloat_FromDouble(constants[i].dvalue);
29665 break;
29666 case SWIG_PY_STRING:
29667 if (constants[i].pvalue) {
29668 obj = PyString_FromString((char *) constants[i].pvalue);
29669 } else {
29670 Py_INCREF(Py_None);
29671 obj = Py_None;
29672 }
29673 break;
29674 case SWIG_PY_POINTER:
29675 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29676 break;
29677 case SWIG_PY_BINARY:
29678 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29679 break;
29680 default:
29681 obj = 0;
29682 break;
29683 }
29684 if (obj) {
29685 PyDict_SetItemString(d,constants[i].name,obj);
29686 Py_DECREF(obj);
29687 }
29688 }
29689 }
29690
29691 /* -----------------------------------------------------------------------------*/
29692 /* Fix SwigMethods to carry the callback ptrs when needed */
29693 /* -----------------------------------------------------------------------------*/
29694
29695 static void
29696 SWIG_Python_FixMethods(PyMethodDef *methods,
29697 swig_const_info *const_table,
29698 swig_type_info **types,
29699 swig_type_info **types_initial) {
29700 size_t i;
29701 for (i = 0; methods[i].ml_name; ++i) {
29702 char *c = methods[i].ml_doc;
29703 if (c && (c = strstr(c, "swig_ptr: "))) {
29704 int j;
29705 swig_const_info *ci = 0;
29706 char *name = c + 10;
29707 for (j = 0; const_table[j].type; j++) {
29708 if (strncmp(const_table[j].name, name,
29709 strlen(const_table[j].name)) == 0) {
29710 ci = &(const_table[j]);
29711 break;
29712 }
29713 }
29714 if (ci) {
29715 size_t shift = (ci->ptype) - types;
29716 swig_type_info *ty = types_initial[shift];
29717 size_t ldoc = (c - methods[i].ml_doc);
29718 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29719 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29720 char *buff = ndoc;
29721 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29722 strncpy(buff, methods[i].ml_doc, ldoc);
29723 buff += ldoc;
29724 strncpy(buff, "swig_ptr: ", 10);
29725 buff += 10;
29726 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29727 methods[i].ml_doc = ndoc;
29728 }
29729 }
29730 }
29731 }
29732
29733 /* -----------------------------------------------------------------------------*
29734 * Initialize type list
29735 * -----------------------------------------------------------------------------*/
29736
29737 #if PY_MAJOR_VERSION < 2
29738 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29739 is copied out of Python/modsupport.c in python version 2.3.4 */
29740 static int
29741 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29742 {
29743 PyObject *dict;
29744 if (!PyModule_Check(m)) {
29745 PyErr_SetString(PyExc_TypeError,
29746 "PyModule_AddObject() needs module as first arg");
29747 return -1;
29748 }
29749 if (!o) {
29750 PyErr_SetString(PyExc_TypeError,
29751 "PyModule_AddObject() needs non-NULL value");
29752 return -1;
29753 }
29754
29755 dict = PyModule_GetDict(m);
29756 if (dict == NULL) {
29757 /* Internal error -- modules must have a dict! */
29758 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29759 PyModule_GetName(m));
29760 return -1;
29761 }
29762 if (PyDict_SetItemString(dict, name, o))
29763 return -1;
29764 Py_DECREF(o);
29765 return 0;
29766 }
29767 #endif
29768
29769 static swig_type_info **
29770 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29771 static PyMethodDef swig_empty_runtime_method_table[] = {
29772 {
29773 NULL, NULL, 0, NULL
29774 }
29775 };/* Sentinel */
29776
29777 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29778 swig_empty_runtime_method_table);
29779 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29780 if (pointer && module) {
29781 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29782 }
29783 return type_list_handle;
29784 }
29785
29786 static swig_type_info **
29787 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29788 swig_type_info **type_pointer;
29789
29790 /* first check if module already created */
29791 type_pointer = SWIG_Python_GetTypeListHandle();
29792 if (type_pointer) {
29793 return type_pointer;
29794 } else {
29795 /* create a new module and variable */
29796 return SWIG_Python_SetTypeListHandle(type_list_handle);
29797 }
29798 }
29799
29800 #ifdef __cplusplus
29801 }
29802 #endif
29803
29804 /* -----------------------------------------------------------------------------*
29805 * Partial Init method
29806 * -----------------------------------------------------------------------------*/
29807
29808 #ifdef SWIG_LINK_RUNTIME
29809 #ifdef __cplusplus
29810 extern "C"
29811 #endif
29812 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29813 #endif
29814
29815 #ifdef __cplusplus
29816 extern "C"
29817 #endif
29818 SWIGEXPORT(void) SWIG_init(void) {
29819 static PyObject *SWIG_globals = 0;
29820 static int typeinit = 0;
29821 PyObject *m, *d;
29822 int i;
29823 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29824
29825 /* Fix SwigMethods to carry the callback ptrs when needed */
29826 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29827
29828 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29829 d = PyModule_GetDict(m);
29830
29831 if (!typeinit) {
29832 #ifdef SWIG_LINK_RUNTIME
29833 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29834 #else
29835 # ifndef SWIG_STATIC_RUNTIME
29836 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29837 # endif
29838 #endif
29839 for (i = 0; swig_types_initial[i]; i++) {
29840 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29841 }
29842 typeinit = 1;
29843 }
29844 SWIG_InstallConstants(d,swig_const_table);
29845
29846 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29847 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29848 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29849 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29850 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29851 {
29852 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29853 }
29854 {
29855 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29856 }
29857 {
29858 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29859 }
29860 {
29861 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29862 }
29863 {
29864 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29865 }
29866 {
29867 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29868 }
29869 {
29870 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29871 }
29872 {
29873 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29874 }
29875 {
29876 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29877 }
29878 {
29879 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29880 }
29881 {
29882 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29883 }
29884 {
29885 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29886 }
29887 {
29888 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29889 }
29890 {
29891 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29892 }
29893 {
29894 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29895 }
29896 {
29897 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29898 }
29899 {
29900 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29901 }
29902 {
29903 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29904 }
29905 {
29906 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29907 }
29908 {
29909 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29910 }
29911 {
29912 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29913 }
29914 {
29915 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29916 }
29917 {
29918 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
29919 }
29920 {
29921 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
29922 }
29923 {
29924 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29925 }
29926 {
29927 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29928 }
29929 {
29930 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29931 }
29932 {
29933 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29934 }
29935 {
29936 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29937 }
29938 {
29939 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29940 }
29941 {
29942 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29943 }
29944 {
29945 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29946 }
29947 {
29948 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29949 }
29950 {
29951 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29952 }
29953 {
29954 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29955 }
29956 {
29957 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29958 }
29959 {
29960 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29961 }
29962 {
29963 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29964 }
29965 {
29966 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29967 }
29968 {
29969 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29970 }
29971 {
29972 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29973 }
29974 {
29975 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29976 }
29977 {
29978 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29979 }
29980 {
29981 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29982 }
29983 {
29984 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29985 }
29986 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
29987 {
29988 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29989 }
29990 {
29991 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29992 }
29993 {
29994 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29995 }
29996 {
29997 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29998 }
29999 {
30000 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30001 }
30002 {
30003 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30004 }
30005 {
30006 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30007 }
30008 {
30009 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30010 }
30011 {
30012 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30013 }
30014 {
30015 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30016 }
30017 {
30018 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30019 }
30020 {
30021 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30022 }
30023 {
30024 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30025 }
30026 {
30027 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30028 }
30029 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30030 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30031 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30032 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30033 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30034 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
30035 {
30036 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30037 }
30038 {
30039 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30040 }
30041 {
30042 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30043 }
30044 {
30045 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30046 }
30047 {
30048 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30049 }
30050 {
30051 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30052 }
30053 {
30054 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30055 }
30056 {
30057 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30058 }
30059 {
30060 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30061 }
30062 {
30063 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30064 }
30065 {
30066 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30067 }
30068 {
30069 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30070 }
30071 {
30072 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30073 }
30074 {
30075 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30076 }
30077 {
30078 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30079 }
30080 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
30081 {
30082 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30083 }
30084 {
30085 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30086 }
30087 {
30088 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30089 }
30090 {
30091 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30092 }
30093 {
30094 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30095 }
30096 {
30097 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30098 }
30099 {
30100 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30101 }
30102 {
30103 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30104 }
30105 {
30106 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30107 }
30108 {
30109 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30110 }
30111 {
30112 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30113 }
30114 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30115 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30116 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30117
30118 // Map renamed classes back to their common name for OOR
30119 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30120 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30121 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30122
30123 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30124 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30125 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30126 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30127 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30128 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30129 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30130 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30131 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30132 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30133 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30134 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30135 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30136 {
30137 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30138 }
30139 {
30140 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30141 }
30142 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30143 {
30144 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30145 }
30146 {
30147 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30148 }
30149 {
30150 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30151 }
30152 {
30153 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30154 }
30155 {
30156 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30157 }
30158 {
30159 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30160 }
30161 {
30162 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30163 }
30164 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30165 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30166 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30167 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30168 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30169 {
30170 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30174 }
30175 {
30176 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30177 }
30178 {
30179 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30180 }
30181 {
30182 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30183 }
30184 {
30185 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30186 }
30187 {
30188 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30189 }
30190 {
30191 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30192 }
30193 {
30194 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30195 }
30196 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30197 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30198 {
30199 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30200 }
30201 {
30202 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30203 }
30204 {
30205 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30206 }
30207 {
30208 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30209 }
30210 {
30211 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30212 }
30213 {
30214 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30215 }
30216 {
30217 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30218 }
30219 {
30220 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30221 }
30222 {
30223 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30224 }
30225 {
30226 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30227 }
30228 {
30229 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30230 }
30231 {
30232 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30233 }
30234 {
30235 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30236 }
30237 {
30238 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30239 }
30240 {
30241 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30242 }
30243 {
30244 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30245 }
30246 {
30247 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30248 }
30249 {
30250 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30251 }
30252 {
30253 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30254 }
30255 {
30256 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30257 }
30258 {
30259 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30260 }
30261 {
30262 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30263 }
30264 {
30265 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30266 }
30267 {
30268 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30269 }
30270 {
30271 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30272 }
30273 {
30274 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30275 }
30276 {
30277 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30278 }
30279 {
30280 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30281 }
30282 {
30283 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30284 }
30285 {
30286 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30287 }
30288 {
30289 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30290 }
30291 {
30292 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30293 }
30294 {
30295 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30296 }
30297 {
30298 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30299 }
30300 {
30301 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30302 }
30303 {
30304 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30305 }
30306 {
30307 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30314 }
30315
30316 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30317
30318 }
30319