]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
Check wxMSWUniv condition earlier.
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 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_wxSashLayoutWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPyPopupTransientWindow 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 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1694 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1695
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697 #define SWIG_From_long PyInt_FromLong
1698 /*@@*/
1699
1700
1701
1702 static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1703 wxRect r;
1704 self->GetFieldRect(i, r);
1705 return r;
1706 }
1707 static const wxString wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1710
1711 #include <wx/popupwin.h>
1712
1713
1714 class wxPyPopupTransientWindow : public wxPopupTransientWindow
1715 {
1716 public:
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1719 : wxPopupTransientWindow(parent, style) {}
1720
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1722 DEC_PYCALLBACK__(OnDismiss);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss);
1724 PYPRIVATE;
1725 };
1726
1727
1728 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1729 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1730 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1731
1732
1733 #include <wx/tipwin.h>
1734
1735 static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1736 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1737 }
1738
1739 #include <wx/tipwin.h>
1740
1741
1742 #include <wx/vscroll.h>
1743
1744
1745 class wxPyVScrolledWindow : public wxVScrolledWindow
1746 {
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1748 public:
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750
1751 wxPyVScrolledWindow(wxWindow *parent,
1752 wxWindowID id = wxID_ANY,
1753 const wxPoint& pos = wxDefaultPosition,
1754 const wxSize& size = wxDefaultSize,
1755 long style = 0,
1756 const wxString& name = wxPyPanelNameStr)
1757 : wxVScrolledWindow(parent, id, pos, size, style, name)
1758 {}
1759
1760 // Overridable virtuals
1761
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1765
1766
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1770 // once
1771 //
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1777 //
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 // usual
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1781
1782
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1787 // its own logic
1788 //
1789 // this function should return the best guess for the total height it may
1790 // make
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1792
1793
1794 // Also expose some other interesting protected methods
1795
1796
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1801
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1806
1807
1808 PYPRIVATE;
1809 };
1810
1811 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1812
1813 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1814 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1815 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1816
1817
1818 SWIGINTERN int
1819 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1820 {
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1823 SWIG_type_error("unsigned number", obj);
1824 }
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
1828 }
1829
1830
1831 SWIGINTERNSHORT unsigned long
1832 SWIG_As_unsigned_SS_long(PyObject* obj)
1833 {
1834 unsigned long v;
1835 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1836 /*
1837 this is needed to make valgrind/purify happier.
1838 */
1839 memset((void*)&v, 0, sizeof(unsigned long));
1840 }
1841 return v;
1842 }
1843
1844
1845 SWIGINTERNSHORT int
1846 SWIG_Check_unsigned_SS_long(PyObject* obj)
1847 {
1848 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1849 }
1850
1851
1852 SWIGINTERNSHORT PyObject*
1853 SWIG_From_unsigned_SS_long(unsigned long value)
1854 {
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
1857 : PyInt_FromLong((long)(value));
1858 }
1859
1860
1861 #include <wx/vlbox.h>
1862
1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1864
1865 class wxPyVListBox : public wxVListBox
1866 {
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1868 public:
1869 wxPyVListBox() : wxVListBox() {}
1870
1871 wxPyVListBox(wxWindow *parent,
1872 wxWindowID id = wxID_ANY,
1873 const wxPoint& pos = wxDefaultPosition,
1874 const wxSize& size = wxDefaultSize,
1875 long style = 0,
1876 const wxString& name = wxPyVListBoxNameStr)
1877 : wxVListBox(parent, id, pos, size, style, name)
1878 {}
1879
1880 // Overridable virtuals
1881
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1886
1887
1888 // the derived class must implement this method to return the height of the
1889 // specified item
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1892
1893
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1897 //
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1901
1902
1903 // this method is used to draw the items background and, maybe, a border
1904 // around it
1905 //
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1909 // current
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1912
1913
1914 PYPRIVATE;
1915 };
1916
1917 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1918
1919 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1920 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1921 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1922 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1923
1924
1925 static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
1926 unsigned long cookie = 0;
1927 int selected = self->GetFirstSelected(cookie);
1928 bool blocked = wxPyBeginBlockThreads();
1929 PyObject* tup = PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1931 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1932 wxPyEndBlockThreads(blocked);
1933 return tup;
1934 }
1935 static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
1936 int selected = self->GetNextSelected(cookie);
1937 bool blocked = wxPyBeginBlockThreads();
1938 PyObject* tup = PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1940 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1941 wxPyEndBlockThreads(blocked);
1942 return tup;
1943 }
1944
1945 #include <wx/htmllbox.h>
1946
1947
1948 class wxPyHtmlListBox : public wxHtmlListBox
1949 {
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1951 public:
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1953
1954 wxPyHtmlListBox(wxWindow *parent,
1955 wxWindowID id = wxID_ANY,
1956 const wxPoint& pos = wxDefaultPosition,
1957 const wxSize& size = wxDefaultSize,
1958 long style = 0,
1959 const wxString& name = wxPyVListBoxNameStr)
1960 : wxHtmlListBox(parent, id, pos, size, style, name)
1961 {}
1962
1963 // Overridable virtuals
1964
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1968
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1971
1972 // TODO:
1973 // // this method allows to customize the selection appearance: it may be used
1974 // // to specify the colour of the text which normally has the given colour
1975 // // colFg when it is inside the selection
1976 // //
1977 // // by default, the original colour is not used at all and all text has the
1978 // // same (default for this system) colour inside selection
1979 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980
1981 // // this is the same as GetSelectedTextColour() but allows to customize the
1982 // // background colour -- this is even more rarely used as you can change it
1983 // // globally using SetSelectionBackground()
1984 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985
1986
1987 PYPRIVATE;
1988 };
1989
1990
1991 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1992
1993 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1994 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1995
1996
1997
1998
1999
2000 #ifndef wxHAS_TASK_BAR_ICON
2001 // implement dummy classes for platforms that don't have it
2002
2003 class wxTaskBarIcon : public wxEvtHandler
2004 {
2005 public:
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2007 };
2008
2009
2010 class wxTaskBarIconEvent : public wxEvent
2011 {
2012 public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent* Clone() const { return NULL; }
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu *menu) { return false; }
2021 };
2022
2023 enum {
2024 wxEVT_TASKBAR_MOVE = 0,
2025 wxEVT_TASKBAR_LEFT_DOWN = 0,
2026 wxEVT_TASKBAR_LEFT_UP = 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2028 wxEVT_TASKBAR_RIGHT_UP = 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2031 };
2032
2033
2034 #else
2035 // Otherwise make a class that can virtualize CreatePopupMenu
2036 class wxPyTaskBarIcon : public wxTaskBarIcon
2037 {
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2039 public:
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2041 {}
2042
2043 wxMenu* CreatePopupMenu() {
2044 wxMenu *rval = NULL;
2045 bool found;
2046 bool blocked = wxPyBeginBlockThreads();
2047 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2048 PyObject* ro;
2049 wxMenu* ptr;
2050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2051 if (ro) {
2052 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2053 rval = ptr;
2054 Py_DECREF(ro);
2055 }
2056 }
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 rval = wxTaskBarIcon::CreatePopupMenu();
2060 return rval;
2061 }
2062
2063 PYPRIVATE;
2064 };
2065
2066 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
2067
2068 #endif
2069
2070 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
2071 self->RemoveIcon();
2072 delete self;
2073 }
2074 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2075 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2076 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2077 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2078 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2079 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
2080 static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
2085 static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
2090 static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
2091 return wxArrayInt2PyList_helper(self->GetSelections());
2092 }
2093 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){
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
2098
2099 #include <wx/mdi.h>
2100
2101 // C++ version of Python aware wxWindow
2102 class wxPyWindow : public wxWindow
2103 {
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2105 public:
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow* parent, const wxWindowID id,
2108 const wxPoint& pos = wxDefaultPosition,
2109 const wxSize& size = wxDefaultSize,
2110 long style = 0,
2111 const wxString& name = wxPyPanelNameStr)
2112 : wxWindow(parent, id, pos, size, style, name) {}
2113
2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
2115
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2120
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2124
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2127
2128 DEC_PYCALLBACK__(InitDialog);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2131 DEC_PYCALLBACK_BOOL_(Validate);
2132
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2136
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2139
2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2143
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2145
2146 PYPRIVATE;
2147 };
2148
2149 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2150
2151 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2152 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2154 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2155
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2159
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2162
2163 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2166 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2167
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2169 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2171
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2174
2175 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
2176 IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
2177 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
2178
2179 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
2180
2181 // C++ version of Python aware wxPanel
2182 class wxPyPanel : public wxPanel
2183 {
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2185 public:
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow* parent, const wxWindowID id,
2188 const wxPoint& pos = wxDefaultPosition,
2189 const wxSize& size = wxDefaultSize,
2190 long style = 0,
2191 const wxString& name = wxPyPanelNameStr)
2192 : wxPanel(parent, id, pos, size, style, name) {}
2193
2194 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2195
2196
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2201
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2205
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2208
2209 DEC_PYCALLBACK__(InitDialog);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2212 DEC_PYCALLBACK_BOOL_(Validate);
2213
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2217
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2220
2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2224
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2226
2227 PYPRIVATE;
2228 };
2229
2230 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2231
2232 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2233 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2234 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2235 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2236
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2238 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2239 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2240
2241 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2242 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2243
2244 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2246 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2247 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2248
2249 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2250 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2251 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2252
2253 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2254 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2255
2256 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
2257 IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
2258 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
2259
2260 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2261
2262 // C++ version of Python aware wxScrolledWindow
2263 class wxPyScrolledWindow : public wxScrolledWindow
2264 {
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2266 public:
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2269 const wxPoint& pos = wxDefaultPosition,
2270 const wxSize& size = wxDefaultSize,
2271 long style = 0,
2272 const wxString& name = wxPyPanelNameStr)
2273 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2274
2275 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
2276
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2281
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2285
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2288
2289 DEC_PYCALLBACK__(InitDialog);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2292 DEC_PYCALLBACK_BOOL_(Validate);
2293
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2297
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2300
2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
2304
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2306
2307 PYPRIVATE;
2308 };
2309
2310 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2311
2312 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2313 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2314 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2315 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2316
2317 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2318 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2319 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2320
2321 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2322 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2323
2324 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2325 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2326 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2327 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2328
2329 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2330 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2331 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2332
2333 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2334 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2335
2336 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
2337 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
2338 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2339
2340 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
2341
2342
2343 #include "wx/wxPython/printfw.h"
2344
2345
2346 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2348
2349
2350 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
2351
2352 // Since this one would be tough and ugly to do with the Macros...
2353 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2354 bool hadErr = false;
2355 bool found;
2356
2357 bool blocked = wxPyBeginBlockThreads();
2358 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2359 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2360 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2361 PyObject* val;
2362
2363 val = PyTuple_GetItem(result, 0);
2364 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
2365 else hadErr = true;
2366
2367 val = PyTuple_GetItem(result, 1);
2368 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
2369 else hadErr = true;
2370
2371 val = PyTuple_GetItem(result, 2);
2372 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
2373 else hadErr = true;
2374
2375 val = PyTuple_GetItem(result, 3);
2376 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
2377 else hadErr = true;
2378 }
2379 else
2380 hadErr = true;
2381
2382 if (hadErr) {
2383 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2384 PyErr_Print();
2385 }
2386 Py_DECREF(result);
2387 }
2388 wxPyEndBlockThreads(blocked);
2389 if (! found)
2390 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2391 }
2392
2393 void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2394 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2395 }
2396
2397
2398 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2399 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2400 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2401 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2402 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2403 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2404 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2405
2406
2407
2408
2409
2410 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2411 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2412 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2413
2414
2415 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2416 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2417 bool rval=false; \
2418 bool found; \
2419 bool blocked = wxPyBeginBlockThreads(); \
2420 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2421 PyObject* win = wxPyMake_wxObject(a,false); \
2422 PyObject* dc = wxPyMake_wxObject(&b,false); \
2423 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2424 Py_DECREF(win); \
2425 Py_DECREF(dc); \
2426 } \
2427 wxPyEndBlockThreads(blocked); \
2428 if (! found) \
2429 rval = PCLASS::CBNAME(a, b); \
2430 return rval; \
2431 } \
2432 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2433 return PCLASS::CBNAME(a, b); \
2434 }
2435
2436
2437
2438
2439 class wxPyPrintPreview : public wxPrintPreview
2440 {
2441 DECLARE_CLASS(wxPyPrintPreview)
2442 public:
2443 wxPyPrintPreview(wxPyPrintout* printout,
2444 wxPyPrintout* printoutForPrinting,
2445 wxPrintDialogData* data=NULL)
2446 : wxPrintPreview(printout, printoutForPrinting, data)
2447 {}
2448 wxPyPrintPreview(wxPyPrintout* printout,
2449 wxPyPrintout* printoutForPrinting,
2450 wxPrintData* data=NULL)
2451 : wxPrintPreview(printout, printoutForPrinting, data)
2452 {}
2453
2454 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2455 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2456 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2457 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2458 DEC_PYCALLBACK_VOID_INT(SetZoom);
2459 DEC_PYCALLBACK_BOOL_BOOL(Print);
2460 DEC_PYCALLBACK_VOID_(DetermineScaling);
2461
2462 PYPRIVATE;
2463 };
2464
2465 // Stupid renamed classes... Fix this in 2.5...
2466 #if defined(__WXMSW__)
2467 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2468 #elif defined(__WXMAC__)
2469 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2470 #else
2471 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2472 #endif
2473
2474 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2475 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2476 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2477 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2478 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2479 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2480 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2481
2482
2483 class wxPyPreviewFrame : public wxPreviewFrame
2484 {
2485 DECLARE_CLASS(wxPyPreviewFrame);
2486 public:
2487 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2488 const wxString& title,
2489 const wxPoint& pos = wxDefaultPosition,
2490 const wxSize& size = wxDefaultSize,
2491 long style = wxDEFAULT_FRAME_STYLE,
2492 const wxString& name = wxPyFrameNameStr)
2493 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2494 {}
2495
2496 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2497 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2498
2499 DEC_PYCALLBACK_VOID_(Initialize);
2500 DEC_PYCALLBACK_VOID_(CreateCanvas);
2501 DEC_PYCALLBACK_VOID_(CreateControlBar);
2502
2503 PYPRIVATE;
2504 };
2505
2506 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2507
2508 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2509 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2510 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2511
2512
2513 class wxPyPreviewControlBar : public wxPreviewControlBar
2514 {
2515 DECLARE_CLASS(wxPyPreviewControlBar);
2516 public:
2517 wxPyPreviewControlBar(wxPrintPreview *preview,
2518 long buttons,
2519 wxWindow *parent,
2520 const wxPoint& pos = wxDefaultPosition,
2521 const wxSize& size = wxDefaultSize,
2522 long style = 0,
2523 const wxString& name = wxPyPanelNameStr)
2524 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2525 {}
2526
2527 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2528
2529 DEC_PYCALLBACK_VOID_(CreateButtons);
2530 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2531
2532 PYPRIVATE;
2533 };
2534
2535 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2536 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2537 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2538
2539 #ifdef __cplusplus
2540 extern "C" {
2541 #endif
2542 static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
2545 int arg2 = (int) (int)-1 ;
2546 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2547 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2548 wxSize const &arg4_defvalue = wxDefaultSize ;
2549 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2550 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2551 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2552 wxString *arg6 = (wxString *) &arg6_defvalue ;
2553 wxPanel *result;
2554 wxPoint temp3 ;
2555 wxSize temp4 ;
2556 bool temp6 = false ;
2557 PyObject * obj0 = 0 ;
2558 PyObject * obj1 = 0 ;
2559 PyObject * obj2 = 0 ;
2560 PyObject * obj3 = 0 ;
2561 PyObject * obj4 = 0 ;
2562 PyObject * obj5 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail;
2570 if (obj1) {
2571 {
2572 arg2 = (int const)(SWIG_As_int(obj1));
2573 if (SWIG_arg_fail(2)) SWIG_fail;
2574 }
2575 }
2576 if (obj2) {
2577 {
2578 arg3 = &temp3;
2579 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2580 }
2581 }
2582 if (obj3) {
2583 {
2584 arg4 = &temp4;
2585 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2586 }
2587 }
2588 if (obj4) {
2589 {
2590 arg5 = (long)(SWIG_As_long(obj4));
2591 if (SWIG_arg_fail(5)) SWIG_fail;
2592 }
2593 }
2594 if (obj5) {
2595 {
2596 arg6 = wxString_in_helper(obj5);
2597 if (arg6 == NULL) SWIG_fail;
2598 temp6 = true;
2599 }
2600 }
2601 {
2602 if (!wxPyCheckForApp()) SWIG_fail;
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2610 {
2611 if (temp6)
2612 delete arg6;
2613 }
2614 return resultobj;
2615 fail:
2616 {
2617 if (temp6)
2618 delete arg6;
2619 }
2620 return NULL;
2621 }
2622
2623
2624 static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
2625 PyObject *resultobj;
2626 wxPanel *result;
2627 char *kwnames[] = {
2628 NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2632 {
2633 if (!wxPyCheckForApp()) SWIG_fail;
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxPanel *)new wxPanel();
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
2641 return resultobj;
2642 fail:
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxPanel *arg1 = (wxPanel *) 0 ;
2650 wxWindow *arg2 = (wxWindow *) 0 ;
2651 int arg3 = (int) (int)-1 ;
2652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2654 wxSize const &arg5_defvalue = wxDefaultSize ;
2655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2656 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2657 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2658 wxString *arg7 = (wxString *) &arg7_defvalue ;
2659 bool result;
2660 wxPoint temp4 ;
2661 wxSize temp5 ;
2662 bool temp7 = false ;
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
2665 PyObject * obj2 = 0 ;
2666 PyObject * obj3 = 0 ;
2667 PyObject * obj4 = 0 ;
2668 PyObject * obj5 = 0 ;
2669 PyObject * obj6 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2676 if (SWIG_arg_fail(1)) SWIG_fail;
2677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2678 if (SWIG_arg_fail(2)) SWIG_fail;
2679 if (obj2) {
2680 {
2681 arg3 = (int const)(SWIG_As_int(obj2));
2682 if (SWIG_arg_fail(3)) SWIG_fail;
2683 }
2684 }
2685 if (obj3) {
2686 {
2687 arg4 = &temp4;
2688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2689 }
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
2698 {
2699 arg6 = (long)(SWIG_As_long(obj5));
2700 if (SWIG_arg_fail(6)) SWIG_fail;
2701 }
2702 }
2703 if (obj6) {
2704 {
2705 arg7 = wxString_in_helper(obj6);
2706 if (arg7 == NULL) SWIG_fail;
2707 temp7 = true;
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 {
2718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2719 }
2720 {
2721 if (temp7)
2722 delete arg7;
2723 }
2724 return resultobj;
2725 fail:
2726 {
2727 if (temp7)
2728 delete arg7;
2729 }
2730 return NULL;
2731 }
2732
2733
2734 static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 wxPanel *arg1 = (wxPanel *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
2743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2744 if (SWIG_arg_fail(1)) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->InitDialog();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxPanel *arg1 = (wxPanel *) 0 ;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
2768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 (arg1)->SetFocus();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxPanel *arg1 = (wxPanel *) 0 ;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 (arg1)->SetFocusIgnoringChildren();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 Py_INCREF(Py_None); resultobj = Py_None;
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
2812 wxVisualAttributes result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "variant", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2819 if (obj0) {
2820 {
2821 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2822 if (SWIG_arg_fail(1)) SWIG_fail;
2823 }
2824 }
2825 {
2826 if (!wxPyCheckForApp()) SWIG_fail;
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 {
2834 wxVisualAttributes * resultptr;
2835 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
2836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2837 }
2838 return resultobj;
2839 fail:
2840 return NULL;
2841 }
2842
2843
2844 static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
2845 PyObject *obj;
2846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2847 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2848 Py_INCREF(obj);
2849 return Py_BuildValue((char *)"");
2850 }
2851 static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2852 PyObject *resultobj;
2853 wxWindow *arg1 = (wxWindow *) 0 ;
2854 int arg2 = (int) (int)-1 ;
2855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2857 wxSize const &arg4_defvalue = wxDefaultSize ;
2858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2859 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2860 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2861 wxString *arg6 = (wxString *) &arg6_defvalue ;
2862 wxScrolledWindow *result;
2863 wxPoint temp3 ;
2864 wxSize temp4 ;
2865 bool temp6 = false ;
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 PyObject * obj2 = 0 ;
2869 PyObject * obj3 = 0 ;
2870 PyObject * obj4 = 0 ;
2871 PyObject * obj5 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail;
2879 if (obj1) {
2880 {
2881 arg2 = (int const)(SWIG_As_int(obj1));
2882 if (SWIG_arg_fail(2)) SWIG_fail;
2883 }
2884 }
2885 if (obj2) {
2886 {
2887 arg3 = &temp3;
2888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2889 }
2890 }
2891 if (obj3) {
2892 {
2893 arg4 = &temp4;
2894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2895 }
2896 }
2897 if (obj4) {
2898 {
2899 arg5 = (long)(SWIG_As_long(obj4));
2900 if (SWIG_arg_fail(5)) SWIG_fail;
2901 }
2902 }
2903 if (obj5) {
2904 {
2905 arg6 = wxString_in_helper(obj5);
2906 if (arg6 == NULL) SWIG_fail;
2907 temp6 = true;
2908 }
2909 }
2910 {
2911 if (!wxPyCheckForApp()) SWIG_fail;
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2919 {
2920 if (temp6)
2921 delete arg6;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp6)
2927 delete arg6;
2928 }
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxScrolledWindow *result;
2936 char *kwnames[] = {
2937 NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2941 {
2942 if (!wxPyCheckForApp()) SWIG_fail;
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxScrolledWindow *)new wxScrolledWindow();
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
2950 return resultobj;
2951 fail:
2952 return NULL;
2953 }
2954
2955
2956 static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2957 PyObject *resultobj;
2958 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2959 wxWindow *arg2 = (wxWindow *) 0 ;
2960 int arg3 = (int) (int)-1 ;
2961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2963 wxSize const &arg5_defvalue = wxDefaultSize ;
2964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2965 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2966 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2967 wxString *arg7 = (wxString *) &arg7_defvalue ;
2968 bool result;
2969 wxPoint temp4 ;
2970 wxSize temp5 ;
2971 bool temp7 = false ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 PyObject * obj5 = 0 ;
2978 PyObject * obj6 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2985 if (SWIG_arg_fail(1)) SWIG_fail;
2986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail;
2988 if (obj2) {
2989 {
2990 arg3 = (int const)(SWIG_As_int(obj2));
2991 if (SWIG_arg_fail(3)) SWIG_fail;
2992 }
2993 }
2994 if (obj3) {
2995 {
2996 arg4 = &temp4;
2997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2998 }
2999 }
3000 if (obj4) {
3001 {
3002 arg5 = &temp5;
3003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3004 }
3005 }
3006 if (obj5) {
3007 {
3008 arg6 = (long)(SWIG_As_long(obj5));
3009 if (SWIG_arg_fail(6)) SWIG_fail;
3010 }
3011 }
3012 if (obj6) {
3013 {
3014 arg7 = wxString_in_helper(obj6);
3015 if (arg7 == NULL) SWIG_fail;
3016 temp7 = true;
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
3029 {
3030 if (temp7)
3031 delete arg7;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp7)
3037 delete arg7;
3038 }
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj;
3045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3046 int arg2 ;
3047 int arg3 ;
3048 int arg4 ;
3049 int arg5 ;
3050 int arg6 = (int) 0 ;
3051 int arg7 = (int) 0 ;
3052 bool arg8 = (bool) false ;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 PyObject * obj3 = 0 ;
3057 PyObject * obj4 = 0 ;
3058 PyObject * obj5 = 0 ;
3059 PyObject * obj6 = 0 ;
3060 PyObject * obj7 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail;
3068 {
3069 arg2 = (int)(SWIG_As_int(obj1));
3070 if (SWIG_arg_fail(2)) SWIG_fail;
3071 }
3072 {
3073 arg3 = (int)(SWIG_As_int(obj2));
3074 if (SWIG_arg_fail(3)) SWIG_fail;
3075 }
3076 {
3077 arg4 = (int)(SWIG_As_int(obj3));
3078 if (SWIG_arg_fail(4)) SWIG_fail;
3079 }
3080 {
3081 arg5 = (int)(SWIG_As_int(obj4));
3082 if (SWIG_arg_fail(5)) SWIG_fail;
3083 }
3084 if (obj5) {
3085 {
3086 arg6 = (int)(SWIG_As_int(obj5));
3087 if (SWIG_arg_fail(6)) SWIG_fail;
3088 }
3089 }
3090 if (obj6) {
3091 {
3092 arg7 = (int)(SWIG_As_int(obj6));
3093 if (SWIG_arg_fail(7)) SWIG_fail;
3094 }
3095 }
3096 if (obj7) {
3097 {
3098 arg8 = (bool)(SWIG_As_bool(obj7));
3099 if (SWIG_arg_fail(8)) SWIG_fail;
3100 }
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 Py_INCREF(Py_None); resultobj = Py_None;
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3119 int arg2 ;
3120 int arg3 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 PyObject * obj2 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "x",(char *) "y", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
3129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail;
3131 {
3132 arg2 = (int)(SWIG_As_int(obj1));
3133 if (SWIG_arg_fail(2)) SWIG_fail;
3134 }
3135 {
3136 arg3 = (int)(SWIG_As_int(obj2));
3137 if (SWIG_arg_fail(3)) SWIG_fail;
3138 }
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 (arg1)->Scroll(arg2,arg3);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 Py_INCREF(Py_None); resultobj = Py_None;
3147 return resultobj;
3148 fail:
3149 return NULL;
3150 }
3151
3152
3153 static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3154 PyObject *resultobj;
3155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3156 int arg2 ;
3157 int result;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "orient", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
3165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3166 if (SWIG_arg_fail(1)) SWIG_fail;
3167 {
3168 arg2 = (int)(SWIG_As_int(obj1));
3169 if (SWIG_arg_fail(2)) SWIG_fail;
3170 }
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 {
3179 resultobj = SWIG_From_int((int)(result));
3180 }
3181 return resultobj;
3182 fail:
3183 return NULL;
3184 }
3185
3186
3187 static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
3188 PyObject *resultobj;
3189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3190 int arg2 ;
3191 int arg3 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
3206 {
3207 arg3 = (int)(SWIG_As_int(obj2));
3208 if (SWIG_arg_fail(3)) SWIG_fail;
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->SetScrollPageSize(arg2,arg3);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221 }
3222
3223
3224 static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3227 int arg2 ;
3228 int arg3 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 PyObject * obj2 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
3237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 {
3240 arg2 = (int)(SWIG_As_int(obj1));
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 }
3243 {
3244 arg3 = (int)(SWIG_As_int(obj2));
3245 if (SWIG_arg_fail(3)) SWIG_fail;
3246 }
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->SetScrollRate(arg2,arg3);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj;
3263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3264 int *arg2 = (int *) 0 ;
3265 int *arg3 = (int *) 0 ;
3266 int temp2 ;
3267 int res2 = 0 ;
3268 int temp3 ;
3269 int res3 = 0 ;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
3275 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3276 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3289 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3290 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3291 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3301 bool arg2 ;
3302 bool arg3 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3305 PyObject * obj2 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
3313 {
3314 arg2 = (bool)(SWIG_As_bool(obj1));
3315 if (SWIG_arg_fail(2)) SWIG_fail;
3316 }
3317 {
3318 arg3 = (bool)(SWIG_As_bool(obj2));
3319 if (SWIG_arg_fail(3)) SWIG_fail;
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->EnableScrolling(arg2,arg3);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3338 int *arg2 = (int *) 0 ;
3339 int *arg3 = (int *) 0 ;
3340 int temp2 ;
3341 int res2 = 0 ;
3342 int temp3 ;
3343 int res3 = 0 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3350 arg3 = &temp3; res3 = SWIG_NEWOBJ;
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
3352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3375 double arg2 ;
3376 double arg3 ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "xs",(char *) "ys", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
3385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail;
3387 {
3388 arg2 = (double)(SWIG_As_double(obj1));
3389 if (SWIG_arg_fail(2)) SWIG_fail;
3390 }
3391 {
3392 arg3 = (double)(SWIG_As_double(obj2));
3393 if (SWIG_arg_fail(3)) SWIG_fail;
3394 }
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetScale(arg2,arg3);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 return resultobj;
3404 fail:
3405 return NULL;
3406 }
3407
3408
3409 static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
3410 PyObject *resultobj;
3411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3412 double result;
3413 PyObject * obj0 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 {
3429 resultobj = SWIG_From_double((double)(result));
3430 }
3431 return resultobj;
3432 fail:
3433 return NULL;
3434 }
3435
3436
3437 static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3440 double result;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
3447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail;
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 resultobj = SWIG_From_double((double)(result));
3458 }
3459 return resultobj;
3460 fail:
3461 return NULL;
3462 }
3463
3464
3465 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3466 PyObject *resultobj;
3467 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3468 wxPoint *arg2 = 0 ;
3469 wxPoint result;
3470 wxPoint temp2 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473
3474 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
3475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail;
3477 {
3478 arg2 = &temp2;
3479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3480 }
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 wxPoint * resultptr;
3490 resultptr = new wxPoint((wxPoint &)(result));
3491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3500 PyObject *resultobj;
3501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3502 int arg2 ;
3503 int arg3 ;
3504 int *arg4 = (int *) 0 ;
3505 int *arg5 = (int *) 0 ;
3506 int temp4 ;
3507 int res4 = 0 ;
3508 int temp5 ;
3509 int res5 = 0 ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
3513
3514 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3515 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3516 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail;
3519 {
3520 arg2 = (int)(SWIG_As_int(obj1));
3521 if (SWIG_arg_fail(2)) SWIG_fail;
3522 }
3523 {
3524 arg3 = (int)(SWIG_As_int(obj2));
3525 if (SWIG_arg_fail(3)) SWIG_fail;
3526 }
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
3535 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3536 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3537 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3538 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3539 return resultobj;
3540 fail:
3541 return NULL;
3542 }
3543
3544
3545 static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3546 int argc;
3547 PyObject *argv[4];
3548 int ii;
3549
3550 argc = PyObject_Length(args);
3551 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3552 argv[ii] = PyTuple_GetItem(args,ii);
3553 }
3554 if (argc == 2) {
3555 int _v;
3556 {
3557 void *ptr;
3558 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3559 _v = 0;
3560 PyErr_Clear();
3561 } else {
3562 _v = 1;
3563 }
3564 }
3565 if (_v) {
3566 {
3567 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3568 }
3569 if (_v) {
3570 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3571 }
3572 }
3573 }
3574 if (argc == 3) {
3575 int _v;
3576 {
3577 void *ptr;
3578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3579 _v = 0;
3580 PyErr_Clear();
3581 } else {
3582 _v = 1;
3583 }
3584 }
3585 if (_v) {
3586 _v = SWIG_Check_int(argv[1]);
3587 if (_v) {
3588 _v = SWIG_Check_int(argv[2]);
3589 if (_v) {
3590 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3591 }
3592 }
3593 }
3594 }
3595
3596 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3597 return NULL;
3598 }
3599
3600
3601 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
3602 PyObject *resultobj;
3603 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3604 wxPoint *arg2 = 0 ;
3605 wxPoint result;
3606 wxPoint temp2 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609
3610 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
3613 {
3614 arg2 = &temp2;
3615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 wxPoint * resultptr;
3626 resultptr = new wxPoint((wxPoint &)(result));
3627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3628 }
3629 return resultobj;
3630 fail:
3631 return NULL;
3632 }
3633
3634
3635 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
3636 PyObject *resultobj;
3637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3638 int arg2 ;
3639 int arg3 ;
3640 int *arg4 = (int *) 0 ;
3641 int *arg5 = (int *) 0 ;
3642 int temp4 ;
3643 int res4 = 0 ;
3644 int temp5 ;
3645 int res5 = 0 ;
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 PyObject * obj2 = 0 ;
3649
3650 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3651 arg5 = &temp5; res5 = SWIG_NEWOBJ;
3652 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
3653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail;
3655 {
3656 arg2 = (int)(SWIG_As_int(obj1));
3657 if (SWIG_arg_fail(2)) SWIG_fail;
3658 }
3659 {
3660 arg3 = (int)(SWIG_As_int(obj2));
3661 if (SWIG_arg_fail(3)) SWIG_fail;
3662 }
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3672 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3673 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3674 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
3675 return resultobj;
3676 fail:
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3682 int argc;
3683 PyObject *argv[4];
3684 int ii;
3685
3686 argc = PyObject_Length(args);
3687 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3688 argv[ii] = PyTuple_GetItem(args,ii);
3689 }
3690 if (argc == 2) {
3691 int _v;
3692 {
3693 void *ptr;
3694 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3695 _v = 0;
3696 PyErr_Clear();
3697 } else {
3698 _v = 1;
3699 }
3700 }
3701 if (_v) {
3702 {
3703 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3704 }
3705 if (_v) {
3706 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3707 }
3708 }
3709 }
3710 if (argc == 3) {
3711 int _v;
3712 {
3713 void *ptr;
3714 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3715 _v = 0;
3716 PyErr_Clear();
3717 } else {
3718 _v = 1;
3719 }
3720 }
3721 if (_v) {
3722 _v = SWIG_Check_int(argv[1]);
3723 if (_v) {
3724 _v = SWIG_Check_int(argv[2]);
3725 if (_v) {
3726 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3727 }
3728 }
3729 }
3730 }
3731
3732 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->AdjustScrollbars();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3765 wxScrollWinEvent *arg2 = 0 ;
3766 int result;
3767 PyObject * obj0 = 0 ;
3768 PyObject * obj1 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self",(char *) "event", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
3776 {
3777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3778 if (SWIG_arg_fail(2)) SWIG_fail;
3779 if (arg2 == NULL) {
3780 SWIG_null_ref("wxScrollWinEvent");
3781 }
3782 if (SWIG_arg_fail(2)) SWIG_fail;
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)(arg1)->CalcScrollInc(*arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 {
3792 resultobj = SWIG_From_int((int)(result));
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3803 wxWindow *arg2 = (wxWindow *) 0 ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self",(char *) "target", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
3811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail;
3813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 (arg1)->SetTargetWindow(arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 Py_INCREF(Py_None); resultobj = Py_None;
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj;
3831 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3832 wxWindow *result;
3833 PyObject * obj0 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
3839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail;
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
3849 resultobj = wxPyMake_wxObject(result, 0);
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3860 wxDC *arg2 = 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "dc", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
3871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3872 if (SWIG_arg_fail(2)) SWIG_fail;
3873 if (arg2 == NULL) {
3874 SWIG_null_ref("wxDC");
3875 }
3876 if (SWIG_arg_fail(2)) SWIG_fail;
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->DoPrepareDC(*arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj;
3894 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3895 wxVisualAttributes result;
3896 PyObject * obj0 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "variant", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3902 if (obj0) {
3903 {
3904 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3905 if (SWIG_arg_fail(1)) SWIG_fail;
3906 }
3907 }
3908 {
3909 if (!wxPyCheckForApp()) SWIG_fail;
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3912
3913 wxPyEndAllowThreads(__tstate);
3914 if (PyErr_Occurred()) SWIG_fail;
3915 }
3916 {
3917 wxVisualAttributes * resultptr;
3918 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
3919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3920 }
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
3928 PyObject *obj;
3929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3931 Py_INCREF(obj);
3932 return Py_BuildValue((char *)"");
3933 }
3934 static int _wrap_FrameNameStr_set(PyObject *) {
3935 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3936 return 1;
3937 }
3938
3939
3940 static PyObject *_wrap_FrameNameStr_get(void) {
3941 PyObject *pyobj;
3942
3943 {
3944 #if wxUSE_UNICODE
3945 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3946 #else
3947 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3948 #endif
3949 }
3950 return pyobj;
3951 }
3952
3953
3954 static int _wrap_DialogNameStr_set(PyObject *) {
3955 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3956 return 1;
3957 }
3958
3959
3960 static PyObject *_wrap_DialogNameStr_get(void) {
3961 PyObject *pyobj;
3962
3963 {
3964 #if wxUSE_UNICODE
3965 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3966 #else
3967 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3968 #endif
3969 }
3970 return pyobj;
3971 }
3972
3973
3974 static int _wrap_StatusLineNameStr_set(PyObject *) {
3975 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
3976 return 1;
3977 }
3978
3979
3980 static PyObject *_wrap_StatusLineNameStr_get(void) {
3981 PyObject *pyobj;
3982
3983 {
3984 #if wxUSE_UNICODE
3985 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3986 #else
3987 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3988 #endif
3989 }
3990 return pyobj;
3991 }
3992
3993
3994 static int _wrap_ToolBarNameStr_set(PyObject *) {
3995 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
3996 return 1;
3997 }
3998
3999
4000 static PyObject *_wrap_ToolBarNameStr_get(void) {
4001 PyObject *pyobj;
4002
4003 {
4004 #if wxUSE_UNICODE
4005 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4006 #else
4007 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4008 #endif
4009 }
4010 return pyobj;
4011 }
4012
4013
4014 static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4017 bool arg2 = (bool) true ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "maximize", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
4025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4026 if (SWIG_arg_fail(1)) SWIG_fail;
4027 if (obj1) {
4028 {
4029 arg2 = (bool)(SWIG_As_bool(obj1));
4030 if (SWIG_arg_fail(2)) SWIG_fail;
4031 }
4032 }
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 (arg1)->Maximize(arg2);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 Py_INCREF(Py_None); resultobj = Py_None;
4041 return resultobj;
4042 fail:
4043 return NULL;
4044 }
4045
4046
4047 static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->Restore();
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069 }
4070
4071
4072 static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4075 bool arg2 = (bool) true ;
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self",(char *) "iconize", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
4085 if (obj1) {
4086 {
4087 arg2 = (bool)(SWIG_As_bool(obj1));
4088 if (SWIG_arg_fail(2)) SWIG_fail;
4089 }
4090 }
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 (arg1)->Iconize(arg2);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4108 bool result;
4109 PyObject * obj0 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
4115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4116 if (SWIG_arg_fail(1)) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 {
4125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4126 }
4127 return resultobj;
4128 fail:
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4136 bool result;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
4143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4144 if (SWIG_arg_fail(1)) SWIG_fail;
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 {
4153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4154 }
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4164 wxIcon result;
4165 PyObject * obj0 = 0 ;
4166 char *kwnames[] = {
4167 (char *) "self", NULL
4168 };
4169
4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
4171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4172 if (SWIG_arg_fail(1)) SWIG_fail;
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 {
4181 wxIcon * resultptr;
4182 resultptr = new wxIcon((wxIcon &)(result));
4183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188 }
4189
4190
4191 static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj;
4193 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4194 wxIcon *arg2 = 0 ;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self",(char *) "icon", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail;
4204 {
4205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(2)) SWIG_fail;
4207 if (arg2 == NULL) {
4208 SWIG_null_ref("wxIcon");
4209 }
4210 if (SWIG_arg_fail(2)) SWIG_fail;
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 (arg1)->SetIcon((wxIcon const &)*arg2);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 Py_INCREF(Py_None); resultobj = Py_None;
4220 return resultobj;
4221 fail:
4222 return NULL;
4223 }
4224
4225
4226 static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
4227 PyObject *resultobj;
4228 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4229 wxIconBundle *arg2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self",(char *) "icons", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
4237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4238 if (SWIG_arg_fail(1)) SWIG_fail;
4239 {
4240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4241 if (SWIG_arg_fail(2)) SWIG_fail;
4242 if (arg2 == NULL) {
4243 SWIG_null_ref("wxIconBundle");
4244 }
4245 if (SWIG_arg_fail(2)) SWIG_fail;
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4264 bool arg2 ;
4265 long arg3 = (long) wxFULLSCREEN_ALL ;
4266 bool result;
4267 PyObject * obj0 = 0 ;
4268 PyObject * obj1 = 0 ;
4269 PyObject * obj2 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self",(char *) "show",(char *) "style", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
4275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail;
4277 {
4278 arg2 = (bool)(SWIG_As_bool(obj1));
4279 if (SWIG_arg_fail(2)) SWIG_fail;
4280 }
4281 if (obj2) {
4282 {
4283 arg3 = (long)(SWIG_As_long(obj2));
4284 if (SWIG_arg_fail(3)) SWIG_fail;
4285 }
4286 }
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 {
4295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4296 }
4297 return resultobj;
4298 fail:
4299 return NULL;
4300 }
4301
4302
4303 static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4306 bool result;
4307 PyObject * obj0 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
4313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4314 if (SWIG_arg_fail(1)) SWIG_fail;
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4322 {
4323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4324 }
4325 return resultobj;
4326 fail:
4327 return NULL;
4328 }
4329
4330
4331 static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4332 PyObject *resultobj;
4333 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4334 wxString *arg2 = 0 ;
4335 bool temp2 = false ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self",(char *) "title", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
4343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail;
4345 {
4346 arg2 = wxString_in_helper(obj1);
4347 if (arg2 == NULL) SWIG_fail;
4348 temp2 = true;
4349 }
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 (arg1)->SetTitle((wxString const &)*arg2);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 Py_INCREF(Py_None); resultobj = Py_None;
4358 {
4359 if (temp2)
4360 delete arg2;
4361 }
4362 return resultobj;
4363 fail:
4364 {
4365 if (temp2)
4366 delete arg2;
4367 }
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4375 wxString result;
4376 PyObject * obj0 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 {
4392 #if wxUSE_UNICODE
4393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4394 #else
4395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4396 #endif
4397 }
4398 return resultobj;
4399 fail:
4400 return NULL;
4401 }
4402
4403
4404 static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
4405 PyObject *resultobj;
4406 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4407 wxRegion *arg2 = 0 ;
4408 bool result;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char *kwnames[] = {
4412 (char *) "self",(char *) "region", NULL
4413 };
4414
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
4416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4417 if (SWIG_arg_fail(1)) SWIG_fail;
4418 {
4419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4420 if (SWIG_arg_fail(2)) SWIG_fail;
4421 if (arg2 == NULL) {
4422 SWIG_null_ref("wxRegion");
4423 }
4424 if (SWIG_arg_fail(2)) SWIG_fail;
4425 }
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 {
4434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4435 }
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4445 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4446 PyObject * obj0 = 0 ;
4447 PyObject * obj1 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "self",(char *) "flags", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
4455 if (obj1) {
4456 {
4457 arg2 = (int)(SWIG_As_int(obj1));
4458 if (SWIG_arg_fail(2)) SWIG_fail;
4459 }
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 (arg1)->RequestUserAttention(arg2);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 Py_INCREF(Py_None); resultobj = Py_None;
4469 return resultobj;
4470 fail:
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4478 bool result;
4479 PyObject * obj0 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
4485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (bool)(arg1)->IsActive();
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4496 }
4497 return resultobj;
4498 fail:
4499 return NULL;
4500 }
4501
4502
4503 static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4506 bool arg2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "on", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
4514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail;
4516 {
4517 arg2 = (bool)(SWIG_As_bool(obj1));
4518 if (SWIG_arg_fail(2)) SWIG_fail;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 Py_INCREF(Py_None); resultobj = Py_None;
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4537 bool result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
4544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4545 if (SWIG_arg_fail(1)) SWIG_fail;
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 {
4554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4555 }
4556 return resultobj;
4557 fail:
4558 return NULL;
4559 }
4560
4561
4562 static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
4563 PyObject *obj;
4564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4565 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4566 Py_INCREF(obj);
4567 return Py_BuildValue((char *)"");
4568 }
4569 static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxWindow *arg1 = (wxWindow *) 0 ;
4572 int arg2 = (int) (int)-1 ;
4573 wxString const &arg3_defvalue = wxPyEmptyString ;
4574 wxString *arg3 = (wxString *) &arg3_defvalue ;
4575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4577 wxSize const &arg5_defvalue = wxDefaultSize ;
4578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4579 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4580 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4581 wxString *arg7 = (wxString *) &arg7_defvalue ;
4582 wxFrame *result;
4583 bool temp3 = false ;
4584 wxPoint temp4 ;
4585 wxSize temp5 ;
4586 bool temp7 = false ;
4587 PyObject * obj0 = 0 ;
4588 PyObject * obj1 = 0 ;
4589 PyObject * obj2 = 0 ;
4590 PyObject * obj3 = 0 ;
4591 PyObject * obj4 = 0 ;
4592 PyObject * obj5 = 0 ;
4593 PyObject * obj6 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4600 if (SWIG_arg_fail(1)) SWIG_fail;
4601 if (obj1) {
4602 {
4603 arg2 = (int const)(SWIG_As_int(obj1));
4604 if (SWIG_arg_fail(2)) SWIG_fail;
4605 }
4606 }
4607 if (obj2) {
4608 {
4609 arg3 = wxString_in_helper(obj2);
4610 if (arg3 == NULL) SWIG_fail;
4611 temp3 = true;
4612 }
4613 }
4614 if (obj3) {
4615 {
4616 arg4 = &temp4;
4617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4618 }
4619 }
4620 if (obj4) {
4621 {
4622 arg5 = &temp5;
4623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4624 }
4625 }
4626 if (obj5) {
4627 {
4628 arg6 = (long)(SWIG_As_long(obj5));
4629 if (SWIG_arg_fail(6)) SWIG_fail;
4630 }
4631 }
4632 if (obj6) {
4633 {
4634 arg7 = wxString_in_helper(obj6);
4635 if (arg7 == NULL) SWIG_fail;
4636 temp7 = true;
4637 }
4638 }
4639 {
4640 if (!wxPyCheckForApp()) SWIG_fail;
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4643
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4648 {
4649 if (temp3)
4650 delete arg3;
4651 }
4652 {
4653 if (temp7)
4654 delete arg7;
4655 }
4656 return resultobj;
4657 fail:
4658 {
4659 if (temp3)
4660 delete arg3;
4661 }
4662 {
4663 if (temp7)
4664 delete arg7;
4665 }
4666 return NULL;
4667 }
4668
4669
4670 static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj;
4672 wxFrame *result;
4673 char *kwnames[] = {
4674 NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4678 {
4679 if (!wxPyCheckForApp()) SWIG_fail;
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxFrame *)new wxFrame();
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxFrame *arg1 = (wxFrame *) 0 ;
4696 wxWindow *arg2 = (wxWindow *) 0 ;
4697 int arg3 = (int) (int)-1 ;
4698 wxString const &arg4_defvalue = wxPyEmptyString ;
4699 wxString *arg4 = (wxString *) &arg4_defvalue ;
4700 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4701 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4702 wxSize const &arg6_defvalue = wxDefaultSize ;
4703 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4704 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4705 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4706 wxString *arg8 = (wxString *) &arg8_defvalue ;
4707 bool result;
4708 bool temp4 = false ;
4709 wxPoint temp5 ;
4710 wxSize temp6 ;
4711 bool temp8 = false ;
4712 PyObject * obj0 = 0 ;
4713 PyObject * obj1 = 0 ;
4714 PyObject * obj2 = 0 ;
4715 PyObject * obj3 = 0 ;
4716 PyObject * obj4 = 0 ;
4717 PyObject * obj5 = 0 ;
4718 PyObject * obj6 = 0 ;
4719 PyObject * obj7 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail;
4727 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4728 if (SWIG_arg_fail(2)) SWIG_fail;
4729 if (obj2) {
4730 {
4731 arg3 = (int const)(SWIG_As_int(obj2));
4732 if (SWIG_arg_fail(3)) SWIG_fail;
4733 }
4734 }
4735 if (obj3) {
4736 {
4737 arg4 = wxString_in_helper(obj3);
4738 if (arg4 == NULL) SWIG_fail;
4739 temp4 = true;
4740 }
4741 }
4742 if (obj4) {
4743 {
4744 arg5 = &temp5;
4745 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4746 }
4747 }
4748 if (obj5) {
4749 {
4750 arg6 = &temp6;
4751 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4752 }
4753 }
4754 if (obj6) {
4755 {
4756 arg7 = (long)(SWIG_As_long(obj6));
4757 if (SWIG_arg_fail(7)) SWIG_fail;
4758 }
4759 }
4760 if (obj7) {
4761 {
4762 arg8 = wxString_in_helper(obj7);
4763 if (arg8 == NULL) SWIG_fail;
4764 temp8 = true;
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 {
4775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4776 }
4777 {
4778 if (temp4)
4779 delete arg4;
4780 }
4781 {
4782 if (temp8)
4783 delete arg8;
4784 }
4785 return resultobj;
4786 fail:
4787 {
4788 if (temp4)
4789 delete arg4;
4790 }
4791 {
4792 if (temp8)
4793 delete arg8;
4794 }
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxFrame *arg1 = (wxFrame *) 0 ;
4802 wxPoint result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
4809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4810 if (SWIG_arg_fail(1)) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 wxPoint * resultptr;
4820 resultptr = new wxPoint((wxPoint &)(result));
4821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4822 }
4823 return resultobj;
4824 fail:
4825 return NULL;
4826 }
4827
4828
4829 static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxFrame *arg1 = (wxFrame *) 0 ;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 (arg1)->SendSizeEvent();
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxFrame *arg1 = (wxFrame *) 0 ;
4857 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "menubar", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(2)) SWIG_fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 (arg1)->SetMenuBar(arg2);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 Py_INCREF(Py_None); resultobj = Py_None;
4877 return resultobj;
4878 fail:
4879 return NULL;
4880 }
4881
4882
4883 static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxFrame *arg1 = (wxFrame *) 0 ;
4886 wxMenuBar *result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
4893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail;
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 {
4903 resultobj = wxPyMake_wxObject(result, 0);
4904 }
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxFrame *arg1 = (wxFrame *) 0 ;
4914 int arg2 ;
4915 bool result;
4916 PyObject * obj0 = 0 ;
4917 PyObject * obj1 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "winid", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
4923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail;
4925 {
4926 arg2 = (int)(SWIG_As_int(obj1));
4927 if (SWIG_arg_fail(2)) SWIG_fail;
4928 }
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (bool)(arg1)->ProcessCommand(arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 {
4937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4938 }
4939 return resultobj;
4940 fail:
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 int arg2 = (int) 1 ;
4949 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
4950 int arg4 = (int) 0 ;
4951 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4952 wxString *arg5 = (wxString *) &arg5_defvalue ;
4953 wxStatusBar *result;
4954 bool temp5 = false ;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 PyObject * obj2 = 0 ;
4958 PyObject * obj3 = 0 ;
4959 PyObject * obj4 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4962 };
4963
4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4966 if (SWIG_arg_fail(1)) SWIG_fail;
4967 if (obj1) {
4968 {
4969 arg2 = (int)(SWIG_As_int(obj1));
4970 if (SWIG_arg_fail(2)) SWIG_fail;
4971 }
4972 }
4973 if (obj2) {
4974 {
4975 arg3 = (long)(SWIG_As_long(obj2));
4976 if (SWIG_arg_fail(3)) SWIG_fail;
4977 }
4978 }
4979 if (obj3) {
4980 {
4981 arg4 = (int)(SWIG_As_int(obj3));
4982 if (SWIG_arg_fail(4)) SWIG_fail;
4983 }
4984 }
4985 if (obj4) {
4986 {
4987 arg5 = wxString_in_helper(obj4);
4988 if (arg5 == NULL) SWIG_fail;
4989 temp5 = true;
4990 }
4991 }
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 {
5000 resultobj = wxPyMake_wxObject(result, 0);
5001 }
5002 {
5003 if (temp5)
5004 delete arg5;
5005 }
5006 return resultobj;
5007 fail:
5008 {
5009 if (temp5)
5010 delete arg5;
5011 }
5012 return NULL;
5013 }
5014
5015
5016 static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxFrame *arg1 = (wxFrame *) 0 ;
5019 wxStatusBar *result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
5026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail;
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 {
5036 resultobj = wxPyMake_wxObject(result, 0);
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041 }
5042
5043
5044 static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxFrame *arg1 = (wxFrame *) 0 ;
5047 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "statBar", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
5057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5058 if (SWIG_arg_fail(2)) SWIG_fail;
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->SetStatusBar(arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxFrame *arg1 = (wxFrame *) 0 ;
5076 wxString *arg2 = 0 ;
5077 int arg3 = (int) 0 ;
5078 bool temp2 = false ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 PyObject * obj2 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "text",(char *) "number", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail;
5089 {
5090 arg2 = wxString_in_helper(obj1);
5091 if (arg2 == NULL) SWIG_fail;
5092 temp2 = true;
5093 }
5094 if (obj2) {
5095 {
5096 arg3 = (int)(SWIG_As_int(obj2));
5097 if (SWIG_arg_fail(3)) SWIG_fail;
5098 }
5099 }
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119 }
5120
5121
5122 static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxFrame *arg1 = (wxFrame *) 0 ;
5125 int arg2 ;
5126 int *arg3 = (int *) 0 ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "widths", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail;
5136 {
5137 arg2 = PyList_Size(obj1);
5138 arg3 = int_LIST_helper(obj1);
5139 if (arg3 == NULL) SWIG_fail;
5140 }
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 Py_INCREF(Py_None); resultobj = Py_None;
5149 {
5150 if (arg3) delete [] arg3;
5151 }
5152 return resultobj;
5153 fail:
5154 {
5155 if (arg3) delete [] arg3;
5156 }
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxFrame *arg1 = (wxFrame *) 0 ;
5164 wxString *arg2 = 0 ;
5165 int arg3 = (int) 0 ;
5166 bool temp2 = false ;
5167 PyObject * obj0 = 0 ;
5168 PyObject * obj1 = 0 ;
5169 PyObject * obj2 = 0 ;
5170 char *kwnames[] = {
5171 (char *) "self",(char *) "text",(char *) "number", NULL
5172 };
5173
5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail;
5177 {
5178 arg2 = wxString_in_helper(obj1);
5179 if (arg2 == NULL) SWIG_fail;
5180 temp2 = true;
5181 }
5182 if (obj2) {
5183 {
5184 arg3 = (int)(SWIG_As_int(obj2));
5185 if (SWIG_arg_fail(3)) SWIG_fail;
5186 }
5187 }
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 Py_INCREF(Py_None); resultobj = Py_None;
5196 {
5197 if (temp2)
5198 delete arg2;
5199 }
5200 return resultobj;
5201 fail:
5202 {
5203 if (temp2)
5204 delete arg2;
5205 }
5206 return NULL;
5207 }
5208
5209
5210 static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
5211 PyObject *resultobj;
5212 wxFrame *arg1 = (wxFrame *) 0 ;
5213 int arg2 = (int) 0 ;
5214 PyObject * obj0 = 0 ;
5215 PyObject * obj1 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self",(char *) "number", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
5223 if (obj1) {
5224 {
5225 arg2 = (int)(SWIG_As_int(obj1));
5226 if (SWIG_arg_fail(2)) SWIG_fail;
5227 }
5228 }
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 (arg1)->PopStatusText(arg2);
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 Py_INCREF(Py_None); resultobj = Py_None;
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxFrame *arg1 = (wxFrame *) 0 ;
5246 int arg2 ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self",(char *) "n", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
5254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail;
5256 {
5257 arg2 = (int)(SWIG_As_int(obj1));
5258 if (SWIG_arg_fail(2)) SWIG_fail;
5259 }
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 (arg1)->SetStatusBarPane(arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 return resultobj;
5269 fail:
5270 return NULL;
5271 }
5272
5273
5274 static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj;
5276 wxFrame *arg1 = (wxFrame *) 0 ;
5277 int result;
5278 PyObject * obj0 = 0 ;
5279 char *kwnames[] = {
5280 (char *) "self", NULL
5281 };
5282
5283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
5284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail;
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 {
5294 resultobj = SWIG_From_int((int)(result));
5295 }
5296 return resultobj;
5297 fail:
5298 return NULL;
5299 }
5300
5301
5302 static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5303 PyObject *resultobj;
5304 wxFrame *arg1 = (wxFrame *) 0 ;
5305 long arg2 = (long) -1 ;
5306 int arg3 = (int) -1 ;
5307 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5308 wxString *arg4 = (wxString *) &arg4_defvalue ;
5309 wxToolBar *result;
5310 bool temp4 = false ;
5311 PyObject * obj0 = 0 ;
5312 PyObject * obj1 = 0 ;
5313 PyObject * obj2 = 0 ;
5314 PyObject * obj3 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5317 };
5318
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail;
5322 if (obj1) {
5323 {
5324 arg2 = (long)(SWIG_As_long(obj1));
5325 if (SWIG_arg_fail(2)) SWIG_fail;
5326 }
5327 }
5328 if (obj2) {
5329 {
5330 arg3 = (int)(SWIG_As_int(obj2));
5331 if (SWIG_arg_fail(3)) SWIG_fail;
5332 }
5333 }
5334 if (obj3) {
5335 {
5336 arg4 = wxString_in_helper(obj3);
5337 if (arg4 == NULL) SWIG_fail;
5338 temp4 = true;
5339 }
5340 }
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
5349 resultobj = wxPyMake_wxObject(result, 0);
5350 }
5351 {
5352 if (temp4)
5353 delete arg4;
5354 }
5355 return resultobj;
5356 fail:
5357 {
5358 if (temp4)
5359 delete arg4;
5360 }
5361 return NULL;
5362 }
5363
5364
5365 static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 wxFrame *arg1 = (wxFrame *) 0 ;
5368 wxToolBar *result;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
5375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 {
5385 resultobj = wxPyMake_wxObject(result, 0);
5386 }
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxFrame *arg1 = (wxFrame *) 0 ;
5396 wxToolBar *arg2 = (wxToolBar *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "toolbar", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
5404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail;
5406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5407 if (SWIG_arg_fail(2)) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->SetToolBar(arg2);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 Py_INCREF(Py_None); resultobj = Py_None;
5416 return resultobj;
5417 fail:
5418 return NULL;
5419 }
5420
5421
5422 static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj;
5424 wxFrame *arg1 = (wxFrame *) 0 ;
5425 wxString *arg2 = 0 ;
5426 bool arg3 ;
5427 bool temp2 = false ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 PyObject * obj2 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "text",(char *) "show", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
5438 {
5439 arg2 = wxString_in_helper(obj1);
5440 if (arg2 == NULL) SWIG_fail;
5441 temp2 = true;
5442 }
5443 {
5444 arg3 = (bool)(SWIG_As_bool(obj2));
5445 if (SWIG_arg_fail(3)) SWIG_fail;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 {
5456 if (temp2)
5457 delete arg2;
5458 }
5459 return resultobj;
5460 fail:
5461 {
5462 if (temp2)
5463 delete arg2;
5464 }
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxFrame *arg1 = (wxFrame *) 0 ;
5472 wxMenu *arg2 = (wxMenu *) NULL ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "menu", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
5482 if (obj1) {
5483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5484 if (SWIG_arg_fail(2)) SWIG_fail;
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->DoMenuUpdates(arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5503 wxVisualAttributes result;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "variant", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5510 if (obj0) {
5511 {
5512 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5513 if (SWIG_arg_fail(1)) SWIG_fail;
5514 }
5515 }
5516 {
5517 if (!wxPyCheckForApp()) SWIG_fail;
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 {
5525 wxVisualAttributes * resultptr;
5526 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
5527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5528 }
5529 return resultobj;
5530 fail:
5531 return NULL;
5532 }
5533
5534
5535 static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
5536 PyObject *obj;
5537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5538 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5539 Py_INCREF(obj);
5540 return Py_BuildValue((char *)"");
5541 }
5542 static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
5543 PyObject *resultobj;
5544 wxWindow *arg1 = (wxWindow *) 0 ;
5545 int arg2 = (int) (int)-1 ;
5546 wxString const &arg3_defvalue = wxPyEmptyString ;
5547 wxString *arg3 = (wxString *) &arg3_defvalue ;
5548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5550 wxSize const &arg5_defvalue = wxDefaultSize ;
5551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5552 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5553 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5554 wxString *arg7 = (wxString *) &arg7_defvalue ;
5555 wxDialog *result;
5556 bool temp3 = false ;
5557 wxPoint temp4 ;
5558 wxSize temp5 ;
5559 bool temp7 = false ;
5560 PyObject * obj0 = 0 ;
5561 PyObject * obj1 = 0 ;
5562 PyObject * obj2 = 0 ;
5563 PyObject * obj3 = 0 ;
5564 PyObject * obj4 = 0 ;
5565 PyObject * obj5 = 0 ;
5566 PyObject * obj6 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5573 if (SWIG_arg_fail(1)) SWIG_fail;
5574 if (obj1) {
5575 {
5576 arg2 = (int const)(SWIG_As_int(obj1));
5577 if (SWIG_arg_fail(2)) SWIG_fail;
5578 }
5579 }
5580 if (obj2) {
5581 {
5582 arg3 = wxString_in_helper(obj2);
5583 if (arg3 == NULL) SWIG_fail;
5584 temp3 = true;
5585 }
5586 }
5587 if (obj3) {
5588 {
5589 arg4 = &temp4;
5590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5591 }
5592 }
5593 if (obj4) {
5594 {
5595 arg5 = &temp5;
5596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5597 }
5598 }
5599 if (obj5) {
5600 {
5601 arg6 = (long)(SWIG_As_long(obj5));
5602 if (SWIG_arg_fail(6)) SWIG_fail;
5603 }
5604 }
5605 if (obj6) {
5606 {
5607 arg7 = wxString_in_helper(obj6);
5608 if (arg7 == NULL) SWIG_fail;
5609 temp7 = true;
5610 }
5611 }
5612 {
5613 if (!wxPyCheckForApp()) SWIG_fail;
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5621 {
5622 if (temp3)
5623 delete arg3;
5624 }
5625 {
5626 if (temp7)
5627 delete arg7;
5628 }
5629 return resultobj;
5630 fail:
5631 {
5632 if (temp3)
5633 delete arg3;
5634 }
5635 {
5636 if (temp7)
5637 delete arg7;
5638 }
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj;
5645 wxDialog *result;
5646 char *kwnames[] = {
5647 NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5651 {
5652 if (!wxPyCheckForApp()) SWIG_fail;
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (wxDialog *)new wxDialog();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj;
5668 wxDialog *arg1 = (wxDialog *) 0 ;
5669 wxWindow *arg2 = (wxWindow *) 0 ;
5670 int arg3 = (int) (int)-1 ;
5671 wxString const &arg4_defvalue = wxPyEmptyString ;
5672 wxString *arg4 = (wxString *) &arg4_defvalue ;
5673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5675 wxSize const &arg6_defvalue = wxDefaultSize ;
5676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5677 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5678 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5679 wxString *arg8 = (wxString *) &arg8_defvalue ;
5680 bool result;
5681 bool temp4 = false ;
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
5684 bool temp8 = false ;
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
5687 PyObject * obj2 = 0 ;
5688 PyObject * obj3 = 0 ;
5689 PyObject * obj4 = 0 ;
5690 PyObject * obj5 = 0 ;
5691 PyObject * obj6 = 0 ;
5692 PyObject * obj7 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5695 };
5696
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5699 if (SWIG_arg_fail(1)) SWIG_fail;
5700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5701 if (SWIG_arg_fail(2)) SWIG_fail;
5702 if (obj2) {
5703 {
5704 arg3 = (int const)(SWIG_As_int(obj2));
5705 if (SWIG_arg_fail(3)) SWIG_fail;
5706 }
5707 }
5708 if (obj3) {
5709 {
5710 arg4 = wxString_in_helper(obj3);
5711 if (arg4 == NULL) SWIG_fail;
5712 temp4 = true;
5713 }
5714 }
5715 if (obj4) {
5716 {
5717 arg5 = &temp5;
5718 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5719 }
5720 }
5721 if (obj5) {
5722 {
5723 arg6 = &temp6;
5724 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5725 }
5726 }
5727 if (obj6) {
5728 {
5729 arg7 = (long)(SWIG_As_long(obj6));
5730 if (SWIG_arg_fail(7)) SWIG_fail;
5731 }
5732 }
5733 if (obj7) {
5734 {
5735 arg8 = wxString_in_helper(obj7);
5736 if (arg8 == NULL) SWIG_fail;
5737 temp8 = true;
5738 }
5739 }
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 {
5748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5749 }
5750 {
5751 if (temp4)
5752 delete arg4;
5753 }
5754 {
5755 if (temp8)
5756 delete arg8;
5757 }
5758 return resultobj;
5759 fail:
5760 {
5761 if (temp4)
5762 delete arg4;
5763 }
5764 {
5765 if (temp8)
5766 delete arg8;
5767 }
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxDialog *arg1 = (wxDialog *) 0 ;
5775 int arg2 ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "self",(char *) "returnCode", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
5783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5784 if (SWIG_arg_fail(1)) SWIG_fail;
5785 {
5786 arg2 = (int)(SWIG_As_int(obj1));
5787 if (SWIG_arg_fail(2)) SWIG_fail;
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetReturnCode(arg2);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 Py_INCREF(Py_None); resultobj = Py_None;
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxDialog *arg1 = (wxDialog *) 0 ;
5806 int result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 {
5823 resultobj = SWIG_From_int((int)(result));
5824 }
5825 return resultobj;
5826 fail:
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxDialog *arg1 = (wxDialog *) 0 ;
5834 wxString *arg2 = 0 ;
5835 wxSizer *result;
5836 bool temp2 = false ;
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "message", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
5844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail;
5846 {
5847 arg2 = wxString_in_helper(obj1);
5848 if (arg2 == NULL) SWIG_fail;
5849 temp2 = true;
5850 }
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
5859 resultobj = wxPyMake_wxSizer(result, 0);
5860 }
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return NULL;
5872 }
5873
5874
5875 static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxDialog *arg1 = (wxDialog *) 0 ;
5878 long arg2 ;
5879 wxSizer *result;
5880 PyObject * obj0 = 0 ;
5881 PyObject * obj1 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "flags", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) 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 arg2 = (long)(SWIG_As_long(obj1));
5891 if (SWIG_arg_fail(2)) SWIG_fail;
5892 }
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 {
5901 resultobj = wxPyMake_wxSizer(result, 0);
5902 }
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxDialog *arg1 = (wxDialog *) 0 ;
5912 long arg2 ;
5913 wxStdDialogButtonSizer *result;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self",(char *) "flags", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail;
5923 {
5924 arg2 = (long)(SWIG_As_long(obj1));
5925 if (SWIG_arg_fail(2)) SWIG_fail;
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj;
5943 wxDialog *arg1 = (wxDialog *) 0 ;
5944 bool result;
5945 PyObject * obj0 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self", NULL
5948 };
5949
5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
5951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)((wxDialog const *)arg1)->IsModal();
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 {
5961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5962 }
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxDialog *arg1 = (wxDialog *) 0 ;
5972 int result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
5979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5980 if (SWIG_arg_fail(1)) SWIG_fail;
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (int)(arg1)->ShowModal();
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 {
5989 resultobj = SWIG_From_int((int)(result));
5990 }
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj;
5999 wxDialog *arg1 = (wxDialog *) 0 ;
6000 int arg2 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "retCode", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
6008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail;
6010 {
6011 arg2 = (int)(SWIG_As_int(obj1));
6012 if (SWIG_arg_fail(2)) SWIG_fail;
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->EndModal(arg2);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 Py_INCREF(Py_None); resultobj = Py_None;
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6031 wxVisualAttributes result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "variant", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6038 if (obj0) {
6039 {
6040 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6041 if (SWIG_arg_fail(1)) SWIG_fail;
6042 }
6043 }
6044 {
6045 if (!wxPyCheckForApp()) SWIG_fail;
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 {
6053 wxVisualAttributes * resultptr;
6054 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
6055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6056 }
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
6064 PyObject *obj;
6065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6066 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6067 Py_INCREF(obj);
6068 return Py_BuildValue((char *)"");
6069 }
6070 static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6071 PyObject *resultobj;
6072 wxWindow *arg1 = (wxWindow *) 0 ;
6073 int arg2 = (int) (int)-1 ;
6074 wxString const &arg3_defvalue = wxPyEmptyString ;
6075 wxString *arg3 = (wxString *) &arg3_defvalue ;
6076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6078 wxSize const &arg5_defvalue = wxDefaultSize ;
6079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6080 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6081 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6082 wxString *arg7 = (wxString *) &arg7_defvalue ;
6083 wxMiniFrame *result;
6084 bool temp3 = false ;
6085 wxPoint temp4 ;
6086 wxSize temp5 ;
6087 bool temp7 = false ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 PyObject * obj4 = 0 ;
6093 PyObject * obj5 = 0 ;
6094 PyObject * obj6 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6101 if (SWIG_arg_fail(1)) SWIG_fail;
6102 if (obj1) {
6103 {
6104 arg2 = (int const)(SWIG_As_int(obj1));
6105 if (SWIG_arg_fail(2)) SWIG_fail;
6106 }
6107 }
6108 if (obj2) {
6109 {
6110 arg3 = wxString_in_helper(obj2);
6111 if (arg3 == NULL) SWIG_fail;
6112 temp3 = true;
6113 }
6114 }
6115 if (obj3) {
6116 {
6117 arg4 = &temp4;
6118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6119 }
6120 }
6121 if (obj4) {
6122 {
6123 arg5 = &temp5;
6124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6125 }
6126 }
6127 if (obj5) {
6128 {
6129 arg6 = (long)(SWIG_As_long(obj5));
6130 if (SWIG_arg_fail(6)) SWIG_fail;
6131 }
6132 }
6133 if (obj6) {
6134 {
6135 arg7 = wxString_in_helper(obj6);
6136 if (arg7 == NULL) SWIG_fail;
6137 temp7 = true;
6138 }
6139 }
6140 {
6141 if (!wxPyCheckForApp()) SWIG_fail;
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6149 {
6150 if (temp3)
6151 delete arg3;
6152 }
6153 {
6154 if (temp7)
6155 delete arg7;
6156 }
6157 return resultobj;
6158 fail:
6159 {
6160 if (temp3)
6161 delete arg3;
6162 }
6163 {
6164 if (temp7)
6165 delete arg7;
6166 }
6167 return NULL;
6168 }
6169
6170
6171 static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj;
6173 wxMiniFrame *result;
6174 char *kwnames[] = {
6175 NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6179 {
6180 if (!wxPyCheckForApp()) SWIG_fail;
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (wxMiniFrame *)new wxMiniFrame();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6197 wxWindow *arg2 = (wxWindow *) 0 ;
6198 int arg3 = (int) (int)-1 ;
6199 wxString const &arg4_defvalue = wxPyEmptyString ;
6200 wxString *arg4 = (wxString *) &arg4_defvalue ;
6201 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6202 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6203 wxSize const &arg6_defvalue = wxDefaultSize ;
6204 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6205 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6206 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6207 wxString *arg8 = (wxString *) &arg8_defvalue ;
6208 bool result;
6209 bool temp4 = false ;
6210 wxPoint temp5 ;
6211 wxSize temp6 ;
6212 bool temp8 = false ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 PyObject * obj2 = 0 ;
6216 PyObject * obj3 = 0 ;
6217 PyObject * obj4 = 0 ;
6218 PyObject * obj5 = 0 ;
6219 PyObject * obj6 = 0 ;
6220 PyObject * obj7 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6223 };
6224
6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail;
6228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6229 if (SWIG_arg_fail(2)) SWIG_fail;
6230 if (obj2) {
6231 {
6232 arg3 = (int const)(SWIG_As_int(obj2));
6233 if (SWIG_arg_fail(3)) SWIG_fail;
6234 }
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = wxString_in_helper(obj3);
6239 if (arg4 == NULL) SWIG_fail;
6240 temp4 = true;
6241 }
6242 }
6243 if (obj4) {
6244 {
6245 arg5 = &temp5;
6246 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6247 }
6248 }
6249 if (obj5) {
6250 {
6251 arg6 = &temp6;
6252 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6253 }
6254 }
6255 if (obj6) {
6256 {
6257 arg7 = (long)(SWIG_As_long(obj6));
6258 if (SWIG_arg_fail(7)) SWIG_fail;
6259 }
6260 }
6261 if (obj7) {
6262 {
6263 arg8 = wxString_in_helper(obj7);
6264 if (arg8 == NULL) SWIG_fail;
6265 temp8 = true;
6266 }
6267 }
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 {
6276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6277 }
6278 {
6279 if (temp4)
6280 delete arg4;
6281 }
6282 {
6283 if (temp8)
6284 delete arg8;
6285 }
6286 return resultobj;
6287 fail:
6288 {
6289 if (temp4)
6290 delete arg4;
6291 }
6292 {
6293 if (temp8)
6294 delete arg8;
6295 }
6296 return NULL;
6297 }
6298
6299
6300 static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
6301 PyObject *obj;
6302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6303 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6304 Py_INCREF(obj);
6305 return Py_BuildValue((char *)"");
6306 }
6307 static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj;
6309 wxBitmap *arg1 = 0 ;
6310 wxWindow *arg2 = (wxWindow *) 0 ;
6311 int arg3 ;
6312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6314 wxSize const &arg5_defvalue = wxDefaultSize ;
6315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6316 long arg6 = (long) wxNO_BORDER ;
6317 wxSplashScreenWindow *result;
6318 wxPoint temp4 ;
6319 wxSize temp5 ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 PyObject * obj2 = 0 ;
6323 PyObject * obj3 = 0 ;
6324 PyObject * obj4 = 0 ;
6325 PyObject * obj5 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6331 {
6332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail;
6334 if (arg1 == NULL) {
6335 SWIG_null_ref("wxBitmap");
6336 }
6337 if (SWIG_arg_fail(1)) SWIG_fail;
6338 }
6339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6340 if (SWIG_arg_fail(2)) SWIG_fail;
6341 {
6342 arg3 = (int)(SWIG_As_int(obj2));
6343 if (SWIG_arg_fail(3)) SWIG_fail;
6344 }
6345 if (obj3) {
6346 {
6347 arg4 = &temp4;
6348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6349 }
6350 }
6351 if (obj4) {
6352 {
6353 arg5 = &temp5;
6354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6355 }
6356 }
6357 if (obj5) {
6358 {
6359 arg6 = (long)(SWIG_As_long(obj5));
6360 if (SWIG_arg_fail(6)) SWIG_fail;
6361 }
6362 }
6363 {
6364 if (!wxPyCheckForApp()) SWIG_fail;
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6372 return resultobj;
6373 fail:
6374 return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj;
6380 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6381 wxBitmap *arg2 = 0 ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "bitmap", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
6389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail;
6391 {
6392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail;
6394 if (arg2 == NULL) {
6395 SWIG_null_ref("wxBitmap");
6396 }
6397 if (SWIG_arg_fail(2)) SWIG_fail;
6398 }
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410 }
6411
6412
6413 static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj;
6415 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6416 wxBitmap *result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
6423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 {
6428 wxBitmap &_result_ref = (arg1)->GetBitmap();
6429 result = (wxBitmap *) &_result_ref;
6430 }
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 wxBitmap* resultptr = new wxBitmap(*result);
6437 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
6446 PyObject *obj;
6447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6448 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6449 Py_INCREF(obj);
6450 return Py_BuildValue((char *)"");
6451 }
6452 static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxBitmap *arg1 = 0 ;
6455 long arg2 ;
6456 int arg3 ;
6457 wxWindow *arg4 = (wxWindow *) 0 ;
6458 int arg5 = (int) -1 ;
6459 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6460 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6461 wxSize const &arg7_defvalue = wxDefaultSize ;
6462 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6463 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6464 wxSplashScreen *result;
6465 wxPoint temp6 ;
6466 wxSize temp7 ;
6467 PyObject * obj0 = 0 ;
6468 PyObject * obj1 = 0 ;
6469 PyObject * obj2 = 0 ;
6470 PyObject * obj3 = 0 ;
6471 PyObject * obj4 = 0 ;
6472 PyObject * obj5 = 0 ;
6473 PyObject * obj6 = 0 ;
6474 PyObject * obj7 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6480 {
6481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail;
6483 if (arg1 == NULL) {
6484 SWIG_null_ref("wxBitmap");
6485 }
6486 if (SWIG_arg_fail(1)) SWIG_fail;
6487 }
6488 {
6489 arg2 = (long)(SWIG_As_long(obj1));
6490 if (SWIG_arg_fail(2)) SWIG_fail;
6491 }
6492 {
6493 arg3 = (int)(SWIG_As_int(obj2));
6494 if (SWIG_arg_fail(3)) SWIG_fail;
6495 }
6496 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(4)) SWIG_fail;
6498 if (obj4) {
6499 {
6500 arg5 = (int)(SWIG_As_int(obj4));
6501 if (SWIG_arg_fail(5)) SWIG_fail;
6502 }
6503 }
6504 if (obj5) {
6505 {
6506 arg6 = &temp6;
6507 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6508 }
6509 }
6510 if (obj6) {
6511 {
6512 arg7 = &temp7;
6513 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6514 }
6515 }
6516 if (obj7) {
6517 {
6518 arg8 = (long)(SWIG_As_long(obj7));
6519 if (SWIG_arg_fail(8)) SWIG_fail;
6520 }
6521 }
6522 {
6523 if (!wxPyCheckForApp()) SWIG_fail;
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6531 return resultobj;
6532 fail:
6533 return NULL;
6534 }
6535
6536
6537 static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
6538 PyObject *resultobj;
6539 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6540 long result;
6541 PyObject * obj0 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
6547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail;
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 {
6557 resultobj = SWIG_From_long((long)(result));
6558 }
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6568 wxSplashScreenWindow *result;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
6575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6585 return resultobj;
6586 fail:
6587 return NULL;
6588 }
6589
6590
6591 static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6594 int result;
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
6601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail;
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 {
6611 resultobj = SWIG_From_int((int)(result));
6612 }
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
6620 PyObject *obj;
6621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6622 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6623 Py_INCREF(obj);
6624 return Py_BuildValue((char *)"");
6625 }
6626 static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj;
6628 wxWindow *arg1 = (wxWindow *) 0 ;
6629 int arg2 = (int) -1 ;
6630 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
6631 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6632 wxString *arg4 = (wxString *) &arg4_defvalue ;
6633 wxStatusBar *result;
6634 bool temp4 = false ;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj1 = 0 ;
6637 PyObject * obj2 = 0 ;
6638 PyObject * obj3 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail;
6646 if (obj1) {
6647 {
6648 arg2 = (int)(SWIG_As_int(obj1));
6649 if (SWIG_arg_fail(2)) SWIG_fail;
6650 }
6651 }
6652 if (obj2) {
6653 {
6654 arg3 = (long)(SWIG_As_long(obj2));
6655 if (SWIG_arg_fail(3)) SWIG_fail;
6656 }
6657 }
6658 if (obj3) {
6659 {
6660 arg4 = wxString_in_helper(obj3);
6661 if (arg4 == NULL) SWIG_fail;
6662 temp4 = true;
6663 }
6664 }
6665 {
6666 if (!wxPyCheckForApp()) SWIG_fail;
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6674 {
6675 if (temp4)
6676 delete arg4;
6677 }
6678 return resultobj;
6679 fail:
6680 {
6681 if (temp4)
6682 delete arg4;
6683 }
6684 return NULL;
6685 }
6686
6687
6688 static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxStatusBar *result;
6691 char *kwnames[] = {
6692 NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6696 {
6697 if (!wxPyCheckForApp()) SWIG_fail;
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxStatusBar *)new wxStatusBar();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6714 wxWindow *arg2 = (wxWindow *) 0 ;
6715 int arg3 = (int) -1 ;
6716 long arg4 = (long) wxST_SIZEGRIP ;
6717 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6718 wxString *arg5 = (wxString *) &arg5_defvalue ;
6719 bool result;
6720 bool temp5 = false ;
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
6723 PyObject * obj2 = 0 ;
6724 PyObject * obj3 = 0 ;
6725 PyObject * obj4 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6732 if (SWIG_arg_fail(1)) SWIG_fail;
6733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6734 if (SWIG_arg_fail(2)) SWIG_fail;
6735 if (obj2) {
6736 {
6737 arg3 = (int)(SWIG_As_int(obj2));
6738 if (SWIG_arg_fail(3)) SWIG_fail;
6739 }
6740 }
6741 if (obj3) {
6742 {
6743 arg4 = (long)(SWIG_As_long(obj3));
6744 if (SWIG_arg_fail(4)) SWIG_fail;
6745 }
6746 }
6747 if (obj4) {
6748 {
6749 arg5 = wxString_in_helper(obj4);
6750 if (arg5 == NULL) SWIG_fail;
6751 temp5 = true;
6752 }
6753 }
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 {
6762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6763 }
6764 {
6765 if (temp5)
6766 delete arg5;
6767 }
6768 return resultobj;
6769 fail:
6770 {
6771 if (temp5)
6772 delete arg5;
6773 }
6774 return NULL;
6775 }
6776
6777
6778 static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6779 PyObject *resultobj;
6780 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6781 int arg2 = (int) 1 ;
6782 PyObject * obj0 = 0 ;
6783 PyObject * obj1 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "number", NULL
6786 };
6787
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
6789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail;
6791 if (obj1) {
6792 {
6793 arg2 = (int)(SWIG_As_int(obj1));
6794 if (SWIG_arg_fail(2)) SWIG_fail;
6795 }
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->SetFieldsCount(arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 return resultobj;
6806 fail:
6807 return NULL;
6808 }
6809
6810
6811 static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj;
6813 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6814 int result;
6815 PyObject * obj0 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
6821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 {
6831 resultobj = SWIG_From_int((int)(result));
6832 }
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6842 wxString *arg2 = 0 ;
6843 int arg3 = (int) 0 ;
6844 bool temp2 = false ;
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 PyObject * obj2 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "text",(char *) "number", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail;
6855 {
6856 arg2 = wxString_in_helper(obj1);
6857 if (arg2 == NULL) SWIG_fail;
6858 temp2 = true;
6859 }
6860 if (obj2) {
6861 {
6862 arg3 = (int)(SWIG_As_int(obj2));
6863 if (SWIG_arg_fail(3)) SWIG_fail;
6864 }
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 {
6875 if (temp2)
6876 delete arg2;
6877 }
6878 return resultobj;
6879 fail:
6880 {
6881 if (temp2)
6882 delete arg2;
6883 }
6884 return NULL;
6885 }
6886
6887
6888 static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6891 int arg2 = (int) 0 ;
6892 wxString result;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self",(char *) "number", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
6900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail;
6902 if (obj1) {
6903 {
6904 arg2 = (int)(SWIG_As_int(obj1));
6905 if (SWIG_arg_fail(2)) SWIG_fail;
6906 }
6907 }
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 {
6916 #if wxUSE_UNICODE
6917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6918 #else
6919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6920 #endif
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925 }
6926
6927
6928 static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6929 PyObject *resultobj;
6930 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6931 wxString *arg2 = 0 ;
6932 int arg3 = (int) 0 ;
6933 bool temp2 = false ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 PyObject * obj2 = 0 ;
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "text",(char *) "number", NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
6942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6943 if (SWIG_arg_fail(1)) SWIG_fail;
6944 {
6945 arg2 = wxString_in_helper(obj1);
6946 if (arg2 == NULL) SWIG_fail;
6947 temp2 = true;
6948 }
6949 if (obj2) {
6950 {
6951 arg3 = (int)(SWIG_As_int(obj2));
6952 if (SWIG_arg_fail(3)) SWIG_fail;
6953 }
6954 }
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 Py_INCREF(Py_None); resultobj = Py_None;
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6980 int arg2 = (int) 0 ;
6981 PyObject * obj0 = 0 ;
6982 PyObject * obj1 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self",(char *) "number", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
6988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail;
6990 if (obj1) {
6991 {
6992 arg2 = (int)(SWIG_As_int(obj1));
6993 if (SWIG_arg_fail(2)) SWIG_fail;
6994 }
6995 }
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->PopStatusText(arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7013 int arg2 ;
7014 int *arg3 = (int *) 0 ;
7015 PyObject * obj0 = 0 ;
7016 PyObject * obj1 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "widths", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
7022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7023 if (SWIG_arg_fail(1)) SWIG_fail;
7024 {
7025 arg2 = PyList_Size(obj1);
7026 arg3 = int_LIST_helper(obj1);
7027 if (arg3 == NULL) SWIG_fail;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 {
7038 if (arg3) delete [] arg3;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (arg3) delete [] arg3;
7044 }
7045 return NULL;
7046 }
7047
7048
7049 static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
7050 PyObject *resultobj;
7051 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7052 int arg2 ;
7053 int *arg3 = (int *) 0 ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "styles", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
7061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7062 if (SWIG_arg_fail(1)) SWIG_fail;
7063 {
7064 arg2 = PyList_Size(obj1);
7065 arg3 = int_LIST_helper(obj1);
7066 if (arg3 == NULL) SWIG_fail;
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 Py_INCREF(Py_None); resultobj = Py_None;
7076 {
7077 if (arg3) delete [] arg3;
7078 }
7079 return resultobj;
7080 fail:
7081 {
7082 if (arg3) delete [] arg3;
7083 }
7084 return NULL;
7085 }
7086
7087
7088 static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj;
7090 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7091 int arg2 ;
7092 wxRect result;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self",(char *) "i", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
7100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail;
7102 {
7103 arg2 = (int)(SWIG_As_int(obj1));
7104 if (SWIG_arg_fail(2)) SWIG_fail;
7105 }
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 result = wxStatusBar_GetFieldRect(arg1,arg2);
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 {
7114 wxRect * resultptr;
7115 resultptr = new wxRect((wxRect &)(result));
7116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7117 }
7118 return resultobj;
7119 fail:
7120 return NULL;
7121 }
7122
7123
7124 static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj;
7126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7127 int arg2 ;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "height", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",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 = (int)(SWIG_As_int(obj1));
7139 if (SWIG_arg_fail(2)) SWIG_fail;
7140 }
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->SetMinHeight(arg2);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 return resultobj;
7150 fail:
7151 return NULL;
7152 }
7153
7154
7155 static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7158 int result;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
7165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail;
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 {
7175 resultobj = SWIG_From_int((int)(result));
7176 }
7177 return resultobj;
7178 fail:
7179 return NULL;
7180 }
7181
7182
7183 static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7186 int result;
7187 PyObject * obj0 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
7193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail;
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 resultobj = SWIG_From_int((int)(result));
7204 }
7205 return resultobj;
7206 fail:
7207 return NULL;
7208 }
7209
7210
7211 static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
7212 PyObject *resultobj;
7213 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7214 wxVisualAttributes result;
7215 PyObject * obj0 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "variant", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7221 if (obj0) {
7222 {
7223 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7224 if (SWIG_arg_fail(1)) SWIG_fail;
7225 }
7226 }
7227 {
7228 if (!wxPyCheckForApp()) SWIG_fail;
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 {
7236 wxVisualAttributes * resultptr;
7237 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
7238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7239 }
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
7247 PyObject *obj;
7248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7249 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7250 Py_INCREF(obj);
7251 return Py_BuildValue((char *)"");
7252 }
7253 static int _wrap_SplitterNameStr_set(PyObject *) {
7254 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7255 return 1;
7256 }
7257
7258
7259 static PyObject *_wrap_SplitterNameStr_get(void) {
7260 PyObject *pyobj;
7261
7262 {
7263 #if wxUSE_UNICODE
7264 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7265 #else
7266 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7267 #endif
7268 }
7269 return pyobj;
7270 }
7271
7272
7273 static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxWindow *arg1 = (wxWindow *) 0 ;
7276 int arg2 = (int) -1 ;
7277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7279 wxSize const &arg4_defvalue = wxDefaultSize ;
7280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7281 long arg5 = (long) wxSP_3D ;
7282 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7283 wxString *arg6 = (wxString *) &arg6_defvalue ;
7284 wxSplitterWindow *result;
7285 wxPoint temp3 ;
7286 wxSize temp4 ;
7287 bool temp6 = false ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 PyObject * obj4 = 0 ;
7293 PyObject * obj5 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail;
7301 if (obj1) {
7302 {
7303 arg2 = (int)(SWIG_As_int(obj1));
7304 if (SWIG_arg_fail(2)) SWIG_fail;
7305 }
7306 }
7307 if (obj2) {
7308 {
7309 arg3 = &temp3;
7310 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7311 }
7312 }
7313 if (obj3) {
7314 {
7315 arg4 = &temp4;
7316 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7317 }
7318 }
7319 if (obj4) {
7320 {
7321 arg5 = (long)(SWIG_As_long(obj4));
7322 if (SWIG_arg_fail(5)) SWIG_fail;
7323 }
7324 }
7325 if (obj5) {
7326 {
7327 arg6 = wxString_in_helper(obj5);
7328 if (arg6 == NULL) SWIG_fail;
7329 temp6 = true;
7330 }
7331 }
7332 {
7333 if (!wxPyCheckForApp()) SWIG_fail;
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7341 {
7342 if (temp6)
7343 delete arg6;
7344 }
7345 return resultobj;
7346 fail:
7347 {
7348 if (temp6)
7349 delete arg6;
7350 }
7351 return NULL;
7352 }
7353
7354
7355 static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7356 PyObject *resultobj;
7357 wxSplitterWindow *result;
7358 char *kwnames[] = {
7359 NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7363 {
7364 if (!wxPyCheckForApp()) SWIG_fail;
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (wxSplitterWindow *)new wxSplitterWindow();
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7381 wxWindow *arg2 = (wxWindow *) 0 ;
7382 int arg3 = (int) -1 ;
7383 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7384 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7385 wxSize const &arg5_defvalue = wxDefaultSize ;
7386 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7387 long arg6 = (long) wxSP_3D ;
7388 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7389 wxString *arg7 = (wxString *) &arg7_defvalue ;
7390 bool result;
7391 wxPoint temp4 ;
7392 wxSize temp5 ;
7393 bool temp7 = false ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 PyObject * obj2 = 0 ;
7397 PyObject * obj3 = 0 ;
7398 PyObject * obj4 = 0 ;
7399 PyObject * obj5 = 0 ;
7400 PyObject * obj6 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail;
7408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(2)) SWIG_fail;
7410 if (obj2) {
7411 {
7412 arg3 = (int)(SWIG_As_int(obj2));
7413 if (SWIG_arg_fail(3)) SWIG_fail;
7414 }
7415 }
7416 if (obj3) {
7417 {
7418 arg4 = &temp4;
7419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7420 }
7421 }
7422 if (obj4) {
7423 {
7424 arg5 = &temp5;
7425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7426 }
7427 }
7428 if (obj5) {
7429 {
7430 arg6 = (long)(SWIG_As_long(obj5));
7431 if (SWIG_arg_fail(6)) SWIG_fail;
7432 }
7433 }
7434 if (obj6) {
7435 {
7436 arg7 = wxString_in_helper(obj6);
7437 if (arg7 == NULL) SWIG_fail;
7438 temp7 = true;
7439 }
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 {
7449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7450 }
7451 {
7452 if (temp7)
7453 delete arg7;
7454 }
7455 return resultobj;
7456 fail:
7457 {
7458 if (temp7)
7459 delete arg7;
7460 }
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7468 wxWindow *result;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
7475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail;
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 {
7485 resultobj = wxPyMake_wxObject(result, 0);
7486 }
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
7494 PyObject *resultobj;
7495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7496 wxWindow *result;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
7503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 resultobj = wxPyMake_wxObject(result, 0);
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7524 int arg2 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "mode", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
7532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail;
7534 {
7535 arg2 = (int)(SWIG_As_int(obj1));
7536 if (SWIG_arg_fail(2)) SWIG_fail;
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 (arg1)->SetSplitMode(arg2);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 Py_INCREF(Py_None); resultobj = Py_None;
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7555 wxSplitMode result;
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
7562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_From_int((result));
7572 return resultobj;
7573 fail:
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7581 wxWindow *arg2 = (wxWindow *) 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self",(char *) "window", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
7589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail;
7591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(2)) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->Initialize(arg2);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7610 wxWindow *arg2 = (wxWindow *) 0 ;
7611 wxWindow *arg3 = (wxWindow *) 0 ;
7612 int arg4 = (int) 0 ;
7613 bool result;
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 PyObject * obj2 = 0 ;
7617 PyObject * obj3 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
7625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(2)) SWIG_fail;
7627 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7628 if (SWIG_arg_fail(3)) SWIG_fail;
7629 if (obj3) {
7630 {
7631 arg4 = (int)(SWIG_As_int(obj3));
7632 if (SWIG_arg_fail(4)) SWIG_fail;
7633 }
7634 }
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 {
7643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7644 }
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7654 wxWindow *arg2 = (wxWindow *) 0 ;
7655 wxWindow *arg3 = (wxWindow *) 0 ;
7656 int arg4 = (int) 0 ;
7657 bool result;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 PyObject * obj2 = 0 ;
7661 PyObject * obj3 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7664 };
7665
7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail;
7669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7670 if (SWIG_arg_fail(2)) SWIG_fail;
7671 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7672 if (SWIG_arg_fail(3)) SWIG_fail;
7673 if (obj3) {
7674 {
7675 arg4 = (int)(SWIG_As_int(obj3));
7676 if (SWIG_arg_fail(4)) SWIG_fail;
7677 }
7678 }
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 {
7687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7688 }
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7698 wxWindow *arg2 = (wxWindow *) NULL ;
7699 bool result;
7700 PyObject * obj0 = 0 ;
7701 PyObject * obj1 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self",(char *) "toRemove", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
7707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail;
7709 if (obj1) {
7710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7711 if (SWIG_arg_fail(2)) SWIG_fail;
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (bool)(arg1)->Unsplit(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 {
7721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7722 }
7723 return resultobj;
7724 fail:
7725 return NULL;
7726 }
7727
7728
7729 static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7730 PyObject *resultobj;
7731 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7732 wxWindow *arg2 = (wxWindow *) 0 ;
7733 wxWindow *arg3 = (wxWindow *) 0 ;
7734 bool result;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 PyObject * obj2 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail;
7745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(2)) SWIG_fail;
7747 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7748 if (SWIG_arg_fail(3)) SWIG_fail;
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
7756 {
7757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7758 }
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
7774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7775 if (SWIG_arg_fail(1)) SWIG_fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 (arg1)->UpdateSize();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7793 bool result;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
7800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail;
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 {
7810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7811 }
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7819 PyObject *resultobj;
7820 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7821 int arg2 ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "width", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
7831 {
7832 arg2 = (int)(SWIG_As_int(obj1));
7833 if (SWIG_arg_fail(2)) SWIG_fail;
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetSashSize(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7852 int arg2 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "width", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
7860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail;
7862 {
7863 arg2 = (int)(SWIG_As_int(obj1));
7864 if (SWIG_arg_fail(2)) SWIG_fail;
7865 }
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->SetBorderSize(arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877 }
7878
7879
7880 static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7883 int result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
7890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = SWIG_From_int((int)(result));
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7911 int result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
7918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 resultobj = SWIG_From_int((int)(result));
7929 }
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7939 int arg2 ;
7940 bool arg3 = (bool) true ;
7941 PyObject * obj0 = 0 ;
7942 PyObject * obj1 = 0 ;
7943 PyObject * obj2 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self",(char *) "position",(char *) "redraw", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7950 if (SWIG_arg_fail(1)) SWIG_fail;
7951 {
7952 arg2 = (int)(SWIG_As_int(obj1));
7953 if (SWIG_arg_fail(2)) SWIG_fail;
7954 }
7955 if (obj2) {
7956 {
7957 arg3 = (bool)(SWIG_As_bool(obj2));
7958 if (SWIG_arg_fail(3)) SWIG_fail;
7959 }
7960 }
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 (arg1)->SetSashPosition(arg2,arg3);
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 Py_INCREF(Py_None); resultobj = Py_None;
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7976 PyObject *resultobj;
7977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7978 int result;
7979 PyObject * obj0 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
7985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 {
7995 resultobj = SWIG_From_int((int)(result));
7996 }
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8006 double arg2 ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self",(char *) "gravity", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
8014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail;
8016 {
8017 arg2 = (double)(SWIG_As_double(obj1));
8018 if (SWIG_arg_fail(2)) SWIG_fail;
8019 }
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 (arg1)->SetSashGravity(arg2);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8037 double result;
8038 PyObject * obj0 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
8044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 {
8054 resultobj = SWIG_From_double((double)(result));
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8065 int arg2 ;
8066 PyObject * obj0 = 0 ;
8067 PyObject * obj1 = 0 ;
8068 char *kwnames[] = {
8069 (char *) "self",(char *) "min", NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
8073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail;
8075 {
8076 arg2 = (int)(SWIG_As_int(obj1));
8077 if (SWIG_arg_fail(2)) SWIG_fail;
8078 }
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 (arg1)->SetMinimumPaneSize(arg2);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 return resultobj;
8088 fail:
8089 return NULL;
8090 }
8091
8092
8093 static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8096 int result;
8097 PyObject * obj0 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
8103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail;
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 {
8113 resultobj = SWIG_From_int((int)(result));
8114 }
8115 return resultobj;
8116 fail:
8117 return NULL;
8118 }
8119
8120
8121 static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj;
8123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8124 int arg2 ;
8125 int arg3 ;
8126 int arg4 = (int) 5 ;
8127 bool result;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 PyObject * obj2 = 0 ;
8131 PyObject * obj3 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
8140 arg2 = (int)(SWIG_As_int(obj1));
8141 if (SWIG_arg_fail(2)) SWIG_fail;
8142 }
8143 {
8144 arg3 = (int)(SWIG_As_int(obj2));
8145 if (SWIG_arg_fail(3)) SWIG_fail;
8146 }
8147 if (obj3) {
8148 {
8149 arg4 = (int)(SWIG_As_int(obj3));
8150 if (SWIG_arg_fail(4)) SWIG_fail;
8151 }
8152 }
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
8160 {
8161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8162 }
8163 return resultobj;
8164 fail:
8165 return NULL;
8166 }
8167
8168
8169 static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj;
8171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8172 PyObject * obj0 = 0 ;
8173 char *kwnames[] = {
8174 (char *) "self", NULL
8175 };
8176
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
8178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail;
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 (arg1)->SizeWindows();
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 Py_INCREF(Py_None); resultobj = Py_None;
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj;
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 bool arg2 ;
8198 PyObject * obj0 = 0 ;
8199 PyObject * obj1 = 0 ;
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "needUpdating", NULL
8202 };
8203
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
8205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail;
8207 {
8208 arg2 = (bool)(SWIG_As_bool(obj1));
8209 if (SWIG_arg_fail(2)) SWIG_fail;
8210 }
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetNeedUpdating(arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222 }
8223
8224
8225 static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8228 bool result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8256 wxVisualAttributes result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "variant", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8263 if (obj0) {
8264 {
8265 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8266 if (SWIG_arg_fail(1)) SWIG_fail;
8267 }
8268 }
8269 {
8270 if (!wxPyCheckForApp()) SWIG_fail;
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 {
8278 wxVisualAttributes * resultptr;
8279 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
8280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8281 }
8282 return resultobj;
8283 fail:
8284 return NULL;
8285 }
8286
8287
8288 static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
8289 PyObject *obj;
8290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8291 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8292 Py_INCREF(obj);
8293 return Py_BuildValue((char *)"");
8294 }
8295 static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8298 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8299 wxSplitterEvent *result;
8300 PyObject * obj0 = 0 ;
8301 PyObject * obj1 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "type",(char *) "splitter", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8307 if (obj0) {
8308 {
8309 arg1 = (wxEventType)(SWIG_As_int(obj0));
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 }
8312 }
8313 if (obj1) {
8314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8315 if (SWIG_arg_fail(2)) SWIG_fail;
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
8324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8325 return resultobj;
8326 fail:
8327 return NULL;
8328 }
8329
8330
8331 static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8332 PyObject *resultobj;
8333 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8334 int arg2 ;
8335 PyObject * obj0 = 0 ;
8336 PyObject * obj1 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "pos", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
8345 arg2 = (int)(SWIG_As_int(obj1));
8346 if (SWIG_arg_fail(2)) SWIG_fail;
8347 }
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->SetSashPosition(arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8365 int result;
8366 PyObject * obj0 = 0 ;
8367 char *kwnames[] = {
8368 (char *) "self", NULL
8369 };
8370
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
8372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail;
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 {
8382 resultobj = SWIG_From_int((int)(result));
8383 }
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
8391 PyObject *resultobj;
8392 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8393 wxWindow *result;
8394 PyObject * obj0 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "self", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
8400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8401 if (SWIG_arg_fail(1)) SWIG_fail;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 {
8410 resultobj = wxPyMake_wxObject(result, 0);
8411 }
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8421 int result;
8422 PyObject * obj0 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
8428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8429 if (SWIG_arg_fail(1)) SWIG_fail;
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 {
8438 resultobj = SWIG_From_int((int)(result));
8439 }
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8449 int result;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
8456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail;
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
8465 {
8466 resultobj = SWIG_From_int((int)(result));
8467 }
8468 return resultobj;
8469 fail:
8470 return NULL;
8471 }
8472
8473
8474 static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
8475 PyObject *obj;
8476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8477 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8478 Py_INCREF(obj);
8479 return Py_BuildValue((char *)"");
8480 }
8481 static int _wrap_SashNameStr_set(PyObject *) {
8482 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8483 return 1;
8484 }
8485
8486
8487 static PyObject *_wrap_SashNameStr_get(void) {
8488 PyObject *pyobj;
8489
8490 {
8491 #if wxUSE_UNICODE
8492 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8493 #else
8494 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8495 #endif
8496 }
8497 return pyobj;
8498 }
8499
8500
8501 static int _wrap_SashLayoutNameStr_set(PyObject *) {
8502 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8503 return 1;
8504 }
8505
8506
8507 static PyObject *_wrap_SashLayoutNameStr_get(void) {
8508 PyObject *pyobj;
8509
8510 {
8511 #if wxUSE_UNICODE
8512 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8513 #else
8514 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8515 #endif
8516 }
8517 return pyobj;
8518 }
8519
8520
8521 static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxWindow *arg1 = (wxWindow *) 0 ;
8524 int arg2 = (int) -1 ;
8525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8527 wxSize const &arg4_defvalue = wxDefaultSize ;
8528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8529 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8530 wxString const &arg6_defvalue = wxPySashNameStr ;
8531 wxString *arg6 = (wxString *) &arg6_defvalue ;
8532 wxSashWindow *result;
8533 wxPoint temp3 ;
8534 wxSize temp4 ;
8535 bool temp6 = false ;
8536 PyObject * obj0 = 0 ;
8537 PyObject * obj1 = 0 ;
8538 PyObject * obj2 = 0 ;
8539 PyObject * obj3 = 0 ;
8540 PyObject * obj4 = 0 ;
8541 PyObject * obj5 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail;
8549 if (obj1) {
8550 {
8551 arg2 = (int)(SWIG_As_int(obj1));
8552 if (SWIG_arg_fail(2)) SWIG_fail;
8553 }
8554 }
8555 if (obj2) {
8556 {
8557 arg3 = &temp3;
8558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8559 }
8560 }
8561 if (obj3) {
8562 {
8563 arg4 = &temp4;
8564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8565 }
8566 }
8567 if (obj4) {
8568 {
8569 arg5 = (long)(SWIG_As_long(obj4));
8570 if (SWIG_arg_fail(5)) SWIG_fail;
8571 }
8572 }
8573 if (obj5) {
8574 {
8575 arg6 = wxString_in_helper(obj5);
8576 if (arg6 == NULL) SWIG_fail;
8577 temp6 = true;
8578 }
8579 }
8580 {
8581 if (!wxPyCheckForApp()) SWIG_fail;
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8584
8585 wxPyEndAllowThreads(__tstate);
8586 if (PyErr_Occurred()) SWIG_fail;
8587 }
8588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8589 {
8590 if (temp6)
8591 delete arg6;
8592 }
8593 return resultobj;
8594 fail:
8595 {
8596 if (temp6)
8597 delete arg6;
8598 }
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxSashWindow *result;
8606 char *kwnames[] = {
8607 NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8611 {
8612 if (!wxPyCheckForApp()) SWIG_fail;
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (wxSashWindow *)new wxSashWindow();
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8629 wxWindow *arg2 = (wxWindow *) 0 ;
8630 int arg3 = (int) -1 ;
8631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8633 wxSize const &arg5_defvalue = wxDefaultSize ;
8634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8635 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8636 wxString const &arg7_defvalue = wxPySashNameStr ;
8637 wxString *arg7 = (wxString *) &arg7_defvalue ;
8638 bool result;
8639 wxPoint temp4 ;
8640 wxSize temp5 ;
8641 bool temp7 = false ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 PyObject * obj2 = 0 ;
8645 PyObject * obj3 = 0 ;
8646 PyObject * obj4 = 0 ;
8647 PyObject * obj5 = 0 ;
8648 PyObject * obj6 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail;
8656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8657 if (SWIG_arg_fail(2)) SWIG_fail;
8658 if (obj2) {
8659 {
8660 arg3 = (int)(SWIG_As_int(obj2));
8661 if (SWIG_arg_fail(3)) SWIG_fail;
8662 }
8663 }
8664 if (obj3) {
8665 {
8666 arg4 = &temp4;
8667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8668 }
8669 }
8670 if (obj4) {
8671 {
8672 arg5 = &temp5;
8673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8674 }
8675 }
8676 if (obj5) {
8677 {
8678 arg6 = (long)(SWIG_As_long(obj5));
8679 if (SWIG_arg_fail(6)) SWIG_fail;
8680 }
8681 }
8682 if (obj6) {
8683 {
8684 arg7 = wxString_in_helper(obj6);
8685 if (arg7 == NULL) SWIG_fail;
8686 temp7 = true;
8687 }
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 {
8697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8698 }
8699 {
8700 if (temp7)
8701 delete arg7;
8702 }
8703 return resultobj;
8704 fail:
8705 {
8706 if (temp7)
8707 delete arg7;
8708 }
8709 return NULL;
8710 }
8711
8712
8713 static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8714 PyObject *resultobj;
8715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8716 wxSashEdgePosition arg2 ;
8717 bool arg3 ;
8718 PyObject * obj0 = 0 ;
8719 PyObject * obj1 = 0 ;
8720 PyObject * obj2 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self",(char *) "edge",(char *) "sash", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
8726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail;
8728 {
8729 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8730 if (SWIG_arg_fail(2)) SWIG_fail;
8731 }
8732 {
8733 arg3 = (bool)(SWIG_As_bool(obj2));
8734 if (SWIG_arg_fail(3)) SWIG_fail;
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8753 wxSashEdgePosition arg2 ;
8754 bool result;
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "edge", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
8762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail;
8764 {
8765 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8766 if (SWIG_arg_fail(2)) SWIG_fail;
8767 }
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 {
8776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8777 }
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8787 wxSashEdgePosition arg2 ;
8788 bool arg3 ;
8789 PyObject * obj0 = 0 ;
8790 PyObject * obj1 = 0 ;
8791 PyObject * obj2 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self",(char *) "edge",(char *) "border", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
8797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail;
8799 {
8800 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8801 if (SWIG_arg_fail(2)) SWIG_fail;
8802 }
8803 {
8804 arg3 = (bool)(SWIG_As_bool(obj2));
8805 if (SWIG_arg_fail(3)) SWIG_fail;
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8824 wxSashEdgePosition arg2 ;
8825 bool result;
8826 PyObject * obj0 = 0 ;
8827 PyObject * obj1 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "edge", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
8833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail;
8835 {
8836 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8837 if (SWIG_arg_fail(2)) SWIG_fail;
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 {
8847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8848 }
8849 return resultobj;
8850 fail:
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8858 wxSashEdgePosition arg2 ;
8859 int result;
8860 PyObject * obj0 = 0 ;
8861 PyObject * obj1 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self",(char *) "edge", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
8867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8868 if (SWIG_arg_fail(1)) SWIG_fail;
8869 {
8870 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8871 if (SWIG_arg_fail(2)) SWIG_fail;
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 {
8881 resultobj = SWIG_From_int((int)(result));
8882 }
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj;
8891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8892 int arg2 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "width", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
8900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8901 if (SWIG_arg_fail(1)) SWIG_fail;
8902 {
8903 arg2 = (int)(SWIG_As_int(obj1));
8904 if (SWIG_arg_fail(2)) SWIG_fail;
8905 }
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->SetDefaultBorderSize(arg2);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8923 int result;
8924 PyObject * obj0 = 0 ;
8925 char *kwnames[] = {
8926 (char *) "self", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
8930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail;
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 {
8940 resultobj = SWIG_From_int((int)(result));
8941 }
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8951 int arg2 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "width", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
8961 {
8962 arg2 = (int)(SWIG_As_int(obj1));
8963 if (SWIG_arg_fail(2)) SWIG_fail;
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->SetExtraBorderSize(arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8982 int result;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 resultobj = SWIG_From_int((int)(result));
9000 }
9001 return resultobj;
9002 fail:
9003 return NULL;
9004 }
9005
9006
9007 static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj;
9009 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9010 int arg2 ;
9011 PyObject * obj0 = 0 ;
9012 PyObject * obj1 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self",(char *) "min", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
9018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9019 if (SWIG_arg_fail(1)) SWIG_fail;
9020 {
9021 arg2 = (int)(SWIG_As_int(obj1));
9022 if (SWIG_arg_fail(2)) SWIG_fail;
9023 }
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->SetMinimumSizeX(arg2);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9041 int arg2 ;
9042 PyObject * obj0 = 0 ;
9043 PyObject * obj1 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "min", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
9049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail;
9051 {
9052 arg2 = (int)(SWIG_As_int(obj1));
9053 if (SWIG_arg_fail(2)) SWIG_fail;
9054 }
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 (arg1)->SetMinimumSizeY(arg2);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 Py_INCREF(Py_None); resultobj = Py_None;
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9072 int result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
9079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail;
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 {
9089 resultobj = SWIG_From_int((int)(result));
9090 }
9091 return resultobj;
9092 fail:
9093 return NULL;
9094 }
9095
9096
9097 static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9098 PyObject *resultobj;
9099 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9100 int result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 {
9117 resultobj = SWIG_From_int((int)(result));
9118 }
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9128 int arg2 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self",(char *) "max", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
9136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail;
9138 {
9139 arg2 = (int)(SWIG_As_int(obj1));
9140 if (SWIG_arg_fail(2)) SWIG_fail;
9141 }
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 (arg1)->SetMaximumSizeX(arg2);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9159 int arg2 ;
9160 PyObject * obj0 = 0 ;
9161 PyObject * obj1 = 0 ;
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "max", NULL
9164 };
9165
9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
9167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail;
9169 {
9170 arg2 = (int)(SWIG_As_int(obj1));
9171 if (SWIG_arg_fail(2)) SWIG_fail;
9172 }
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->SetMaximumSizeY(arg2);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 Py_INCREF(Py_None); resultobj = Py_None;
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9190 int result;
9191 PyObject * obj0 = 0 ;
9192 char *kwnames[] = {
9193 (char *) "self", NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
9197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9198 if (SWIG_arg_fail(1)) SWIG_fail;
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 {
9207 resultobj = SWIG_From_int((int)(result));
9208 }
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9218 int result;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
9225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 {
9235 resultobj = SWIG_From_int((int)(result));
9236 }
9237 return resultobj;
9238 fail:
9239 return NULL;
9240 }
9241
9242
9243 static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj;
9245 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9246 int arg2 ;
9247 int arg3 ;
9248 int arg4 = (int) 2 ;
9249 wxSashEdgePosition result;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj1 = 0 ;
9252 PyObject * obj2 = 0 ;
9253 PyObject * obj3 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail;
9261 {
9262 arg2 = (int)(SWIG_As_int(obj1));
9263 if (SWIG_arg_fail(2)) SWIG_fail;
9264 }
9265 {
9266 arg3 = (int)(SWIG_As_int(obj2));
9267 if (SWIG_arg_fail(3)) SWIG_fail;
9268 }
9269 if (obj3) {
9270 {
9271 arg4 = (int)(SWIG_As_int(obj3));
9272 if (SWIG_arg_fail(4)) SWIG_fail;
9273 }
9274 }
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 resultobj = SWIG_From_int((result));
9283 return resultobj;
9284 fail:
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
9298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail;
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->SizeWindows();
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 Py_INCREF(Py_None); resultobj = Py_None;
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
9315 PyObject *obj;
9316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9317 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9318 Py_INCREF(obj);
9319 return Py_BuildValue((char *)"");
9320 }
9321 static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9322 PyObject *resultobj;
9323 int arg1 = (int) 0 ;
9324 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
9325 wxSashEvent *result;
9326 PyObject * obj0 = 0 ;
9327 PyObject * obj1 = 0 ;
9328 char *kwnames[] = {
9329 (char *) "id",(char *) "edge", NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9333 if (obj0) {
9334 {
9335 arg1 = (int)(SWIG_As_int(obj0));
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 }
9338 }
9339 if (obj1) {
9340 {
9341 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9342 if (SWIG_arg_fail(2)) SWIG_fail;
9343 }
9344 }
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9362 wxSashEdgePosition arg2 ;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj1 = 0 ;
9365 char *kwnames[] = {
9366 (char *) "self",(char *) "edge", NULL
9367 };
9368
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
9372 {
9373 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9374 if (SWIG_arg_fail(2)) SWIG_fail;
9375 }
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9393 wxSashEdgePosition result;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 resultobj = SWIG_From_int((result));
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9419 wxRect *arg2 = 0 ;
9420 wxRect temp2 ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self",(char *) "rect", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
9428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail;
9430 {
9431 arg2 = &temp2;
9432 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 (arg1)->SetDragRect((wxRect const &)*arg2);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 Py_INCREF(Py_None); resultobj = Py_None;
9442 return resultobj;
9443 fail:
9444 return NULL;
9445 }
9446
9447
9448 static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9451 wxRect result;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
9458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail;
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = ((wxSashEvent const *)arg1)->GetDragRect();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 {
9468 wxRect * resultptr;
9469 resultptr = new wxRect((wxRect &)(result));
9470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9471 }
9472 return resultobj;
9473 fail:
9474 return NULL;
9475 }
9476
9477
9478 static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9481 wxSashDragStatus arg2 ;
9482 PyObject * obj0 = 0 ;
9483 PyObject * obj1 = 0 ;
9484 char *kwnames[] = {
9485 (char *) "self",(char *) "status", NULL
9486 };
9487
9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
9489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail;
9491 {
9492 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9493 if (SWIG_arg_fail(2)) SWIG_fail;
9494 }
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 Py_INCREF(Py_None); resultobj = Py_None;
9503 return resultobj;
9504 fail:
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9512 wxSashDragStatus result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
9519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail;
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = SWIG_From_int((result));
9529 return resultobj;
9530 fail:
9531 return NULL;
9532 }
9533
9534
9535 static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
9536 PyObject *obj;
9537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9538 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9539 Py_INCREF(obj);
9540 return Py_BuildValue((char *)"");
9541 }
9542 static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 int arg1 = (int) 0 ;
9545 wxQueryLayoutInfoEvent *result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "id", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9552 if (obj0) {
9553 {
9554 arg1 = (int)(SWIG_As_int(obj0));
9555 if (SWIG_arg_fail(1)) SWIG_fail;
9556 }
9557 }
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9575 int arg2 ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj1 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "length", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
9583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9584 if (SWIG_arg_fail(1)) SWIG_fail;
9585 {
9586 arg2 = (int)(SWIG_As_int(obj1));
9587 if (SWIG_arg_fail(2)) SWIG_fail;
9588 }
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->SetRequestedLength(arg2);
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 Py_INCREF(Py_None); resultobj = Py_None;
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj;
9605 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9606 int result;
9607 PyObject * obj0 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
9613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9614 if (SWIG_arg_fail(1)) SWIG_fail;
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 {
9623 resultobj = SWIG_From_int((int)(result));
9624 }
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9632 PyObject *resultobj;
9633 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9634 int arg2 ;
9635 PyObject * obj0 = 0 ;
9636 PyObject * obj1 = 0 ;
9637 char *kwnames[] = {
9638 (char *) "self",(char *) "flags", NULL
9639 };
9640
9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9643 if (SWIG_arg_fail(1)) SWIG_fail;
9644 {
9645 arg2 = (int)(SWIG_As_int(obj1));
9646 if (SWIG_arg_fail(2)) SWIG_fail;
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 (arg1)->SetFlags(arg2);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 Py_INCREF(Py_None); resultobj = Py_None;
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9665 int result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
9672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9673 if (SWIG_arg_fail(1)) SWIG_fail;
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 resultobj = SWIG_From_int((int)(result));
9683 }
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9693 wxSize *arg2 = 0 ;
9694 wxSize temp2 ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "size", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
9702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail;
9704 {
9705 arg2 = &temp2;
9706 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9707 }
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetSize((wxSize const &)*arg2);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 Py_INCREF(Py_None); resultobj = Py_None;
9716 return resultobj;
9717 fail:
9718 return NULL;
9719 }
9720
9721
9722 static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
9723 PyObject *resultobj;
9724 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9725 wxSize result;
9726 PyObject * obj0 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
9732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail;
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 {
9742 wxSize * resultptr;
9743 resultptr = new wxSize((wxSize &)(result));
9744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9745 }
9746 return resultobj;
9747 fail:
9748 return NULL;
9749 }
9750
9751
9752 static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9753 PyObject *resultobj;
9754 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9755 wxLayoutOrientation arg2 ;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj1 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "orient", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
9763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail;
9765 {
9766 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9767 if (SWIG_arg_fail(2)) SWIG_fail;
9768 }
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9772
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 Py_INCREF(Py_None); resultobj = Py_None;
9777 return resultobj;
9778 fail:
9779 return NULL;
9780 }
9781
9782
9783 static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9786 wxLayoutOrientation result;
9787 PyObject * obj0 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
9793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail;
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
9802 resultobj = SWIG_From_int((result));
9803 return resultobj;
9804 fail:
9805 return NULL;
9806 }
9807
9808
9809 static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9812 wxLayoutAlignment arg2 ;
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self",(char *) "align", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
9820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail;
9822 {
9823 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9824 if (SWIG_arg_fail(2)) SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 Py_INCREF(Py_None); resultobj = Py_None;
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9843 wxLayoutAlignment result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
9850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail;
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_From_int((result));
9860 return resultobj;
9861 fail:
9862 return NULL;
9863 }
9864
9865
9866 static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
9867 PyObject *obj;
9868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9869 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9870 Py_INCREF(obj);
9871 return Py_BuildValue((char *)"");
9872 }
9873 static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 int arg1 = (int) 0 ;
9876 wxCalculateLayoutEvent *result;
9877 PyObject * obj0 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "id", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9883 if (obj0) {
9884 {
9885 arg1 = (int)(SWIG_As_int(obj0));
9886 if (SWIG_arg_fail(1)) SWIG_fail;
9887 }
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9906 int arg2 ;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "flags", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
9914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail;
9916 {
9917 arg2 = (int)(SWIG_As_int(obj1));
9918 if (SWIG_arg_fail(2)) SWIG_fail;
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 (arg1)->SetFlags(arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 Py_INCREF(Py_None); resultobj = Py_None;
9928 return resultobj;
9929 fail:
9930 return NULL;
9931 }
9932
9933
9934 static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj;
9936 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9937 int result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 resultobj = SWIG_From_int((int)(result));
9955 }
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
9963 PyObject *resultobj;
9964 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9965 wxRect *arg2 = 0 ;
9966 wxRect temp2 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self",(char *) "rect", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
9974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail;
9976 {
9977 arg2 = &temp2;
9978 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9979 }
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 (arg1)->SetRect((wxRect const &)*arg2);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 Py_INCREF(Py_None); resultobj = Py_None;
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9997 wxRect result;
9998 PyObject * obj0 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
10004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail;
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10009
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 {
10014 wxRect * resultptr;
10015 resultptr = new wxRect((wxRect &)(result));
10016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10017 }
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
10025 PyObject *obj;
10026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10028 Py_INCREF(obj);
10029 return Py_BuildValue((char *)"");
10030 }
10031 static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxWindow *arg1 = (wxWindow *) 0 ;
10034 int arg2 = (int) -1 ;
10035 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10036 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10037 wxSize const &arg4_defvalue = wxDefaultSize ;
10038 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10039 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10040 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10041 wxString *arg6 = (wxString *) &arg6_defvalue ;
10042 wxSashLayoutWindow *result;
10043 wxPoint temp3 ;
10044 wxSize temp4 ;
10045 bool temp6 = false ;
10046 PyObject * obj0 = 0 ;
10047 PyObject * obj1 = 0 ;
10048 PyObject * obj2 = 0 ;
10049 PyObject * obj3 = 0 ;
10050 PyObject * obj4 = 0 ;
10051 PyObject * obj5 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail;
10059 if (obj1) {
10060 {
10061 arg2 = (int)(SWIG_As_int(obj1));
10062 if (SWIG_arg_fail(2)) SWIG_fail;
10063 }
10064 }
10065 if (obj2) {
10066 {
10067 arg3 = &temp3;
10068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10069 }
10070 }
10071 if (obj3) {
10072 {
10073 arg4 = &temp4;
10074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10075 }
10076 }
10077 if (obj4) {
10078 {
10079 arg5 = (long)(SWIG_As_long(obj4));
10080 if (SWIG_arg_fail(5)) SWIG_fail;
10081 }
10082 }
10083 if (obj5) {
10084 {
10085 arg6 = wxString_in_helper(obj5);
10086 if (arg6 == NULL) SWIG_fail;
10087 temp6 = true;
10088 }
10089 }
10090 {
10091 if (!wxPyCheckForApp()) SWIG_fail;
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10094
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10099 {
10100 if (temp6)
10101 delete arg6;
10102 }
10103 return resultobj;
10104 fail:
10105 {
10106 if (temp6)
10107 delete arg6;
10108 }
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxSashLayoutWindow *result;
10116 char *kwnames[] = {
10117 NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10121 {
10122 if (!wxPyCheckForApp()) SWIG_fail;
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10139 wxWindow *arg2 = (wxWindow *) 0 ;
10140 int arg3 = (int) -1 ;
10141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10143 wxSize const &arg5_defvalue = wxDefaultSize ;
10144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10145 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10146 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10147 wxString *arg7 = (wxString *) &arg7_defvalue ;
10148 bool result;
10149 wxPoint temp4 ;
10150 wxSize temp5 ;
10151 bool temp7 = false ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 PyObject * obj2 = 0 ;
10155 PyObject * obj3 = 0 ;
10156 PyObject * obj4 = 0 ;
10157 PyObject * obj5 = 0 ;
10158 PyObject * obj6 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail;
10166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10167 if (SWIG_arg_fail(2)) SWIG_fail;
10168 if (obj2) {
10169 {
10170 arg3 = (int)(SWIG_As_int(obj2));
10171 if (SWIG_arg_fail(3)) SWIG_fail;
10172 }
10173 }
10174 if (obj3) {
10175 {
10176 arg4 = &temp4;
10177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10178 }
10179 }
10180 if (obj4) {
10181 {
10182 arg5 = &temp5;
10183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10184 }
10185 }
10186 if (obj5) {
10187 {
10188 arg6 = (long)(SWIG_As_long(obj5));
10189 if (SWIG_arg_fail(6)) SWIG_fail;
10190 }
10191 }
10192 if (obj6) {
10193 {
10194 arg7 = wxString_in_helper(obj6);
10195 if (arg7 == NULL) SWIG_fail;
10196 temp7 = true;
10197 }
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10208 }
10209 {
10210 if (temp7)
10211 delete arg7;
10212 }
10213 return resultobj;
10214 fail:
10215 {
10216 if (temp7)
10217 delete arg7;
10218 }
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10226 wxLayoutAlignment result;
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
10233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail;
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 result = (wxLayoutAlignment)(arg1)->GetAlignment();
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 resultobj = SWIG_From_int((result));
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10252 wxLayoutOrientation result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
10259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10260 if (SWIG_arg_fail(1)) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (wxLayoutOrientation)(arg1)->GetOrientation();
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 resultobj = SWIG_From_int((result));
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10278 wxLayoutAlignment arg2 ;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "alignment", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
10286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail;
10288 {
10289 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10290 if (SWIG_arg_fail(2)) SWIG_fail;
10291 }
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303 }
10304
10305
10306 static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10309 wxSize *arg2 = 0 ;
10310 wxSize temp2 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self",(char *) "size", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
10318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail;
10320 {
10321 arg2 = &temp2;
10322 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10323 }
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10341 wxLayoutOrientation arg2 ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self",(char *) "orientation", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
10349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail;
10351 {
10352 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10353 if (SWIG_arg_fail(2)) SWIG_fail;
10354 }
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 Py_INCREF(Py_None); resultobj = Py_None;
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
10370 PyObject *obj;
10371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10372 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10373 Py_INCREF(obj);
10374 return Py_BuildValue((char *)"");
10375 }
10376 static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxLayoutAlgorithm *result;
10379 char *kwnames[] = {
10380 NULL
10381 };
10382
10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
10407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10408 if (SWIG_arg_fail(1)) SWIG_fail;
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 delete arg1;
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420 }
10421
10422
10423 static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10424 PyObject *resultobj;
10425 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10426 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10427 wxRect *arg3 = (wxRect *) NULL ;
10428 bool result;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 PyObject * obj2 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "frame",(char *) "rect", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail;
10439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10440 if (SWIG_arg_fail(2)) SWIG_fail;
10441 if (obj2) {
10442 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10443 if (SWIG_arg_fail(3)) SWIG_fail;
10444 }
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10464 wxFrame *arg2 = (wxFrame *) 0 ;
10465 wxWindow *arg3 = (wxWindow *) NULL ;
10466 bool result;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
10475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail;
10477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10478 if (SWIG_arg_fail(2)) SWIG_fail;
10479 if (obj2) {
10480 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10481 if (SWIG_arg_fail(3)) SWIG_fail;
10482 }
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 {
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 }
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10502 wxWindow *arg2 = (wxWindow *) 0 ;
10503 wxWindow *arg3 = (wxWindow *) NULL ;
10504 bool result;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 PyObject * obj2 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10510 };
10511
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
10513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail;
10515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(2)) SWIG_fail;
10517 if (obj2) {
10518 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(3)) SWIG_fail;
10520 }
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 {
10529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10530 }
10531 return resultobj;
10532 fail:
10533 return NULL;
10534 }
10535
10536
10537 static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
10538 PyObject *obj;
10539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10540 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10541 Py_INCREF(obj);
10542 return Py_BuildValue((char *)"");
10543 }
10544 static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxWindow *arg1 = (wxWindow *) 0 ;
10547 int arg2 = (int) wxBORDER_NONE ;
10548 wxPopupWindow *result;
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "parent",(char *) "flags", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
10556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail;
10558 if (obj1) {
10559 {
10560 arg2 = (int)(SWIG_As_int(obj1));
10561 if (SWIG_arg_fail(2)) SWIG_fail;
10562 }
10563 }
10564 {
10565 if (!wxPyCheckForApp()) SWIG_fail;
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxPopupWindow *result;
10582 char *kwnames[] = {
10583 NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10587 {
10588 if (!wxPyCheckForApp()) SWIG_fail;
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (wxPopupWindow *)new wxPopupWindow();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10605 wxWindow *arg2 = (wxWindow *) 0 ;
10606 int arg3 = (int) wxBORDER_NONE ;
10607 bool result;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 PyObject * obj2 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "parent",(char *) "flags", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
10618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(2)) SWIG_fail;
10620 if (obj2) {
10621 {
10622 arg3 = (int)(SWIG_As_int(obj2));
10623 if (SWIG_arg_fail(3)) SWIG_fail;
10624 }
10625 }
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (bool)(arg1)->Create(arg2,arg3);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 {
10634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10635 }
10636 return resultobj;
10637 fail:
10638 return NULL;
10639 }
10640
10641
10642 static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10645 wxPoint *arg2 = 0 ;
10646 wxSize *arg3 = 0 ;
10647 wxPoint temp2 ;
10648 wxSize temp3 ;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 PyObject * obj2 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
10659 {
10660 arg2 = &temp2;
10661 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10662 }
10663 {
10664 arg3 = &temp3;
10665 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10666 }
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 Py_INCREF(Py_None); resultobj = Py_None;
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
10682 PyObject *obj;
10683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10684 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10685 Py_INCREF(obj);
10686 return Py_BuildValue((char *)"");
10687 }
10688 static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxWindow *arg1 = (wxWindow *) 0 ;
10691 int arg2 = (int) wxBORDER_NONE ;
10692 wxPyPopupTransientWindow *result;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "parent",(char *) "style", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
10700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail;
10702 if (obj1) {
10703 {
10704 arg2 = (int)(SWIG_As_int(obj1));
10705 if (SWIG_arg_fail(2)) SWIG_fail;
10706 }
10707 }
10708 {
10709 if (!wxPyCheckForApp()) SWIG_fail;
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10717 return resultobj;
10718 fail:
10719 return NULL;
10720 }
10721
10722
10723 static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10724 PyObject *resultobj;
10725 wxPyPopupTransientWindow *result;
10726 char *kwnames[] = {
10727 NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10731 {
10732 if (!wxPyCheckForApp()) SWIG_fail;
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10735
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10740 return resultobj;
10741 fail:
10742 return NULL;
10743 }
10744
10745
10746 static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10749 PyObject *arg2 = (PyObject *) 0 ;
10750 PyObject *arg3 = (PyObject *) 0 ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 PyObject * obj2 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "self",(char *) "_class", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail;
10761 arg2 = obj1;
10762 arg3 = obj2;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 (arg1)->_setCallbackInfo(arg2,arg3);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 Py_INCREF(Py_None); resultobj = Py_None;
10771 return resultobj;
10772 fail:
10773 return NULL;
10774 }
10775
10776
10777 static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10780 wxWindow *arg2 = (wxWindow *) NULL ;
10781 PyObject * obj0 = 0 ;
10782 PyObject * obj1 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self",(char *) "focus", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
10788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail;
10790 if (obj1) {
10791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(2)) SWIG_fail;
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->Popup(arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
10817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->Dismiss();
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 * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
10834 PyObject *obj;
10835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10837 Py_INCREF(obj);
10838 return Py_BuildValue((char *)"");
10839 }
10840 static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxWindow *arg1 = (wxWindow *) 0 ;
10843 wxString *arg2 = 0 ;
10844 int arg3 = (int) 100 ;
10845 wxRect *arg4 = (wxRect *) NULL ;
10846 wxTipWindow *result;
10847 bool temp2 = false ;
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
10850 PyObject * obj2 = 0 ;
10851 PyObject * obj3 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail;
10859 {
10860 arg2 = wxString_in_helper(obj1);
10861 if (arg2 == NULL) SWIG_fail;
10862 temp2 = true;
10863 }
10864 if (obj2) {
10865 {
10866 arg3 = (int)(SWIG_As_int(obj2));
10867 if (SWIG_arg_fail(3)) SWIG_fail;
10868 }
10869 }
10870 if (obj3) {
10871 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(4)) SWIG_fail;
10873 }
10874 {
10875 if (!wxPyCheckForApp()) SWIG_fail;
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10883 {
10884 if (temp2)
10885 delete arg2;
10886 }
10887 return resultobj;
10888 fail:
10889 {
10890 if (temp2)
10891 delete arg2;
10892 }
10893 return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10900 wxRect *arg2 = 0 ;
10901 wxRect temp2 ;
10902 PyObject * obj0 = 0 ;
10903 PyObject * obj1 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self",(char *) "rectBound", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
10909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail;
10911 {
10912 arg2 = &temp2;
10913 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10914 }
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 Py_INCREF(Py_None); resultobj = Py_None;
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
10938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->Close();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951 }
10952
10953
10954 static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
10955 PyObject *obj;
10956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10957 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10958 Py_INCREF(obj);
10959 return Py_BuildValue((char *)"");
10960 }
10961 static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
10962 PyObject *resultobj;
10963 wxWindow *arg1 = (wxWindow *) 0 ;
10964 int arg2 = (int) wxID_ANY ;
10965 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10966 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10967 wxSize const &arg4_defvalue = wxDefaultSize ;
10968 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10969 long arg5 = (long) 0 ;
10970 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10971 wxString *arg6 = (wxString *) &arg6_defvalue ;
10972 wxPyVScrolledWindow *result;
10973 wxPoint temp3 ;
10974 wxSize temp4 ;
10975 bool temp6 = false ;
10976 PyObject * obj0 = 0 ;
10977 PyObject * obj1 = 0 ;
10978 PyObject * obj2 = 0 ;
10979 PyObject * obj3 = 0 ;
10980 PyObject * obj4 = 0 ;
10981 PyObject * obj5 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail;
10989 if (obj1) {
10990 {
10991 arg2 = (int)(SWIG_As_int(obj1));
10992 if (SWIG_arg_fail(2)) SWIG_fail;
10993 }
10994 }
10995 if (obj2) {
10996 {
10997 arg3 = &temp3;
10998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10999 }
11000 }
11001 if (obj3) {
11002 {
11003 arg4 = &temp4;
11004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11005 }
11006 }
11007 if (obj4) {
11008 {
11009 arg5 = (long)(SWIG_As_long(obj4));
11010 if (SWIG_arg_fail(5)) SWIG_fail;
11011 }
11012 }
11013 if (obj5) {
11014 {
11015 arg6 = wxString_in_helper(obj5);
11016 if (arg6 == NULL) SWIG_fail;
11017 temp6 = true;
11018 }
11019 }
11020 {
11021 if (!wxPyCheckForApp()) SWIG_fail;
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11029 {
11030 if (temp6)
11031 delete arg6;
11032 }
11033 return resultobj;
11034 fail:
11035 {
11036 if (temp6)
11037 delete arg6;
11038 }
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxPyVScrolledWindow *result;
11046 char *kwnames[] = {
11047 NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11051 {
11052 if (!wxPyCheckForApp()) SWIG_fail;
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11069 PyObject *arg2 = (PyObject *) 0 ;
11070 PyObject *arg3 = (PyObject *) 0 ;
11071 PyObject * obj0 = 0 ;
11072 PyObject * obj1 = 0 ;
11073 PyObject * obj2 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "self",(char *) "_class", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail;
11081 arg2 = obj1;
11082 arg3 = obj2;
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 (arg1)->_setCallbackInfo(arg2,arg3);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 Py_INCREF(Py_None); resultobj = Py_None;
11091 return resultobj;
11092 fail:
11093 return NULL;
11094 }
11095
11096
11097 static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11098 PyObject *resultobj;
11099 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11100 wxWindow *arg2 = (wxWindow *) 0 ;
11101 int arg3 = (int) wxID_ANY ;
11102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11104 wxSize const &arg5_defvalue = wxDefaultSize ;
11105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11106 long arg6 = (long) 0 ;
11107 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11108 wxString *arg7 = (wxString *) &arg7_defvalue ;
11109 bool result;
11110 wxPoint temp4 ;
11111 wxSize temp5 ;
11112 bool temp7 = false ;
11113 PyObject * obj0 = 0 ;
11114 PyObject * obj1 = 0 ;
11115 PyObject * obj2 = 0 ;
11116 PyObject * obj3 = 0 ;
11117 PyObject * obj4 = 0 ;
11118 PyObject * obj5 = 0 ;
11119 PyObject * obj6 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail;
11127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(2)) SWIG_fail;
11129 if (obj2) {
11130 {
11131 arg3 = (int)(SWIG_As_int(obj2));
11132 if (SWIG_arg_fail(3)) SWIG_fail;
11133 }
11134 }
11135 if (obj3) {
11136 {
11137 arg4 = &temp4;
11138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11139 }
11140 }
11141 if (obj4) {
11142 {
11143 arg5 = &temp5;
11144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11145 }
11146 }
11147 if (obj5) {
11148 {
11149 arg6 = (long)(SWIG_As_long(obj5));
11150 if (SWIG_arg_fail(6)) SWIG_fail;
11151 }
11152 }
11153 if (obj6) {
11154 {
11155 arg7 = wxString_in_helper(obj6);
11156 if (arg7 == NULL) SWIG_fail;
11157 temp7 = true;
11158 }
11159 }
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
11170 {
11171 if (temp7)
11172 delete arg7;
11173 }
11174 return resultobj;
11175 fail:
11176 {
11177 if (temp7)
11178 delete arg7;
11179 }
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11187 size_t arg2 ;
11188 PyObject * obj0 = 0 ;
11189 PyObject * obj1 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "count", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
11197 {
11198 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11199 if (SWIG_arg_fail(2)) SWIG_fail;
11200 }
11201 {
11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
11203 (arg1)->SetLineCount(arg2);
11204
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 Py_INCREF(Py_None); resultobj = Py_None;
11209 return resultobj;
11210 fail:
11211 return NULL;
11212 }
11213
11214
11215 static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj;
11217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11218 size_t arg2 ;
11219 bool result;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "self",(char *) "line", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
11227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail;
11229 {
11230 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11231 if (SWIG_arg_fail(2)) SWIG_fail;
11232 }
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (bool)(arg1)->ScrollToLine(arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 {
11241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11242 }
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11252 int arg2 ;
11253 bool result;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "lines", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
11263 {
11264 arg2 = (int)(SWIG_As_int(obj1));
11265 if (SWIG_arg_fail(2)) SWIG_fail;
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (bool)(arg1)->ScrollLines(arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11276 }
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11286 int arg2 ;
11287 bool result;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self",(char *) "pages", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
11295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11296 if (SWIG_arg_fail(1)) SWIG_fail;
11297 {
11298 arg2 = (int)(SWIG_As_int(obj1));
11299 if (SWIG_arg_fail(2)) SWIG_fail;
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (bool)(arg1)->ScrollPages(arg2);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 {
11309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11310 }
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11320 size_t arg2 ;
11321 PyObject * obj0 = 0 ;
11322 PyObject * obj1 = 0 ;
11323 char *kwnames[] = {
11324 (char *) "self",(char *) "line", NULL
11325 };
11326
11327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
11328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail;
11330 {
11331 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11332 if (SWIG_arg_fail(2)) SWIG_fail;
11333 }
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->RefreshLine(arg2);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 Py_INCREF(Py_None); resultobj = Py_None;
11342 return resultobj;
11343 fail:
11344 return NULL;
11345 }
11346
11347
11348 static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
11349 PyObject *resultobj;
11350 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11351 size_t arg2 ;
11352 size_t arg3 ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 PyObject * obj2 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self",(char *) "from",(char *) "to", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
11361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail;
11363 {
11364 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11365 if (SWIG_arg_fail(2)) SWIG_fail;
11366 }
11367 {
11368 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11369 if (SWIG_arg_fail(3)) SWIG_fail;
11370 }
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->RefreshLines(arg2,arg3);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382 }
11383
11384
11385 static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11388 int arg2 ;
11389 int arg3 ;
11390 int result;
11391 PyObject * obj0 = 0 ;
11392 PyObject * obj1 = 0 ;
11393 PyObject * obj2 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "x",(char *) "y", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) 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 arg2 = (int)(SWIG_As_int(obj1));
11403 if (SWIG_arg_fail(2)) SWIG_fail;
11404 }
11405 {
11406 arg3 = (int)(SWIG_As_int(obj2));
11407 if (SWIG_arg_fail(3)) SWIG_fail;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 resultobj = SWIG_From_int((int)(result));
11418 }
11419 return resultobj;
11420 fail:
11421 return NULL;
11422 }
11423
11424
11425 static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
11426 PyObject *resultobj;
11427 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11428 wxPoint *arg2 = 0 ;
11429 int result;
11430 wxPoint temp2 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "pt", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
11438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11439 if (SWIG_arg_fail(1)) SWIG_fail;
11440 {
11441 arg2 = &temp2;
11442 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 resultobj = SWIG_From_int((int)(result));
11453 }
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
11469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11470 if (SWIG_arg_fail(1)) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 (arg1)->RefreshAll();
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 Py_INCREF(Py_None); resultobj = Py_None;
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11488 size_t result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
11495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11496 if (SWIG_arg_fail(1)) SWIG_fail;
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11506 }
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11516 size_t result;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail;
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
11532 {
11533 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11534 }
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 size_t result;
11545 PyObject * obj0 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11552 if (SWIG_arg_fail(1)) SWIG_fail;
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 {
11561 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11562 }
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11572 size_t arg2 ;
11573 bool result;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "line", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
11581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail;
11583 {
11584 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11585 if (SWIG_arg_fail(2)) SWIG_fail;
11586 }
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 {
11595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11596 }
11597 return resultobj;
11598 fail:
11599 return NULL;
11600 }
11601
11602
11603 static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
11604 PyObject *obj;
11605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11606 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11607 Py_INCREF(obj);
11608 return Py_BuildValue((char *)"");
11609 }
11610 static int _wrap_VListBoxNameStr_set(PyObject *) {
11611 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11612 return 1;
11613 }
11614
11615
11616 static PyObject *_wrap_VListBoxNameStr_get(void) {
11617 PyObject *pyobj;
11618
11619 {
11620 #if wxUSE_UNICODE
11621 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11622 #else
11623 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11624 #endif
11625 }
11626 return pyobj;
11627 }
11628
11629
11630 static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj;
11632 wxWindow *arg1 = (wxWindow *) 0 ;
11633 int arg2 = (int) wxID_ANY ;
11634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11636 wxSize const &arg4_defvalue = wxDefaultSize ;
11637 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11638 long arg5 = (long) 0 ;
11639 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11640 wxString *arg6 = (wxString *) &arg6_defvalue ;
11641 wxPyVListBox *result;
11642 wxPoint temp3 ;
11643 wxSize temp4 ;
11644 bool temp6 = false ;
11645 PyObject * obj0 = 0 ;
11646 PyObject * obj1 = 0 ;
11647 PyObject * obj2 = 0 ;
11648 PyObject * obj3 = 0 ;
11649 PyObject * obj4 = 0 ;
11650 PyObject * obj5 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail;
11658 if (obj1) {
11659 {
11660 arg2 = (int)(SWIG_As_int(obj1));
11661 if (SWIG_arg_fail(2)) SWIG_fail;
11662 }
11663 }
11664 if (obj2) {
11665 {
11666 arg3 = &temp3;
11667 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11668 }
11669 }
11670 if (obj3) {
11671 {
11672 arg4 = &temp4;
11673 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11674 }
11675 }
11676 if (obj4) {
11677 {
11678 arg5 = (long)(SWIG_As_long(obj4));
11679 if (SWIG_arg_fail(5)) SWIG_fail;
11680 }
11681 }
11682 if (obj5) {
11683 {
11684 arg6 = wxString_in_helper(obj5);
11685 if (arg6 == NULL) SWIG_fail;
11686 temp6 = true;
11687 }
11688 }
11689 {
11690 if (!wxPyCheckForApp()) SWIG_fail;
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
11697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11698 {
11699 if (temp6)
11700 delete arg6;
11701 }
11702 return resultobj;
11703 fail:
11704 {
11705 if (temp6)
11706 delete arg6;
11707 }
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj;
11714 wxPyVListBox *result;
11715 char *kwnames[] = {
11716 NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11720 {
11721 if (!wxPyCheckForApp()) SWIG_fail;
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxPyVListBox *)new wxPyVListBox();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11738 PyObject *arg2 = (PyObject *) 0 ;
11739 PyObject *arg3 = (PyObject *) 0 ;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 PyObject * obj2 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "self",(char *) "_class", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
11748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail;
11750 arg2 = obj1;
11751 arg3 = obj2;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 (arg1)->_setCallbackInfo(arg2,arg3);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 Py_INCREF(Py_None); resultobj = Py_None;
11760 return resultobj;
11761 fail:
11762 return NULL;
11763 }
11764
11765
11766 static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
11767 PyObject *resultobj;
11768 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11769 wxWindow *arg2 = (wxWindow *) 0 ;
11770 int arg3 = (int) wxID_ANY ;
11771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11773 wxSize const &arg5_defvalue = wxDefaultSize ;
11774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11775 long arg6 = (long) 0 ;
11776 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11777 wxString *arg7 = (wxString *) &arg7_defvalue ;
11778 bool result;
11779 wxPoint temp4 ;
11780 wxSize temp5 ;
11781 bool temp7 = false ;
11782 PyObject * obj0 = 0 ;
11783 PyObject * obj1 = 0 ;
11784 PyObject * obj2 = 0 ;
11785 PyObject * obj3 = 0 ;
11786 PyObject * obj4 = 0 ;
11787 PyObject * obj5 = 0 ;
11788 PyObject * obj6 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11795 if (SWIG_arg_fail(1)) SWIG_fail;
11796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11797 if (SWIG_arg_fail(2)) SWIG_fail;
11798 if (obj2) {
11799 {
11800 arg3 = (int)(SWIG_As_int(obj2));
11801 if (SWIG_arg_fail(3)) SWIG_fail;
11802 }
11803 }
11804 if (obj3) {
11805 {
11806 arg4 = &temp4;
11807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11808 }
11809 }
11810 if (obj4) {
11811 {
11812 arg5 = &temp5;
11813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11814 }
11815 }
11816 if (obj5) {
11817 {
11818 arg6 = (long)(SWIG_As_long(obj5));
11819 if (SWIG_arg_fail(6)) SWIG_fail;
11820 }
11821 }
11822 if (obj6) {
11823 {
11824 arg7 = wxString_in_helper(obj6);
11825 if (arg7 == NULL) SWIG_fail;
11826 temp7 = true;
11827 }
11828 }
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11832
11833 wxPyEndAllowThreads(__tstate);
11834 if (PyErr_Occurred()) SWIG_fail;
11835 }
11836 {
11837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11838 }
11839 {
11840 if (temp7)
11841 delete arg7;
11842 }
11843 return resultobj;
11844 fail:
11845 {
11846 if (temp7)
11847 delete arg7;
11848 }
11849 return NULL;
11850 }
11851
11852
11853 static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11856 size_t result;
11857 PyObject * obj0 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
11863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail;
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11874 }
11875 return resultobj;
11876 fail:
11877 return NULL;
11878 }
11879
11880
11881 static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11882 PyObject *resultobj;
11883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11884 bool result;
11885 PyObject * obj0 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
11891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
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_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11912 int result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",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 = (int)((wxPyVListBox const *)arg1)->GetSelection();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 {
11929 resultobj = SWIG_From_int((int)(result));
11930 }
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11940 size_t arg2 ;
11941 bool result;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self",(char *) "item", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
11949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail;
11951 {
11952 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11953 if (SWIG_arg_fail(2)) SWIG_fail;
11954 }
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
11965 return resultobj;
11966 fail:
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11974 size_t arg2 ;
11975 bool result;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "item", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
11983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail;
11985 {
11986 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11987 if (SWIG_arg_fail(2)) SWIG_fail;
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 {
11997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11998 }
11999 return resultobj;
12000 fail:
12001 return NULL;
12002 }
12003
12004
12005 static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12008 size_t result;
12009 PyObject * obj0 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
12015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail;
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12026 }
12027 return resultobj;
12028 fail:
12029 return NULL;
12030 }
12031
12032
12033 static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12034 PyObject *resultobj;
12035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12036 PyObject *result;
12037 PyObject * obj0 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
12043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12044 if (SWIG_arg_fail(1)) SWIG_fail;
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 resultobj = result;
12053 return resultobj;
12054 fail:
12055 return NULL;
12056 }
12057
12058
12059 static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
12060 PyObject *resultobj;
12061 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12062 unsigned long arg2 ;
12063 PyObject *result;
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self",(char *) "cookie", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
12071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12072 if (SWIG_arg_fail(1)) SWIG_fail;
12073 {
12074 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12075 if (SWIG_arg_fail(2)) SWIG_fail;
12076 }
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 resultobj = result;
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12094 wxPoint result;
12095 PyObject * obj0 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
12101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail;
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = ((wxPyVListBox const *)arg1)->GetMargins();
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 {
12111 wxPoint * resultptr;
12112 resultptr = new wxPoint((wxPoint &)(result));
12113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12114 }
12115 return resultobj;
12116 fail:
12117 return NULL;
12118 }
12119
12120
12121 static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12124 wxColour *result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
12131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail;
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 {
12136 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12137 result = (wxColour *) &_result_ref;
12138 }
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12153 size_t arg2 ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "count", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12162 if (SWIG_arg_fail(1)) SWIG_fail;
12163 {
12164 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12165 if (SWIG_arg_fail(2)) SWIG_fail;
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetItemCount(arg2);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
12190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->Clear();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203 }
12204
12205
12206 static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
12207 PyObject *resultobj;
12208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12209 int arg2 ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self",(char *) "selection", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12218 if (SWIG_arg_fail(1)) SWIG_fail;
12219 {
12220 arg2 = (int)(SWIG_As_int(obj1));
12221 if (SWIG_arg_fail(2)) SWIG_fail;
12222 }
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 (arg1)->SetSelection(arg2);
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 Py_INCREF(Py_None); resultobj = Py_None;
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj;
12239 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12240 size_t arg2 ;
12241 bool arg3 = (bool) true ;
12242 bool result;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 PyObject * obj2 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self",(char *) "item",(char *) "select", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
12251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12252 if (SWIG_arg_fail(1)) SWIG_fail;
12253 {
12254 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12255 if (SWIG_arg_fail(2)) SWIG_fail;
12256 }
12257 if (obj2) {
12258 {
12259 arg3 = (bool)(SWIG_As_bool(obj2));
12260 if (SWIG_arg_fail(3)) SWIG_fail;
12261 }
12262 }
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = (bool)(arg1)->Select(arg2,arg3);
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 {
12271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12272 }
12273 return resultobj;
12274 fail:
12275 return NULL;
12276 }
12277
12278
12279 static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
12280 PyObject *resultobj;
12281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12282 size_t arg2 ;
12283 size_t arg3 ;
12284 bool result;
12285 PyObject * obj0 = 0 ;
12286 PyObject * obj1 = 0 ;
12287 PyObject * obj2 = 0 ;
12288 char *kwnames[] = {
12289 (char *) "self",(char *) "from",(char *) "to", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail;
12295 {
12296 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12297 if (SWIG_arg_fail(2)) SWIG_fail;
12298 }
12299 {
12300 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12301 if (SWIG_arg_fail(3)) SWIG_fail;
12302 }
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 result = (bool)(arg1)->SelectRange(arg2,arg3);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 {
12311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12312 }
12313 return resultobj;
12314 fail:
12315 return NULL;
12316 }
12317
12318
12319 static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12322 size_t arg2 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self",(char *) "item", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
12332 {
12333 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12334 if (SWIG_arg_fail(2)) SWIG_fail;
12335 }
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->Toggle(arg2);
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 Py_INCREF(Py_None); resultobj = Py_None;
12344 return resultobj;
12345 fail:
12346 return NULL;
12347 }
12348
12349
12350 static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12353 bool result;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
12360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail;
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (bool)(arg1)->SelectAll();
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 {
12370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12371 }
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 bool result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (bool)(arg1)->DeselectAll();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 {
12398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12399 }
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12409 wxPoint *arg2 = 0 ;
12410 wxPoint temp2 ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "pt", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
12420 {
12421 arg2 = &temp2;
12422 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetMargins((wxPoint const &)*arg2);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj;
12440 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12441 int arg2 ;
12442 int arg3 ;
12443 PyObject * obj0 = 0 ;
12444 PyObject * obj1 = 0 ;
12445 PyObject * obj2 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "x",(char *) "y", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
12451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail;
12453 {
12454 arg2 = (int)(SWIG_As_int(obj1));
12455 if (SWIG_arg_fail(2)) SWIG_fail;
12456 }
12457 {
12458 arg3 = (int)(SWIG_As_int(obj2));
12459 if (SWIG_arg_fail(3)) SWIG_fail;
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetMargins(arg2,arg3);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12478 wxColour *arg2 = 0 ;
12479 wxColour temp2 ;
12480 PyObject * obj0 = 0 ;
12481 PyObject * obj1 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self",(char *) "col", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
12487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail;
12489 {
12490 arg2 = &temp2;
12491 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 Py_INCREF(Py_None); resultobj = Py_None;
12501 return resultobj;
12502 fail:
12503 return NULL;
12504 }
12505
12506
12507 static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
12508 PyObject *obj;
12509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12511 Py_INCREF(obj);
12512 return Py_BuildValue((char *)"");
12513 }
12514 static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxWindow *arg1 = (wxWindow *) 0 ;
12517 int arg2 = (int) wxID_ANY ;
12518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12520 wxSize const &arg4_defvalue = wxDefaultSize ;
12521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12522 long arg5 = (long) 0 ;
12523 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12524 wxString *arg6 = (wxString *) &arg6_defvalue ;
12525 wxPyHtmlListBox *result;
12526 wxPoint temp3 ;
12527 wxSize temp4 ;
12528 bool temp6 = false ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 PyObject * obj2 = 0 ;
12532 PyObject * obj3 = 0 ;
12533 PyObject * obj4 = 0 ;
12534 PyObject * obj5 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12541 if (SWIG_arg_fail(1)) SWIG_fail;
12542 if (obj1) {
12543 {
12544 arg2 = (int)(SWIG_As_int(obj1));
12545 if (SWIG_arg_fail(2)) SWIG_fail;
12546 }
12547 }
12548 if (obj2) {
12549 {
12550 arg3 = &temp3;
12551 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12552 }
12553 }
12554 if (obj3) {
12555 {
12556 arg4 = &temp4;
12557 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12558 }
12559 }
12560 if (obj4) {
12561 {
12562 arg5 = (long)(SWIG_As_long(obj4));
12563 if (SWIG_arg_fail(5)) SWIG_fail;
12564 }
12565 }
12566 if (obj5) {
12567 {
12568 arg6 = wxString_in_helper(obj5);
12569 if (arg6 == NULL) SWIG_fail;
12570 temp6 = true;
12571 }
12572 }
12573 {
12574 if (!wxPyCheckForApp()) SWIG_fail;
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12577
12578 wxPyEndAllowThreads(__tstate);
12579 if (PyErr_Occurred()) SWIG_fail;
12580 }
12581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12582 {
12583 if (temp6)
12584 delete arg6;
12585 }
12586 return resultobj;
12587 fail:
12588 {
12589 if (temp6)
12590 delete arg6;
12591 }
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxPyHtmlListBox *result;
12599 char *kwnames[] = {
12600 NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12604 {
12605 if (!wxPyCheckForApp()) SWIG_fail;
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12622 PyObject *arg2 = (PyObject *) 0 ;
12623 PyObject *arg3 = (PyObject *) 0 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 PyObject * obj2 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self",(char *) "self",(char *) "_class", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
12632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail;
12634 arg2 = obj1;
12635 arg3 = obj2;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 (arg1)->_setCallbackInfo(arg2,arg3);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 Py_INCREF(Py_None); resultobj = Py_None;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12653 wxWindow *arg2 = (wxWindow *) 0 ;
12654 int arg3 = (int) wxID_ANY ;
12655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12657 wxSize const &arg5_defvalue = wxDefaultSize ;
12658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12659 long arg6 = (long) 0 ;
12660 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12661 wxString *arg7 = (wxString *) &arg7_defvalue ;
12662 bool result;
12663 wxPoint temp4 ;
12664 wxSize temp5 ;
12665 bool temp7 = false ;
12666 PyObject * obj0 = 0 ;
12667 PyObject * obj1 = 0 ;
12668 PyObject * obj2 = 0 ;
12669 PyObject * obj3 = 0 ;
12670 PyObject * obj4 = 0 ;
12671 PyObject * obj5 = 0 ;
12672 PyObject * obj6 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12675 };
12676
12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail;
12680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12681 if (SWIG_arg_fail(2)) SWIG_fail;
12682 if (obj2) {
12683 {
12684 arg3 = (int)(SWIG_As_int(obj2));
12685 if (SWIG_arg_fail(3)) SWIG_fail;
12686 }
12687 }
12688 if (obj3) {
12689 {
12690 arg4 = &temp4;
12691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12692 }
12693 }
12694 if (obj4) {
12695 {
12696 arg5 = &temp5;
12697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12698 }
12699 }
12700 if (obj5) {
12701 {
12702 arg6 = (long)(SWIG_As_long(obj5));
12703 if (SWIG_arg_fail(6)) SWIG_fail;
12704 }
12705 }
12706 if (obj6) {
12707 {
12708 arg7 = wxString_in_helper(obj6);
12709 if (arg7 == NULL) SWIG_fail;
12710 temp7 = true;
12711 }
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 {
12721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12722 }
12723 {
12724 if (temp7)
12725 delete arg7;
12726 }
12727 return resultobj;
12728 fail:
12729 {
12730 if (temp7)
12731 delete arg7;
12732 }
12733 return NULL;
12734 }
12735
12736
12737 static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
12738 PyObject *resultobj;
12739 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12740 PyObject * obj0 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
12746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail;
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->RefreshAll();
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 Py_INCREF(Py_None); resultobj = Py_None;
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12765 size_t arg2 ;
12766 PyObject * obj0 = 0 ;
12767 PyObject * obj1 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self",(char *) "count", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
12773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail;
12775 {
12776 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12777 if (SWIG_arg_fail(2)) SWIG_fail;
12778 }
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 (arg1)->SetItemCount(arg2);
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_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
12794 PyObject *resultobj;
12795 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12796 wxFileSystem *result;
12797 PyObject * obj0 = 0 ;
12798 char *kwnames[] = {
12799 (char *) "self", NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
12803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12804 if (SWIG_arg_fail(1)) SWIG_fail;
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 {
12808 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12809 result = (wxFileSystem *) &_result_ref;
12810 }
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
12823 PyObject *obj;
12824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12825 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12826 Py_INCREF(obj);
12827 return Py_BuildValue((char *)"");
12828 }
12829 static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12830 PyObject *resultobj;
12831 wxPyTaskBarIcon *result;
12832 char *kwnames[] = {
12833 NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12837 {
12838 if (!wxPyCheckForApp()) SWIG_fail;
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
12841
12842 wxPyEndAllowThreads(__tstate);
12843 if (PyErr_Occurred()) SWIG_fail;
12844 }
12845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
12846 return resultobj;
12847 fail:
12848 return NULL;
12849 }
12850
12851
12852 static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12853 PyObject *resultobj;
12854 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12855 PyObject *arg2 = (PyObject *) 0 ;
12856 PyObject *arg3 = (PyObject *) 0 ;
12857 int arg4 ;
12858 PyObject * obj0 = 0 ;
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
12862 char *kwnames[] = {
12863 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12864 };
12865
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12868 if (SWIG_arg_fail(1)) SWIG_fail;
12869 arg2 = obj1;
12870 arg3 = obj2;
12871 {
12872 arg4 = (int)(SWIG_As_int(obj3));
12873 if (SWIG_arg_fail(4)) SWIG_fail;
12874 }
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886 }
12887
12888
12889 static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj;
12891 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
12898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail;
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 wxPyTaskBarIcon_Destroy(arg1);
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12917 bool result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
12924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail;
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 {
12934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12935 }
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12945 bool result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
12952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12971 PyObject *resultobj;
12972 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12973 wxIcon *arg2 = 0 ;
12974 wxString const &arg3_defvalue = wxPyEmptyString ;
12975 wxString *arg3 = (wxString *) &arg3_defvalue ;
12976 bool result;
12977 bool temp3 = false ;
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 PyObject * obj2 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail;
12988 {
12989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12990 if (SWIG_arg_fail(2)) SWIG_fail;
12991 if (arg2 == NULL) {
12992 SWIG_null_ref("wxIcon");
12993 }
12994 if (SWIG_arg_fail(2)) SWIG_fail;
12995 }
12996 if (obj2) {
12997 {
12998 arg3 = wxString_in_helper(obj2);
12999 if (arg3 == NULL) SWIG_fail;
13000 temp3 = true;
13001 }
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 {
13011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13012 }
13013 {
13014 if (temp3)
13015 delete arg3;
13016 }
13017 return resultobj;
13018 fail:
13019 {
13020 if (temp3)
13021 delete arg3;
13022 }
13023 return NULL;
13024 }
13025
13026
13027 static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13030 bool result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
13037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->RemoveIcon();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13058 wxMenu *arg2 = (wxMenu *) 0 ;
13059 bool result;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "menu", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
13067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail;
13069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13070 if (SWIG_arg_fail(2)) SWIG_fail;
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (bool)(arg1)->PopupMenu(arg2);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
13078 {
13079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13080 }
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
13088 PyObject *obj;
13089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13090 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
13091 Py_INCREF(obj);
13092 return Py_BuildValue((char *)"");
13093 }
13094 static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxEventType arg1 ;
13097 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13098 wxTaskBarIconEvent *result;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "evtType",(char *) "tbIcon", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
13106 {
13107 arg1 = (wxEventType)(SWIG_As_int(obj0));
13108 if (SWIG_arg_fail(1)) SWIG_fail;
13109 }
13110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13111 if (SWIG_arg_fail(2)) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
13127 PyObject *obj;
13128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13129 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13130 Py_INCREF(obj);
13131 return Py_BuildValue((char *)"");
13132 }
13133 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
13134 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13135 return 1;
13136 }
13137
13138
13139 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
13140 PyObject *pyobj;
13141
13142 {
13143 #if wxUSE_UNICODE
13144 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13145 #else
13146 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13147 #endif
13148 }
13149 return pyobj;
13150 }
13151
13152
13153 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
13154 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13155 return 1;
13156 }
13157
13158
13159 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
13160 PyObject *pyobj;
13161
13162 {
13163 #if wxUSE_UNICODE
13164 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13165 #else
13166 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13167 #endif
13168 }
13169 return pyobj;
13170 }
13171
13172
13173 static int _wrap_DirDialogNameStr_set(PyObject *) {
13174 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13175 return 1;
13176 }
13177
13178
13179 static PyObject *_wrap_DirDialogNameStr_get(void) {
13180 PyObject *pyobj;
13181
13182 {
13183 #if wxUSE_UNICODE
13184 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13185 #else
13186 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13187 #endif
13188 }
13189 return pyobj;
13190 }
13191
13192
13193 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
13194 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13195 return 1;
13196 }
13197
13198
13199 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
13200 PyObject *pyobj;
13201
13202 {
13203 #if wxUSE_UNICODE
13204 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13205 #else
13206 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13207 #endif
13208 }
13209 return pyobj;
13210 }
13211
13212
13213 static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
13214 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13215 return 1;
13216 }
13217
13218
13219 static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
13220 PyObject *pyobj;
13221
13222 {
13223 #if wxUSE_UNICODE
13224 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13225 #else
13226 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13227 #endif
13228 }
13229 return pyobj;
13230 }
13231
13232
13233 static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
13234 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13235 return 1;
13236 }
13237
13238
13239 static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
13240 PyObject *pyobj;
13241
13242 {
13243 #if wxUSE_UNICODE
13244 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13245 #else
13246 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13247 #endif
13248 }
13249 return pyobj;
13250 }
13251
13252
13253 static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxColourData *result;
13256 char *kwnames[] = {
13257 NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (wxColourData *)new wxColourData();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13269 return resultobj;
13270 fail:
13271 return NULL;
13272 }
13273
13274
13275 static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13276 PyObject *resultobj;
13277 wxColourData *arg1 = (wxColourData *) 0 ;
13278 PyObject * obj0 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
13284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail;
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 delete arg1;
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxColourData *arg1 = (wxColourData *) 0 ;
13303 bool result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
13310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail;
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (bool)(arg1)->GetChooseFull();
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 {
13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxColourData *arg1 = (wxColourData *) 0 ;
13331 wxColour result;
13332 PyObject * obj0 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
13338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13339 if (SWIG_arg_fail(1)) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (arg1)->GetColour();
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 {
13348 wxColour * resultptr;
13349 resultptr = new wxColour((wxColour &)(result));
13350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13351 }
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxColourData *arg1 = (wxColourData *) 0 ;
13361 int arg2 ;
13362 wxColour result;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "i", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
13370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail;
13372 {
13373 arg2 = (int)(SWIG_As_int(obj1));
13374 if (SWIG_arg_fail(2)) SWIG_fail;
13375 }
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (arg1)->GetCustomColour(arg2);
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 {
13384 wxColour * resultptr;
13385 resultptr = new wxColour((wxColour &)(result));
13386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13387 }
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxColourData *arg1 = (wxColourData *) 0 ;
13397 int arg2 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "flag", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
13405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail;
13407 {
13408 arg2 = (int)(SWIG_As_int(obj1));
13409 if (SWIG_arg_fail(2)) SWIG_fail;
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetChooseFull(arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxColourData *arg1 = (wxColourData *) 0 ;
13428 wxColour *arg2 = 0 ;
13429 wxColour temp2 ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "colour", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
13437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13438 if (SWIG_arg_fail(1)) SWIG_fail;
13439 {
13440 arg2 = &temp2;
13441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13442 }
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetColour((wxColour const &)*arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454 }
13455
13456
13457 static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
13458 PyObject *resultobj;
13459 wxColourData *arg1 = (wxColourData *) 0 ;
13460 int arg2 ;
13461 wxColour *arg3 = 0 ;
13462 wxColour temp3 ;
13463 PyObject * obj0 = 0 ;
13464 PyObject * obj1 = 0 ;
13465 PyObject * obj2 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "i",(char *) "colour", NULL
13468 };
13469
13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
13471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail;
13473 {
13474 arg2 = (int)(SWIG_As_int(obj1));
13475 if (SWIG_arg_fail(2)) SWIG_fail;
13476 }
13477 {
13478 arg3 = &temp3;
13479 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 Py_INCREF(Py_None); resultobj = Py_None;
13489 return resultobj;
13490 fail:
13491 return NULL;
13492 }
13493
13494
13495 static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
13496 PyObject *obj;
13497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13499 Py_INCREF(obj);
13500 return Py_BuildValue((char *)"");
13501 }
13502 static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxWindow *arg1 = (wxWindow *) 0 ;
13505 wxColourData *arg2 = (wxColourData *) NULL ;
13506 wxColourDialog *result;
13507 PyObject * obj0 = 0 ;
13508 PyObject * obj1 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "parent",(char *) "data", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
13514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13515 if (SWIG_arg_fail(1)) SWIG_fail;
13516 if (obj1) {
13517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13518 if (SWIG_arg_fail(2)) SWIG_fail;
13519 }
13520 {
13521 if (!wxPyCheckForApp()) SWIG_fail;
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13538 wxColourData *result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
13545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13546 if (SWIG_arg_fail(1)) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 {
13550 wxColourData &_result_ref = (arg1)->GetColourData();
13551 result = (wxColourData *) &_result_ref;
13552 }
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
13565 PyObject *obj;
13566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13568 Py_INCREF(obj);
13569 return Py_BuildValue((char *)"");
13570 }
13571 static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxWindow *arg1 = (wxWindow *) 0 ;
13574 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13575 wxString *arg2 = (wxString *) &arg2_defvalue ;
13576 wxString const &arg3_defvalue = wxPyEmptyString ;
13577 wxString *arg3 = (wxString *) &arg3_defvalue ;
13578 long arg4 = (long) 0 ;
13579 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13580 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13581 wxSize const &arg6_defvalue = wxDefaultSize ;
13582 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13583 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13584 wxString *arg7 = (wxString *) &arg7_defvalue ;
13585 wxDirDialog *result;
13586 bool temp2 = false ;
13587 bool temp3 = false ;
13588 wxPoint temp5 ;
13589 wxSize temp6 ;
13590 bool temp7 = false ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 PyObject * obj2 = 0 ;
13594 PyObject * obj3 = 0 ;
13595 PyObject * obj4 = 0 ;
13596 PyObject * obj5 = 0 ;
13597 PyObject * obj6 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail;
13605 if (obj1) {
13606 {
13607 arg2 = wxString_in_helper(obj1);
13608 if (arg2 == NULL) SWIG_fail;
13609 temp2 = true;
13610 }
13611 }
13612 if (obj2) {
13613 {
13614 arg3 = wxString_in_helper(obj2);
13615 if (arg3 == NULL) SWIG_fail;
13616 temp3 = true;
13617 }
13618 }
13619 if (obj3) {
13620 {
13621 arg4 = (long)(SWIG_As_long(obj3));
13622 if (SWIG_arg_fail(4)) SWIG_fail;
13623 }
13624 }
13625 if (obj4) {
13626 {
13627 arg5 = &temp5;
13628 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13629 }
13630 }
13631 if (obj5) {
13632 {
13633 arg6 = &temp6;
13634 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13635 }
13636 }
13637 if (obj6) {
13638 {
13639 arg7 = wxString_in_helper(obj6);
13640 if (arg7 == NULL) SWIG_fail;
13641 temp7 = true;
13642 }
13643 }
13644 {
13645 if (!wxPyCheckForApp()) SWIG_fail;
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13653 {
13654 if (temp2)
13655 delete arg2;
13656 }
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 {
13662 if (temp7)
13663 delete arg7;
13664 }
13665 return resultobj;
13666 fail:
13667 {
13668 if (temp2)
13669 delete arg2;
13670 }
13671 {
13672 if (temp3)
13673 delete arg3;
13674 }
13675 {
13676 if (temp7)
13677 delete arg7;
13678 }
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13686 wxString result;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
13693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13694 if (SWIG_arg_fail(1)) SWIG_fail;
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (arg1)->GetPath();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 {
13703 #if wxUSE_UNICODE
13704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13705 #else
13706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13707 #endif
13708 }
13709 return resultobj;
13710 fail:
13711 return NULL;
13712 }
13713
13714
13715 static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13716 PyObject *resultobj;
13717 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13718 wxString result;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
13725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13726 if (SWIG_arg_fail(1)) SWIG_fail;
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 result = (arg1)->GetMessage();
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 {
13735 #if wxUSE_UNICODE
13736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13737 #else
13738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13739 #endif
13740 }
13741 return resultobj;
13742 fail:
13743 return NULL;
13744 }
13745
13746
13747 static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13750 long result;
13751 PyObject * obj0 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
13757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(1)) SWIG_fail;
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 result = (long)(arg1)->GetStyle();
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 {
13767 resultobj = SWIG_From_long((long)(result));
13768 }
13769 return resultobj;
13770 fail:
13771 return NULL;
13772 }
13773
13774
13775 static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13778 wxString *arg2 = 0 ;
13779 bool temp2 = false ;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self",(char *) "message", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail;
13789 {
13790 arg2 = wxString_in_helper(obj1);
13791 if (arg2 == NULL) SWIG_fail;
13792 temp2 = true;
13793 }
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 (arg1)->SetMessage((wxString const &)*arg2);
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 Py_INCREF(Py_None); resultobj = Py_None;
13802 {
13803 if (temp2)
13804 delete arg2;
13805 }
13806 return resultobj;
13807 fail:
13808 {
13809 if (temp2)
13810 delete arg2;
13811 }
13812 return NULL;
13813 }
13814
13815
13816 static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13819 wxString *arg2 = 0 ;
13820 bool temp2 = false ;
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "path", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
13828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13829 if (SWIG_arg_fail(1)) SWIG_fail;
13830 {
13831 arg2 = wxString_in_helper(obj1);
13832 if (arg2 == NULL) SWIG_fail;
13833 temp2 = true;
13834 }
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 (arg1)->SetPath((wxString const &)*arg2);
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
13842 Py_INCREF(Py_None); resultobj = Py_None;
13843 {
13844 if (temp2)
13845 delete arg2;
13846 }
13847 return resultobj;
13848 fail:
13849 {
13850 if (temp2)
13851 delete arg2;
13852 }
13853 return NULL;
13854 }
13855
13856
13857 static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
13858 PyObject *obj;
13859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13860 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13861 Py_INCREF(obj);
13862 return Py_BuildValue((char *)"");
13863 }
13864 static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
13865 PyObject *resultobj;
13866 wxWindow *arg1 = (wxWindow *) 0 ;
13867 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13868 wxString *arg2 = (wxString *) &arg2_defvalue ;
13869 wxString const &arg3_defvalue = wxPyEmptyString ;
13870 wxString *arg3 = (wxString *) &arg3_defvalue ;
13871 wxString const &arg4_defvalue = wxPyEmptyString ;
13872 wxString *arg4 = (wxString *) &arg4_defvalue ;
13873 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13874 wxString *arg5 = (wxString *) &arg5_defvalue ;
13875 long arg6 = (long) 0 ;
13876 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13877 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13878 wxFileDialog *result;
13879 bool temp2 = false ;
13880 bool temp3 = false ;
13881 bool temp4 = false ;
13882 bool temp5 = false ;
13883 wxPoint temp7 ;
13884 PyObject * obj0 = 0 ;
13885 PyObject * obj1 = 0 ;
13886 PyObject * obj2 = 0 ;
13887 PyObject * obj3 = 0 ;
13888 PyObject * obj4 = 0 ;
13889 PyObject * obj5 = 0 ;
13890 PyObject * obj6 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail;
13898 if (obj1) {
13899 {
13900 arg2 = wxString_in_helper(obj1);
13901 if (arg2 == NULL) SWIG_fail;
13902 temp2 = true;
13903 }
13904 }
13905 if (obj2) {
13906 {
13907 arg3 = wxString_in_helper(obj2);
13908 if (arg3 == NULL) SWIG_fail;
13909 temp3 = true;
13910 }
13911 }
13912 if (obj3) {
13913 {
13914 arg4 = wxString_in_helper(obj3);
13915 if (arg4 == NULL) SWIG_fail;
13916 temp4 = true;
13917 }
13918 }
13919 if (obj4) {
13920 {
13921 arg5 = wxString_in_helper(obj4);
13922 if (arg5 == NULL) SWIG_fail;
13923 temp5 = true;
13924 }
13925 }
13926 if (obj5) {
13927 {
13928 arg6 = (long)(SWIG_As_long(obj5));
13929 if (SWIG_arg_fail(6)) SWIG_fail;
13930 }
13931 }
13932 if (obj6) {
13933 {
13934 arg7 = &temp7;
13935 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13936 }
13937 }
13938 {
13939 if (!wxPyCheckForApp()) SWIG_fail;
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 {
13952 if (temp3)
13953 delete arg3;
13954 }
13955 {
13956 if (temp4)
13957 delete arg4;
13958 }
13959 {
13960 if (temp5)
13961 delete arg5;
13962 }
13963 return resultobj;
13964 fail:
13965 {
13966 if (temp2)
13967 delete arg2;
13968 }
13969 {
13970 if (temp3)
13971 delete arg3;
13972 }
13973 {
13974 if (temp4)
13975 delete arg4;
13976 }
13977 {
13978 if (temp5)
13979 delete arg5;
13980 }
13981 return NULL;
13982 }
13983
13984
13985 static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
13986 PyObject *resultobj;
13987 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13988 wxString *arg2 = 0 ;
13989 bool temp2 = false ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "message", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13998 if (SWIG_arg_fail(1)) SWIG_fail;
13999 {
14000 arg2 = wxString_in_helper(obj1);
14001 if (arg2 == NULL) SWIG_fail;
14002 temp2 = true;
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->SetMessage((wxString const &)*arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023 }
14024
14025
14026 static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14027 PyObject *resultobj;
14028 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14029 wxString *arg2 = 0 ;
14030 bool temp2 = false ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "path", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
14043 temp2 = true;
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetPath((wxString const &)*arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return resultobj;
14058 fail:
14059 {
14060 if (temp2)
14061 delete arg2;
14062 }
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14070 wxString *arg2 = 0 ;
14071 bool temp2 = false ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "dir", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
14079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail;
14081 {
14082 arg2 = wxString_in_helper(obj1);
14083 if (arg2 == NULL) SWIG_fail;
14084 temp2 = true;
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 (arg1)->SetDirectory((wxString const &)*arg2);
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 Py_INCREF(Py_None); resultobj = Py_None;
14094 {
14095 if (temp2)
14096 delete arg2;
14097 }
14098 return resultobj;
14099 fail:
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return NULL;
14105 }
14106
14107
14108 static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14109 PyObject *resultobj;
14110 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14111 wxString *arg2 = 0 ;
14112 bool temp2 = false ;
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "name", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
14120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail;
14122 {
14123 arg2 = wxString_in_helper(obj1);
14124 if (arg2 == NULL) SWIG_fail;
14125 temp2 = true;
14126 }
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 (arg1)->SetFilename((wxString const &)*arg2);
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 Py_INCREF(Py_None); resultobj = Py_None;
14135 {
14136 if (temp2)
14137 delete arg2;
14138 }
14139 return resultobj;
14140 fail:
14141 {
14142 if (temp2)
14143 delete arg2;
14144 }
14145 return NULL;
14146 }
14147
14148
14149 static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14150 PyObject *resultobj;
14151 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14152 wxString *arg2 = 0 ;
14153 bool temp2 = false ;
14154 PyObject * obj0 = 0 ;
14155 PyObject * obj1 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "wildCard", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
14161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail;
14163 {
14164 arg2 = wxString_in_helper(obj1);
14165 if (arg2 == NULL) SWIG_fail;
14166 temp2 = true;
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->SetWildcard((wxString const &)*arg2);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 {
14177 if (temp2)
14178 delete arg2;
14179 }
14180 return resultobj;
14181 fail:
14182 {
14183 if (temp2)
14184 delete arg2;
14185 }
14186 return NULL;
14187 }
14188
14189
14190 static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14191 PyObject *resultobj;
14192 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14193 long arg2 ;
14194 PyObject * obj0 = 0 ;
14195 PyObject * obj1 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "style", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
14201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail;
14203 {
14204 arg2 = (long)(SWIG_As_long(obj1));
14205 if (SWIG_arg_fail(2)) SWIG_fail;
14206 }
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 (arg1)->SetStyle(arg2);
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 Py_INCREF(Py_None); resultobj = Py_None;
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14222 PyObject *resultobj;
14223 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14224 int arg2 ;
14225 PyObject * obj0 = 0 ;
14226 PyObject * obj1 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self",(char *) "filterIndex", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
14232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail;
14234 {
14235 arg2 = (int)(SWIG_As_int(obj1));
14236 if (SWIG_arg_fail(2)) SWIG_fail;
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->SetFilterIndex(arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_FileDialog_GetMessage(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_GetMessage",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)->GetMessage();
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_GetPath(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_GetPath",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)->GetPath();
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_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14319 wxString result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",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 = ((wxFileDialog const *)arg1)->GetDirectory();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 #if wxUSE_UNICODE
14337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14338 #else
14339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14340 #endif
14341 }
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
14349 PyObject *resultobj;
14350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14351 wxString result;
14352 PyObject * obj0 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
14358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail;
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = ((wxFileDialog const *)arg1)->GetFilename();
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 {
14368 #if wxUSE_UNICODE
14369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14370 #else
14371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14372 #endif
14373 }
14374 return resultobj;
14375 fail:
14376 return NULL;
14377 }
14378
14379
14380 static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
14381 PyObject *resultobj;
14382 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14383 wxString result;
14384 PyObject * obj0 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "self", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
14390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14391 if (SWIG_arg_fail(1)) SWIG_fail;
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = ((wxFileDialog const *)arg1)->GetWildcard();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 #if wxUSE_UNICODE
14401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14402 #else
14403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14404 #endif
14405 }
14406 return resultobj;
14407 fail:
14408 return NULL;
14409 }
14410
14411
14412 static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
14413 PyObject *resultobj;
14414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14415 long result;
14416 PyObject * obj0 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 {
14432 resultobj = SWIG_From_long((long)(result));
14433 }
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14443 int result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 resultobj = SWIG_From_int((int)(result));
14461 }
14462 return resultobj;
14463 fail:
14464 return NULL;
14465 }
14466
14467
14468 static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj;
14470 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14471 PyObject *result;
14472 PyObject * obj0 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
14478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail;
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 resultobj = result;
14488 return resultobj;
14489 fail:
14490 return NULL;
14491 }
14492
14493
14494 static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14497 PyObject *result;
14498 PyObject * obj0 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
14504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14505 if (SWIG_arg_fail(1)) SWIG_fail;
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = result;
14514 return resultobj;
14515 fail:
14516 return NULL;
14517 }
14518
14519
14520 static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
14521 PyObject *obj;
14522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14523 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14524 Py_INCREF(obj);
14525 return Py_BuildValue((char *)"");
14526 }
14527 static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxWindow *arg1 = (wxWindow *) 0 ;
14530 wxString *arg2 = 0 ;
14531 wxString *arg3 = 0 ;
14532 int arg4 = (int) 0 ;
14533 wxString *arg5 = (wxString *) NULL ;
14534 long arg6 = (long) wxCHOICEDLG_STYLE ;
14535 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14536 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14537 wxMultiChoiceDialog *result;
14538 bool temp2 = false ;
14539 bool temp3 = false ;
14540 wxPoint temp7 ;
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 PyObject * obj2 = 0 ;
14544 PyObject * obj3 = 0 ;
14545 PyObject * obj4 = 0 ;
14546 PyObject * obj5 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail;
14554 {
14555 arg2 = wxString_in_helper(obj1);
14556 if (arg2 == NULL) SWIG_fail;
14557 temp2 = true;
14558 }
14559 {
14560 arg3 = wxString_in_helper(obj2);
14561 if (arg3 == NULL) SWIG_fail;
14562 temp3 = true;
14563 }
14564 if (obj3) {
14565 {
14566 arg4 = PyList_Size(obj3);
14567 arg5 = wxString_LIST_helper(obj3);
14568 if (arg5 == NULL) SWIG_fail;
14569 }
14570 }
14571 if (obj4) {
14572 {
14573 arg6 = (long)(SWIG_As_long(obj4));
14574 if (SWIG_arg_fail(6)) SWIG_fail;
14575 }
14576 }
14577 if (obj5) {
14578 {
14579 arg7 = &temp7;
14580 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14581 }
14582 }
14583 {
14584 if (!wxPyCheckForApp()) SWIG_fail;
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14592 {
14593 if (temp2)
14594 delete arg2;
14595 }
14596 {
14597 if (temp3)
14598 delete arg3;
14599 }
14600 {
14601 if (arg5) delete [] arg5;
14602 }
14603 return resultobj;
14604 fail:
14605 {
14606 if (temp2)
14607 delete arg2;
14608 }
14609 {
14610 if (temp3)
14611 delete arg3;
14612 }
14613 {
14614 if (arg5) delete [] arg5;
14615 }
14616 return NULL;
14617 }
14618
14619
14620 static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj;
14622 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14623 wxArrayInt *arg2 = 0 ;
14624 bool temp2 = false ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self",(char *) "selections", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
14632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail;
14634 {
14635 if (! PySequence_Check(obj1)) {
14636 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14637 SWIG_fail;
14638 }
14639 arg2 = new wxArrayInt;
14640 temp2 = true;
14641 int i, len=PySequence_Length(obj1);
14642 for (i=0; i<len; i++) {
14643 PyObject* item = PySequence_GetItem(obj1, i);
14644 PyObject* number = PyNumber_Int(item);
14645 arg2->Add(PyInt_AS_LONG(number));
14646 Py_DECREF(item);
14647 Py_DECREF(number);
14648 }
14649 }
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 Py_INCREF(Py_None); resultobj = Py_None;
14658 {
14659 if (temp2) delete arg2;
14660 }
14661 return resultobj;
14662 fail:
14663 {
14664 if (temp2) delete arg2;
14665 }
14666 return NULL;
14667 }
14668
14669
14670 static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14673 PyObject *result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
14680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail;
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = result;
14690 return resultobj;
14691 fail:
14692 return NULL;
14693 }
14694
14695
14696 static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
14697 PyObject *obj;
14698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14699 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14700 Py_INCREF(obj);
14701 return Py_BuildValue((char *)"");
14702 }
14703 static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxWindow *arg1 = (wxWindow *) 0 ;
14706 wxString *arg2 = 0 ;
14707 wxString *arg3 = 0 ;
14708 int arg4 ;
14709 wxString *arg5 = (wxString *) 0 ;
14710 long arg6 = (long) wxCHOICEDLG_STYLE ;
14711 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14712 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14713 wxSingleChoiceDialog *result;
14714 bool temp2 = false ;
14715 bool temp3 = false ;
14716 wxPoint temp7 ;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 PyObject * obj2 = 0 ;
14720 PyObject * obj3 = 0 ;
14721 PyObject * obj4 = 0 ;
14722 PyObject * obj5 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail;
14730 {
14731 arg2 = wxString_in_helper(obj1);
14732 if (arg2 == NULL) SWIG_fail;
14733 temp2 = true;
14734 }
14735 {
14736 arg3 = wxString_in_helper(obj2);
14737 if (arg3 == NULL) SWIG_fail;
14738 temp3 = true;
14739 }
14740 {
14741 arg4 = PyList_Size(obj3);
14742 arg5 = wxString_LIST_helper(obj3);
14743 if (arg5 == NULL) SWIG_fail;
14744 }
14745 if (obj4) {
14746 {
14747 arg6 = (long)(SWIG_As_long(obj4));
14748 if (SWIG_arg_fail(6)) SWIG_fail;
14749 }
14750 }
14751 if (obj5) {
14752 {
14753 arg7 = &temp7;
14754 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14755 }
14756 }
14757 {
14758 if (!wxPyCheckForApp()) SWIG_fail;
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14766 {
14767 if (temp2)
14768 delete arg2;
14769 }
14770 {
14771 if (temp3)
14772 delete arg3;
14773 }
14774 {
14775 if (arg5) delete [] arg5;
14776 }
14777 return resultobj;
14778 fail:
14779 {
14780 if (temp2)
14781 delete arg2;
14782 }
14783 {
14784 if (temp3)
14785 delete arg3;
14786 }
14787 {
14788 if (arg5) delete [] arg5;
14789 }
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14797 int result;
14798 PyObject * obj0 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
14804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail;
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (int)(arg1)->GetSelection();
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 {
14814 resultobj = SWIG_From_int((int)(result));
14815 }
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14823 PyObject *resultobj;
14824 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14825 wxString result;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
14832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (arg1)->GetStringSelection();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842 #if wxUSE_UNICODE
14843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14844 #else
14845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14846 #endif
14847 }
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14857 int arg2 ;
14858 PyObject * obj0 = 0 ;
14859 PyObject * obj1 = 0 ;
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "sel", NULL
14862 };
14863
14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail;
14867 {
14868 arg2 = (int)(SWIG_As_int(obj1));
14869 if (SWIG_arg_fail(2)) SWIG_fail;
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 (arg1)->SetSelection(arg2);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 Py_INCREF(Py_None); resultobj = Py_None;
14879 return resultobj;
14880 fail:
14881 return NULL;
14882 }
14883
14884
14885 static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
14886 PyObject *obj;
14887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14889 Py_INCREF(obj);
14890 return Py_BuildValue((char *)"");
14891 }
14892 static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxWindow *arg1 = (wxWindow *) 0 ;
14895 wxString *arg2 = 0 ;
14896 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14897 wxString *arg3 = (wxString *) &arg3_defvalue ;
14898 wxString const &arg4_defvalue = wxPyEmptyString ;
14899 wxString *arg4 = (wxString *) &arg4_defvalue ;
14900 long arg5 = (long) wxTextEntryDialogStyle ;
14901 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14902 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14903 wxTextEntryDialog *result;
14904 bool temp2 = false ;
14905 bool temp3 = false ;
14906 bool temp4 = false ;
14907 wxPoint temp6 ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
14912 PyObject * obj4 = 0 ;
14913 PyObject * obj5 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail;
14921 {
14922 arg2 = wxString_in_helper(obj1);
14923 if (arg2 == NULL) SWIG_fail;
14924 temp2 = true;
14925 }
14926 if (obj2) {
14927 {
14928 arg3 = wxString_in_helper(obj2);
14929 if (arg3 == NULL) SWIG_fail;
14930 temp3 = true;
14931 }
14932 }
14933 if (obj3) {
14934 {
14935 arg4 = wxString_in_helper(obj3);
14936 if (arg4 == NULL) SWIG_fail;
14937 temp4 = true;
14938 }
14939 }
14940 if (obj4) {
14941 {
14942 arg5 = (long)(SWIG_As_long(obj4));
14943 if (SWIG_arg_fail(5)) SWIG_fail;
14944 }
14945 }
14946 if (obj5) {
14947 {
14948 arg6 = &temp6;
14949 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14950 }
14951 }
14952 {
14953 if (!wxPyCheckForApp()) SWIG_fail;
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
14961 {
14962 if (temp2)
14963 delete arg2;
14964 }
14965 {
14966 if (temp3)
14967 delete arg3;
14968 }
14969 {
14970 if (temp4)
14971 delete arg4;
14972 }
14973 return resultobj;
14974 fail:
14975 {
14976 if (temp2)
14977 delete arg2;
14978 }
14979 {
14980 if (temp3)
14981 delete arg3;
14982 }
14983 {
14984 if (temp4)
14985 delete arg4;
14986 }
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14994 wxString result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
15001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15002 if (SWIG_arg_fail(1)) SWIG_fail;
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (arg1)->GetValue();
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 {
15011 #if wxUSE_UNICODE
15012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15013 #else
15014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15015 #endif
15016 }
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15026 wxString *arg2 = 0 ;
15027 bool temp2 = false ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "value", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
15037 {
15038 arg2 = wxString_in_helper(obj1);
15039 if (arg2 == NULL) SWIG_fail;
15040 temp2 = true;
15041 }
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->SetValue((wxString const &)*arg2);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 {
15051 if (temp2)
15052 delete arg2;
15053 }
15054 return resultobj;
15055 fail:
15056 {
15057 if (temp2)
15058 delete arg2;
15059 }
15060 return NULL;
15061 }
15062
15063
15064 static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
15065 PyObject *obj;
15066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15067 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15068 Py_INCREF(obj);
15069 return Py_BuildValue((char *)"");
15070 }
15071 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15072 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15073 return 1;
15074 }
15075
15076
15077 static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
15078 PyObject *pyobj;
15079
15080 {
15081 #if wxUSE_UNICODE
15082 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15083 #else
15084 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15085 #endif
15086 }
15087 return pyobj;
15088 }
15089
15090
15091 static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxWindow *arg1 = (wxWindow *) 0 ;
15094 wxString *arg2 = 0 ;
15095 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15096 wxString *arg3 = (wxString *) &arg3_defvalue ;
15097 wxString const &arg4_defvalue = wxPyEmptyString ;
15098 wxString *arg4 = (wxString *) &arg4_defvalue ;
15099 long arg5 = (long) wxTextEntryDialogStyle ;
15100 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15101 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15102 wxPasswordEntryDialog *result;
15103 bool temp2 = false ;
15104 bool temp3 = false ;
15105 bool temp4 = false ;
15106 wxPoint temp6 ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 PyObject * obj3 = 0 ;
15111 PyObject * obj4 = 0 ;
15112 PyObject * obj5 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail;
15120 {
15121 arg2 = wxString_in_helper(obj1);
15122 if (arg2 == NULL) SWIG_fail;
15123 temp2 = true;
15124 }
15125 if (obj2) {
15126 {
15127 arg3 = wxString_in_helper(obj2);
15128 if (arg3 == NULL) SWIG_fail;
15129 temp3 = true;
15130 }
15131 }
15132 if (obj3) {
15133 {
15134 arg4 = wxString_in_helper(obj3);
15135 if (arg4 == NULL) SWIG_fail;
15136 temp4 = true;
15137 }
15138 }
15139 if (obj4) {
15140 {
15141 arg5 = (long)(SWIG_As_long(obj4));
15142 if (SWIG_arg_fail(5)) SWIG_fail;
15143 }
15144 }
15145 if (obj5) {
15146 {
15147 arg6 = &temp6;
15148 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15149 }
15150 }
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15159 {
15160 if (temp2)
15161 delete arg2;
15162 }
15163 {
15164 if (temp3)
15165 delete arg3;
15166 }
15167 {
15168 if (temp4)
15169 delete arg4;
15170 }
15171 return resultobj;
15172 fail:
15173 {
15174 if (temp2)
15175 delete arg2;
15176 }
15177 {
15178 if (temp3)
15179 delete arg3;
15180 }
15181 {
15182 if (temp4)
15183 delete arg4;
15184 }
15185 return NULL;
15186 }
15187
15188
15189 static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15190 PyObject *obj;
15191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15192 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15193 Py_INCREF(obj);
15194 return Py_BuildValue((char *)"");
15195 }
15196 static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxFontData *result;
15199 char *kwnames[] = {
15200 NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (wxFontData *)new wxFontData();
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxFontData *arg1 = (wxFontData *) 0 ;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
15227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 delete arg1;
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxFontData *arg1 = (wxFontData *) 0 ;
15246 bool arg2 ;
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "enable", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
15254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15255 if (SWIG_arg_fail(1)) SWIG_fail;
15256 {
15257 arg2 = (bool)(SWIG_As_bool(obj1));
15258 if (SWIG_arg_fail(2)) SWIG_fail;
15259 }
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 (arg1)->EnableEffects(arg2);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 Py_INCREF(Py_None); resultobj = Py_None;
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxFontData *arg1 = (wxFontData *) 0 ;
15277 bool result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
15284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (bool)(arg1)->GetAllowSymbols();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 {
15294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15295 }
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxFontData *arg1 = (wxFontData *) 0 ;
15305 wxColour result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (arg1)->GetColour();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 wxColour * resultptr;
15323 resultptr = new wxColour((wxColour &)(result));
15324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxFontData *arg1 = (wxFontData *) 0 ;
15335 wxFont result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (arg1)->GetChosenFont();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 wxFont * resultptr;
15353 resultptr = new wxFont((wxFont &)(result));
15354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15355 }
15356 return resultobj;
15357 fail:
15358 return NULL;
15359 }
15360
15361
15362 static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj;
15364 wxFontData *arg1 = (wxFontData *) 0 ;
15365 bool result;
15366 PyObject * obj0 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
15372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail;
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (bool)(arg1)->GetEnableEffects();
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 {
15382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15383 }
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxFontData *arg1 = (wxFontData *) 0 ;
15393 wxFont result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (arg1)->GetInitialFont();
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 {
15410 wxFont * resultptr;
15411 resultptr = new wxFont((wxFont &)(result));
15412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxFontData *arg1 = (wxFontData *) 0 ;
15423 bool result;
15424 PyObject * obj0 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = (bool)(arg1)->GetShowHelp();
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
15439 {
15440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15441 }
15442 return resultobj;
15443 fail:
15444 return NULL;
15445 }
15446
15447
15448 static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxFontData *arg1 = (wxFontData *) 0 ;
15451 bool arg2 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self",(char *) "allowSymbols", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
15459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail;
15461 {
15462 arg2 = (bool)(SWIG_As_bool(obj1));
15463 if (SWIG_arg_fail(2)) SWIG_fail;
15464 }
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetAllowSymbols(arg2);
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxFontData *arg1 = (wxFontData *) 0 ;
15482 wxFont *arg2 = 0 ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "font", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
15492 {
15493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15494 if (SWIG_arg_fail(2)) SWIG_fail;
15495 if (arg2 == NULL) {
15496 SWIG_null_ref("wxFont");
15497 }
15498 if (SWIG_arg_fail(2)) SWIG_fail;
15499 }
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetChosenFont((wxFont const &)*arg2);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxFontData *arg1 = (wxFontData *) 0 ;
15517 wxColour *arg2 = 0 ;
15518 wxColour temp2 ;
15519 PyObject * obj0 = 0 ;
15520 PyObject * obj1 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self",(char *) "colour", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail;
15528 {
15529 arg2 = &temp2;
15530 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetColour((wxColour const &)*arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxFontData *arg1 = (wxFontData *) 0 ;
15549 wxFont *arg2 = 0 ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "font", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
15557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail;
15559 {
15560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(2)) SWIG_fail;
15562 if (arg2 == NULL) {
15563 SWIG_null_ref("wxFont");
15564 }
15565 if (SWIG_arg_fail(2)) SWIG_fail;
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 (arg1)->SetInitialFont((wxFont const &)*arg2);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578 }
15579
15580
15581 static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
15582 PyObject *resultobj;
15583 wxFontData *arg1 = (wxFontData *) 0 ;
15584 int arg2 ;
15585 int arg3 ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "min",(char *) "max", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail;
15596 {
15597 arg2 = (int)(SWIG_As_int(obj1));
15598 if (SWIG_arg_fail(2)) SWIG_fail;
15599 }
15600 {
15601 arg3 = (int)(SWIG_As_int(obj2));
15602 if (SWIG_arg_fail(3)) SWIG_fail;
15603 }
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 (arg1)->SetRange(arg2,arg3);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 Py_INCREF(Py_None); resultobj = Py_None;
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxFontData *arg1 = (wxFontData *) 0 ;
15621 bool arg2 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "showHelp", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
15629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail;
15631 {
15632 arg2 = (bool)(SWIG_As_bool(obj1));
15633 if (SWIG_arg_fail(2)) SWIG_fail;
15634 }
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->SetShowHelp(arg2);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646 }
15647
15648
15649 static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
15650 PyObject *obj;
15651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15652 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15653 Py_INCREF(obj);
15654 return Py_BuildValue((char *)"");
15655 }
15656 static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxWindow *arg1 = (wxWindow *) 0 ;
15659 wxFontData *arg2 = 0 ;
15660 wxFontDialog *result;
15661 PyObject * obj0 = 0 ;
15662 PyObject * obj1 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "parent",(char *) "data", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
15668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail;
15670 {
15671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15672 if (SWIG_arg_fail(2)) SWIG_fail;
15673 if (arg2 == NULL) {
15674 SWIG_null_ref("wxFontData");
15675 }
15676 if (SWIG_arg_fail(2)) SWIG_fail;
15677 }
15678 {
15679 if (!wxPyCheckForApp()) SWIG_fail;
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15687 return resultobj;
15688 fail:
15689 return NULL;
15690 }
15691
15692
15693 static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15696 wxFontData *result;
15697 PyObject * obj0 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
15703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail;
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 {
15708 wxFontData &_result_ref = (arg1)->GetFontData();
15709 result = (wxFontData *) &_result_ref;
15710 }
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
15723 PyObject *obj;
15724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15726 Py_INCREF(obj);
15727 return Py_BuildValue((char *)"");
15728 }
15729 static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxWindow *arg1 = (wxWindow *) 0 ;
15732 wxString *arg2 = 0 ;
15733 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15734 wxString *arg3 = (wxString *) &arg3_defvalue ;
15735 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15736 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15737 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15738 wxMessageDialog *result;
15739 bool temp2 = false ;
15740 bool temp3 = false ;
15741 wxPoint temp5 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 PyObject * obj2 = 0 ;
15745 PyObject * obj3 = 0 ;
15746 PyObject * obj4 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail;
15754 {
15755 arg2 = wxString_in_helper(obj1);
15756 if (arg2 == NULL) SWIG_fail;
15757 temp2 = true;
15758 }
15759 if (obj2) {
15760 {
15761 arg3 = wxString_in_helper(obj2);
15762 if (arg3 == NULL) SWIG_fail;
15763 temp3 = true;
15764 }
15765 }
15766 if (obj3) {
15767 {
15768 arg4 = (long)(SWIG_As_long(obj3));
15769 if (SWIG_arg_fail(4)) SWIG_fail;
15770 }
15771 }
15772 if (obj4) {
15773 {
15774 arg5 = &temp5;
15775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15776 }
15777 }
15778 {
15779 if (!wxPyCheckForApp()) SWIG_fail;
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 {
15792 if (temp3)
15793 delete arg3;
15794 }
15795 return resultobj;
15796 fail:
15797 {
15798 if (temp2)
15799 delete arg2;
15800 }
15801 {
15802 if (temp3)
15803 delete arg3;
15804 }
15805 return NULL;
15806 }
15807
15808
15809 static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
15810 PyObject *obj;
15811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15813 Py_INCREF(obj);
15814 return Py_BuildValue((char *)"");
15815 }
15816 static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15817 PyObject *resultobj;
15818 wxString *arg1 = 0 ;
15819 wxString *arg2 = 0 ;
15820 int arg3 = (int) 100 ;
15821 wxWindow *arg4 = (wxWindow *) NULL ;
15822 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15823 wxProgressDialog *result;
15824 bool temp1 = false ;
15825 bool temp2 = false ;
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
15828 PyObject * obj2 = 0 ;
15829 PyObject * obj3 = 0 ;
15830 PyObject * obj4 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15836 {
15837 arg1 = wxString_in_helper(obj0);
15838 if (arg1 == NULL) SWIG_fail;
15839 temp1 = true;
15840 }
15841 {
15842 arg2 = wxString_in_helper(obj1);
15843 if (arg2 == NULL) SWIG_fail;
15844 temp2 = true;
15845 }
15846 if (obj2) {
15847 {
15848 arg3 = (int)(SWIG_As_int(obj2));
15849 if (SWIG_arg_fail(3)) SWIG_fail;
15850 }
15851 }
15852 if (obj3) {
15853 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15854 if (SWIG_arg_fail(4)) SWIG_fail;
15855 }
15856 if (obj4) {
15857 {
15858 arg5 = (int)(SWIG_As_int(obj4));
15859 if (SWIG_arg_fail(5)) SWIG_fail;
15860 }
15861 }
15862 {
15863 if (!wxPyCheckForApp()) SWIG_fail;
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15871 {
15872 if (temp1)
15873 delete arg1;
15874 }
15875 {
15876 if (temp2)
15877 delete arg2;
15878 }
15879 return resultobj;
15880 fail:
15881 {
15882 if (temp1)
15883 delete arg1;
15884 }
15885 {
15886 if (temp2)
15887 delete arg2;
15888 }
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15896 int arg2 ;
15897 wxString const &arg3_defvalue = wxPyEmptyString ;
15898 wxString *arg3 = (wxString *) &arg3_defvalue ;
15899 bool result;
15900 bool temp3 = false ;
15901 PyObject * obj0 = 0 ;
15902 PyObject * obj1 = 0 ;
15903 PyObject * obj2 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
15909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15910 if (SWIG_arg_fail(1)) SWIG_fail;
15911 {
15912 arg2 = (int)(SWIG_As_int(obj1));
15913 if (SWIG_arg_fail(2)) SWIG_fail;
15914 }
15915 if (obj2) {
15916 {
15917 arg3 = wxString_in_helper(obj2);
15918 if (arg3 == NULL) SWIG_fail;
15919 temp3 = true;
15920 }
15921 }
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
15929 {
15930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15931 }
15932 {
15933 if (temp3)
15934 delete arg3;
15935 }
15936 return resultobj;
15937 fail:
15938 {
15939 if (temp3)
15940 delete arg3;
15941 }
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
15955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 (arg1)->Resume();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
15972 PyObject *obj;
15973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15974 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15975 Py_INCREF(obj);
15976 return Py_BuildValue((char *)"");
15977 }
15978 static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15981 int arg2 = (int) 0 ;
15982 wxFindDialogEvent *result;
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "commandType",(char *) "id", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15990 if (obj0) {
15991 {
15992 arg1 = (wxEventType)(SWIG_As_int(obj0));
15993 if (SWIG_arg_fail(1)) SWIG_fail;
15994 }
15995 }
15996 if (obj1) {
15997 {
15998 arg2 = (int)(SWIG_As_int(obj1));
15999 if (SWIG_arg_fail(2)) SWIG_fail;
16000 }
16001 }
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16019 int result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
16026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail;
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (int)(arg1)->GetFlags();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 {
16036 resultobj = SWIG_From_int((int)(result));
16037 }
16038 return resultobj;
16039 fail:
16040 return NULL;
16041 }
16042
16043
16044 static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16045 PyObject *resultobj;
16046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16047 wxString *result;
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
16054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16055 if (SWIG_arg_fail(1)) SWIG_fail;
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 {
16059 wxString const &_result_ref = (arg1)->GetFindString();
16060 result = (wxString *) &_result_ref;
16061 }
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 {
16067 #if wxUSE_UNICODE
16068 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16069 #else
16070 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16071 #endif
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16082 wxString *result;
16083 PyObject * obj0 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
16089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail;
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 {
16094 wxString const &_result_ref = (arg1)->GetReplaceString();
16095 result = (wxString *) &_result_ref;
16096 }
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 #if wxUSE_UNICODE
16103 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16104 #else
16105 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16106 #endif
16107 }
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16117 wxFindReplaceDialog *result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
16124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16143 int arg2 ;
16144 PyObject * obj0 = 0 ;
16145 PyObject * obj1 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "flags", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail;
16153 {
16154 arg2 = (int)(SWIG_As_int(obj1));
16155 if (SWIG_arg_fail(2)) SWIG_fail;
16156 }
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 (arg1)->SetFlags(arg2);
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 Py_INCREF(Py_None); resultobj = Py_None;
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16174 wxString *arg2 = 0 ;
16175 bool temp2 = false ;
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "str", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail;
16185 {
16186 arg2 = wxString_in_helper(obj1);
16187 if (arg2 == NULL) SWIG_fail;
16188 temp2 = true;
16189 }
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 (arg1)->SetFindString((wxString const &)*arg2);
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
16197 Py_INCREF(Py_None); resultobj = Py_None;
16198 {
16199 if (temp2)
16200 delete arg2;
16201 }
16202 return resultobj;
16203 fail:
16204 {
16205 if (temp2)
16206 delete arg2;
16207 }
16208 return NULL;
16209 }
16210
16211
16212 static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj;
16214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16215 wxString *arg2 = 0 ;
16216 bool temp2 = false ;
16217 PyObject * obj0 = 0 ;
16218 PyObject * obj1 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "str", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16225 if (SWIG_arg_fail(1)) SWIG_fail;
16226 {
16227 arg2 = wxString_in_helper(obj1);
16228 if (arg2 == NULL) SWIG_fail;
16229 temp2 = true;
16230 }
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 (arg1)->SetReplaceString((wxString const &)*arg2);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 {
16240 if (temp2)
16241 delete arg2;
16242 }
16243 return resultobj;
16244 fail:
16245 {
16246 if (temp2)
16247 delete arg2;
16248 }
16249 return NULL;
16250 }
16251
16252
16253 static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
16254 PyObject *obj;
16255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16256 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16257 Py_INCREF(obj);
16258 return Py_BuildValue((char *)"");
16259 }
16260 static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 int arg1 = (int) 0 ;
16263 wxFindReplaceData *result;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "flags", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16270 if (obj0) {
16271 {
16272 arg1 = (int)(SWIG_As_int(obj0));
16273 if (SWIG_arg_fail(1)) SWIG_fail;
16274 }
16275 }
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16284 return resultobj;
16285 fail:
16286 return NULL;
16287 }
16288
16289
16290 static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
16291 PyObject *resultobj;
16292 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",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 delete arg1;
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 return resultobj;
16310 fail:
16311 return NULL;
16312 }
16313
16314
16315 static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16316 PyObject *resultobj;
16317 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16318 wxString *result;
16319 PyObject * obj0 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 {
16330 wxString const &_result_ref = (arg1)->GetFindString();
16331 result = (wxString *) &_result_ref;
16332 }
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 {
16338 #if wxUSE_UNICODE
16339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16340 #else
16341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16342 #endif
16343 }
16344 return resultobj;
16345 fail:
16346 return NULL;
16347 }
16348
16349
16350 static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16351 PyObject *resultobj;
16352 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16353 wxString *result;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 {
16365 wxString const &_result_ref = (arg1)->GetReplaceString();
16366 result = (wxString *) &_result_ref;
16367 }
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
16372 {
16373 #if wxUSE_UNICODE
16374 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16375 #else
16376 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16377 #endif
16378 }
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16388 int result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
16395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail;
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (int)(arg1)->GetFlags();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 {
16405 resultobj = SWIG_From_int((int)(result));
16406 }
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16416 int arg2 ;
16417 PyObject * obj0 = 0 ;
16418 PyObject * obj1 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "flags", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
16424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail;
16426 {
16427 arg2 = (int)(SWIG_As_int(obj1));
16428 if (SWIG_arg_fail(2)) SWIG_fail;
16429 }
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 (arg1)->SetFlags(arg2);
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 Py_INCREF(Py_None); resultobj = Py_None;
16438 return resultobj;
16439 fail:
16440 return NULL;
16441 }
16442
16443
16444 static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj;
16446 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16447 wxString *arg2 = 0 ;
16448 bool temp2 = false ;
16449 PyObject * obj0 = 0 ;
16450 PyObject * obj1 = 0 ;
16451 char *kwnames[] = {
16452 (char *) "self",(char *) "str", NULL
16453 };
16454
16455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
16456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail;
16458 {
16459 arg2 = wxString_in_helper(obj1);
16460 if (arg2 == NULL) SWIG_fail;
16461 temp2 = true;
16462 }
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->SetFindString((wxString const &)*arg2);
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 Py_INCREF(Py_None); resultobj = Py_None;
16471 {
16472 if (temp2)
16473 delete arg2;
16474 }
16475 return resultobj;
16476 fail:
16477 {
16478 if (temp2)
16479 delete arg2;
16480 }
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj;
16487 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16488 wxString *arg2 = 0 ;
16489 bool temp2 = false ;
16490 PyObject * obj0 = 0 ;
16491 PyObject * obj1 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "str", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
16497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail;
16499 {
16500 arg2 = wxString_in_helper(obj1);
16501 if (arg2 == NULL) SWIG_fail;
16502 temp2 = true;
16503 }
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 (arg1)->SetReplaceString((wxString const &)*arg2);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 {
16513 if (temp2)
16514 delete arg2;
16515 }
16516 return resultobj;
16517 fail:
16518 {
16519 if (temp2)
16520 delete arg2;
16521 }
16522 return NULL;
16523 }
16524
16525
16526 static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
16527 PyObject *obj;
16528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16529 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16530 Py_INCREF(obj);
16531 return Py_BuildValue((char *)"");
16532 }
16533 static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxWindow *arg1 = (wxWindow *) 0 ;
16536 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16537 wxString *arg3 = 0 ;
16538 int arg4 = (int) 0 ;
16539 wxFindReplaceDialog *result;
16540 bool temp3 = false ;
16541 PyObject * obj0 = 0 ;
16542 PyObject * obj1 = 0 ;
16543 PyObject * obj2 = 0 ;
16544 PyObject * obj3 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail;
16552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16553 if (SWIG_arg_fail(2)) SWIG_fail;
16554 {
16555 arg3 = wxString_in_helper(obj2);
16556 if (arg3 == NULL) SWIG_fail;
16557 temp3 = true;
16558 }
16559 if (obj3) {
16560 {
16561 arg4 = (int)(SWIG_As_int(obj3));
16562 if (SWIG_arg_fail(4)) SWIG_fail;
16563 }
16564 }
16565 {
16566 if (!wxPyCheckForApp()) SWIG_fail;
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16574 {
16575 if (temp3)
16576 delete arg3;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp3)
16582 delete arg3;
16583 }
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxFindReplaceDialog *result;
16591 char *kwnames[] = {
16592 NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16596 {
16597 if (!wxPyCheckForApp()) SWIG_fail;
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16614 wxWindow *arg2 = (wxWindow *) 0 ;
16615 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16616 wxString *arg4 = 0 ;
16617 int arg5 = (int) 0 ;
16618 bool result;
16619 bool temp4 = false ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 PyObject * obj3 = 0 ;
16624 PyObject * obj4 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16633 if (SWIG_arg_fail(2)) SWIG_fail;
16634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16635 if (SWIG_arg_fail(3)) SWIG_fail;
16636 {
16637 arg4 = wxString_in_helper(obj3);
16638 if (arg4 == NULL) SWIG_fail;
16639 temp4 = true;
16640 }
16641 if (obj4) {
16642 {
16643 arg5 = (int)(SWIG_As_int(obj4));
16644 if (SWIG_arg_fail(5)) SWIG_fail;
16645 }
16646 }
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 {
16655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16656 }
16657 {
16658 if (temp4)
16659 delete arg4;
16660 }
16661 return resultobj;
16662 fail:
16663 {
16664 if (temp4)
16665 delete arg4;
16666 }
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16674 wxFindReplaceData *result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
16681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail;
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 result = (wxFindReplaceData *)(arg1)->GetData();
16686
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16691 return resultobj;
16692 fail:
16693 return NULL;
16694 }
16695
16696
16697 static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj;
16699 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16700 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16701 PyObject * obj0 = 0 ;
16702 PyObject * obj1 = 0 ;
16703 char *kwnames[] = {
16704 (char *) "self",(char *) "data", NULL
16705 };
16706
16707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
16708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16709 if (SWIG_arg_fail(1)) SWIG_fail;
16710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(2)) SWIG_fail;
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 (arg1)->SetData(arg2);
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 Py_INCREF(Py_None); resultobj = Py_None;
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
16727 PyObject *obj;
16728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16730 Py_INCREF(obj);
16731 return Py_BuildValue((char *)"");
16732 }
16733 static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16734 PyObject *resultobj;
16735 wxWindow *arg1 = (wxWindow *) 0 ;
16736 int arg2 = (int) (int)-1 ;
16737 wxString const &arg3_defvalue = wxPyEmptyString ;
16738 wxString *arg3 = (wxString *) &arg3_defvalue ;
16739 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16740 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16741 wxSize const &arg5_defvalue = wxDefaultSize ;
16742 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16743 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16744 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16745 wxString *arg7 = (wxString *) &arg7_defvalue ;
16746 wxMDIParentFrame *result;
16747 bool temp3 = false ;
16748 wxPoint temp4 ;
16749 wxSize temp5 ;
16750 bool temp7 = false ;
16751 PyObject * obj0 = 0 ;
16752 PyObject * obj1 = 0 ;
16753 PyObject * obj2 = 0 ;
16754 PyObject * obj3 = 0 ;
16755 PyObject * obj4 = 0 ;
16756 PyObject * obj5 = 0 ;
16757 PyObject * obj6 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail;
16765 if (obj1) {
16766 {
16767 arg2 = (int const)(SWIG_As_int(obj1));
16768 if (SWIG_arg_fail(2)) SWIG_fail;
16769 }
16770 }
16771 if (obj2) {
16772 {
16773 arg3 = wxString_in_helper(obj2);
16774 if (arg3 == NULL) SWIG_fail;
16775 temp3 = true;
16776 }
16777 }
16778 if (obj3) {
16779 {
16780 arg4 = &temp4;
16781 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16782 }
16783 }
16784 if (obj4) {
16785 {
16786 arg5 = &temp5;
16787 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16788 }
16789 }
16790 if (obj5) {
16791 {
16792 arg6 = (long)(SWIG_As_long(obj5));
16793 if (SWIG_arg_fail(6)) SWIG_fail;
16794 }
16795 }
16796 if (obj6) {
16797 {
16798 arg7 = wxString_in_helper(obj6);
16799 if (arg7 == NULL) SWIG_fail;
16800 temp7 = true;
16801 }
16802 }
16803 {
16804 if (!wxPyCheckForApp()) SWIG_fail;
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 {
16817 if (temp7)
16818 delete arg7;
16819 }
16820 return resultobj;
16821 fail:
16822 {
16823 if (temp3)
16824 delete arg3;
16825 }
16826 {
16827 if (temp7)
16828 delete arg7;
16829 }
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxMDIParentFrame *result;
16837 char *kwnames[] = {
16838 NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16842 {
16843 if (!wxPyCheckForApp()) SWIG_fail;
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16860 wxWindow *arg2 = (wxWindow *) 0 ;
16861 int arg3 = (int) (int)-1 ;
16862 wxString const &arg4_defvalue = wxPyEmptyString ;
16863 wxString *arg4 = (wxString *) &arg4_defvalue ;
16864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16866 wxSize const &arg6_defvalue = wxDefaultSize ;
16867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16868 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16869 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16870 wxString *arg8 = (wxString *) &arg8_defvalue ;
16871 bool result;
16872 bool temp4 = false ;
16873 wxPoint temp5 ;
16874 wxSize temp6 ;
16875 bool temp8 = false ;
16876 PyObject * obj0 = 0 ;
16877 PyObject * obj1 = 0 ;
16878 PyObject * obj2 = 0 ;
16879 PyObject * obj3 = 0 ;
16880 PyObject * obj4 = 0 ;
16881 PyObject * obj5 = 0 ;
16882 PyObject * obj6 = 0 ;
16883 PyObject * obj7 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
16889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail;
16891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16892 if (SWIG_arg_fail(2)) SWIG_fail;
16893 if (obj2) {
16894 {
16895 arg3 = (int const)(SWIG_As_int(obj2));
16896 if (SWIG_arg_fail(3)) SWIG_fail;
16897 }
16898 }
16899 if (obj3) {
16900 {
16901 arg4 = wxString_in_helper(obj3);
16902 if (arg4 == NULL) SWIG_fail;
16903 temp4 = true;
16904 }
16905 }
16906 if (obj4) {
16907 {
16908 arg5 = &temp5;
16909 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16910 }
16911 }
16912 if (obj5) {
16913 {
16914 arg6 = &temp6;
16915 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16916 }
16917 }
16918 if (obj6) {
16919 {
16920 arg7 = (long)(SWIG_As_long(obj6));
16921 if (SWIG_arg_fail(7)) SWIG_fail;
16922 }
16923 }
16924 if (obj7) {
16925 {
16926 arg8 = wxString_in_helper(obj7);
16927 if (arg8 == NULL) SWIG_fail;
16928 temp8 = true;
16929 }
16930 }
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16934
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
16938 {
16939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16940 }
16941 {
16942 if (temp4)
16943 delete arg4;
16944 }
16945 {
16946 if (temp8)
16947 delete arg8;
16948 }
16949 return resultobj;
16950 fail:
16951 {
16952 if (temp4)
16953 delete arg4;
16954 }
16955 {
16956 if (temp8)
16957 delete arg8;
16958 }
16959 return NULL;
16960 }
16961
16962
16963 static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
16964 PyObject *resultobj;
16965 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
16972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 (arg1)->ActivateNext();
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 Py_INCREF(Py_None); resultobj = Py_None;
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
16997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 (arg1)->ActivatePrevious();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
17014 PyObject *resultobj;
17015 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17016 PyObject * obj0 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "self", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
17022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17023 if (SWIG_arg_fail(1)) SWIG_fail;
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 (arg1)->ArrangeIcons();
17027
17028 wxPyEndAllowThreads(__tstate);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 Py_INCREF(Py_None); resultobj = Py_None;
17032 return resultobj;
17033 fail:
17034 return NULL;
17035 }
17036
17037
17038 static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
17039 PyObject *resultobj;
17040 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17041 PyObject * obj0 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
17047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail;
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->Cascade();
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060 }
17061
17062
17063 static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
17064 PyObject *resultobj;
17065 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17066 wxMDIChildFrame *result;
17067 PyObject * obj0 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
17073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail;
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 {
17083 resultobj = wxPyMake_wxObject(result, 0);
17084 }
17085 return resultobj;
17086 fail:
17087 return NULL;
17088 }
17089
17090
17091 static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17092 PyObject *resultobj;
17093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17094 wxMDIClientWindow *result;
17095 PyObject * obj0 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
17101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 resultobj = wxPyMake_wxObject(result, 0);
17112 }
17113 return resultobj;
17114 fail:
17115 return NULL;
17116 }
17117
17118
17119 static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
17120 PyObject *resultobj;
17121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17122 wxWindow *result;
17123 PyObject * obj0 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
17129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17130 if (SWIG_arg_fail(1)) SWIG_fail;
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = (wxWindow *)(arg1)->GetToolBar();
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 {
17139 resultobj = wxPyMake_wxObject(result, 0);
17140 }
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17150 PyObject * obj0 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
17156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail;
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 (arg1)->Tile();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 Py_INCREF(Py_None); resultobj = Py_None;
17166 return resultobj;
17167 fail:
17168 return NULL;
17169 }
17170
17171
17172 static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
17173 PyObject *obj;
17174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17175 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17176 Py_INCREF(obj);
17177 return Py_BuildValue((char *)"");
17178 }
17179 static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17180 PyObject *resultobj;
17181 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17182 int arg2 = (int) (int)-1 ;
17183 wxString const &arg3_defvalue = wxPyEmptyString ;
17184 wxString *arg3 = (wxString *) &arg3_defvalue ;
17185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17187 wxSize const &arg5_defvalue = wxDefaultSize ;
17188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17189 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17190 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17191 wxString *arg7 = (wxString *) &arg7_defvalue ;
17192 wxMDIChildFrame *result;
17193 bool temp3 = false ;
17194 wxPoint temp4 ;
17195 wxSize temp5 ;
17196 bool temp7 = false ;
17197 PyObject * obj0 = 0 ;
17198 PyObject * obj1 = 0 ;
17199 PyObject * obj2 = 0 ;
17200 PyObject * obj3 = 0 ;
17201 PyObject * obj4 = 0 ;
17202 PyObject * obj5 = 0 ;
17203 PyObject * obj6 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail;
17211 if (obj1) {
17212 {
17213 arg2 = (int const)(SWIG_As_int(obj1));
17214 if (SWIG_arg_fail(2)) SWIG_fail;
17215 }
17216 }
17217 if (obj2) {
17218 {
17219 arg3 = wxString_in_helper(obj2);
17220 if (arg3 == NULL) SWIG_fail;
17221 temp3 = true;
17222 }
17223 }
17224 if (obj3) {
17225 {
17226 arg4 = &temp4;
17227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17228 }
17229 }
17230 if (obj4) {
17231 {
17232 arg5 = &temp5;
17233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17234 }
17235 }
17236 if (obj5) {
17237 {
17238 arg6 = (long)(SWIG_As_long(obj5));
17239 if (SWIG_arg_fail(6)) SWIG_fail;
17240 }
17241 }
17242 if (obj6) {
17243 {
17244 arg7 = wxString_in_helper(obj6);
17245 if (arg7 == NULL) SWIG_fail;
17246 temp7 = true;
17247 }
17248 }
17249 {
17250 if (!wxPyCheckForApp()) SWIG_fail;
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17258 {
17259 if (temp3)
17260 delete arg3;
17261 }
17262 {
17263 if (temp7)
17264 delete arg7;
17265 }
17266 return resultobj;
17267 fail:
17268 {
17269 if (temp3)
17270 delete arg3;
17271 }
17272 {
17273 if (temp7)
17274 delete arg7;
17275 }
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxMDIChildFrame *result;
17283 char *kwnames[] = {
17284 NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17288 {
17289 if (!wxPyCheckForApp()) SWIG_fail;
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17306 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17307 int arg3 = (int) (int)-1 ;
17308 wxString const &arg4_defvalue = wxPyEmptyString ;
17309 wxString *arg4 = (wxString *) &arg4_defvalue ;
17310 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17311 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17312 wxSize const &arg6_defvalue = wxDefaultSize ;
17313 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17314 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17315 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17316 wxString *arg8 = (wxString *) &arg8_defvalue ;
17317 bool result;
17318 bool temp4 = false ;
17319 wxPoint temp5 ;
17320 wxSize temp6 ;
17321 bool temp8 = false ;
17322 PyObject * obj0 = 0 ;
17323 PyObject * obj1 = 0 ;
17324 PyObject * obj2 = 0 ;
17325 PyObject * obj3 = 0 ;
17326 PyObject * obj4 = 0 ;
17327 PyObject * obj5 = 0 ;
17328 PyObject * obj6 = 0 ;
17329 PyObject * obj7 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17332 };
17333
17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail;
17337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17338 if (SWIG_arg_fail(2)) SWIG_fail;
17339 if (obj2) {
17340 {
17341 arg3 = (int const)(SWIG_As_int(obj2));
17342 if (SWIG_arg_fail(3)) SWIG_fail;
17343 }
17344 }
17345 if (obj3) {
17346 {
17347 arg4 = wxString_in_helper(obj3);
17348 if (arg4 == NULL) SWIG_fail;
17349 temp4 = true;
17350 }
17351 }
17352 if (obj4) {
17353 {
17354 arg5 = &temp5;
17355 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17356 }
17357 }
17358 if (obj5) {
17359 {
17360 arg6 = &temp6;
17361 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17362 }
17363 }
17364 if (obj6) {
17365 {
17366 arg7 = (long)(SWIG_As_long(obj6));
17367 if (SWIG_arg_fail(7)) SWIG_fail;
17368 }
17369 }
17370 if (obj7) {
17371 {
17372 arg8 = wxString_in_helper(obj7);
17373 if (arg8 == NULL) SWIG_fail;
17374 temp8 = true;
17375 }
17376 }
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17386 }
17387 {
17388 if (temp4)
17389 delete arg4;
17390 }
17391 {
17392 if (temp8)
17393 delete arg8;
17394 }
17395 return resultobj;
17396 fail:
17397 {
17398 if (temp4)
17399 delete arg4;
17400 }
17401 {
17402 if (temp8)
17403 delete arg8;
17404 }
17405 return NULL;
17406 }
17407
17408
17409 static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
17418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17419 if (SWIG_arg_fail(1)) SWIG_fail;
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 (arg1)->Activate();
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 Py_INCREF(Py_None); resultobj = Py_None;
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17437 bool arg2 = (bool) true ;
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 char *kwnames[] = {
17441 (char *) "self",(char *) "maximize", NULL
17442 };
17443
17444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
17445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17446 if (SWIG_arg_fail(1)) SWIG_fail;
17447 if (obj1) {
17448 {
17449 arg2 = (bool)(SWIG_As_bool(obj1));
17450 if (SWIG_arg_fail(2)) SWIG_fail;
17451 }
17452 }
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->Maximize(arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464 }
17465
17466
17467 static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
17468 PyObject *resultobj;
17469 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17470 PyObject * obj0 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
17476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17477 if (SWIG_arg_fail(1)) SWIG_fail;
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 (arg1)->Restore();
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 Py_INCREF(Py_None); resultobj = Py_None;
17486 return resultobj;
17487 fail:
17488 return NULL;
17489 }
17490
17491
17492 static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
17493 PyObject *obj;
17494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17495 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17496 Py_INCREF(obj);
17497 return Py_BuildValue((char *)"");
17498 }
17499 static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17502 long arg2 = (long) 0 ;
17503 wxMDIClientWindow *result;
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj1 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "parent",(char *) "style", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
17511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail;
17513 if (obj1) {
17514 {
17515 arg2 = (long)(SWIG_As_long(obj1));
17516 if (SWIG_arg_fail(2)) SWIG_fail;
17517 }
17518 }
17519 {
17520 if (!wxPyCheckForApp()) SWIG_fail;
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxMDIClientWindow *result;
17537 char *kwnames[] = {
17538 NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17542 {
17543 if (!wxPyCheckForApp()) SWIG_fail;
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17560 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17561 long arg3 = (long) 0 ;
17562 bool result;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
17565 PyObject * obj2 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "self",(char *) "parent",(char *) "style", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
17571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail;
17573 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17574 if (SWIG_arg_fail(2)) SWIG_fail;
17575 if (obj2) {
17576 {
17577 arg3 = (long)(SWIG_As_long(obj2));
17578 if (SWIG_arg_fail(3)) SWIG_fail;
17579 }
17580 }
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (bool)(arg1)->Create(arg2,arg3);
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 {
17589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17590 }
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
17598 PyObject *obj;
17599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17600 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17601 Py_INCREF(obj);
17602 return Py_BuildValue((char *)"");
17603 }
17604 static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17605 PyObject *resultobj;
17606 wxWindow *arg1 = (wxWindow *) 0 ;
17607 int arg2 = (int) (int)-1 ;
17608 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17609 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17610 wxSize const &arg4_defvalue = wxDefaultSize ;
17611 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17612 long arg5 = (long) 0 ;
17613 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17614 wxString *arg6 = (wxString *) &arg6_defvalue ;
17615 wxPyWindow *result;
17616 wxPoint temp3 ;
17617 wxSize temp4 ;
17618 bool temp6 = false ;
17619 PyObject * obj0 = 0 ;
17620 PyObject * obj1 = 0 ;
17621 PyObject * obj2 = 0 ;
17622 PyObject * obj3 = 0 ;
17623 PyObject * obj4 = 0 ;
17624 PyObject * obj5 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail;
17632 if (obj1) {
17633 {
17634 arg2 = (int const)(SWIG_As_int(obj1));
17635 if (SWIG_arg_fail(2)) SWIG_fail;
17636 }
17637 }
17638 if (obj2) {
17639 {
17640 arg3 = &temp3;
17641 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17642 }
17643 }
17644 if (obj3) {
17645 {
17646 arg4 = &temp4;
17647 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17648 }
17649 }
17650 if (obj4) {
17651 {
17652 arg5 = (long)(SWIG_As_long(obj4));
17653 if (SWIG_arg_fail(5)) SWIG_fail;
17654 }
17655 }
17656 if (obj5) {
17657 {
17658 arg6 = wxString_in_helper(obj5);
17659 if (arg6 == NULL) SWIG_fail;
17660 temp6 = true;
17661 }
17662 }
17663 {
17664 if (!wxPyCheckForApp()) SWIG_fail;
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17672 {
17673 if (temp6)
17674 delete arg6;
17675 }
17676 return resultobj;
17677 fail:
17678 {
17679 if (temp6)
17680 delete arg6;
17681 }
17682 return NULL;
17683 }
17684
17685
17686 static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17687 PyObject *resultobj;
17688 wxPyWindow *result;
17689 char *kwnames[] = {
17690 NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17694 {
17695 if (!wxPyCheckForApp()) SWIG_fail;
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (wxPyWindow *)new wxPyWindow();
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17712 PyObject *arg2 = (PyObject *) 0 ;
17713 PyObject *arg3 = (PyObject *) 0 ;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 PyObject * obj2 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self",(char *) "self",(char *) "_class", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail;
17724 arg2 = obj1;
17725 arg3 = obj2;
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 (arg1)->_setCallbackInfo(arg2,arg3);
17729
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 Py_INCREF(Py_None); resultobj = Py_None;
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj;
17742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17743 wxSize *arg2 = 0 ;
17744 wxSize temp2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "size", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) 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 = &temp2;
17756 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->SetBestSize((wxSize const &)*arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769 }
17770
17771
17772 static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17775 int arg2 ;
17776 int arg3 ;
17777 int arg4 ;
17778 int arg5 ;
17779 PyObject * obj0 = 0 ;
17780 PyObject * obj1 = 0 ;
17781 PyObject * obj2 = 0 ;
17782 PyObject * obj3 = 0 ;
17783 PyObject * obj4 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail;
17791 {
17792 arg2 = (int)(SWIG_As_int(obj1));
17793 if (SWIG_arg_fail(2)) SWIG_fail;
17794 }
17795 {
17796 arg3 = (int)(SWIG_As_int(obj2));
17797 if (SWIG_arg_fail(3)) SWIG_fail;
17798 }
17799 {
17800 arg4 = (int)(SWIG_As_int(obj3));
17801 if (SWIG_arg_fail(4)) SWIG_fail;
17802 }
17803 {
17804 arg5 = (int)(SWIG_As_int(obj4));
17805 if (SWIG_arg_fail(5)) SWIG_fail;
17806 }
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 Py_INCREF(Py_None); resultobj = Py_None;
17815 return resultobj;
17816 fail:
17817 return NULL;
17818 }
17819
17820
17821 static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17824 int arg2 ;
17825 int arg3 ;
17826 int arg4 ;
17827 int arg5 ;
17828 int arg6 = (int) wxSIZE_AUTO ;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 PyObject * obj2 = 0 ;
17832 PyObject * obj3 = 0 ;
17833 PyObject * obj4 = 0 ;
17834 PyObject * obj5 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg4 = (int)(SWIG_As_int(obj3));
17852 if (SWIG_arg_fail(4)) SWIG_fail;
17853 }
17854 {
17855 arg5 = (int)(SWIG_As_int(obj4));
17856 if (SWIG_arg_fail(5)) SWIG_fail;
17857 }
17858 if (obj5) {
17859 {
17860 arg6 = (int)(SWIG_As_int(obj5));
17861 if (SWIG_arg_fail(6)) SWIG_fail;
17862 }
17863 }
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 Py_INCREF(Py_None); resultobj = Py_None;
17872 return resultobj;
17873 fail:
17874 return NULL;
17875 }
17876
17877
17878 static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17881 int arg2 ;
17882 int arg3 ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 PyObject * obj2 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "width",(char *) "height", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail;
17893 {
17894 arg2 = (int)(SWIG_As_int(obj1));
17895 if (SWIG_arg_fail(2)) SWIG_fail;
17896 }
17897 {
17898 arg3 = (int)(SWIG_As_int(obj2));
17899 if (SWIG_arg_fail(3)) SWIG_fail;
17900 }
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 (arg1)->base_DoSetClientSize(arg2,arg3);
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 Py_INCREF(Py_None); resultobj = Py_None;
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17918 int arg2 ;
17919 int arg3 ;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922 PyObject * obj2 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self",(char *) "x",(char *) "y", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
17928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail;
17930 {
17931 arg2 = (int)(SWIG_As_int(obj1));
17932 if (SWIG_arg_fail(2)) SWIG_fail;
17933 }
17934 {
17935 arg3 = (int)(SWIG_As_int(obj2));
17936 if (SWIG_arg_fail(3)) SWIG_fail;
17937 }
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17955 int *arg2 = (int *) 0 ;
17956 int *arg3 = (int *) 0 ;
17957 int temp2 ;
17958 int res2 = 0 ;
17959 int temp3 ;
17960 int res3 = 0 ;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
17966 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17967 arg3 = &temp3; res3 = SWIG_NEWOBJ;
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
17969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail;
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 Py_INCREF(Py_None); resultobj = Py_None;
17979 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17980 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17981 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17982 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17992 int *arg2 = (int *) 0 ;
17993 int *arg3 = (int *) 0 ;
17994 int temp2 ;
17995 int res2 = 0 ;
17996 int temp3 ;
17997 int res3 = 0 ;
17998 PyObject * obj0 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self", NULL
18001 };
18002
18003 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18004 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail;
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 Py_INCREF(Py_None); resultobj = Py_None;
18016 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18017 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18018 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18019 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18029 int *arg2 = (int *) 0 ;
18030 int *arg3 = (int *) 0 ;
18031 int temp2 ;
18032 int res2 = 0 ;
18033 int temp3 ;
18034 int res3 = 0 ;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18041 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
18043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 Py_INCREF(Py_None); resultobj = Py_None;
18053 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18054 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18055 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18056 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18066 wxSize result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 wxSize * resultptr;
18084 resultptr = new wxSize((wxSize &)(result));
18085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18086 }
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18096 wxSize result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail;
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 wxSize * resultptr;
18114 resultptr = new wxSize((wxSize &)(result));
18115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18126 PyObject * obj0 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
18132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 (arg1)->base_InitDialog();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 Py_INCREF(Py_None); resultobj = Py_None;
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18151 bool result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
18158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail;
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 result = (bool)(arg1)->base_TransferDataToWindow();
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 {
18168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18169 }
18170 return resultobj;
18171 fail:
18172 return NULL;
18173 }
18174
18175
18176 static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 bool result;
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
18186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (bool)(arg1)->base_TransferDataFromWindow();
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 {
18196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18197 }
18198 return resultobj;
18199 fail:
18200 return NULL;
18201 }
18202
18203
18204 static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
18205 PyObject *resultobj;
18206 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18207 bool result;
18208 PyObject * obj0 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (bool)(arg1)->base_Validate();
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 {
18224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18225 }
18226 return resultobj;
18227 fail:
18228 return NULL;
18229 }
18230
18231
18232 static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
18233 PyObject *resultobj;
18234 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18235 bool result;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
18242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 {
18252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18253 }
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18263 bool result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) 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 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18281 }
18282 return resultobj;
18283 fail:
18284 return NULL;
18285 }
18286
18287
18288 static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18291 wxSize result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",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 = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 wxSize * resultptr;
18309 resultptr = new wxSize((wxSize &)(result));
18310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18311 }
18312 return resultobj;
18313 fail:
18314 return NULL;
18315 }
18316
18317
18318 static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18321 wxWindow *arg2 = (wxWindow *) 0 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "child", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
18329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail;
18331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(2)) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->base_AddChild(arg2);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344 }
18345
18346
18347 static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18350 wxWindow *arg2 = (wxWindow *) 0 ;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "child", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18361 if (SWIG_arg_fail(2)) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->base_RemoveChild(arg2);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18379 bool result;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
18386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18387 if (SWIG_arg_fail(1)) SWIG_fail;
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 {
18396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18397 }
18398 return resultobj;
18399 fail:
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18407 wxColour *arg2 = 0 ;
18408 wxColour temp2 ;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "c", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
18416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail;
18418 {
18419 arg2 = &temp2;
18420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 Py_INCREF(Py_None); resultobj = Py_None;
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18439 wxVisualAttributes result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
18446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail;
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (arg1)->base_GetDefaultAttributes();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxVisualAttributes * resultptr;
18457 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
18458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
18467 PyObject *obj;
18468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18469 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18470 Py_INCREF(obj);
18471 return Py_BuildValue((char *)"");
18472 }
18473 static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxWindow *arg1 = (wxWindow *) 0 ;
18476 int arg2 = (int) (int)-1 ;
18477 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18478 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18479 wxSize const &arg4_defvalue = wxDefaultSize ;
18480 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18481 long arg5 = (long) 0 ;
18482 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18483 wxString *arg6 = (wxString *) &arg6_defvalue ;
18484 wxPyPanel *result;
18485 wxPoint temp3 ;
18486 wxSize temp4 ;
18487 bool temp6 = false ;
18488 PyObject * obj0 = 0 ;
18489 PyObject * obj1 = 0 ;
18490 PyObject * obj2 = 0 ;
18491 PyObject * obj3 = 0 ;
18492 PyObject * obj4 = 0 ;
18493 PyObject * obj5 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail;
18501 if (obj1) {
18502 {
18503 arg2 = (int const)(SWIG_As_int(obj1));
18504 if (SWIG_arg_fail(2)) SWIG_fail;
18505 }
18506 }
18507 if (obj2) {
18508 {
18509 arg3 = &temp3;
18510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18511 }
18512 }
18513 if (obj3) {
18514 {
18515 arg4 = &temp4;
18516 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18517 }
18518 }
18519 if (obj4) {
18520 {
18521 arg5 = (long)(SWIG_As_long(obj4));
18522 if (SWIG_arg_fail(5)) SWIG_fail;
18523 }
18524 }
18525 if (obj5) {
18526 {
18527 arg6 = wxString_in_helper(obj5);
18528 if (arg6 == NULL) SWIG_fail;
18529 temp6 = true;
18530 }
18531 }
18532 {
18533 if (!wxPyCheckForApp()) SWIG_fail;
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18541 {
18542 if (temp6)
18543 delete arg6;
18544 }
18545 return resultobj;
18546 fail:
18547 {
18548 if (temp6)
18549 delete arg6;
18550 }
18551 return NULL;
18552 }
18553
18554
18555 static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj;
18557 wxPyPanel *result;
18558 char *kwnames[] = {
18559 NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18563 {
18564 if (!wxPyCheckForApp()) SWIG_fail;
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (wxPyPanel *)new wxPyPanel();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18581 PyObject *arg2 = (PyObject *) 0 ;
18582 PyObject *arg3 = (PyObject *) 0 ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 PyObject * obj2 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self",(char *) "self",(char *) "_class", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail;
18593 arg2 = obj1;
18594 arg3 = obj2;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->_setCallbackInfo(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606 }
18607
18608
18609 static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18612 wxSize *arg2 = 0 ;
18613 wxSize temp2 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "size", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) 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 = &temp2;
18625 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18626 }
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 (arg1)->SetBestSize((wxSize const &)*arg2);
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 Py_INCREF(Py_None); resultobj = Py_None;
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18644 int arg2 ;
18645 int arg3 ;
18646 int arg4 ;
18647 int arg5 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 PyObject * obj2 = 0 ;
18651 PyObject * obj3 = 0 ;
18652 PyObject * obj4 = 0 ;
18653 char *kwnames[] = {
18654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18655 };
18656
18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18659 if (SWIG_arg_fail(1)) SWIG_fail;
18660 {
18661 arg2 = (int)(SWIG_As_int(obj1));
18662 if (SWIG_arg_fail(2)) SWIG_fail;
18663 }
18664 {
18665 arg3 = (int)(SWIG_As_int(obj2));
18666 if (SWIG_arg_fail(3)) SWIG_fail;
18667 }
18668 {
18669 arg4 = (int)(SWIG_As_int(obj3));
18670 if (SWIG_arg_fail(4)) SWIG_fail;
18671 }
18672 {
18673 arg5 = (int)(SWIG_As_int(obj4));
18674 if (SWIG_arg_fail(5)) SWIG_fail;
18675 }
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 return resultobj;
18685 fail:
18686 return NULL;
18687 }
18688
18689
18690 static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18693 int arg2 ;
18694 int arg3 ;
18695 int arg4 ;
18696 int arg5 ;
18697 int arg6 = (int) wxSIZE_AUTO ;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 PyObject * obj2 = 0 ;
18701 PyObject * obj3 = 0 ;
18702 PyObject * obj4 = 0 ;
18703 PyObject * obj5 = 0 ;
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18706 };
18707
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg4 = (int)(SWIG_As_int(obj3));
18721 if (SWIG_arg_fail(4)) SWIG_fail;
18722 }
18723 {
18724 arg5 = (int)(SWIG_As_int(obj4));
18725 if (SWIG_arg_fail(5)) SWIG_fail;
18726 }
18727 if (obj5) {
18728 {
18729 arg6 = (int)(SWIG_As_int(obj5));
18730 if (SWIG_arg_fail(6)) SWIG_fail;
18731 }
18732 }
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 Py_INCREF(Py_None); resultobj = Py_None;
18741 return resultobj;
18742 fail:
18743 return NULL;
18744 }
18745
18746
18747 static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18750 int arg2 ;
18751 int arg3 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 PyObject * obj2 = 0 ;
18755 char *kwnames[] = {
18756 (char *) "self",(char *) "width",(char *) "height", NULL
18757 };
18758
18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 arg2 = (int)(SWIG_As_int(obj1));
18764 if (SWIG_arg_fail(2)) SWIG_fail;
18765 }
18766 {
18767 arg3 = (int)(SWIG_As_int(obj2));
18768 if (SWIG_arg_fail(3)) SWIG_fail;
18769 }
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->base_DoSetClientSize(arg2,arg3);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781 }
18782
18783
18784 static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18787 int arg2 ;
18788 int arg3 ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 PyObject * obj2 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "x",(char *) "y", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
18797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail;
18799 {
18800 arg2 = (int)(SWIG_As_int(obj1));
18801 if (SWIG_arg_fail(2)) SWIG_fail;
18802 }
18803 {
18804 arg3 = (int)(SWIG_As_int(obj2));
18805 if (SWIG_arg_fail(3)) SWIG_fail;
18806 }
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18824 int *arg2 = (int *) 0 ;
18825 int *arg3 = (int *) 0 ;
18826 int temp2 ;
18827 int res2 = 0 ;
18828 int temp3 ;
18829 int res3 = 0 ;
18830 PyObject * obj0 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self", NULL
18833 };
18834
18835 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18836 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 Py_INCREF(Py_None); resultobj = Py_None;
18848 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18849 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18850 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18851 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18852 return resultobj;
18853 fail:
18854 return NULL;
18855 }
18856
18857
18858 static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18861 int *arg2 = (int *) 0 ;
18862 int *arg3 = (int *) 0 ;
18863 int temp2 ;
18864 int res2 = 0 ;
18865 int temp3 ;
18866 int res3 = 0 ;
18867 PyObject * obj0 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self", NULL
18870 };
18871
18872 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18873 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
18875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail;
18877 {
18878 PyThreadState* __tstate = wxPyBeginAllowThreads();
18879 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 Py_INCREF(Py_None); resultobj = Py_None;
18885 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18886 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18887 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18888 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18889 return resultobj;
18890 fail:
18891 return NULL;
18892 }
18893
18894
18895 static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj;
18897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18898 int *arg2 = (int *) 0 ;
18899 int *arg3 = (int *) 0 ;
18900 int temp2 ;
18901 int res2 = 0 ;
18902 int temp3 ;
18903 int res3 = 0 ;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
18909 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18910 arg3 = &temp3; res3 = SWIG_NEWOBJ;
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
18912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail;
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 Py_INCREF(Py_None); resultobj = Py_None;
18922 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18923 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18924 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18925 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
18926 return resultobj;
18927 fail:
18928 return NULL;
18929 }
18930
18931
18932 static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 wxSize result;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
18942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail;
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 wxSize * resultptr;
18953 resultptr = new wxSize((wxSize &)(result));
18954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18955 }
18956 return resultobj;
18957 fail:
18958 return NULL;
18959 }
18960
18961
18962 static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
18963 PyObject *resultobj;
18964 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18965 wxSize result;
18966 PyObject * obj0 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
18972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail;
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 {
18982 wxSize * resultptr;
18983 resultptr = new wxSize((wxSize &)(result));
18984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18995 PyObject * obj0 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
19001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail;
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 (arg1)->base_InitDialog();
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 Py_INCREF(Py_None); resultobj = Py_None;
19011 return resultobj;
19012 fail:
19013 return NULL;
19014 }
19015
19016
19017 static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19018 PyObject *resultobj;
19019 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19020 bool result;
19021 PyObject * obj0 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail;
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (bool)(arg1)->base_TransferDataToWindow();
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 {
19037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19038 }
19039 return resultobj;
19040 fail:
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19048 bool result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail;
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (bool)(arg1)->base_TransferDataFromWindow();
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
19064 {
19065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19066 }
19067 return resultobj;
19068 fail:
19069 return NULL;
19070 }
19071
19072
19073 static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19076 bool result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (bool)(arg1)->base_Validate();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 {
19093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19094 }
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19104 bool result;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail;
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 {
19121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19122 }
19123 return resultobj;
19124 fail:
19125 return NULL;
19126 }
19127
19128
19129 static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19130 PyObject *resultobj;
19131 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19132 bool result;
19133 PyObject * obj0 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) 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 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 {
19149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19150 }
19151 return resultobj;
19152 fail:
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19160 wxSize result;
19161 PyObject * obj0 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",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 = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 {
19177 wxSize * resultptr;
19178 resultptr = new wxSize((wxSize &)(result));
19179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19180 }
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj;
19189 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19190 wxWindow *arg2 = (wxWindow *) 0 ;
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self",(char *) "child", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
19200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(2)) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->base_AddChild(arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19219 wxWindow *arg2 = (wxWindow *) 0 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "child", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19230 if (SWIG_arg_fail(2)) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->base_RemoveChild(arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19248 bool result;
19249 PyObject * obj0 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
19255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 {
19265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19266 }
19267 return resultobj;
19268 fail:
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19276 wxColour *arg2 = 0 ;
19277 wxColour temp2 ;
19278 PyObject * obj0 = 0 ;
19279 PyObject * obj1 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self",(char *) "c", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
19285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail;
19287 {
19288 arg2 = &temp2;
19289 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19290 }
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19308 wxVisualAttributes result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = (arg1)->base_GetDefaultAttributes();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxVisualAttributes * resultptr;
19326 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
19327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332 }
19333
19334
19335 static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
19336 PyObject *obj;
19337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19338 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19339 Py_INCREF(obj);
19340 return Py_BuildValue((char *)"");
19341 }
19342 static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19343 PyObject *resultobj;
19344 wxWindow *arg1 = (wxWindow *) 0 ;
19345 int arg2 = (int) (int)-1 ;
19346 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19347 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19348 wxSize const &arg4_defvalue = wxDefaultSize ;
19349 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19350 long arg5 = (long) 0 ;
19351 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19352 wxString *arg6 = (wxString *) &arg6_defvalue ;
19353 wxPyScrolledWindow *result;
19354 wxPoint temp3 ;
19355 wxSize temp4 ;
19356 bool temp6 = false ;
19357 PyObject * obj0 = 0 ;
19358 PyObject * obj1 = 0 ;
19359 PyObject * obj2 = 0 ;
19360 PyObject * obj3 = 0 ;
19361 PyObject * obj4 = 0 ;
19362 PyObject * obj5 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19365 };
19366
19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
19368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail;
19370 if (obj1) {
19371 {
19372 arg2 = (int const)(SWIG_As_int(obj1));
19373 if (SWIG_arg_fail(2)) SWIG_fail;
19374 }
19375 }
19376 if (obj2) {
19377 {
19378 arg3 = &temp3;
19379 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19380 }
19381 }
19382 if (obj3) {
19383 {
19384 arg4 = &temp4;
19385 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19386 }
19387 }
19388 if (obj4) {
19389 {
19390 arg5 = (long)(SWIG_As_long(obj4));
19391 if (SWIG_arg_fail(5)) SWIG_fail;
19392 }
19393 }
19394 if (obj5) {
19395 {
19396 arg6 = wxString_in_helper(obj5);
19397 if (arg6 == NULL) SWIG_fail;
19398 temp6 = true;
19399 }
19400 }
19401 {
19402 if (!wxPyCheckForApp()) SWIG_fail;
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19405
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19410 {
19411 if (temp6)
19412 delete arg6;
19413 }
19414 return resultobj;
19415 fail:
19416 {
19417 if (temp6)
19418 delete arg6;
19419 }
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyScrolledWindow *result;
19427 char *kwnames[] = {
19428 NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19432 {
19433 if (!wxPyCheckForApp()) SWIG_fail;
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19450 PyObject *arg2 = (PyObject *) 0 ;
19451 PyObject *arg3 = (PyObject *) 0 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 PyObject * obj2 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self",(char *) "self",(char *) "_class", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19461 if (SWIG_arg_fail(1)) SWIG_fail;
19462 arg2 = obj1;
19463 arg3 = obj2;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 (arg1)->_setCallbackInfo(arg2,arg3);
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 Py_INCREF(Py_None); resultobj = Py_None;
19472 return resultobj;
19473 fail:
19474 return NULL;
19475 }
19476
19477
19478 static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19479 PyObject *resultobj;
19480 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19481 wxSize *arg2 = 0 ;
19482 wxSize temp2 ;
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj1 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "size", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) 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 = &temp2;
19494 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 (arg1)->SetBestSize((wxSize const &)*arg2);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 Py_INCREF(Py_None); resultobj = Py_None;
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19513 int arg2 ;
19514 int arg3 ;
19515 int arg4 ;
19516 int arg5 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 PyObject * obj2 = 0 ;
19520 PyObject * obj3 = 0 ;
19521 PyObject * obj4 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail;
19529 {
19530 arg2 = (int)(SWIG_As_int(obj1));
19531 if (SWIG_arg_fail(2)) SWIG_fail;
19532 }
19533 {
19534 arg3 = (int)(SWIG_As_int(obj2));
19535 if (SWIG_arg_fail(3)) SWIG_fail;
19536 }
19537 {
19538 arg4 = (int)(SWIG_As_int(obj3));
19539 if (SWIG_arg_fail(4)) SWIG_fail;
19540 }
19541 {
19542 arg5 = (int)(SWIG_As_int(obj4));
19543 if (SWIG_arg_fail(5)) SWIG_fail;
19544 }
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556 }
19557
19558
19559 static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19560 PyObject *resultobj;
19561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19562 int arg2 ;
19563 int arg3 ;
19564 int arg4 ;
19565 int arg5 ;
19566 int arg6 = (int) wxSIZE_AUTO ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 PyObject * obj2 = 0 ;
19570 PyObject * obj3 = 0 ;
19571 PyObject * obj4 = 0 ;
19572 PyObject * obj5 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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 arg4 = (int)(SWIG_As_int(obj3));
19590 if (SWIG_arg_fail(4)) SWIG_fail;
19591 }
19592 {
19593 arg5 = (int)(SWIG_As_int(obj4));
19594 if (SWIG_arg_fail(5)) SWIG_fail;
19595 }
19596 if (obj5) {
19597 {
19598 arg6 = (int)(SWIG_As_int(obj5));
19599 if (SWIG_arg_fail(6)) SWIG_fail;
19600 }
19601 }
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 Py_INCREF(Py_None); resultobj = Py_None;
19610 return resultobj;
19611 fail:
19612 return NULL;
19613 }
19614
19615
19616 static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19619 int arg2 ;
19620 int arg3 ;
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 PyObject * obj2 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "width",(char *) "height", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail;
19631 {
19632 arg2 = (int)(SWIG_As_int(obj1));
19633 if (SWIG_arg_fail(2)) SWIG_fail;
19634 }
19635 {
19636 arg3 = (int)(SWIG_As_int(obj2));
19637 if (SWIG_arg_fail(3)) SWIG_fail;
19638 }
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->base_DoSetClientSize(arg2,arg3);
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650 }
19651
19652
19653 static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19656 int arg2 ;
19657 int arg3 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 PyObject * obj2 = 0 ;
19661 char *kwnames[] = {
19662 (char *) "self",(char *) "x",(char *) "y", NULL
19663 };
19664
19665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
19666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail;
19668 {
19669 arg2 = (int)(SWIG_As_int(obj1));
19670 if (SWIG_arg_fail(2)) SWIG_fail;
19671 }
19672 {
19673 arg3 = (int)(SWIG_As_int(obj2));
19674 if (SWIG_arg_fail(3)) SWIG_fail;
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19693 int *arg2 = (int *) 0 ;
19694 int *arg3 = (int *) 0 ;
19695 int temp2 ;
19696 int res2 = 0 ;
19697 int temp3 ;
19698 int res3 = 0 ;
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
19704 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19705 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
19707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail;
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
19717 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19718 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19719 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19720 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19721 return resultobj;
19722 fail:
19723 return NULL;
19724 }
19725
19726
19727 static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
19728 PyObject *resultobj;
19729 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19730 int *arg2 = (int *) 0 ;
19731 int *arg3 = (int *) 0 ;
19732 int temp2 ;
19733 int res2 = 0 ;
19734 int temp3 ;
19735 int res3 = 0 ;
19736 PyObject * obj0 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self", NULL
19739 };
19740
19741 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19742 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
19744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail;
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 Py_INCREF(Py_None); resultobj = Py_None;
19754 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19755 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19756 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19757 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19758 return resultobj;
19759 fail:
19760 return NULL;
19761 }
19762
19763
19764 static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19767 int *arg2 = (int *) 0 ;
19768 int *arg3 = (int *) 0 ;
19769 int temp2 ;
19770 int res2 = 0 ;
19771 int temp3 ;
19772 int res3 = 0 ;
19773 PyObject * obj0 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self", NULL
19776 };
19777
19778 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19779 arg3 = &temp3; res3 = SWIG_NEWOBJ;
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
19781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19782 if (SWIG_arg_fail(1)) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19792 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19793 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19794 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
19795 return resultobj;
19796 fail:
19797 return NULL;
19798 }
19799
19800
19801 static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19804 wxSize result;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
19811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 wxSize * resultptr;
19822 resultptr = new wxSize((wxSize &)(result));
19823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19824 }
19825 return resultobj;
19826 fail:
19827 return NULL;
19828 }
19829
19830
19831 static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19834 wxSize result;
19835 PyObject * obj0 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
19841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail;
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 {
19851 wxSize * resultptr;
19852 resultptr = new wxSize((wxSize &)(result));
19853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
19870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 (arg1)->base_InitDialog();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 Py_INCREF(Py_None); resultobj = Py_None;
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19889 bool result;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = (bool)(arg1)->base_TransferDataToWindow();
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19907 }
19908 return resultobj;
19909 fail:
19910 return NULL;
19911 }
19912
19913
19914 static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
19915 PyObject *resultobj;
19916 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19917 bool result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
19924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail;
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = (bool)(arg1)->base_TransferDataFromWindow();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19945 bool result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
19952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail;
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (bool)(arg1)->base_Validate();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 {
19962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19963 }
19964 return resultobj;
19965 fail:
19966 return NULL;
19967 }
19968
19969
19970 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
19971 PyObject *resultobj;
19972 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19973 bool result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
19980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail;
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 {
19990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19991 }
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20001 bool result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) 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 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20019 }
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20029 wxSize result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",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 = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 {
20046 wxSize * resultptr;
20047 resultptr = new wxSize((wxSize &)(result));
20048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20049 }
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20059 wxWindow *arg2 = (wxWindow *) 0 ;
20060 PyObject * obj0 = 0 ;
20061 PyObject * obj1 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "child", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
20067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail;
20069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20070 if (SWIG_arg_fail(2)) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 (arg1)->base_AddChild(arg2);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 Py_INCREF(Py_None); resultobj = Py_None;
20079 return resultobj;
20080 fail:
20081 return NULL;
20082 }
20083
20084
20085 static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20088 wxWindow *arg2 = (wxWindow *) 0 ;
20089 PyObject * obj0 = 0 ;
20090 PyObject * obj1 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self",(char *) "child", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) 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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20099 if (SWIG_arg_fail(2)) SWIG_fail;
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 (arg1)->base_RemoveChild(arg2);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 Py_INCREF(Py_None); resultobj = Py_None;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111 }
20112
20113
20114 static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
20115 PyObject *resultobj;
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 bool result;
20118 PyObject * obj0 = 0 ;
20119 char *kwnames[] = {
20120 (char *) "self", NULL
20121 };
20122
20123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
20124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139 }
20140
20141
20142 static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20145 wxColour *arg2 = 0 ;
20146 wxColour temp2 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "c", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
20156 {
20157 arg2 = &temp2;
20158 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20177 wxVisualAttributes result;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
20184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail;
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (arg1)->base_GetDefaultAttributes();
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 wxVisualAttributes * resultptr;
20195 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
20196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201 }
20202
20203
20204 static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
20205 PyObject *obj;
20206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20207 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20208 Py_INCREF(obj);
20209 return Py_BuildValue((char *)"");
20210 }
20211 static int _wrap_PrintoutTitleStr_set(PyObject *) {
20212 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20213 return 1;
20214 }
20215
20216
20217 static PyObject *_wrap_PrintoutTitleStr_get(void) {
20218 PyObject *pyobj;
20219
20220 {
20221 #if wxUSE_UNICODE
20222 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20223 #else
20224 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20225 #endif
20226 }
20227 return pyobj;
20228 }
20229
20230
20231 static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
20232 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20233 return 1;
20234 }
20235
20236
20237 static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
20238 PyObject *pyobj;
20239
20240 {
20241 #if wxUSE_UNICODE
20242 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20243 #else
20244 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20245 #endif
20246 }
20247 return pyobj;
20248 }
20249
20250
20251 static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
20252 PyObject *resultobj;
20253 wxPrintData *result;
20254
20255 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (wxPrintData *)new wxPrintData();
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20264 return resultobj;
20265 fail:
20266 return NULL;
20267 }
20268
20269
20270 static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
20271 PyObject *resultobj;
20272 wxPrintData *arg1 = 0 ;
20273 wxPrintData *result;
20274 PyObject * obj0 = 0 ;
20275
20276 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
20277 {
20278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail;
20280 if (arg1 == NULL) {
20281 SWIG_null_ref("wxPrintData");
20282 }
20283 if (SWIG_arg_fail(1)) SWIG_fail;
20284 }
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20300 int argc;
20301 PyObject *argv[2];
20302 int ii;
20303
20304 argc = PyObject_Length(args);
20305 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20306 argv[ii] = PyTuple_GetItem(args,ii);
20307 }
20308 if (argc == 0) {
20309 return _wrap_new_PrintData__SWIG_0(self,args);
20310 }
20311 if (argc == 1) {
20312 int _v;
20313 {
20314 void *ptr = 0;
20315 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20316 _v = 0;
20317 PyErr_Clear();
20318 } else {
20319 _v = (ptr != 0);
20320 }
20321 }
20322 if (_v) {
20323 return _wrap_new_PrintData__SWIG_1(self,args);
20324 }
20325 }
20326
20327 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
20328 return NULL;
20329 }
20330
20331
20332 static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
20333 PyObject *resultobj;
20334 wxPrintData *arg1 = (wxPrintData *) 0 ;
20335 PyObject * obj0 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
20341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail;
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 delete arg1;
20346
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 Py_INCREF(Py_None); resultobj = Py_None;
20351 return resultobj;
20352 fail:
20353 return NULL;
20354 }
20355
20356
20357 static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20358 PyObject *resultobj;
20359 wxPrintData *arg1 = (wxPrintData *) 0 ;
20360 int result;
20361 PyObject * obj0 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
20367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (int)(arg1)->GetNoCopies();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 {
20377 resultobj = SWIG_From_int((int)(result));
20378 }
20379 return resultobj;
20380 fail:
20381 return NULL;
20382 }
20383
20384
20385 static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20386 PyObject *resultobj;
20387 wxPrintData *arg1 = (wxPrintData *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
20395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (bool)(arg1)->GetCollate();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 {
20405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20406 }
20407 return resultobj;
20408 fail:
20409 return NULL;
20410 }
20411
20412
20413 static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20414 PyObject *resultobj;
20415 wxPrintData *arg1 = (wxPrintData *) 0 ;
20416 int result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
20423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail;
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (int)(arg1)->GetOrientation();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 {
20433 resultobj = SWIG_From_int((int)(result));
20434 }
20435 return resultobj;
20436 fail:
20437 return NULL;
20438 }
20439
20440
20441 static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPrintData *arg1 = (wxPrintData *) 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
20451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (bool)(arg1)->Ok();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 {
20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPrintData *arg1 = (wxPrintData *) 0 ;
20472 wxString *result;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
20479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail;
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 {
20484 wxString const &_result_ref = (arg1)->GetPrinterName();
20485 result = (wxString *) &_result_ref;
20486 }
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 {
20492 #if wxUSE_UNICODE
20493 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20494 #else
20495 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20496 #endif
20497 }
20498 return resultobj;
20499 fail:
20500 return NULL;
20501 }
20502
20503
20504 static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20505 PyObject *resultobj;
20506 wxPrintData *arg1 = (wxPrintData *) 0 ;
20507 bool result;
20508 PyObject * obj0 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
20514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail;
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 result = (bool)(arg1)->GetColour();
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 {
20524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20525 }
20526 return resultobj;
20527 fail:
20528 return NULL;
20529 }
20530
20531
20532 static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxPrintData *arg1 = (wxPrintData *) 0 ;
20535 wxDuplexMode result;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
20542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail;
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 result = (wxDuplexMode)(arg1)->GetDuplex();
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 resultobj = SWIG_From_int((result));
20552 return resultobj;
20553 fail:
20554 return NULL;
20555 }
20556
20557
20558 static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20559 PyObject *resultobj;
20560 wxPrintData *arg1 = (wxPrintData *) 0 ;
20561 wxPaperSize result;
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
20568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail;
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
20572 result = (wxPaperSize)(arg1)->GetPaperId();
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
20577 resultobj = SWIG_From_int((result));
20578 return resultobj;
20579 fail:
20580 return NULL;
20581 }
20582
20583
20584 static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20585 PyObject *resultobj;
20586 wxPrintData *arg1 = (wxPrintData *) 0 ;
20587 wxSize *result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
20594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail;
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 {
20599 wxSize const &_result_ref = (arg1)->GetPaperSize();
20600 result = (wxSize *) &_result_ref;
20601 }
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPrintData *arg1 = (wxPrintData *) 0 ;
20616 int result;
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
20623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (int)(arg1)->GetQuality();
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
20633 resultobj = SWIG_From_int((int)(result));
20634 }
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxPrintData *arg1 = (wxPrintData *) 0 ;
20644 wxPrintBin result;
20645 PyObject * obj0 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
20651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail;
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
20655 result = (wxPrintBin)(arg1)->GetBin();
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
20660 resultobj = SWIG_From_int((result));
20661 return resultobj;
20662 fail:
20663 return NULL;
20664 }
20665
20666
20667 static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPrintData *arg1 = (wxPrintData *) 0 ;
20670 wxPrintMode result;
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
20677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail;
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
20686 resultobj = SWIG_From_int((result));
20687 return resultobj;
20688 fail:
20689 return NULL;
20690 }
20691
20692
20693 static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPrintData *arg1 = (wxPrintData *) 0 ;
20696 int arg2 ;
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "v", NULL
20701 };
20702
20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
20704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20705 if (SWIG_arg_fail(1)) SWIG_fail;
20706 {
20707 arg2 = (int)(SWIG_As_int(obj1));
20708 if (SWIG_arg_fail(2)) SWIG_fail;
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetNoCopies(arg2);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxPrintData *arg1 = (wxPrintData *) 0 ;
20727 bool arg2 ;
20728 PyObject * obj0 = 0 ;
20729 PyObject * obj1 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self",(char *) "flag", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
20735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail;
20737 {
20738 arg2 = (bool)(SWIG_As_bool(obj1));
20739 if (SWIG_arg_fail(2)) SWIG_fail;
20740 }
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 (arg1)->SetCollate(arg2);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 Py_INCREF(Py_None); resultobj = Py_None;
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPrintData *arg1 = (wxPrintData *) 0 ;
20758 int arg2 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "orient", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
20766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20767 if (SWIG_arg_fail(1)) SWIG_fail;
20768 {
20769 arg2 = (int)(SWIG_As_int(obj1));
20770 if (SWIG_arg_fail(2)) SWIG_fail;
20771 }
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->SetOrientation(arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPrintData *arg1 = (wxPrintData *) 0 ;
20789 wxString *arg2 = 0 ;
20790 bool temp2 = false ;
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "name", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
20798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail;
20800 {
20801 arg2 = wxString_in_helper(obj1);
20802 if (arg2 == NULL) SWIG_fail;
20803 temp2 = true;
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->SetPrinterName((wxString const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 {
20814 if (temp2)
20815 delete arg2;
20816 }
20817 return resultobj;
20818 fail:
20819 {
20820 if (temp2)
20821 delete arg2;
20822 }
20823 return NULL;
20824 }
20825
20826
20827 static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxPrintData *arg1 = (wxPrintData *) 0 ;
20830 bool arg2 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "colour", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
20838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail;
20840 {
20841 arg2 = (bool)(SWIG_As_bool(obj1));
20842 if (SWIG_arg_fail(2)) SWIG_fail;
20843 }
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 (arg1)->SetColour(arg2);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 Py_INCREF(Py_None); resultobj = Py_None;
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
20859 PyObject *resultobj;
20860 wxPrintData *arg1 = (wxPrintData *) 0 ;
20861 wxDuplexMode arg2 ;
20862 PyObject * obj0 = 0 ;
20863 PyObject * obj1 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "self",(char *) "duplex", NULL
20866 };
20867
20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
20869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20870 if (SWIG_arg_fail(1)) SWIG_fail;
20871 {
20872 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20873 if (SWIG_arg_fail(2)) SWIG_fail;
20874 }
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 (arg1)->SetDuplex((wxDuplexMode )arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 Py_INCREF(Py_None); resultobj = Py_None;
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPrintData *arg1 = (wxPrintData *) 0 ;
20892 wxPaperSize arg2 ;
20893 PyObject * obj0 = 0 ;
20894 PyObject * obj1 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "sizeId", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
20900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail;
20902 {
20903 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20904 if (SWIG_arg_fail(2)) SWIG_fail;
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 (arg1)->SetPaperId((wxPaperSize )arg2);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 Py_INCREF(Py_None); resultobj = Py_None;
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxPrintData *arg1 = (wxPrintData *) 0 ;
20923 wxSize *arg2 = 0 ;
20924 wxSize temp2 ;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "sz", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
20932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail;
20934 {
20935 arg2 = &temp2;
20936 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20937 }
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 (arg1)->SetPaperSize((wxSize const &)*arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 Py_INCREF(Py_None); resultobj = Py_None;
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj;
20954 wxPrintData *arg1 = (wxPrintData *) 0 ;
20955 int arg2 ;
20956 PyObject * obj0 = 0 ;
20957 PyObject * obj1 = 0 ;
20958 char *kwnames[] = {
20959 (char *) "self",(char *) "quality", NULL
20960 };
20961
20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
20963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail;
20965 {
20966 arg2 = (int)(SWIG_As_int(obj1));
20967 if (SWIG_arg_fail(2)) SWIG_fail;
20968 }
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 (arg1)->SetQuality(arg2);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 Py_INCREF(Py_None); resultobj = Py_None;
20977 return resultobj;
20978 fail:
20979 return NULL;
20980 }
20981
20982
20983 static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxPrintData *arg1 = (wxPrintData *) 0 ;
20986 wxPrintBin arg2 ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "bin", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
20996 {
20997 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20998 if (SWIG_arg_fail(2)) SWIG_fail;
20999 }
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 (arg1)->SetBin((wxPrintBin )arg2);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 Py_INCREF(Py_None); resultobj = Py_None;
21008 return resultobj;
21009 fail:
21010 return NULL;
21011 }
21012
21013
21014 static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
21015 PyObject *resultobj;
21016 wxPrintData *arg1 = (wxPrintData *) 0 ;
21017 wxPrintMode arg2 ;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "printMode", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
21025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail;
21027 {
21028 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21029 if (SWIG_arg_fail(2)) SWIG_fail;
21030 }
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 (arg1)->SetPrintMode((wxPrintMode )arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042 }
21043
21044
21045 static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj;
21047 wxPrintData *arg1 = (wxPrintData *) 0 ;
21048 wxString result;
21049 PyObject * obj0 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "self", NULL
21052 };
21053
21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
21055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail;
21057 {
21058 PyThreadState* __tstate = wxPyBeginAllowThreads();
21059 result = ((wxPrintData const *)arg1)->GetFilename();
21060
21061 wxPyEndAllowThreads(__tstate);
21062 if (PyErr_Occurred()) SWIG_fail;
21063 }
21064 {
21065 #if wxUSE_UNICODE
21066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21067 #else
21068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21069 #endif
21070 }
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPrintData *arg1 = (wxPrintData *) 0 ;
21080 wxString *arg2 = 0 ;
21081 bool temp2 = false ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self",(char *) "filename", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
21089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail;
21091 {
21092 arg2 = wxString_in_helper(obj1);
21093 if (arg2 == NULL) SWIG_fail;
21094 temp2 = true;
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->SetFilename((wxString const &)*arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 {
21105 if (temp2)
21106 delete arg2;
21107 }
21108 return resultobj;
21109 fail:
21110 {
21111 if (temp2)
21112 delete arg2;
21113 }
21114 return NULL;
21115 }
21116
21117
21118 static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPrintData *arg1 = (wxPrintData *) 0 ;
21121 wxString *result;
21122 PyObject * obj0 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
21128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail;
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 {
21133 wxString const &_result_ref = (arg1)->GetPrinterCommand();
21134 result = (wxString *) &_result_ref;
21135 }
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 {
21141 #if wxUSE_UNICODE
21142 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21143 #else
21144 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21145 #endif
21146 }
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj;
21155 wxPrintData *arg1 = (wxPrintData *) 0 ;
21156 wxString *result;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
21163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail;
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 {
21168 wxString const &_result_ref = (arg1)->GetPrinterOptions();
21169 result = (wxString *) &_result_ref;
21170 }
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 {
21176 #if wxUSE_UNICODE
21177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21178 #else
21179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21180 #endif
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPrintData *arg1 = (wxPrintData *) 0 ;
21191 wxString *result;
21192 PyObject * obj0 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 {
21203 wxString const &_result_ref = (arg1)->GetPreviewCommand();
21204 result = (wxString *) &_result_ref;
21205 }
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 {
21211 #if wxUSE_UNICODE
21212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21213 #else
21214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21215 #endif
21216 }
21217 return resultobj;
21218 fail:
21219 return NULL;
21220 }
21221
21222
21223 static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21224 PyObject *resultobj;
21225 wxPrintData *arg1 = (wxPrintData *) 0 ;
21226 wxString *result;
21227 PyObject * obj0 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
21233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail;
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 {
21238 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21239 result = (wxString *) &_result_ref;
21240 }
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 {
21246 #if wxUSE_UNICODE
21247 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21248 #else
21249 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21250 #endif
21251 }
21252 return resultobj;
21253 fail:
21254 return NULL;
21255 }
21256
21257
21258 static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21259 PyObject *resultobj;
21260 wxPrintData *arg1 = (wxPrintData *) 0 ;
21261 double result;
21262 PyObject * obj0 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
21268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail;
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = (double)(arg1)->GetPrinterScaleX();
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
21277 {
21278 resultobj = SWIG_From_double((double)(result));
21279 }
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPrintData *arg1 = (wxPrintData *) 0 ;
21289 double result;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
21296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21297 if (SWIG_arg_fail(1)) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = (double)(arg1)->GetPrinterScaleY();
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 {
21306 resultobj = SWIG_From_double((double)(result));
21307 }
21308 return resultobj;
21309 fail:
21310 return NULL;
21311 }
21312
21313
21314 static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxPrintData *arg1 = (wxPrintData *) 0 ;
21317 long result;
21318 PyObject * obj0 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
21324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (long)(arg1)->GetPrinterTranslateX();
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 {
21334 resultobj = SWIG_From_long((long)(result));
21335 }
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxPrintData *arg1 = (wxPrintData *) 0 ;
21345 long result;
21346 PyObject * obj0 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
21352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21353 if (SWIG_arg_fail(1)) SWIG_fail;
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (long)(arg1)->GetPrinterTranslateY();
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 {
21362 resultobj = SWIG_From_long((long)(result));
21363 }
21364 return resultobj;
21365 fail:
21366 return NULL;
21367 }
21368
21369
21370 static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21371 PyObject *resultobj;
21372 wxPrintData *arg1 = (wxPrintData *) 0 ;
21373 wxString *arg2 = 0 ;
21374 bool temp2 = false ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "command", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
21384 {
21385 arg2 = wxString_in_helper(obj1);
21386 if (arg2 == NULL) SWIG_fail;
21387 temp2 = true;
21388 }
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 (arg1)->SetPrinterCommand((wxString const &)*arg2);
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 Py_INCREF(Py_None); resultobj = Py_None;
21397 {
21398 if (temp2)
21399 delete arg2;
21400 }
21401 return resultobj;
21402 fail:
21403 {
21404 if (temp2)
21405 delete arg2;
21406 }
21407 return NULL;
21408 }
21409
21410
21411 static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
21412 PyObject *resultobj;
21413 wxPrintData *arg1 = (wxPrintData *) 0 ;
21414 wxString *arg2 = 0 ;
21415 bool temp2 = false ;
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "self",(char *) "options", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
21423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail;
21425 {
21426 arg2 = wxString_in_helper(obj1);
21427 if (arg2 == NULL) SWIG_fail;
21428 temp2 = true;
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 Py_INCREF(Py_None); resultobj = Py_None;
21438 {
21439 if (temp2)
21440 delete arg2;
21441 }
21442 return resultobj;
21443 fail:
21444 {
21445 if (temp2)
21446 delete arg2;
21447 }
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPrintData *arg1 = (wxPrintData *) 0 ;
21455 wxString *arg2 = 0 ;
21456 bool temp2 = false ;
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "command", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
21464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21465 if (SWIG_arg_fail(1)) SWIG_fail;
21466 {
21467 arg2 = wxString_in_helper(obj1);
21468 if (arg2 == NULL) SWIG_fail;
21469 temp2 = true;
21470 }
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 {
21480 if (temp2)
21481 delete arg2;
21482 }
21483 return resultobj;
21484 fail:
21485 {
21486 if (temp2)
21487 delete arg2;
21488 }
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPrintData *arg1 = (wxPrintData *) 0 ;
21496 wxString *arg2 = 0 ;
21497 bool temp2 = false ;
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self",(char *) "path", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
21505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21506 if (SWIG_arg_fail(1)) SWIG_fail;
21507 {
21508 arg2 = wxString_in_helper(obj1);
21509 if (arg2 == NULL) SWIG_fail;
21510 temp2 = true;
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 {
21521 if (temp2)
21522 delete arg2;
21523 }
21524 return resultobj;
21525 fail:
21526 {
21527 if (temp2)
21528 delete arg2;
21529 }
21530 return NULL;
21531 }
21532
21533
21534 static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj;
21536 wxPrintData *arg1 = (wxPrintData *) 0 ;
21537 double arg2 ;
21538 PyObject * obj0 = 0 ;
21539 PyObject * obj1 = 0 ;
21540 char *kwnames[] = {
21541 (char *) "self",(char *) "x", NULL
21542 };
21543
21544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
21545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail;
21547 {
21548 arg2 = (double)(SWIG_As_double(obj1));
21549 if (SWIG_arg_fail(2)) SWIG_fail;
21550 }
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 (arg1)->SetPrinterScaleX(arg2);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 Py_INCREF(Py_None); resultobj = Py_None;
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPrintData *arg1 = (wxPrintData *) 0 ;
21568 double arg2 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self",(char *) "y", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
21576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail;
21578 {
21579 arg2 = (double)(SWIG_As_double(obj1));
21580 if (SWIG_arg_fail(2)) SWIG_fail;
21581 }
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 (arg1)->SetPrinterScaleY(arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 Py_INCREF(Py_None); resultobj = Py_None;
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPrintData *arg1 = (wxPrintData *) 0 ;
21599 double arg2 ;
21600 double arg3 ;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 PyObject * obj2 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "x",(char *) "y", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
21609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail;
21611 {
21612 arg2 = (double)(SWIG_As_double(obj1));
21613 if (SWIG_arg_fail(2)) SWIG_fail;
21614 }
21615 {
21616 arg3 = (double)(SWIG_As_double(obj2));
21617 if (SWIG_arg_fail(3)) SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetPrinterScaling(arg2,arg3);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPrintData *arg1 = (wxPrintData *) 0 ;
21636 long arg2 ;
21637 PyObject * obj0 = 0 ;
21638 PyObject * obj1 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "x", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
21644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail;
21646 {
21647 arg2 = (long)(SWIG_As_long(obj1));
21648 if (SWIG_arg_fail(2)) SWIG_fail;
21649 }
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 (arg1)->SetPrinterTranslateX(arg2);
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 Py_INCREF(Py_None); resultobj = Py_None;
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPrintData *arg1 = (wxPrintData *) 0 ;
21667 long arg2 ;
21668 PyObject * obj0 = 0 ;
21669 PyObject * obj1 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "y", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
21675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail;
21677 {
21678 arg2 = (long)(SWIG_As_long(obj1));
21679 if (SWIG_arg_fail(2)) SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 (arg1)->SetPrinterTranslateY(arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxPrintData *arg1 = (wxPrintData *) 0 ;
21698 long arg2 ;
21699 long arg3 ;
21700 PyObject * obj0 = 0 ;
21701 PyObject * obj1 = 0 ;
21702 PyObject * obj2 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "x",(char *) "y", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
21708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail;
21710 {
21711 arg2 = (long)(SWIG_As_long(obj1));
21712 if (SWIG_arg_fail(2)) SWIG_fail;
21713 }
21714 {
21715 arg3 = (long)(SWIG_As_long(obj2));
21716 if (SWIG_arg_fail(3)) SWIG_fail;
21717 }
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 (arg1)->SetPrinterTranslation(arg2,arg3);
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 Py_INCREF(Py_None); resultobj = Py_None;
21726 return resultobj;
21727 fail:
21728 return NULL;
21729 }
21730
21731
21732 static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
21733 PyObject *obj;
21734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21735 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21736 Py_INCREF(obj);
21737 return Py_BuildValue((char *)"");
21738 }
21739 static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
21740 PyObject *resultobj;
21741 wxPageSetupDialogData *result;
21742
21743 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
21759 PyObject *resultobj;
21760 wxPageSetupDialogData *arg1 = 0 ;
21761 wxPageSetupDialogData *result;
21762 PyObject * obj0 = 0 ;
21763
21764 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21765 {
21766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail;
21768 if (arg1 == NULL) {
21769 SWIG_null_ref("wxPageSetupDialogData");
21770 }
21771 if (SWIG_arg_fail(1)) SWIG_fail;
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21781 return resultobj;
21782 fail:
21783 return NULL;
21784 }
21785
21786
21787 static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21788 int argc;
21789 PyObject *argv[2];
21790 int ii;
21791
21792 argc = PyObject_Length(args);
21793 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21794 argv[ii] = PyTuple_GetItem(args,ii);
21795 }
21796 if (argc == 0) {
21797 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21798 }
21799 if (argc == 1) {
21800 int _v;
21801 {
21802 void *ptr = 0;
21803 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21804 _v = 0;
21805 PyErr_Clear();
21806 } else {
21807 _v = (ptr != 0);
21808 }
21809 }
21810 if (_v) {
21811 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21812 }
21813 }
21814
21815 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
21816 return NULL;
21817 }
21818
21819
21820 static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
21821 PyObject *resultobj;
21822 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21823 PyObject * obj0 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
21829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21830 if (SWIG_arg_fail(1)) SWIG_fail;
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 delete arg1;
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 Py_INCREF(Py_None); resultobj = Py_None;
21839 return resultobj;
21840 fail:
21841 return NULL;
21842 }
21843
21844
21845 static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
21846 PyObject *resultobj;
21847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21848 bool arg2 ;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "flag", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
21856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail;
21858 {
21859 arg2 = (bool)(SWIG_As_bool(obj1));
21860 if (SWIG_arg_fail(2)) SWIG_fail;
21861 }
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 (arg1)->EnableHelp(arg2);
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 Py_INCREF(Py_None); resultobj = Py_None;
21870 return resultobj;
21871 fail:
21872 return NULL;
21873 }
21874
21875
21876 static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
21877 PyObject *resultobj;
21878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21879 bool arg2 ;
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "self",(char *) "flag", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
21887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21888 if (SWIG_arg_fail(1)) SWIG_fail;
21889 {
21890 arg2 = (bool)(SWIG_As_bool(obj1));
21891 if (SWIG_arg_fail(2)) SWIG_fail;
21892 }
21893 {
21894 PyThreadState* __tstate = wxPyBeginAllowThreads();
21895 (arg1)->EnableMargins(arg2);
21896
21897 wxPyEndAllowThreads(__tstate);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 }
21900 Py_INCREF(Py_None); resultobj = Py_None;
21901 return resultobj;
21902 fail:
21903 return NULL;
21904 }
21905
21906
21907 static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
21908 PyObject *resultobj;
21909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21910 bool arg2 ;
21911 PyObject * obj0 = 0 ;
21912 PyObject * obj1 = 0 ;
21913 char *kwnames[] = {
21914 (char *) "self",(char *) "flag", NULL
21915 };
21916
21917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
21918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21919 if (SWIG_arg_fail(1)) SWIG_fail;
21920 {
21921 arg2 = (bool)(SWIG_As_bool(obj1));
21922 if (SWIG_arg_fail(2)) SWIG_fail;
21923 }
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
21926 (arg1)->EnableOrientation(arg2);
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 Py_INCREF(Py_None); resultobj = Py_None;
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj;
21940 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21941 bool arg2 ;
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self",(char *) "flag", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
21949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail;
21951 {
21952 arg2 = (bool)(SWIG_As_bool(obj1));
21953 if (SWIG_arg_fail(2)) SWIG_fail;
21954 }
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 (arg1)->EnablePaper(arg2);
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
21962 Py_INCREF(Py_None); resultobj = Py_None;
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21972 bool arg2 ;
21973 PyObject * obj0 = 0 ;
21974 PyObject * obj1 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "self",(char *) "flag", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
21980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21981 if (SWIG_arg_fail(1)) SWIG_fail;
21982 {
21983 arg2 = (bool)(SWIG_As_bool(obj1));
21984 if (SWIG_arg_fail(2)) SWIG_fail;
21985 }
21986 {
21987 PyThreadState* __tstate = wxPyBeginAllowThreads();
21988 (arg1)->EnablePrinter(arg2);
21989
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 Py_INCREF(Py_None); resultobj = Py_None;
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22003 bool result;
22004 PyObject * obj0 = 0 ;
22005 char *kwnames[] = {
22006 (char *) "self", NULL
22007 };
22008
22009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
22010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22011 if (SWIG_arg_fail(1)) SWIG_fail;
22012 {
22013 PyThreadState* __tstate = wxPyBeginAllowThreads();
22014 result = (bool)(arg1)->GetDefaultMinMargins();
22015
22016 wxPyEndAllowThreads(__tstate);
22017 if (PyErr_Occurred()) SWIG_fail;
22018 }
22019 {
22020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22021 }
22022 return resultobj;
22023 fail:
22024 return NULL;
22025 }
22026
22027
22028 static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22029 PyObject *resultobj;
22030 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22031 bool result;
22032 PyObject * obj0 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
22038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail;
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 result = (bool)(arg1)->GetEnableMargins();
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 {
22048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22049 }
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22059 bool result;
22060 PyObject * obj0 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
22066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail;
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (bool)(arg1)->GetEnableOrientation();
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22077 }
22078 return resultobj;
22079 fail:
22080 return NULL;
22081 }
22082
22083
22084 static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
22085 PyObject *resultobj;
22086 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22087 bool result;
22088 PyObject * obj0 = 0 ;
22089 char *kwnames[] = {
22090 (char *) "self", NULL
22091 };
22092
22093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
22094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22095 if (SWIG_arg_fail(1)) SWIG_fail;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 result = (bool)(arg1)->GetEnablePaper();
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 {
22104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22105 }
22106 return resultobj;
22107 fail:
22108 return NULL;
22109 }
22110
22111
22112 static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
22113 PyObject *resultobj;
22114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22115 bool result;
22116 PyObject * obj0 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
22122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail;
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 result = (bool)(arg1)->GetEnablePrinter();
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 {
22132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22133 }
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22143 bool result;
22144 PyObject * obj0 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
22150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22151 if (SWIG_arg_fail(1)) SWIG_fail;
22152 {
22153 PyThreadState* __tstate = wxPyBeginAllowThreads();
22154 result = (bool)(arg1)->GetEnableHelp();
22155
22156 wxPyEndAllowThreads(__tstate);
22157 if (PyErr_Occurred()) SWIG_fail;
22158 }
22159 {
22160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22161 }
22162 return resultobj;
22163 fail:
22164 return NULL;
22165 }
22166
22167
22168 static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22171 bool result;
22172 PyObject * obj0 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
22178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail;
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (bool)(arg1)->GetDefaultInfo();
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22189 }
22190 return resultobj;
22191 fail:
22192 return NULL;
22193 }
22194
22195
22196 static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22199 wxPoint result;
22200 PyObject * obj0 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
22206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22207 if (SWIG_arg_fail(1)) SWIG_fail;
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (arg1)->GetMarginTopLeft();
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 wxPoint * resultptr;
22217 resultptr = new wxPoint((wxPoint &)(result));
22218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22229 wxPoint result;
22230 PyObject * obj0 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
22236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail;
22238 {
22239 PyThreadState* __tstate = wxPyBeginAllowThreads();
22240 result = (arg1)->GetMarginBottomRight();
22241
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 {
22246 wxPoint * resultptr;
22247 resultptr = new wxPoint((wxPoint &)(result));
22248 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22249 }
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22259 wxPoint result;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
22266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22267 if (SWIG_arg_fail(1)) SWIG_fail;
22268 {
22269 PyThreadState* __tstate = wxPyBeginAllowThreads();
22270 result = (arg1)->GetMinMarginTopLeft();
22271
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 {
22276 wxPoint * resultptr;
22277 resultptr = new wxPoint((wxPoint &)(result));
22278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22279 }
22280 return resultobj;
22281 fail:
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22289 wxPoint result;
22290 PyObject * obj0 = 0 ;
22291 char *kwnames[] = {
22292 (char *) "self", NULL
22293 };
22294
22295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
22296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22297 if (SWIG_arg_fail(1)) SWIG_fail;
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 result = (arg1)->GetMinMarginBottomRight();
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 {
22306 wxPoint * resultptr;
22307 resultptr = new wxPoint((wxPoint &)(result));
22308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22309 }
22310 return resultobj;
22311 fail:
22312 return NULL;
22313 }
22314
22315
22316 static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22319 wxPaperSize result;
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
22326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail;
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (wxPaperSize)(arg1)->GetPaperId();
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 resultobj = SWIG_From_int((result));
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22345 wxSize result;
22346 PyObject * obj0 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
22352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail;
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (arg1)->GetPaperSize();
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 {
22362 wxSize * resultptr;
22363 resultptr = new wxSize((wxSize &)(result));
22364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22365 }
22366 return resultobj;
22367 fail:
22368 return NULL;
22369 }
22370
22371
22372 static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj;
22374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22375 wxPrintData *result;
22376 PyObject * obj0 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
22382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail;
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 {
22387 wxPrintData &_result_ref = (arg1)->GetPrintData();
22388 result = (wxPrintData *) &_result_ref;
22389 }
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22395 return resultobj;
22396 fail:
22397 return NULL;
22398 }
22399
22400
22401 static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
22402 PyObject *resultobj;
22403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22404 bool result;
22405 PyObject * obj0 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
22411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail;
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 result = (bool)(arg1)->Ok();
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 {
22421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22422 }
22423 return resultobj;
22424 fail:
22425 return NULL;
22426 }
22427
22428
22429 static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22432 bool arg2 ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self",(char *) "flag", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
22440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail;
22442 {
22443 arg2 = (bool)(SWIG_As_bool(obj1));
22444 if (SWIG_arg_fail(2)) SWIG_fail;
22445 }
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 (arg1)->SetDefaultInfo(arg2);
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 Py_INCREF(Py_None); resultobj = Py_None;
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22463 bool arg2 ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "flag", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
22471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22472 if (SWIG_arg_fail(1)) SWIG_fail;
22473 {
22474 arg2 = (bool)(SWIG_As_bool(obj1));
22475 if (SWIG_arg_fail(2)) SWIG_fail;
22476 }
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->SetDefaultMinMargins(arg2);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 Py_INCREF(Py_None); resultobj = Py_None;
22485 return resultobj;
22486 fail:
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22494 wxPoint *arg2 = 0 ;
22495 wxPoint temp2 ;
22496 PyObject * obj0 = 0 ;
22497 PyObject * obj1 = 0 ;
22498 char *kwnames[] = {
22499 (char *) "self",(char *) "pt", NULL
22500 };
22501
22502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail;
22505 {
22506 arg2 = &temp2;
22507 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22508 }
22509 {
22510 PyThreadState* __tstate = wxPyBeginAllowThreads();
22511 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22512
22513 wxPyEndAllowThreads(__tstate);
22514 if (PyErr_Occurred()) SWIG_fail;
22515 }
22516 Py_INCREF(Py_None); resultobj = Py_None;
22517 return resultobj;
22518 fail:
22519 return NULL;
22520 }
22521
22522
22523 static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22524 PyObject *resultobj;
22525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22526 wxPoint *arg2 = 0 ;
22527 wxPoint temp2 ;
22528 PyObject * obj0 = 0 ;
22529 PyObject * obj1 = 0 ;
22530 char *kwnames[] = {
22531 (char *) "self",(char *) "pt", NULL
22532 };
22533
22534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22536 if (SWIG_arg_fail(1)) SWIG_fail;
22537 {
22538 arg2 = &temp2;
22539 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22540 }
22541 {
22542 PyThreadState* __tstate = wxPyBeginAllowThreads();
22543 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22544
22545 wxPyEndAllowThreads(__tstate);
22546 if (PyErr_Occurred()) SWIG_fail;
22547 }
22548 Py_INCREF(Py_None); resultobj = Py_None;
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22558 wxPoint *arg2 = 0 ;
22559 wxPoint temp2 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "pt", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
22567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail;
22569 {
22570 arg2 = &temp2;
22571 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22572 }
22573 {
22574 PyThreadState* __tstate = wxPyBeginAllowThreads();
22575 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 Py_INCREF(Py_None); resultobj = Py_None;
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22590 wxPoint *arg2 = 0 ;
22591 wxPoint temp2 ;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "pt", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
22599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail;
22601 {
22602 arg2 = &temp2;
22603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22604 }
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 Py_INCREF(Py_None); resultobj = Py_None;
22613 return resultobj;
22614 fail:
22615 return NULL;
22616 }
22617
22618
22619 static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
22620 PyObject *resultobj;
22621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22622 wxPaperSize arg2 ;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 char *kwnames[] = {
22626 (char *) "self",(char *) "id", NULL
22627 };
22628
22629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
22630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail;
22632 {
22633 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22634 if (SWIG_arg_fail(2)) SWIG_fail;
22635 }
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 (arg1)->SetPaperId((wxPaperSize )arg2);
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 Py_INCREF(Py_None); resultobj = Py_None;
22644 return resultobj;
22645 fail:
22646 return NULL;
22647 }
22648
22649
22650 static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22653 wxSize *arg2 = 0 ;
22654 wxSize temp2 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "size", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
22662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail;
22664 {
22665 arg2 = &temp2;
22666 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22667 }
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 (arg1)->SetPaperSize((wxSize const &)*arg2);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 return resultobj;
22677 fail:
22678 return NULL;
22679 }
22680
22681
22682 static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj;
22684 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22685 wxPrintData *arg2 = 0 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 char *kwnames[] = {
22689 (char *) "self",(char *) "printData", NULL
22690 };
22691
22692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
22693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22694 if (SWIG_arg_fail(1)) SWIG_fail;
22695 {
22696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22697 if (SWIG_arg_fail(2)) SWIG_fail;
22698 if (arg2 == NULL) {
22699 SWIG_null_ref("wxPrintData");
22700 }
22701 if (SWIG_arg_fail(2)) SWIG_fail;
22702 }
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
22718 PyObject *obj;
22719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22720 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22721 Py_INCREF(obj);
22722 return Py_BuildValue((char *)"");
22723 }
22724 static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxWindow *arg1 = (wxWindow *) 0 ;
22727 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22728 wxPageSetupDialog *result;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "parent",(char *) "data", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
22736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail;
22738 if (obj1) {
22739 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22740 if (SWIG_arg_fail(2)) SWIG_fail;
22741 }
22742 {
22743 if (!wxPyCheckForApp()) SWIG_fail;
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22760 wxPageSetupDialogData *result;
22761 PyObject * obj0 = 0 ;
22762 char *kwnames[] = {
22763 (char *) "self", NULL
22764 };
22765
22766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
22767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 {
22772 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22773 result = (wxPageSetupDialogData *) &_result_ref;
22774 }
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22780 return resultobj;
22781 fail:
22782 return NULL;
22783 }
22784
22785
22786 static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22789 wxPageSetupDialogData *result;
22790 PyObject * obj0 = 0 ;
22791 char *kwnames[] = {
22792 (char *) "self", NULL
22793 };
22794
22795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
22796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(1)) SWIG_fail;
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 {
22801 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22802 result = (wxPageSetupDialogData *) &_result_ref;
22803 }
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22809 return resultobj;
22810 fail:
22811 return NULL;
22812 }
22813
22814
22815 static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22818 int result;
22819 PyObject * obj0 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "self", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
22825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22826 if (SWIG_arg_fail(1)) SWIG_fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = (int)(arg1)->ShowModal();
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 {
22835 resultobj = SWIG_From_int((int)(result));
22836 }
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
22844 PyObject *obj;
22845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22846 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22847 Py_INCREF(obj);
22848 return Py_BuildValue((char *)"");
22849 }
22850 static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
22851 PyObject *resultobj;
22852 wxPrintDialogData *result;
22853
22854 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22855 {
22856 PyThreadState* __tstate = wxPyBeginAllowThreads();
22857 result = (wxPrintDialogData *)new wxPrintDialogData();
22858
22859 wxPyEndAllowThreads(__tstate);
22860 if (PyErr_Occurred()) SWIG_fail;
22861 }
22862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22863 return resultobj;
22864 fail:
22865 return NULL;
22866 }
22867
22868
22869 static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
22870 PyObject *resultobj;
22871 wxPrintData *arg1 = 0 ;
22872 wxPrintDialogData *result;
22873 PyObject * obj0 = 0 ;
22874
22875 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22876 {
22877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22878 if (SWIG_arg_fail(1)) SWIG_fail;
22879 if (arg1 == NULL) {
22880 SWIG_null_ref("wxPrintData");
22881 }
22882 if (SWIG_arg_fail(1)) SWIG_fail;
22883 }
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22892 return resultobj;
22893 fail:
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22899 int argc;
22900 PyObject *argv[2];
22901 int ii;
22902
22903 argc = PyObject_Length(args);
22904 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22905 argv[ii] = PyTuple_GetItem(args,ii);
22906 }
22907 if (argc == 0) {
22908 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22909 }
22910 if (argc == 1) {
22911 int _v;
22912 {
22913 void *ptr = 0;
22914 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22915 _v = 0;
22916 PyErr_Clear();
22917 } else {
22918 _v = (ptr != 0);
22919 }
22920 }
22921 if (_v) {
22922 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22923 }
22924 }
22925
22926 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22934 PyObject * obj0 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
22940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail;
22942 {
22943 PyThreadState* __tstate = wxPyBeginAllowThreads();
22944 delete arg1;
22945
22946 wxPyEndAllowThreads(__tstate);
22947 if (PyErr_Occurred()) SWIG_fail;
22948 }
22949 Py_INCREF(Py_None); resultobj = Py_None;
22950 return resultobj;
22951 fail:
22952 return NULL;
22953 }
22954
22955
22956 static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
22957 PyObject *resultobj;
22958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22959 int result;
22960 PyObject * obj0 = 0 ;
22961 char *kwnames[] = {
22962 (char *) "self", NULL
22963 };
22964
22965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
22966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail;
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 {
22976 resultobj = SWIG_From_int((int)(result));
22977 }
22978 return resultobj;
22979 fail:
22980 return NULL;
22981 }
22982
22983
22984 static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj;
22986 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22987 int result;
22988 PyObject * obj0 = 0 ;
22989 char *kwnames[] = {
22990 (char *) "self", NULL
22991 };
22992
22993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
22994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22995 if (SWIG_arg_fail(1)) SWIG_fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 {
23004 resultobj = SWIG_From_int((int)(result));
23005 }
23006 return resultobj;
23007 fail:
23008 return NULL;
23009 }
23010
23011
23012 static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23013 PyObject *resultobj;
23014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23015 int result;
23016 PyObject * obj0 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
23022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23023 if (SWIG_arg_fail(1)) SWIG_fail;
23024 {
23025 PyThreadState* __tstate = wxPyBeginAllowThreads();
23026 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23027
23028 wxPyEndAllowThreads(__tstate);
23029 if (PyErr_Occurred()) SWIG_fail;
23030 }
23031 {
23032 resultobj = SWIG_From_int((int)(result));
23033 }
23034 return resultobj;
23035 fail:
23036 return NULL;
23037 }
23038
23039
23040 static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23041 PyObject *resultobj;
23042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23043 int result;
23044 PyObject * obj0 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
23050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23051 if (SWIG_arg_fail(1)) SWIG_fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 {
23060 resultobj = SWIG_From_int((int)(result));
23061 }
23062 return resultobj;
23063 fail:
23064 return NULL;
23065 }
23066
23067
23068 static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23069 PyObject *resultobj;
23070 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23071 int result;
23072 PyObject * obj0 = 0 ;
23073 char *kwnames[] = {
23074 (char *) "self", NULL
23075 };
23076
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
23078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail;
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 {
23088 resultobj = SWIG_From_int((int)(result));
23089 }
23090 return resultobj;
23091 fail:
23092 return NULL;
23093 }
23094
23095
23096 static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj;
23098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23099 bool result;
23100 PyObject * obj0 = 0 ;
23101 char *kwnames[] = {
23102 (char *) "self", NULL
23103 };
23104
23105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
23106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23107 if (SWIG_arg_fail(1)) SWIG_fail;
23108 {
23109 PyThreadState* __tstate = wxPyBeginAllowThreads();
23110 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23111
23112 wxPyEndAllowThreads(__tstate);
23113 if (PyErr_Occurred()) SWIG_fail;
23114 }
23115 {
23116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23117 }
23118 return resultobj;
23119 fail:
23120 return NULL;
23121 }
23122
23123
23124 static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23125 PyObject *resultobj;
23126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23127 bool result;
23128 PyObject * obj0 = 0 ;
23129 char *kwnames[] = {
23130 (char *) "self", NULL
23131 };
23132
23133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
23134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23135 if (SWIG_arg_fail(1)) SWIG_fail;
23136 {
23137 PyThreadState* __tstate = wxPyBeginAllowThreads();
23138 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23139
23140 wxPyEndAllowThreads(__tstate);
23141 if (PyErr_Occurred()) SWIG_fail;
23142 }
23143 {
23144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23155 bool result;
23156 PyObject * obj0 = 0 ;
23157 char *kwnames[] = {
23158 (char *) "self", NULL
23159 };
23160
23161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
23162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23163 if (SWIG_arg_fail(1)) SWIG_fail;
23164 {
23165 PyThreadState* __tstate = wxPyBeginAllowThreads();
23166 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23167
23168 wxPyEndAllowThreads(__tstate);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
23171 {
23172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23173 }
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23183 bool result;
23184 PyObject * obj0 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
23190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23191 if (SWIG_arg_fail(1)) SWIG_fail;
23192 {
23193 PyThreadState* __tstate = wxPyBeginAllowThreads();
23194 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23195
23196 wxPyEndAllowThreads(__tstate);
23197 if (PyErr_Occurred()) SWIG_fail;
23198 }
23199 {
23200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23201 }
23202 return resultobj;
23203 fail:
23204 return NULL;
23205 }
23206
23207
23208 static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23209 PyObject *resultobj;
23210 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23211 bool result;
23212 PyObject * obj0 = 0 ;
23213 char *kwnames[] = {
23214 (char *) "self", NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
23218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23219 if (SWIG_arg_fail(1)) SWIG_fail;
23220 {
23221 PyThreadState* __tstate = wxPyBeginAllowThreads();
23222 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23223
23224 wxPyEndAllowThreads(__tstate);
23225 if (PyErr_Occurred()) SWIG_fail;
23226 }
23227 {
23228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23229 }
23230 return resultobj;
23231 fail:
23232 return NULL;
23233 }
23234
23235
23236 static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23237 PyObject *resultobj;
23238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23239 bool arg2 ;
23240 PyObject * obj0 = 0 ;
23241 PyObject * obj1 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self",(char *) "flag", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
23247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail;
23249 {
23250 arg2 = (bool)(SWIG_As_bool(obj1));
23251 if (SWIG_arg_fail(2)) SWIG_fail;
23252 }
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 (arg1)->SetSetupDialog(arg2);
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 Py_INCREF(Py_None); resultobj = Py_None;
23261 return resultobj;
23262 fail:
23263 return NULL;
23264 }
23265
23266
23267 static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
23268 PyObject *resultobj;
23269 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23270 int arg2 ;
23271 PyObject * obj0 = 0 ;
23272 PyObject * obj1 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self",(char *) "v", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
23278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail;
23280 {
23281 arg2 = (int)(SWIG_As_int(obj1));
23282 if (SWIG_arg_fail(2)) SWIG_fail;
23283 }
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 (arg1)->SetFromPage(arg2);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 Py_INCREF(Py_None); resultobj = Py_None;
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23301 int arg2 ;
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "v", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
23309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail;
23311 {
23312 arg2 = (int)(SWIG_As_int(obj1));
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 }
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 (arg1)->SetToPage(arg2);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 Py_INCREF(Py_None); resultobj = Py_None;
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
23330 PyObject *resultobj;
23331 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23332 int arg2 ;
23333 PyObject * obj0 = 0 ;
23334 PyObject * obj1 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "v", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
23340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail;
23342 {
23343 arg2 = (int)(SWIG_As_int(obj1));
23344 if (SWIG_arg_fail(2)) SWIG_fail;
23345 }
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 (arg1)->SetMinPage(arg2);
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 Py_INCREF(Py_None); resultobj = Py_None;
23354 return resultobj;
23355 fail:
23356 return NULL;
23357 }
23358
23359
23360 static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
23361 PyObject *resultobj;
23362 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23363 int arg2 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "v", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
23373 {
23374 arg2 = (int)(SWIG_As_int(obj1));
23375 if (SWIG_arg_fail(2)) SWIG_fail;
23376 }
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 (arg1)->SetMaxPage(arg2);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23394 int arg2 ;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj1 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "v", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
23402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail;
23404 {
23405 arg2 = (int)(SWIG_As_int(obj1));
23406 if (SWIG_arg_fail(2)) SWIG_fail;
23407 }
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 (arg1)->SetNoCopies(arg2);
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 Py_INCREF(Py_None); resultobj = Py_None;
23416 return resultobj;
23417 fail:
23418 return NULL;
23419 }
23420
23421
23422 static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
23423 PyObject *resultobj;
23424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23425 bool arg2 ;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self",(char *) "flag", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
23433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail;
23435 {
23436 arg2 = (bool)(SWIG_As_bool(obj1));
23437 if (SWIG_arg_fail(2)) SWIG_fail;
23438 }
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 (arg1)->SetAllPages(arg2);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 Py_INCREF(Py_None); resultobj = Py_None;
23447 return resultobj;
23448 fail:
23449 return NULL;
23450 }
23451
23452
23453 static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23456 bool arg2 ;
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self",(char *) "flag", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
23464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail;
23466 {
23467 arg2 = (bool)(SWIG_As_bool(obj1));
23468 if (SWIG_arg_fail(2)) SWIG_fail;
23469 }
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 (arg1)->SetSelection(arg2);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 Py_INCREF(Py_None); resultobj = Py_None;
23478 return resultobj;
23479 fail:
23480 return NULL;
23481 }
23482
23483
23484 static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23487 bool arg2 ;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self",(char *) "flag", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
23495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail;
23497 {
23498 arg2 = (bool)(SWIG_As_bool(obj1));
23499 if (SWIG_arg_fail(2)) SWIG_fail;
23500 }
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->SetCollate(arg2);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23518 bool arg2 ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self",(char *) "flag", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
23526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail;
23528 {
23529 arg2 = (bool)(SWIG_As_bool(obj1));
23530 if (SWIG_arg_fail(2)) SWIG_fail;
23531 }
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 (arg1)->SetPrintToFile(arg2);
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 Py_INCREF(Py_None); resultobj = Py_None;
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23549 bool arg2 ;
23550 PyObject * obj0 = 0 ;
23551 PyObject * obj1 = 0 ;
23552 char *kwnames[] = {
23553 (char *) "self",(char *) "flag", NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
23557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23558 if (SWIG_arg_fail(1)) SWIG_fail;
23559 {
23560 arg2 = (bool)(SWIG_As_bool(obj1));
23561 if (SWIG_arg_fail(2)) SWIG_fail;
23562 }
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 (arg1)->EnablePrintToFile(arg2);
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 Py_INCREF(Py_None); resultobj = Py_None;
23571 return resultobj;
23572 fail:
23573 return NULL;
23574 }
23575
23576
23577 static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23578 PyObject *resultobj;
23579 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23580 bool arg2 ;
23581 PyObject * obj0 = 0 ;
23582 PyObject * obj1 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self",(char *) "flag", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
23588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23589 if (SWIG_arg_fail(1)) SWIG_fail;
23590 {
23591 arg2 = (bool)(SWIG_As_bool(obj1));
23592 if (SWIG_arg_fail(2)) SWIG_fail;
23593 }
23594 {
23595 PyThreadState* __tstate = wxPyBeginAllowThreads();
23596 (arg1)->EnableSelection(arg2);
23597
23598 wxPyEndAllowThreads(__tstate);
23599 if (PyErr_Occurred()) SWIG_fail;
23600 }
23601 Py_INCREF(Py_None); resultobj = Py_None;
23602 return resultobj;
23603 fail:
23604 return NULL;
23605 }
23606
23607
23608 static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23609 PyObject *resultobj;
23610 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23611 bool arg2 ;
23612 PyObject * obj0 = 0 ;
23613 PyObject * obj1 = 0 ;
23614 char *kwnames[] = {
23615 (char *) "self",(char *) "flag", NULL
23616 };
23617
23618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
23619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23620 if (SWIG_arg_fail(1)) SWIG_fail;
23621 {
23622 arg2 = (bool)(SWIG_As_bool(obj1));
23623 if (SWIG_arg_fail(2)) SWIG_fail;
23624 }
23625 {
23626 PyThreadState* __tstate = wxPyBeginAllowThreads();
23627 (arg1)->EnablePageNumbers(arg2);
23628
23629 wxPyEndAllowThreads(__tstate);
23630 if (PyErr_Occurred()) SWIG_fail;
23631 }
23632 Py_INCREF(Py_None); resultobj = Py_None;
23633 return resultobj;
23634 fail:
23635 return NULL;
23636 }
23637
23638
23639 static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23640 PyObject *resultobj;
23641 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23642 bool arg2 ;
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj1 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self",(char *) "flag", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
23650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail;
23652 {
23653 arg2 = (bool)(SWIG_As_bool(obj1));
23654 if (SWIG_arg_fail(2)) SWIG_fail;
23655 }
23656 {
23657 PyThreadState* __tstate = wxPyBeginAllowThreads();
23658 (arg1)->EnableHelp(arg2);
23659
23660 wxPyEndAllowThreads(__tstate);
23661 if (PyErr_Occurred()) SWIG_fail;
23662 }
23663 Py_INCREF(Py_None); resultobj = Py_None;
23664 return resultobj;
23665 fail:
23666 return NULL;
23667 }
23668
23669
23670 static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
23671 PyObject *resultobj;
23672 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23673 bool result;
23674 PyObject * obj0 = 0 ;
23675 char *kwnames[] = {
23676 (char *) "self", NULL
23677 };
23678
23679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
23680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23681 if (SWIG_arg_fail(1)) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 {
23690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23691 }
23692 return resultobj;
23693 fail:
23694 return NULL;
23695 }
23696
23697
23698 static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
23699 PyObject *resultobj;
23700 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23701 bool result;
23702 PyObject * obj0 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
23708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 {
23718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23719 }
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23729 bool result;
23730 PyObject * obj0 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
23736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail;
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23741
23742 wxPyEndAllowThreads(__tstate);
23743 if (PyErr_Occurred()) SWIG_fail;
23744 }
23745 {
23746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23747 }
23748 return resultobj;
23749 fail:
23750 return NULL;
23751 }
23752
23753
23754 static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
23755 PyObject *resultobj;
23756 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23757 bool result;
23758 PyObject * obj0 = 0 ;
23759 char *kwnames[] = {
23760 (char *) "self", NULL
23761 };
23762
23763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
23764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23765 if (SWIG_arg_fail(1)) SWIG_fail;
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 {
23774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23775 }
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj;
23784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23785 bool result;
23786 PyObject * obj0 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "self", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
23792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23793 if (SWIG_arg_fail(1)) SWIG_fail;
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 {
23802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23803 }
23804 return resultobj;
23805 fail:
23806 return NULL;
23807 }
23808
23809
23810 static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23813 wxPrintData *result;
23814 PyObject * obj0 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "self", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
23820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23821 if (SWIG_arg_fail(1)) SWIG_fail;
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 {
23825 wxPrintData &_result_ref = (arg1)->GetPrintData();
23826 result = (wxPrintData *) &_result_ref;
23827 }
23828
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
23832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23833 return resultobj;
23834 fail:
23835 return NULL;
23836 }
23837
23838
23839 static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23840 PyObject *resultobj;
23841 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23842 wxPrintData *arg2 = 0 ;
23843 PyObject * obj0 = 0 ;
23844 PyObject * obj1 = 0 ;
23845 char *kwnames[] = {
23846 (char *) "self",(char *) "printData", NULL
23847 };
23848
23849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
23850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23851 if (SWIG_arg_fail(1)) SWIG_fail;
23852 {
23853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23854 if (SWIG_arg_fail(2)) SWIG_fail;
23855 if (arg2 == NULL) {
23856 SWIG_null_ref("wxPrintData");
23857 }
23858 if (SWIG_arg_fail(2)) SWIG_fail;
23859 }
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 Py_INCREF(Py_None); resultobj = Py_None;
23868 return resultobj;
23869 fail:
23870 return NULL;
23871 }
23872
23873
23874 static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
23875 PyObject *obj;
23876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23877 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23878 Py_INCREF(obj);
23879 return Py_BuildValue((char *)"");
23880 }
23881 static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxWindow *arg1 = (wxWindow *) 0 ;
23884 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23885 wxPrintDialog *result;
23886 PyObject * obj0 = 0 ;
23887 PyObject * obj1 = 0 ;
23888 char *kwnames[] = {
23889 (char *) "parent",(char *) "data", NULL
23890 };
23891
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
23893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23894 if (SWIG_arg_fail(1)) SWIG_fail;
23895 if (obj1) {
23896 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23897 if (SWIG_arg_fail(2)) SWIG_fail;
23898 }
23899 {
23900 if (!wxPyCheckForApp()) SWIG_fail;
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23915 PyObject *resultobj;
23916 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23917 int result;
23918 PyObject * obj0 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
23924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23925 if (SWIG_arg_fail(1)) SWIG_fail;
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = (int)(arg1)->ShowModal();
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 {
23934 resultobj = SWIG_From_int((int)(result));
23935 }
23936 return resultobj;
23937 fail:
23938 return NULL;
23939 }
23940
23941
23942 static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23943 PyObject *resultobj;
23944 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23945 wxPrintDialogData *result;
23946 PyObject * obj0 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
23952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23953 if (SWIG_arg_fail(1)) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 {
23957 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23958 result = (wxPrintDialogData *) &_result_ref;
23959 }
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23974 wxPrintData *result;
23975 PyObject * obj0 = 0 ;
23976 char *kwnames[] = {
23977 (char *) "self", NULL
23978 };
23979
23980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
23981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23982 if (SWIG_arg_fail(1)) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 {
23986 wxPrintData &_result_ref = (arg1)->GetPrintData();
23987 result = (wxPrintData *) &_result_ref;
23988 }
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24003 wxDC *result;
24004 PyObject * obj0 = 0 ;
24005 char *kwnames[] = {
24006 (char *) "self", NULL
24007 };
24008
24009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
24010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail;
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = (wxDC *)(arg1)->GetPrintDC();
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 {
24020 resultobj = wxPyMake_wxObject(result, 1);
24021 }
24022 return resultobj;
24023 fail:
24024 return NULL;
24025 }
24026
24027
24028 static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
24029 PyObject *obj;
24030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24031 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24032 Py_INCREF(obj);
24033 return Py_BuildValue((char *)"");
24034 }
24035 static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24038 wxPrinter *result;
24039 PyObject * obj0 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "data", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24045 if (obj0) {
24046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail;
24048 }
24049 {
24050 if (!wxPyCheckForApp()) SWIG_fail;
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = (wxPrinter *)new wxPrinter(arg1);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24058 return resultobj;
24059 fail:
24060 return NULL;
24061 }
24062
24063
24064 static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
24065 PyObject *resultobj;
24066 wxPrinter *arg1 = (wxPrinter *) 0 ;
24067 PyObject * obj0 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
24073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail;
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 delete arg1;
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 Py_INCREF(Py_None); resultobj = Py_None;
24083 return resultobj;
24084 fail:
24085 return NULL;
24086 }
24087
24088
24089 static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxPrinter *arg1 = (wxPrinter *) 0 ;
24092 wxWindow *arg2 = (wxWindow *) 0 ;
24093 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24094 wxWindow *result;
24095 PyObject * obj0 = 0 ;
24096 PyObject * obj1 = 0 ;
24097 PyObject * obj2 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "parent",(char *) "printout", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
24103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail;
24105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24106 if (SWIG_arg_fail(2)) SWIG_fail;
24107 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24108 if (SWIG_arg_fail(3)) SWIG_fail;
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 {
24117 resultobj = wxPyMake_wxObject(result, 0);
24118 }
24119 return resultobj;
24120 fail:
24121 return NULL;
24122 }
24123
24124
24125 static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
24126 PyObject *resultobj;
24127 wxPrinter *arg1 = (wxPrinter *) 0 ;
24128 wxWindow *arg2 = (wxWindow *) 0 ;
24129 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24130 wxString *arg4 = 0 ;
24131 bool temp4 = false ;
24132 PyObject * obj0 = 0 ;
24133 PyObject * obj1 = 0 ;
24134 PyObject * obj2 = 0 ;
24135 PyObject * obj3 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail;
24143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24144 if (SWIG_arg_fail(2)) SWIG_fail;
24145 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24146 if (SWIG_arg_fail(3)) SWIG_fail;
24147 {
24148 arg4 = wxString_in_helper(obj3);
24149 if (arg4 == NULL) SWIG_fail;
24150 temp4 = true;
24151 }
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 Py_INCREF(Py_None); resultobj = Py_None;
24160 {
24161 if (temp4)
24162 delete arg4;
24163 }
24164 return resultobj;
24165 fail:
24166 {
24167 if (temp4)
24168 delete arg4;
24169 }
24170 return NULL;
24171 }
24172
24173
24174 static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj;
24176 wxPrinter *arg1 = (wxPrinter *) 0 ;
24177 wxWindow *arg2 = (wxWindow *) 0 ;
24178 bool result;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "parent", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
24186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail;
24188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24189 if (SWIG_arg_fail(2)) SWIG_fail;
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = (bool)(arg1)->Setup(arg2);
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24199 }
24200 return resultobj;
24201 fail:
24202 return NULL;
24203 }
24204
24205
24206 static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
24207 PyObject *resultobj;
24208 wxPrinter *arg1 = (wxPrinter *) 0 ;
24209 wxWindow *arg2 = (wxWindow *) 0 ;
24210 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
24211 bool arg4 = (bool) true ;
24212 bool result;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 PyObject * obj2 = 0 ;
24216 PyObject * obj3 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail;
24224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24225 if (SWIG_arg_fail(2)) SWIG_fail;
24226 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24227 if (SWIG_arg_fail(3)) SWIG_fail;
24228 if (obj3) {
24229 {
24230 arg4 = (bool)(SWIG_As_bool(obj3));
24231 if (SWIG_arg_fail(4)) SWIG_fail;
24232 }
24233 }
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (bool)(arg1)->Print(arg2,arg3,arg4);
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 {
24242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24243 }
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxPrinter *arg1 = (wxPrinter *) 0 ;
24253 wxWindow *arg2 = (wxWindow *) 0 ;
24254 wxDC *result;
24255 PyObject * obj0 = 0 ;
24256 PyObject * obj1 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "self",(char *) "parent", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
24262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24263 if (SWIG_arg_fail(1)) SWIG_fail;
24264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24265 if (SWIG_arg_fail(2)) SWIG_fail;
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
24268 result = (wxDC *)(arg1)->PrintDialog(arg2);
24269
24270 wxPyEndAllowThreads(__tstate);
24271 if (PyErr_Occurred()) SWIG_fail;
24272 }
24273 {
24274 resultobj = wxPyMake_wxObject(result, 0);
24275 }
24276 return resultobj;
24277 fail:
24278 return NULL;
24279 }
24280
24281
24282 static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24283 PyObject *resultobj;
24284 wxPrinter *arg1 = (wxPrinter *) 0 ;
24285 wxPrintDialogData *result;
24286 PyObject * obj0 = 0 ;
24287 char *kwnames[] = {
24288 (char *) "self", NULL
24289 };
24290
24291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
24292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail;
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 {
24297 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24298 result = (wxPrintDialogData *) &_result_ref;
24299 }
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24305 return resultobj;
24306 fail:
24307 return NULL;
24308 }
24309
24310
24311 static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj;
24313 wxPrinter *arg1 = (wxPrinter *) 0 ;
24314 bool result;
24315 PyObject * obj0 = 0 ;
24316 char *kwnames[] = {
24317 (char *) "self", NULL
24318 };
24319
24320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
24321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail;
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 result = (bool)(arg1)->GetAbort();
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 {
24331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24332 }
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
24340 PyObject *resultobj;
24341 wxPrinterError result;
24342 char *kwnames[] = {
24343 NULL
24344 };
24345
24346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24347 {
24348 PyThreadState* __tstate = wxPyBeginAllowThreads();
24349 result = (wxPrinterError)wxPrinter::GetLastError();
24350
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_From_int((result));
24355 return resultobj;
24356 fail:
24357 return NULL;
24358 }
24359
24360
24361 static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
24362 PyObject *obj;
24363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24364 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24365 Py_INCREF(obj);
24366 return Py_BuildValue((char *)"");
24367 }
24368 static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
24369 PyObject *resultobj;
24370 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24371 wxString *arg1 = (wxString *) &arg1_defvalue ;
24372 wxPyPrintout *result;
24373 bool temp1 = false ;
24374 PyObject * obj0 = 0 ;
24375 char *kwnames[] = {
24376 (char *) "title", NULL
24377 };
24378
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24380 if (obj0) {
24381 {
24382 arg1 = wxString_in_helper(obj0);
24383 if (arg1 == NULL) SWIG_fail;
24384 temp1 = true;
24385 }
24386 }
24387 {
24388 if (!wxPyCheckForApp()) SWIG_fail;
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 {
24396 resultobj = wxPyMake_wxObject(result, 1);
24397 }
24398 {
24399 if (temp1)
24400 delete arg1;
24401 }
24402 return resultobj;
24403 fail:
24404 {
24405 if (temp1)
24406 delete arg1;
24407 }
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24415 PyObject *arg2 = (PyObject *) 0 ;
24416 PyObject *arg3 = (PyObject *) 0 ;
24417 PyObject * obj0 = 0 ;
24418 PyObject * obj1 = 0 ;
24419 PyObject * obj2 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self",(char *) "self",(char *) "_class", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24426 if (SWIG_arg_fail(1)) SWIG_fail;
24427 arg2 = obj1;
24428 arg3 = obj2;
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
24431 (arg1)->_setCallbackInfo(arg2,arg3);
24432
24433 wxPyEndAllowThreads(__tstate);
24434 if (PyErr_Occurred()) SWIG_fail;
24435 }
24436 Py_INCREF(Py_None); resultobj = Py_None;
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj;
24445 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24446 wxString result;
24447 PyObject * obj0 = 0 ;
24448 char *kwnames[] = {
24449 (char *) "self", NULL
24450 };
24451
24452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
24453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail;
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = ((wxPyPrintout const *)arg1)->GetTitle();
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 #if wxUSE_UNICODE
24464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24465 #else
24466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24467 #endif
24468 }
24469 return resultobj;
24470 fail:
24471 return NULL;
24472 }
24473
24474
24475 static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24476 PyObject *resultobj;
24477 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24478 wxDC *result;
24479 PyObject * obj0 = 0 ;
24480 char *kwnames[] = {
24481 (char *) "self", NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
24485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail;
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 result = (wxDC *)(arg1)->GetDC();
24490
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 {
24495 resultobj = wxPyMake_wxObject(result, 0);
24496 }
24497 return resultobj;
24498 fail:
24499 return NULL;
24500 }
24501
24502
24503 static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
24504 PyObject *resultobj;
24505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24506 wxDC *arg2 = (wxDC *) 0 ;
24507 PyObject * obj0 = 0 ;
24508 PyObject * obj1 = 0 ;
24509 char *kwnames[] = {
24510 (char *) "self",(char *) "dc", NULL
24511 };
24512
24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
24514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail;
24516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24517 if (SWIG_arg_fail(2)) SWIG_fail;
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 (arg1)->SetDC(arg2);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 Py_INCREF(Py_None); resultobj = Py_None;
24526 return resultobj;
24527 fail:
24528 return NULL;
24529 }
24530
24531
24532 static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24533 PyObject *resultobj;
24534 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24535 int arg2 ;
24536 int arg3 ;
24537 PyObject * obj0 = 0 ;
24538 PyObject * obj1 = 0 ;
24539 PyObject * obj2 = 0 ;
24540 char *kwnames[] = {
24541 (char *) "self",(char *) "w",(char *) "h", NULL
24542 };
24543
24544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
24545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail;
24547 {
24548 arg2 = (int)(SWIG_As_int(obj1));
24549 if (SWIG_arg_fail(2)) SWIG_fail;
24550 }
24551 {
24552 arg3 = (int)(SWIG_As_int(obj2));
24553 if (SWIG_arg_fail(3)) SWIG_fail;
24554 }
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->SetPageSizePixels(arg2,arg3);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24572 int *arg2 = (int *) 0 ;
24573 int *arg3 = (int *) 0 ;
24574 int temp2 ;
24575 int res2 = 0 ;
24576 int temp3 ;
24577 int res3 = 0 ;
24578 PyObject * obj0 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self", NULL
24581 };
24582
24583 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24584 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
24586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 (arg1)->GetPageSizePixels(arg2,arg3);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 Py_INCREF(Py_None); resultobj = Py_None;
24596 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24597 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24598 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24599 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24609 int arg2 ;
24610 int arg3 ;
24611 PyObject * obj0 = 0 ;
24612 PyObject * obj1 = 0 ;
24613 PyObject * obj2 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self",(char *) "w",(char *) "h", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
24619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24620 if (SWIG_arg_fail(1)) SWIG_fail;
24621 {
24622 arg2 = (int)(SWIG_As_int(obj1));
24623 if (SWIG_arg_fail(2)) SWIG_fail;
24624 }
24625 {
24626 arg3 = (int)(SWIG_As_int(obj2));
24627 if (SWIG_arg_fail(3)) SWIG_fail;
24628 }
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 (arg1)->SetPageSizeMM(arg2,arg3);
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 Py_INCREF(Py_None); resultobj = Py_None;
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24646 int *arg2 = (int *) 0 ;
24647 int *arg3 = (int *) 0 ;
24648 int temp2 ;
24649 int res2 = 0 ;
24650 int temp3 ;
24651 int res3 = 0 ;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self", NULL
24655 };
24656
24657 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24658 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
24660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24661 if (SWIG_arg_fail(1)) SWIG_fail;
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 (arg1)->GetPageSizeMM(arg2,arg3);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 Py_INCREF(Py_None); resultobj = Py_None;
24670 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24671 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24672 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24673 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24674 return resultobj;
24675 fail:
24676 return NULL;
24677 }
24678
24679
24680 static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24681 PyObject *resultobj;
24682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24683 int arg2 ;
24684 int arg3 ;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self",(char *) "x",(char *) "y", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
24693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail;
24695 {
24696 arg2 = (int)(SWIG_As_int(obj1));
24697 if (SWIG_arg_fail(2)) SWIG_fail;
24698 }
24699 {
24700 arg3 = (int)(SWIG_As_int(obj2));
24701 if (SWIG_arg_fail(3)) SWIG_fail;
24702 }
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 (arg1)->SetPPIScreen(arg2,arg3);
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714 }
24715
24716
24717 static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
24718 PyObject *resultobj;
24719 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24720 int *arg2 = (int *) 0 ;
24721 int *arg3 = (int *) 0 ;
24722 int temp2 ;
24723 int res2 = 0 ;
24724 int temp3 ;
24725 int res3 = 0 ;
24726 PyObject * obj0 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self", NULL
24729 };
24730
24731 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24732 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
24734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail;
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 (arg1)->GetPPIScreen(arg2,arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 Py_INCREF(Py_None); resultobj = Py_None;
24744 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24745 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24746 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24747 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24748 return resultobj;
24749 fail:
24750 return NULL;
24751 }
24752
24753
24754 static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24755 PyObject *resultobj;
24756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24757 int arg2 ;
24758 int arg3 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 PyObject * obj2 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "x",(char *) "y", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
24767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail;
24769 {
24770 arg2 = (int)(SWIG_As_int(obj1));
24771 if (SWIG_arg_fail(2)) SWIG_fail;
24772 }
24773 {
24774 arg3 = (int)(SWIG_As_int(obj2));
24775 if (SWIG_arg_fail(3)) SWIG_fail;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->SetPPIPrinter(arg2,arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 Py_INCREF(Py_None); resultobj = Py_None;
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
24792 PyObject *resultobj;
24793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24794 int *arg2 = (int *) 0 ;
24795 int *arg3 = (int *) 0 ;
24796 int temp2 ;
24797 int res2 = 0 ;
24798 int temp3 ;
24799 int res3 = 0 ;
24800 PyObject * obj0 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self", NULL
24803 };
24804
24805 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24806 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
24808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail;
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 (arg1)->GetPPIPrinter(arg2,arg3);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 Py_INCREF(Py_None); resultobj = Py_None;
24818 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24819 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24820 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24821 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24822 return resultobj;
24823 fail:
24824 return NULL;
24825 }
24826
24827
24828 static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj;
24830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24831 bool result;
24832 PyObject * obj0 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
24838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24839 if (SWIG_arg_fail(1)) SWIG_fail;
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = (bool)(arg1)->IsPreview();
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 {
24848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24849 }
24850 return resultobj;
24851 fail:
24852 return NULL;
24853 }
24854
24855
24856 static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj;
24858 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24859 bool arg2 ;
24860 PyObject * obj0 = 0 ;
24861 PyObject * obj1 = 0 ;
24862 char *kwnames[] = {
24863 (char *) "self",(char *) "p", NULL
24864 };
24865
24866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
24867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24868 if (SWIG_arg_fail(1)) SWIG_fail;
24869 {
24870 arg2 = (bool)(SWIG_As_bool(obj1));
24871 if (SWIG_arg_fail(2)) SWIG_fail;
24872 }
24873 {
24874 PyThreadState* __tstate = wxPyBeginAllowThreads();
24875 (arg1)->SetIsPreview(arg2);
24876
24877 wxPyEndAllowThreads(__tstate);
24878 if (PyErr_Occurred()) SWIG_fail;
24879 }
24880 Py_INCREF(Py_None); resultobj = Py_None;
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24890 int arg2 ;
24891 int arg3 ;
24892 bool result;
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj1 = 0 ;
24895 PyObject * obj2 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
24901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24902 if (SWIG_arg_fail(1)) SWIG_fail;
24903 {
24904 arg2 = (int)(SWIG_As_int(obj1));
24905 if (SWIG_arg_fail(2)) SWIG_fail;
24906 }
24907 {
24908 arg3 = (int)(SWIG_As_int(obj2));
24909 if (SWIG_arg_fail(3)) SWIG_fail;
24910 }
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24914
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 {
24919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24920 }
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24930 PyObject * obj0 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 (arg1)->base_OnEndDocument();
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 Py_INCREF(Py_None); resultobj = Py_None;
24946 return resultobj;
24947 fail:
24948 return NULL;
24949 }
24950
24951
24952 static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24953 PyObject *resultobj;
24954 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
24961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24962 if (SWIG_arg_fail(1)) SWIG_fail;
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 (arg1)->base_OnBeginPrinting();
24966
24967 wxPyEndAllowThreads(__tstate);
24968 if (PyErr_Occurred()) SWIG_fail;
24969 }
24970 Py_INCREF(Py_None); resultobj = Py_None;
24971 return resultobj;
24972 fail:
24973 return NULL;
24974 }
24975
24976
24977 static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
24986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 (arg1)->base_OnEndPrinting();
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 Py_INCREF(Py_None); resultobj = Py_None;
24996 return resultobj;
24997 fail:
24998 return NULL;
24999 }
25000
25001
25002 static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj;
25004 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25005 PyObject * obj0 = 0 ;
25006 char *kwnames[] = {
25007 (char *) "self", NULL
25008 };
25009
25010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
25011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25012 if (SWIG_arg_fail(1)) SWIG_fail;
25013 {
25014 PyThreadState* __tstate = wxPyBeginAllowThreads();
25015 (arg1)->base_OnPreparePrinting();
25016
25017 wxPyEndAllowThreads(__tstate);
25018 if (PyErr_Occurred()) SWIG_fail;
25019 }
25020 Py_INCREF(Py_None); resultobj = Py_None;
25021 return resultobj;
25022 fail:
25023 return NULL;
25024 }
25025
25026
25027 static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
25028 PyObject *resultobj;
25029 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25030 int arg2 ;
25031 bool result;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 char *kwnames[] = {
25035 (char *) "self",(char *) "page", NULL
25036 };
25037
25038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
25039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail;
25041 {
25042 arg2 = (int)(SWIG_As_int(obj1));
25043 if (SWIG_arg_fail(2)) SWIG_fail;
25044 }
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 result = (bool)(arg1)->base_HasPage(arg2);
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
25052 {
25053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25054 }
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25062 PyObject *resultobj;
25063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25064 int *arg2 = (int *) 0 ;
25065 int *arg3 = (int *) 0 ;
25066 int *arg4 = (int *) 0 ;
25067 int *arg5 = (int *) 0 ;
25068 int temp2 ;
25069 int res2 = 0 ;
25070 int temp3 ;
25071 int res3 = 0 ;
25072 int temp4 ;
25073 int res4 = 0 ;
25074 int temp5 ;
25075 int res5 = 0 ;
25076 PyObject * obj0 = 0 ;
25077 char *kwnames[] = {
25078 (char *) "self", NULL
25079 };
25080
25081 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25082 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25083 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25084 arg5 = &temp5; res5 = SWIG_NEWOBJ;
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
25086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail;
25088 {
25089 PyThreadState* __tstate = wxPyBeginAllowThreads();
25090 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25091
25092 wxPyEndAllowThreads(__tstate);
25093 if (PyErr_Occurred()) SWIG_fail;
25094 }
25095 Py_INCREF(Py_None); resultobj = Py_None;
25096 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25097 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25098 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25099 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25100 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25101 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25102 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25103 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
25111 PyObject *obj;
25112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25114 Py_INCREF(obj);
25115 return Py_BuildValue((char *)"");
25116 }
25117 static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25118 PyObject *resultobj;
25119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25120 wxWindow *arg2 = (wxWindow *) 0 ;
25121 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25122 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25123 wxSize const &arg4_defvalue = wxDefaultSize ;
25124 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25125 long arg5 = (long) 0 ;
25126 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25127 wxString *arg6 = (wxString *) &arg6_defvalue ;
25128 wxPreviewCanvas *result;
25129 wxPoint temp3 ;
25130 wxSize temp4 ;
25131 bool temp6 = false ;
25132 PyObject * obj0 = 0 ;
25133 PyObject * obj1 = 0 ;
25134 PyObject * obj2 = 0 ;
25135 PyObject * obj3 = 0 ;
25136 PyObject * obj4 = 0 ;
25137 PyObject * obj5 = 0 ;
25138 char *kwnames[] = {
25139 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25140 };
25141
25142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail;
25145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25146 if (SWIG_arg_fail(2)) SWIG_fail;
25147 if (obj2) {
25148 {
25149 arg3 = &temp3;
25150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25151 }
25152 }
25153 if (obj3) {
25154 {
25155 arg4 = &temp4;
25156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25157 }
25158 }
25159 if (obj4) {
25160 {
25161 arg5 = (long)(SWIG_As_long(obj4));
25162 if (SWIG_arg_fail(5)) SWIG_fail;
25163 }
25164 }
25165 if (obj5) {
25166 {
25167 arg6 = wxString_in_helper(obj5);
25168 if (arg6 == NULL) SWIG_fail;
25169 temp6 = true;
25170 }
25171 }
25172 {
25173 if (!wxPyCheckForApp()) SWIG_fail;
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25181 {
25182 if (temp6)
25183 delete arg6;
25184 }
25185 return resultobj;
25186 fail:
25187 {
25188 if (temp6)
25189 delete arg6;
25190 }
25191 return NULL;
25192 }
25193
25194
25195 static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
25196 PyObject *obj;
25197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25198 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25199 Py_INCREF(obj);
25200 return Py_BuildValue((char *)"");
25201 }
25202 static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
25203 PyObject *resultobj;
25204 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25205 wxFrame *arg2 = (wxFrame *) 0 ;
25206 wxString *arg3 = 0 ;
25207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25209 wxSize const &arg5_defvalue = wxDefaultSize ;
25210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25211 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25212 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25213 wxString *arg7 = (wxString *) &arg7_defvalue ;
25214 wxPreviewFrame *result;
25215 bool temp3 = false ;
25216 wxPoint temp4 ;
25217 wxSize temp5 ;
25218 bool temp7 = false ;
25219 PyObject * obj0 = 0 ;
25220 PyObject * obj1 = 0 ;
25221 PyObject * obj2 = 0 ;
25222 PyObject * obj3 = 0 ;
25223 PyObject * obj4 = 0 ;
25224 PyObject * obj5 = 0 ;
25225 PyObject * obj6 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail;
25233 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25234 if (SWIG_arg_fail(2)) SWIG_fail;
25235 {
25236 arg3 = wxString_in_helper(obj2);
25237 if (arg3 == NULL) SWIG_fail;
25238 temp3 = true;
25239 }
25240 if (obj3) {
25241 {
25242 arg4 = &temp4;
25243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25244 }
25245 }
25246 if (obj4) {
25247 {
25248 arg5 = &temp5;
25249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25250 }
25251 }
25252 if (obj5) {
25253 {
25254 arg6 = (long)(SWIG_As_long(obj5));
25255 if (SWIG_arg_fail(6)) SWIG_fail;
25256 }
25257 }
25258 if (obj6) {
25259 {
25260 arg7 = wxString_in_helper(obj6);
25261 if (arg7 == NULL) SWIG_fail;
25262 temp7 = true;
25263 }
25264 }
25265 {
25266 if (!wxPyCheckForApp()) SWIG_fail;
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25269
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25274 {
25275 if (temp3)
25276 delete arg3;
25277 }
25278 {
25279 if (temp7)
25280 delete arg7;
25281 }
25282 return resultobj;
25283 fail:
25284 {
25285 if (temp3)
25286 delete arg3;
25287 }
25288 {
25289 if (temp7)
25290 delete arg7;
25291 }
25292 return NULL;
25293 }
25294
25295
25296 static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
25297 PyObject *resultobj;
25298 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25299 PyObject * obj0 = 0 ;
25300 char *kwnames[] = {
25301 (char *) "self", NULL
25302 };
25303
25304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
25305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail;
25307 {
25308 PyThreadState* __tstate = wxPyBeginAllowThreads();
25309 (arg1)->Initialize();
25310
25311 wxPyEndAllowThreads(__tstate);
25312 if (PyErr_Occurred()) SWIG_fail;
25313 }
25314 Py_INCREF(Py_None); resultobj = Py_None;
25315 return resultobj;
25316 fail:
25317 return NULL;
25318 }
25319
25320
25321 static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25324 PyObject * obj0 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
25330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25331 if (SWIG_arg_fail(1)) SWIG_fail;
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 (arg1)->CreateControlBar();
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 Py_INCREF(Py_None); resultobj = Py_None;
25340 return resultobj;
25341 fail:
25342 return NULL;
25343 }
25344
25345
25346 static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25349 PyObject * obj0 = 0 ;
25350 char *kwnames[] = {
25351 (char *) "self", NULL
25352 };
25353
25354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
25355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25356 if (SWIG_arg_fail(1)) SWIG_fail;
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 (arg1)->CreateCanvas();
25360
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 Py_INCREF(Py_None); resultobj = Py_None;
25365 return resultobj;
25366 fail:
25367 return NULL;
25368 }
25369
25370
25371 static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj;
25373 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25374 wxPreviewControlBar *result;
25375 PyObject * obj0 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
25381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25382 if (SWIG_arg_fail(1)) SWIG_fail;
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25391 return resultobj;
25392 fail:
25393 return NULL;
25394 }
25395
25396
25397 static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
25398 PyObject *obj;
25399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25400 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25401 Py_INCREF(obj);
25402 return Py_BuildValue((char *)"");
25403 }
25404 static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj;
25406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25407 long arg2 ;
25408 wxWindow *arg3 = (wxWindow *) 0 ;
25409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25411 wxSize const &arg5_defvalue = wxDefaultSize ;
25412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25413 long arg6 = (long) wxTAB_TRAVERSAL ;
25414 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25415 wxString *arg7 = (wxString *) &arg7_defvalue ;
25416 wxPreviewControlBar *result;
25417 wxPoint temp4 ;
25418 wxSize temp5 ;
25419 bool temp7 = false ;
25420 PyObject * obj0 = 0 ;
25421 PyObject * obj1 = 0 ;
25422 PyObject * obj2 = 0 ;
25423 PyObject * obj3 = 0 ;
25424 PyObject * obj4 = 0 ;
25425 PyObject * obj5 = 0 ;
25426 PyObject * obj6 = 0 ;
25427 char *kwnames[] = {
25428 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25429 };
25430
25431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail;
25434 {
25435 arg2 = (long)(SWIG_As_long(obj1));
25436 if (SWIG_arg_fail(2)) SWIG_fail;
25437 }
25438 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25439 if (SWIG_arg_fail(3)) SWIG_fail;
25440 if (obj3) {
25441 {
25442 arg4 = &temp4;
25443 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25444 }
25445 }
25446 if (obj4) {
25447 {
25448 arg5 = &temp5;
25449 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25450 }
25451 }
25452 if (obj5) {
25453 {
25454 arg6 = (long)(SWIG_As_long(obj5));
25455 if (SWIG_arg_fail(6)) SWIG_fail;
25456 }
25457 }
25458 if (obj6) {
25459 {
25460 arg7 = wxString_in_helper(obj6);
25461 if (arg7 == NULL) SWIG_fail;
25462 temp7 = true;
25463 }
25464 }
25465 {
25466 if (!wxPyCheckForApp()) SWIG_fail;
25467 PyThreadState* __tstate = wxPyBeginAllowThreads();
25468 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25469
25470 wxPyEndAllowThreads(__tstate);
25471 if (PyErr_Occurred()) SWIG_fail;
25472 }
25473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25474 {
25475 if (temp7)
25476 delete arg7;
25477 }
25478 return resultobj;
25479 fail:
25480 {
25481 if (temp7)
25482 delete arg7;
25483 }
25484 return NULL;
25485 }
25486
25487
25488 static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj;
25490 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25491 int result;
25492 PyObject * obj0 = 0 ;
25493 char *kwnames[] = {
25494 (char *) "self", NULL
25495 };
25496
25497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
25498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25499 if (SWIG_arg_fail(1)) SWIG_fail;
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 result = (int)(arg1)->GetZoomControl();
25503
25504 wxPyEndAllowThreads(__tstate);
25505 if (PyErr_Occurred()) SWIG_fail;
25506 }
25507 {
25508 resultobj = SWIG_From_int((int)(result));
25509 }
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
25517 PyObject *resultobj;
25518 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25519 int arg2 ;
25520 PyObject * obj0 = 0 ;
25521 PyObject * obj1 = 0 ;
25522 char *kwnames[] = {
25523 (char *) "self",(char *) "zoom", NULL
25524 };
25525
25526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
25527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25528 if (SWIG_arg_fail(1)) SWIG_fail;
25529 {
25530 arg2 = (int)(SWIG_As_int(obj1));
25531 if (SWIG_arg_fail(2)) SWIG_fail;
25532 }
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->SetZoomControl(arg2);
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 return resultobj;
25542 fail:
25543 return NULL;
25544 }
25545
25546
25547 static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
25548 PyObject *resultobj;
25549 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25550 wxPrintPreview *result;
25551 PyObject * obj0 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "self", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
25557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25576 PyObject * obj0 = 0 ;
25577 char *kwnames[] = {
25578 (char *) "self", NULL
25579 };
25580
25581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
25582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25583 if (SWIG_arg_fail(1)) SWIG_fail;
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->OnNext();
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595 }
25596
25597
25598 static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
25599 PyObject *resultobj;
25600 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25601 PyObject * obj0 = 0 ;
25602 char *kwnames[] = {
25603 (char *) "self", NULL
25604 };
25605
25606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
25607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25608 if (SWIG_arg_fail(1)) SWIG_fail;
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 (arg1)->OnPrevious();
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 Py_INCREF(Py_None); resultobj = Py_None;
25617 return resultobj;
25618 fail:
25619 return NULL;
25620 }
25621
25622
25623 static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj;
25625 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25626 PyObject * obj0 = 0 ;
25627 char *kwnames[] = {
25628 (char *) "self", NULL
25629 };
25630
25631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
25632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25633 if (SWIG_arg_fail(1)) SWIG_fail;
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 (arg1)->OnFirst();
25637
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 Py_INCREF(Py_None); resultobj = Py_None;
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj;
25650 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25651 PyObject * obj0 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
25657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25658 if (SWIG_arg_fail(1)) SWIG_fail;
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 (arg1)->OnLast();
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 Py_INCREF(Py_None); resultobj = Py_None;
25667 return resultobj;
25668 fail:
25669 return NULL;
25670 }
25671
25672
25673 static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25676 PyObject * obj0 = 0 ;
25677 char *kwnames[] = {
25678 (char *) "self", NULL
25679 };
25680
25681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
25682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25683 if (SWIG_arg_fail(1)) SWIG_fail;
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 (arg1)->OnGoto();
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 Py_INCREF(Py_None); resultobj = Py_None;
25692 return resultobj;
25693 fail:
25694 return NULL;
25695 }
25696
25697
25698 static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
25699 PyObject *obj;
25700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25701 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25702 Py_INCREF(obj);
25703 return Py_BuildValue((char *)"");
25704 }
25705 static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
25706 PyObject *resultobj;
25707 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25708 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25709 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25710 wxPrintPreview *result;
25711 PyObject * obj0 = 0 ;
25712 PyObject * obj1 = 0 ;
25713 PyObject * obj2 = 0 ;
25714
25715 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25717 if (SWIG_arg_fail(1)) SWIG_fail;
25718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25719 if (SWIG_arg_fail(2)) SWIG_fail;
25720 if (obj2) {
25721 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25722 if (SWIG_arg_fail(3)) SWIG_fail;
25723 }
25724 {
25725 if (!wxPyCheckForApp()) SWIG_fail;
25726 PyThreadState* __tstate = wxPyBeginAllowThreads();
25727 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25728
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
25732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25733 return resultobj;
25734 fail:
25735 return NULL;
25736 }
25737
25738
25739 static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
25740 PyObject *resultobj;
25741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25742 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25743 wxPrintData *arg3 = (wxPrintData *) 0 ;
25744 wxPrintPreview *result;
25745 PyObject * obj0 = 0 ;
25746 PyObject * obj1 = 0 ;
25747 PyObject * obj2 = 0 ;
25748
25749 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
25750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25751 if (SWIG_arg_fail(1)) SWIG_fail;
25752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25753 if (SWIG_arg_fail(2)) SWIG_fail;
25754 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25755 if (SWIG_arg_fail(3)) SWIG_fail;
25756 {
25757 if (!wxPyCheckForApp()) SWIG_fail;
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25772 int argc;
25773 PyObject *argv[4];
25774 int ii;
25775
25776 argc = PyObject_Length(args);
25777 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25778 argv[ii] = PyTuple_GetItem(args,ii);
25779 }
25780 if ((argc >= 2) && (argc <= 3)) {
25781 int _v;
25782 {
25783 void *ptr;
25784 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25785 _v = 0;
25786 PyErr_Clear();
25787 } else {
25788 _v = 1;
25789 }
25790 }
25791 if (_v) {
25792 {
25793 void *ptr;
25794 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25795 _v = 0;
25796 PyErr_Clear();
25797 } else {
25798 _v = 1;
25799 }
25800 }
25801 if (_v) {
25802 if (argc <= 2) {
25803 return _wrap_new_PrintPreview__SWIG_0(self,args);
25804 }
25805 {
25806 void *ptr;
25807 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25808 _v = 0;
25809 PyErr_Clear();
25810 } else {
25811 _v = 1;
25812 }
25813 }
25814 if (_v) {
25815 return _wrap_new_PrintPreview__SWIG_0(self,args);
25816 }
25817 }
25818 }
25819 }
25820 if (argc == 3) {
25821 int _v;
25822 {
25823 void *ptr;
25824 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25825 _v = 0;
25826 PyErr_Clear();
25827 } else {
25828 _v = 1;
25829 }
25830 }
25831 if (_v) {
25832 {
25833 void *ptr;
25834 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25835 _v = 0;
25836 PyErr_Clear();
25837 } else {
25838 _v = 1;
25839 }
25840 }
25841 if (_v) {
25842 {
25843 void *ptr;
25844 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25845 _v = 0;
25846 PyErr_Clear();
25847 } else {
25848 _v = 1;
25849 }
25850 }
25851 if (_v) {
25852 return _wrap_new_PrintPreview__SWIG_1(self,args);
25853 }
25854 }
25855 }
25856 }
25857
25858 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
25859 return NULL;
25860 }
25861
25862
25863 static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25864 PyObject *resultobj;
25865 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25866 int arg2 ;
25867 bool result;
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
25870 char *kwnames[] = {
25871 (char *) "self",(char *) "pageNum", NULL
25872 };
25873
25874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
25875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25876 if (SWIG_arg_fail(1)) SWIG_fail;
25877 {
25878 arg2 = (int)(SWIG_As_int(obj1));
25879 if (SWIG_arg_fail(2)) SWIG_fail;
25880 }
25881 {
25882 PyThreadState* __tstate = wxPyBeginAllowThreads();
25883 result = (bool)(arg1)->SetCurrentPage(arg2);
25884
25885 wxPyEndAllowThreads(__tstate);
25886 if (PyErr_Occurred()) SWIG_fail;
25887 }
25888 {
25889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25890 }
25891 return resultobj;
25892 fail:
25893 return NULL;
25894 }
25895
25896
25897 static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj;
25899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25900 int result;
25901 PyObject * obj0 = 0 ;
25902 char *kwnames[] = {
25903 (char *) "self", NULL
25904 };
25905
25906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
25907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail;
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 result = (int)(arg1)->GetCurrentPage();
25912
25913 wxPyEndAllowThreads(__tstate);
25914 if (PyErr_Occurred()) SWIG_fail;
25915 }
25916 {
25917 resultobj = SWIG_From_int((int)(result));
25918 }
25919 return resultobj;
25920 fail:
25921 return NULL;
25922 }
25923
25924
25925 static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25926 PyObject *resultobj;
25927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25928 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25929 PyObject * obj0 = 0 ;
25930 PyObject * obj1 = 0 ;
25931 char *kwnames[] = {
25932 (char *) "self",(char *) "printout", NULL
25933 };
25934
25935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
25936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail;
25938 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25939 if (SWIG_arg_fail(2)) SWIG_fail;
25940 {
25941 PyThreadState* __tstate = wxPyBeginAllowThreads();
25942 (arg1)->SetPrintout(arg2);
25943
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 Py_INCREF(Py_None); resultobj = Py_None;
25948 return resultobj;
25949 fail:
25950 return NULL;
25951 }
25952
25953
25954 static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
25955 PyObject *resultobj;
25956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25957 wxPyPrintout *result;
25958 PyObject * obj0 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 result = (wxPyPrintout *)(arg1)->GetPrintout();
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 {
25974 resultobj = wxPyMake_wxObject(result, 0);
25975 }
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj;
25984 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25985 wxPyPrintout *result;
25986 PyObject * obj0 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
25992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail;
25994 {
25995 PyThreadState* __tstate = wxPyBeginAllowThreads();
25996 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25997
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 {
26002 resultobj = wxPyMake_wxObject(result, 0);
26003 }
26004 return resultobj;
26005 fail:
26006 return NULL;
26007 }
26008
26009
26010 static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj;
26012 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26013 wxFrame *arg2 = (wxFrame *) 0 ;
26014 PyObject * obj0 = 0 ;
26015 PyObject * obj1 = 0 ;
26016 char *kwnames[] = {
26017 (char *) "self",(char *) "frame", NULL
26018 };
26019
26020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
26021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26022 if (SWIG_arg_fail(1)) SWIG_fail;
26023 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26024 if (SWIG_arg_fail(2)) SWIG_fail;
26025 {
26026 PyThreadState* __tstate = wxPyBeginAllowThreads();
26027 (arg1)->SetFrame(arg2);
26028
26029 wxPyEndAllowThreads(__tstate);
26030 if (PyErr_Occurred()) SWIG_fail;
26031 }
26032 Py_INCREF(Py_None); resultobj = Py_None;
26033 return resultobj;
26034 fail:
26035 return NULL;
26036 }
26037
26038
26039 static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26040 PyObject *resultobj;
26041 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26042 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26043 PyObject * obj0 = 0 ;
26044 PyObject * obj1 = 0 ;
26045 char *kwnames[] = {
26046 (char *) "self",(char *) "canvas", NULL
26047 };
26048
26049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
26050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26051 if (SWIG_arg_fail(1)) SWIG_fail;
26052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26053 if (SWIG_arg_fail(2)) SWIG_fail;
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 (arg1)->SetCanvas(arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 Py_INCREF(Py_None); resultobj = Py_None;
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26071 wxFrame *result;
26072 PyObject * obj0 = 0 ;
26073 char *kwnames[] = {
26074 (char *) "self", NULL
26075 };
26076
26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (wxFrame *)(arg1)->GetFrame();
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 {
26088 resultobj = wxPyMake_wxObject(result, 0);
26089 }
26090 return resultobj;
26091 fail:
26092 return NULL;
26093 }
26094
26095
26096 static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj;
26098 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26099 wxPreviewCanvas *result;
26100 PyObject * obj0 = 0 ;
26101 char *kwnames[] = {
26102 (char *) "self", NULL
26103 };
26104
26105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
26106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26107 if (SWIG_arg_fail(1)) SWIG_fail;
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26111
26112 wxPyEndAllowThreads(__tstate);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26116 return resultobj;
26117 fail:
26118 return NULL;
26119 }
26120
26121
26122 static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26123 PyObject *resultobj;
26124 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26125 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26126 wxDC *arg3 = 0 ;
26127 bool result;
26128 PyObject * obj0 = 0 ;
26129 PyObject * obj1 = 0 ;
26130 PyObject * obj2 = 0 ;
26131 char *kwnames[] = {
26132 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26133 };
26134
26135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26137 if (SWIG_arg_fail(1)) SWIG_fail;
26138 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26139 if (SWIG_arg_fail(2)) SWIG_fail;
26140 {
26141 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26142 if (SWIG_arg_fail(3)) SWIG_fail;
26143 if (arg3 == NULL) {
26144 SWIG_null_ref("wxDC");
26145 }
26146 if (SWIG_arg_fail(3)) SWIG_fail;
26147 }
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26151
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 {
26156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26157 }
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26165 PyObject *resultobj;
26166 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26167 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26168 wxDC *arg3 = 0 ;
26169 bool result;
26170 PyObject * obj0 = 0 ;
26171 PyObject * obj1 = 0 ;
26172 PyObject * obj2 = 0 ;
26173 char *kwnames[] = {
26174 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26175 };
26176
26177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26179 if (SWIG_arg_fail(1)) SWIG_fail;
26180 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26181 if (SWIG_arg_fail(2)) SWIG_fail;
26182 {
26183 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26184 if (SWIG_arg_fail(3)) SWIG_fail;
26185 if (arg3 == NULL) {
26186 SWIG_null_ref("wxDC");
26187 }
26188 if (SWIG_arg_fail(3)) SWIG_fail;
26189 }
26190 {
26191 PyThreadState* __tstate = wxPyBeginAllowThreads();
26192 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26193
26194 wxPyEndAllowThreads(__tstate);
26195 if (PyErr_Occurred()) SWIG_fail;
26196 }
26197 {
26198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26199 }
26200 return resultobj;
26201 fail:
26202 return NULL;
26203 }
26204
26205
26206 static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26207 PyObject *resultobj;
26208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26209 int arg2 ;
26210 bool result;
26211 PyObject * obj0 = 0 ;
26212 PyObject * obj1 = 0 ;
26213 char *kwnames[] = {
26214 (char *) "self",(char *) "pageNum", NULL
26215 };
26216
26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26219 if (SWIG_arg_fail(1)) SWIG_fail;
26220 {
26221 arg2 = (int)(SWIG_As_int(obj1));
26222 if (SWIG_arg_fail(2)) SWIG_fail;
26223 }
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (bool)(arg1)->RenderPage(arg2);
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 {
26232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26233 }
26234 return resultobj;
26235 fail:
26236 return NULL;
26237 }
26238
26239
26240 static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26243 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26244 PyObject * obj0 = 0 ;
26245 PyObject * obj1 = 0 ;
26246 char *kwnames[] = {
26247 (char *) "self",(char *) "canvas", NULL
26248 };
26249
26250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
26251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26252 if (SWIG_arg_fail(1)) SWIG_fail;
26253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26254 if (SWIG_arg_fail(2)) SWIG_fail;
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 (arg1)->AdjustScrollbars(arg2);
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 Py_INCREF(Py_None); resultobj = Py_None;
26263 return resultobj;
26264 fail:
26265 return NULL;
26266 }
26267
26268
26269 static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
26270 PyObject *resultobj;
26271 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26272 wxPrintDialogData *result;
26273 PyObject * obj0 = 0 ;
26274 char *kwnames[] = {
26275 (char *) "self", NULL
26276 };
26277
26278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
26279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(1)) SWIG_fail;
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 {
26284 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26285 result = (wxPrintDialogData *) &_result_ref;
26286 }
26287
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26292 return resultobj;
26293 fail:
26294 return NULL;
26295 }
26296
26297
26298 static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj;
26300 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26301 int arg2 ;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 char *kwnames[] = {
26305 (char *) "self",(char *) "percent", NULL
26306 };
26307
26308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26310 if (SWIG_arg_fail(1)) SWIG_fail;
26311 {
26312 arg2 = (int)(SWIG_As_int(obj1));
26313 if (SWIG_arg_fail(2)) SWIG_fail;
26314 }
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 (arg1)->SetZoom(arg2);
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 Py_INCREF(Py_None); resultobj = Py_None;
26323 return resultobj;
26324 fail:
26325 return NULL;
26326 }
26327
26328
26329 static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26330 PyObject *resultobj;
26331 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26332 int result;
26333 PyObject * obj0 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
26339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26340 if (SWIG_arg_fail(1)) SWIG_fail;
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 result = (int)(arg1)->GetZoom();
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 {
26349 resultobj = SWIG_From_int((int)(result));
26350 }
26351 return resultobj;
26352 fail:
26353 return NULL;
26354 }
26355
26356
26357 static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
26358 PyObject *resultobj;
26359 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26360 int result;
26361 PyObject * obj0 = 0 ;
26362 char *kwnames[] = {
26363 (char *) "self", NULL
26364 };
26365
26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
26367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26368 if (SWIG_arg_fail(1)) SWIG_fail;
26369 {
26370 PyThreadState* __tstate = wxPyBeginAllowThreads();
26371 result = (int)(arg1)->GetMaxPage();
26372
26373 wxPyEndAllowThreads(__tstate);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 }
26376 {
26377 resultobj = SWIG_From_int((int)(result));
26378 }
26379 return resultobj;
26380 fail:
26381 return NULL;
26382 }
26383
26384
26385 static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
26386 PyObject *resultobj;
26387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26388 int result;
26389 PyObject * obj0 = 0 ;
26390 char *kwnames[] = {
26391 (char *) "self", NULL
26392 };
26393
26394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
26395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26396 if (SWIG_arg_fail(1)) SWIG_fail;
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (int)(arg1)->GetMinPage();
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 {
26405 resultobj = SWIG_From_int((int)(result));
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
26414 PyObject *resultobj;
26415 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26416 bool result;
26417 PyObject * obj0 = 0 ;
26418 char *kwnames[] = {
26419 (char *) "self", NULL
26420 };
26421
26422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
26423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26424 if (SWIG_arg_fail(1)) SWIG_fail;
26425 {
26426 PyThreadState* __tstate = wxPyBeginAllowThreads();
26427 result = (bool)(arg1)->Ok();
26428
26429 wxPyEndAllowThreads(__tstate);
26430 if (PyErr_Occurred()) SWIG_fail;
26431 }
26432 {
26433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26434 }
26435 return resultobj;
26436 fail:
26437 return NULL;
26438 }
26439
26440
26441 static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
26442 PyObject *resultobj;
26443 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26444 bool arg2 ;
26445 PyObject * obj0 = 0 ;
26446 PyObject * obj1 = 0 ;
26447 char *kwnames[] = {
26448 (char *) "self",(char *) "ok", NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
26452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26453 if (SWIG_arg_fail(1)) SWIG_fail;
26454 {
26455 arg2 = (bool)(SWIG_As_bool(obj1));
26456 if (SWIG_arg_fail(2)) SWIG_fail;
26457 }
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetOk(arg2);
26461
26462 wxPyEndAllowThreads(__tstate);
26463 if (PyErr_Occurred()) SWIG_fail;
26464 }
26465 Py_INCREF(Py_None); resultobj = Py_None;
26466 return resultobj;
26467 fail:
26468 return NULL;
26469 }
26470
26471
26472 static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26473 PyObject *resultobj;
26474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26475 bool arg2 ;
26476 bool result;
26477 PyObject * obj0 = 0 ;
26478 PyObject * obj1 = 0 ;
26479 char *kwnames[] = {
26480 (char *) "self",(char *) "interactive", NULL
26481 };
26482
26483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
26484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26485 if (SWIG_arg_fail(1)) SWIG_fail;
26486 {
26487 arg2 = (bool)(SWIG_As_bool(obj1));
26488 if (SWIG_arg_fail(2)) SWIG_fail;
26489 }
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 result = (bool)(arg1)->Print(arg2);
26493
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 {
26498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26499 }
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26509 PyObject * obj0 = 0 ;
26510 char *kwnames[] = {
26511 (char *) "self", NULL
26512 };
26513
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
26515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail;
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 (arg1)->DetermineScaling();
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 Py_INCREF(Py_None); resultobj = Py_None;
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
26532 PyObject *obj;
26533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26534 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26535 Py_INCREF(obj);
26536 return Py_BuildValue((char *)"");
26537 }
26538 static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
26539 PyObject *resultobj;
26540 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26541 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26542 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26543 wxPyPrintPreview *result;
26544 PyObject * obj0 = 0 ;
26545 PyObject * obj1 = 0 ;
26546 PyObject * obj2 = 0 ;
26547
26548 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail;
26551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26552 if (SWIG_arg_fail(2)) SWIG_fail;
26553 if (obj2) {
26554 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26555 if (SWIG_arg_fail(3)) SWIG_fail;
26556 }
26557 {
26558 if (!wxPyCheckForApp()) SWIG_fail;
26559 PyThreadState* __tstate = wxPyBeginAllowThreads();
26560 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26561
26562 wxPyEndAllowThreads(__tstate);
26563 if (PyErr_Occurred()) SWIG_fail;
26564 }
26565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26566 return resultobj;
26567 fail:
26568 return NULL;
26569 }
26570
26571
26572 static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
26573 PyObject *resultobj;
26574 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26575 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26576 wxPrintData *arg3 = (wxPrintData *) 0 ;
26577 wxPyPrintPreview *result;
26578 PyObject * obj0 = 0 ;
26579 PyObject * obj1 = 0 ;
26580 PyObject * obj2 = 0 ;
26581
26582 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
26583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26584 if (SWIG_arg_fail(1)) SWIG_fail;
26585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26586 if (SWIG_arg_fail(2)) SWIG_fail;
26587 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26588 if (SWIG_arg_fail(3)) SWIG_fail;
26589 {
26590 if (!wxPyCheckForApp()) SWIG_fail;
26591 PyThreadState* __tstate = wxPyBeginAllowThreads();
26592 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26593
26594 wxPyEndAllowThreads(__tstate);
26595 if (PyErr_Occurred()) SWIG_fail;
26596 }
26597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26598 return resultobj;
26599 fail:
26600 return NULL;
26601 }
26602
26603
26604 static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26605 int argc;
26606 PyObject *argv[4];
26607 int ii;
26608
26609 argc = PyObject_Length(args);
26610 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26611 argv[ii] = PyTuple_GetItem(args,ii);
26612 }
26613 if ((argc >= 2) && (argc <= 3)) {
26614 int _v;
26615 {
26616 void *ptr;
26617 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26618 _v = 0;
26619 PyErr_Clear();
26620 } else {
26621 _v = 1;
26622 }
26623 }
26624 if (_v) {
26625 {
26626 void *ptr;
26627 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26628 _v = 0;
26629 PyErr_Clear();
26630 } else {
26631 _v = 1;
26632 }
26633 }
26634 if (_v) {
26635 if (argc <= 2) {
26636 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26637 }
26638 {
26639 void *ptr;
26640 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26641 _v = 0;
26642 PyErr_Clear();
26643 } else {
26644 _v = 1;
26645 }
26646 }
26647 if (_v) {
26648 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26649 }
26650 }
26651 }
26652 }
26653 if (argc == 3) {
26654 int _v;
26655 {
26656 void *ptr;
26657 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26658 _v = 0;
26659 PyErr_Clear();
26660 } else {
26661 _v = 1;
26662 }
26663 }
26664 if (_v) {
26665 {
26666 void *ptr;
26667 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26668 _v = 0;
26669 PyErr_Clear();
26670 } else {
26671 _v = 1;
26672 }
26673 }
26674 if (_v) {
26675 {
26676 void *ptr;
26677 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26678 _v = 0;
26679 PyErr_Clear();
26680 } else {
26681 _v = 1;
26682 }
26683 }
26684 if (_v) {
26685 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26686 }
26687 }
26688 }
26689 }
26690
26691 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
26692 return NULL;
26693 }
26694
26695
26696 static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj;
26698 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26699 PyObject *arg2 = (PyObject *) 0 ;
26700 PyObject *arg3 = (PyObject *) 0 ;
26701 PyObject * obj0 = 0 ;
26702 PyObject * obj1 = 0 ;
26703 PyObject * obj2 = 0 ;
26704 char *kwnames[] = {
26705 (char *) "self",(char *) "self",(char *) "_class", NULL
26706 };
26707
26708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26710 if (SWIG_arg_fail(1)) SWIG_fail;
26711 arg2 = obj1;
26712 arg3 = obj2;
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 (arg1)->_setCallbackInfo(arg2,arg3);
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 Py_INCREF(Py_None); resultobj = Py_None;
26721 return resultobj;
26722 fail:
26723 return NULL;
26724 }
26725
26726
26727 static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj;
26729 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26730 int arg2 ;
26731 bool result;
26732 PyObject * obj0 = 0 ;
26733 PyObject * obj1 = 0 ;
26734 char *kwnames[] = {
26735 (char *) "self",(char *) "pageNum", NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
26739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26740 if (SWIG_arg_fail(1)) SWIG_fail;
26741 {
26742 arg2 = (int)(SWIG_As_int(obj1));
26743 if (SWIG_arg_fail(2)) SWIG_fail;
26744 }
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26748
26749 wxPyEndAllowThreads(__tstate);
26750 if (PyErr_Occurred()) SWIG_fail;
26751 }
26752 {
26753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26754 }
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
26762 PyObject *resultobj;
26763 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26764 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26765 wxDC *arg3 = 0 ;
26766 bool result;
26767 PyObject * obj0 = 0 ;
26768 PyObject * obj1 = 0 ;
26769 PyObject * obj2 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26776 if (SWIG_arg_fail(1)) SWIG_fail;
26777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26778 if (SWIG_arg_fail(2)) SWIG_fail;
26779 {
26780 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26781 if (SWIG_arg_fail(3)) SWIG_fail;
26782 if (arg3 == NULL) {
26783 SWIG_null_ref("wxDC");
26784 }
26785 if (SWIG_arg_fail(3)) SWIG_fail;
26786 }
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 {
26795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26796 }
26797 return resultobj;
26798 fail:
26799 return NULL;
26800 }
26801
26802
26803 static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj;
26805 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26806 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26807 wxDC *arg3 = 0 ;
26808 bool result;
26809 PyObject * obj0 = 0 ;
26810 PyObject * obj1 = 0 ;
26811 PyObject * obj2 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26818 if (SWIG_arg_fail(1)) SWIG_fail;
26819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26820 if (SWIG_arg_fail(2)) SWIG_fail;
26821 {
26822 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26823 if (SWIG_arg_fail(3)) SWIG_fail;
26824 if (arg3 == NULL) {
26825 SWIG_null_ref("wxDC");
26826 }
26827 if (SWIG_arg_fail(3)) SWIG_fail;
26828 }
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 {
26837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26838 }
26839 return resultobj;
26840 fail:
26841 return NULL;
26842 }
26843
26844
26845 static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26848 int arg2 ;
26849 bool result;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852 char *kwnames[] = {
26853 (char *) "self",(char *) "pageNum", NULL
26854 };
26855
26856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
26857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26858 if (SWIG_arg_fail(1)) SWIG_fail;
26859 {
26860 arg2 = (int)(SWIG_As_int(obj1));
26861 if (SWIG_arg_fail(2)) SWIG_fail;
26862 }
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
26865 result = (bool)(arg1)->base_RenderPage(arg2);
26866
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 {
26871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26872 }
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj;
26881 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26882 int arg2 ;
26883 PyObject * obj0 = 0 ;
26884 PyObject * obj1 = 0 ;
26885 char *kwnames[] = {
26886 (char *) "self",(char *) "percent", NULL
26887 };
26888
26889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
26890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26891 if (SWIG_arg_fail(1)) SWIG_fail;
26892 {
26893 arg2 = (int)(SWIG_As_int(obj1));
26894 if (SWIG_arg_fail(2)) SWIG_fail;
26895 }
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 (arg1)->base_SetZoom(arg2);
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 Py_INCREF(Py_None); resultobj = Py_None;
26904 return resultobj;
26905 fail:
26906 return NULL;
26907 }
26908
26909
26910 static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj;
26912 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26913 bool arg2 ;
26914 bool result;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 char *kwnames[] = {
26918 (char *) "self",(char *) "interactive", NULL
26919 };
26920
26921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
26922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail;
26924 {
26925 arg2 = (bool)(SWIG_As_bool(obj1));
26926 if (SWIG_arg_fail(2)) SWIG_fail;
26927 }
26928 {
26929 PyThreadState* __tstate = wxPyBeginAllowThreads();
26930 result = (bool)(arg1)->base_Print(arg2);
26931
26932 wxPyEndAllowThreads(__tstate);
26933 if (PyErr_Occurred()) SWIG_fail;
26934 }
26935 {
26936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26937 }
26938 return resultobj;
26939 fail:
26940 return NULL;
26941 }
26942
26943
26944 static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
26945 PyObject *resultobj;
26946 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26947 PyObject * obj0 = 0 ;
26948 char *kwnames[] = {
26949 (char *) "self", NULL
26950 };
26951
26952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
26953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26954 if (SWIG_arg_fail(1)) SWIG_fail;
26955 {
26956 PyThreadState* __tstate = wxPyBeginAllowThreads();
26957 (arg1)->base_DetermineScaling();
26958
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 Py_INCREF(Py_None); resultobj = Py_None;
26963 return resultobj;
26964 fail:
26965 return NULL;
26966 }
26967
26968
26969 static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
26970 PyObject *obj;
26971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26972 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26973 Py_INCREF(obj);
26974 return Py_BuildValue((char *)"");
26975 }
26976 static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26979 wxFrame *arg2 = (wxFrame *) 0 ;
26980 wxString *arg3 = 0 ;
26981 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26982 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26983 wxSize const &arg5_defvalue = wxDefaultSize ;
26984 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26985 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26986 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26987 wxString *arg7 = (wxString *) &arg7_defvalue ;
26988 wxPyPreviewFrame *result;
26989 bool temp3 = false ;
26990 wxPoint temp4 ;
26991 wxSize temp5 ;
26992 bool temp7 = false ;
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj1 = 0 ;
26995 PyObject * obj2 = 0 ;
26996 PyObject * obj3 = 0 ;
26997 PyObject * obj4 = 0 ;
26998 PyObject * obj5 = 0 ;
26999 PyObject * obj6 = 0 ;
27000 char *kwnames[] = {
27001 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27002 };
27003
27004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27006 if (SWIG_arg_fail(1)) SWIG_fail;
27007 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27008 if (SWIG_arg_fail(2)) SWIG_fail;
27009 {
27010 arg3 = wxString_in_helper(obj2);
27011 if (arg3 == NULL) SWIG_fail;
27012 temp3 = true;
27013 }
27014 if (obj3) {
27015 {
27016 arg4 = &temp4;
27017 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27018 }
27019 }
27020 if (obj4) {
27021 {
27022 arg5 = &temp5;
27023 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27024 }
27025 }
27026 if (obj5) {
27027 {
27028 arg6 = (long)(SWIG_As_long(obj5));
27029 if (SWIG_arg_fail(6)) SWIG_fail;
27030 }
27031 }
27032 if (obj6) {
27033 {
27034 arg7 = wxString_in_helper(obj6);
27035 if (arg7 == NULL) SWIG_fail;
27036 temp7 = true;
27037 }
27038 }
27039 {
27040 if (!wxPyCheckForApp()) SWIG_fail;
27041 PyThreadState* __tstate = wxPyBeginAllowThreads();
27042 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27043
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27048 {
27049 if (temp3)
27050 delete arg3;
27051 }
27052 {
27053 if (temp7)
27054 delete arg7;
27055 }
27056 return resultobj;
27057 fail:
27058 {
27059 if (temp3)
27060 delete arg3;
27061 }
27062 {
27063 if (temp7)
27064 delete arg7;
27065 }
27066 return NULL;
27067 }
27068
27069
27070 static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27071 PyObject *resultobj;
27072 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27073 PyObject *arg2 = (PyObject *) 0 ;
27074 PyObject *arg3 = (PyObject *) 0 ;
27075 PyObject * obj0 = 0 ;
27076 PyObject * obj1 = 0 ;
27077 PyObject * obj2 = 0 ;
27078 char *kwnames[] = {
27079 (char *) "self",(char *) "self",(char *) "_class", NULL
27080 };
27081
27082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27084 if (SWIG_arg_fail(1)) SWIG_fail;
27085 arg2 = obj1;
27086 arg3 = obj2;
27087 {
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 (arg1)->_setCallbackInfo(arg2,arg3);
27090
27091 wxPyEndAllowThreads(__tstate);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 }
27094 Py_INCREF(Py_None); resultobj = Py_None;
27095 return resultobj;
27096 fail:
27097 return NULL;
27098 }
27099
27100
27101 static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27102 PyObject *resultobj;
27103 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27104 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 char *kwnames[] = {
27108 (char *) "self",(char *) "canvas", NULL
27109 };
27110
27111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
27112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27113 if (SWIG_arg_fail(1)) SWIG_fail;
27114 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27115 if (SWIG_arg_fail(2)) SWIG_fail;
27116 {
27117 PyThreadState* __tstate = wxPyBeginAllowThreads();
27118 (arg1)->SetPreviewCanvas(arg2);
27119
27120 wxPyEndAllowThreads(__tstate);
27121 if (PyErr_Occurred()) SWIG_fail;
27122 }
27123 Py_INCREF(Py_None); resultobj = Py_None;
27124 return resultobj;
27125 fail:
27126 return NULL;
27127 }
27128
27129
27130 static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27131 PyObject *resultobj;
27132 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27133 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27134 PyObject * obj0 = 0 ;
27135 PyObject * obj1 = 0 ;
27136 char *kwnames[] = {
27137 (char *) "self",(char *) "bar", NULL
27138 };
27139
27140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
27141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27142 if (SWIG_arg_fail(1)) SWIG_fail;
27143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27144 if (SWIG_arg_fail(2)) SWIG_fail;
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 (arg1)->SetControlBar(arg2);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 Py_INCREF(Py_None); resultobj = Py_None;
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
27160 PyObject *resultobj;
27161 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27162 PyObject * obj0 = 0 ;
27163 char *kwnames[] = {
27164 (char *) "self", NULL
27165 };
27166
27167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
27168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27169 if (SWIG_arg_fail(1)) SWIG_fail;
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 (arg1)->base_Initialize();
27173
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 Py_INCREF(Py_None); resultobj = Py_None;
27178 return resultobj;
27179 fail:
27180 return NULL;
27181 }
27182
27183
27184 static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
27185 PyObject *resultobj;
27186 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27187 PyObject * obj0 = 0 ;
27188 char *kwnames[] = {
27189 (char *) "self", NULL
27190 };
27191
27192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
27193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail;
27195 {
27196 PyThreadState* __tstate = wxPyBeginAllowThreads();
27197 (arg1)->base_CreateCanvas();
27198
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 Py_INCREF(Py_None); resultobj = Py_None;
27203 return resultobj;
27204 fail:
27205 return NULL;
27206 }
27207
27208
27209 static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27210 PyObject *resultobj;
27211 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27212 PyObject * obj0 = 0 ;
27213 char *kwnames[] = {
27214 (char *) "self", NULL
27215 };
27216
27217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
27218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail;
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 (arg1)->base_CreateControlBar();
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 * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
27235 PyObject *obj;
27236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27237 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27238 Py_INCREF(obj);
27239 return Py_BuildValue((char *)"");
27240 }
27241 static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
27242 PyObject *resultobj;
27243 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27244 long arg2 ;
27245 wxWindow *arg3 = (wxWindow *) 0 ;
27246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27248 wxSize const &arg5_defvalue = wxDefaultSize ;
27249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27250 long arg6 = (long) 0 ;
27251 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27252 wxString *arg7 = (wxString *) &arg7_defvalue ;
27253 wxPyPreviewControlBar *result;
27254 wxPoint temp4 ;
27255 wxSize temp5 ;
27256 bool temp7 = false ;
27257 PyObject * obj0 = 0 ;
27258 PyObject * obj1 = 0 ;
27259 PyObject * obj2 = 0 ;
27260 PyObject * obj3 = 0 ;
27261 PyObject * obj4 = 0 ;
27262 PyObject * obj5 = 0 ;
27263 PyObject * obj6 = 0 ;
27264 char *kwnames[] = {
27265 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27266 };
27267
27268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27270 if (SWIG_arg_fail(1)) SWIG_fail;
27271 {
27272 arg2 = (long)(SWIG_As_long(obj1));
27273 if (SWIG_arg_fail(2)) SWIG_fail;
27274 }
27275 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27276 if (SWIG_arg_fail(3)) SWIG_fail;
27277 if (obj3) {
27278 {
27279 arg4 = &temp4;
27280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27281 }
27282 }
27283 if (obj4) {
27284 {
27285 arg5 = &temp5;
27286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27287 }
27288 }
27289 if (obj5) {
27290 {
27291 arg6 = (long)(SWIG_As_long(obj5));
27292 if (SWIG_arg_fail(6)) SWIG_fail;
27293 }
27294 }
27295 if (obj6) {
27296 {
27297 arg7 = wxString_in_helper(obj6);
27298 if (arg7 == NULL) SWIG_fail;
27299 temp7 = true;
27300 }
27301 }
27302 {
27303 if (!wxPyCheckForApp()) SWIG_fail;
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27311 {
27312 if (temp7)
27313 delete arg7;
27314 }
27315 return resultobj;
27316 fail:
27317 {
27318 if (temp7)
27319 delete arg7;
27320 }
27321 return NULL;
27322 }
27323
27324
27325 static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27328 PyObject *arg2 = (PyObject *) 0 ;
27329 PyObject *arg3 = (PyObject *) 0 ;
27330 PyObject * obj0 = 0 ;
27331 PyObject * obj1 = 0 ;
27332 PyObject * obj2 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "self",(char *) "_class", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 arg2 = obj1;
27341 arg3 = obj2;
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 (arg1)->_setCallbackInfo(arg2,arg3);
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 Py_INCREF(Py_None); resultobj = Py_None;
27350 return resultobj;
27351 fail:
27352 return NULL;
27353 }
27354
27355
27356 static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
27357 PyObject *resultobj;
27358 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27359 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27360 PyObject * obj0 = 0 ;
27361 PyObject * obj1 = 0 ;
27362 char *kwnames[] = {
27363 (char *) "self",(char *) "preview", NULL
27364 };
27365
27366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
27367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27368 if (SWIG_arg_fail(1)) SWIG_fail;
27369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(2)) SWIG_fail;
27371 {
27372 PyThreadState* __tstate = wxPyBeginAllowThreads();
27373 (arg1)->SetPrintPreview(arg2);
27374
27375 wxPyEndAllowThreads(__tstate);
27376 if (PyErr_Occurred()) SWIG_fail;
27377 }
27378 Py_INCREF(Py_None); resultobj = Py_None;
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
27386 PyObject *resultobj;
27387 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27388 PyObject * obj0 = 0 ;
27389 char *kwnames[] = {
27390 (char *) "self", NULL
27391 };
27392
27393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
27394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27395 if (SWIG_arg_fail(1)) SWIG_fail;
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 (arg1)->base_CreateButtons();
27399
27400 wxPyEndAllowThreads(__tstate);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 }
27403 Py_INCREF(Py_None); resultobj = Py_None;
27404 return resultobj;
27405 fail:
27406 return NULL;
27407 }
27408
27409
27410 static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
27411 PyObject *resultobj;
27412 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27413 int arg2 ;
27414 PyObject * obj0 = 0 ;
27415 PyObject * obj1 = 0 ;
27416 char *kwnames[] = {
27417 (char *) "self",(char *) "zoom", NULL
27418 };
27419
27420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
27421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27422 if (SWIG_arg_fail(1)) SWIG_fail;
27423 {
27424 arg2 = (int)(SWIG_As_int(obj1));
27425 if (SWIG_arg_fail(2)) SWIG_fail;
27426 }
27427 {
27428 PyThreadState* __tstate = wxPyBeginAllowThreads();
27429 (arg1)->base_SetZoomControl(arg2);
27430
27431 wxPyEndAllowThreads(__tstate);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 Py_INCREF(Py_None); resultobj = Py_None;
27435 return resultobj;
27436 fail:
27437 return NULL;
27438 }
27439
27440
27441 static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
27442 PyObject *obj;
27443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27444 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27445 Py_INCREF(obj);
27446 return Py_BuildValue((char *)"");
27447 }
27448 static PyMethodDef SwigMethods[] = {
27449 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27454 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27457 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27469 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27472 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27473 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27480 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27498 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27521 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27522 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27535 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27539 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27543 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27548 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27565 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27595 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27602 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27625 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27633 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27645 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27651 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27660 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27666 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27671 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27677 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27681 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27699 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27725 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27733 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27742 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27744 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27753 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27756 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27763 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27781 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27785 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27790 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27794 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27796 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27812 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27815 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27817 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27821 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27830 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27839 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27845 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27857 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27864 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27868 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27894 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27920 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27947 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27992 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27993 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28024 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28029 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28030 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28063 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28069 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28080 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28103 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28105 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28111 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28121 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28122 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28145 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28146 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28155 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28163 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
28169 { NULL, NULL, 0, NULL }
28170 };
28171
28172
28173 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28174
28175 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28176 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28177 }
28178 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28179 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28180 }
28181 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28182 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28183 }
28184 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28185 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28186 }
28187 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28188 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28189 }
28190 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28191 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28192 }
28193 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28194 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28195 }
28196 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28197 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28198 }
28199 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28200 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28201 }
28202 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28204 }
28205 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28207 }
28208 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28209 return (void *)((wxEvent *) ((wxPyEvent *) x));
28210 }
28211 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28213 }
28214 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28215 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28216 }
28217 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28218 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28219 }
28220 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28222 }
28223 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28224 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28225 }
28226 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28227 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28228 }
28229 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28230 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28231 }
28232 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28233 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28234 }
28235 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28236 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28237 }
28238 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28239 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28240 }
28241 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28242 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28243 }
28244 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28245 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28246 }
28247 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28248 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28249 }
28250 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28251 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28252 }
28253 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28254 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28255 }
28256 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28257 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28258 }
28259 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28260 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28261 }
28262 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28263 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28264 }
28265 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28266 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28267 }
28268 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28269 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28270 }
28271 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28273 }
28274 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28275 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28276 }
28277 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28278 return (void *)((wxEvent *) ((wxShowEvent *) x));
28279 }
28280 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28281 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28282 }
28283 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28284 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28285 }
28286 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28288 }
28289 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28290 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28291 }
28292 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28293 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28294 }
28295 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28296 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28297 }
28298 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28299 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28300 }
28301 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28302 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28303 }
28304 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28305 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28306 }
28307 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28308 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28309 }
28310 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28311 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28312 }
28313 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28314 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28315 }
28316 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28317 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28318 }
28319 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28320 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28321 }
28322 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28323 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28324 }
28325 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28326 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28327 }
28328 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28330 }
28331 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28333 }
28334 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28336 }
28337 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28339 }
28340 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28342 }
28343 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28345 }
28346 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28348 }
28349 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28351 }
28352 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28353 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28354 }
28355 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28356 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28357 }
28358 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28359 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28360 }
28361 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28362 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28363 }
28364 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28365 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28366 }
28367 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28369 }
28370 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28371 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28372 }
28373 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28374 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28375 }
28376 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28377 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28378 }
28379 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28381 }
28382 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28383 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28384 }
28385 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28386 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28387 }
28388 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28390 }
28391 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28392 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28393 }
28394 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28395 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28396 }
28397 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28398 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28399 }
28400 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28401 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28402 }
28403 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28405 }
28406 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28407 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28408 }
28409 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28410 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28411 }
28412 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28414 }
28415 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28417 }
28418 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28420 }
28421 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28423 }
28424 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28426 }
28427 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28429 }
28430 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28432 }
28433 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28435 }
28436 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28438 }
28439 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28441 }
28442 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28444 }
28445 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28446 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28447 }
28448 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28449 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28450 }
28451 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28452 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28453 }
28454 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28455 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28456 }
28457 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28458 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28459 }
28460 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28461 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28462 }
28463 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28464 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28465 }
28466 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28467 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28468 }
28469 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28470 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28471 }
28472 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28473 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28474 }
28475 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28476 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28477 }
28478 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28480 }
28481 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28483 }
28484 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28486 }
28487 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28489 }
28490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28492 }
28493 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) ((wxSizerItem *) x));
28495 }
28496 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28498 }
28499 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28501 }
28502 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28504 }
28505 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28507 }
28508 static void *_p_wxSizerTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) ((wxSizer *) x));
28510 }
28511 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28513 }
28514 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28516 }
28517 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28519 }
28520 static void *_p_wxEventTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) ((wxEvent *) x));
28522 }
28523 static void *_p_wxFontDataTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) ((wxFontData *) x));
28525 }
28526 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) ((wxPrintData *) x));
28528 }
28529 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28531 }
28532 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28534 }
28535 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28537 }
28538 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28540 }
28541 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28542 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
28543 }
28544 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28545 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28546 }
28547 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28548 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28549 }
28550 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28551 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28552 }
28553 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28554 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28555 }
28556 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28557 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28558 }
28559 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28560 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28561 }
28562 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28563 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28564 }
28565 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28567 }
28568 static void *_p_wxControlTo_p_wxObject(void *x) {
28569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28570 }
28571 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28572 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28573 }
28574 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28576 }
28577 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28578 return (void *)((wxObject *) ((wxFSFile *) x));
28579 }
28580 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28581 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28582 }
28583 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28584 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28585 }
28586 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28588 }
28589 static void *_p_wxColourDataTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) ((wxColourData *) x));
28591 }
28592 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28594 }
28595 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28597 }
28598 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28600 }
28601 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28603 }
28604 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28606 }
28607 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28609 }
28610 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28612 }
28613 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28615 }
28616 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28618 }
28619 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28621 }
28622 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28624 }
28625 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28627 }
28628 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28630 }
28631 static void *_p_wxPrinterTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) ((wxPrinter *) x));
28633 }
28634 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) ((wxMenuItem *) x));
28636 }
28637 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28639 }
28640 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28642 }
28643 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28645 }
28646 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28648 }
28649 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28651 }
28652 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28654 }
28655 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28657 }
28658 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28660 }
28661 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28663 }
28664 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28666 }
28667 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28669 }
28670 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28672 }
28673 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28675 }
28676 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28678 }
28679 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28681 }
28682 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28684 }
28685 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28687 }
28688 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28690 }
28691 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) ((wxImageHandler *) x));
28693 }
28694 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28696 }
28697 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) ((wxEvtHandler *) x));
28699 }
28700 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28702 }
28703 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28705 }
28706 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28708 }
28709 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28711 }
28712 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28714 }
28715 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28717 }
28718 static void *_p_wxImageTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) ((wxImage *) x));
28720 }
28721 static void *_p_wxFrameTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28723 }
28724 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) ((wxPyPrintout *) x));
28726 }
28727 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28729 }
28730 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28732 }
28733 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28735 }
28736 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28738 }
28739 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28741 }
28742 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28744 }
28745 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28747 }
28748 static void *_p_wxWindowTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28750 }
28751 static void *_p_wxMenuTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28753 }
28754 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28756 }
28757 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28759 }
28760 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28762 }
28763 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28765 }
28766 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28768 }
28769 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28771 }
28772 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28774 }
28775 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28777 }
28778 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28780 }
28781 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28783 }
28784 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28786 }
28787 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28789 }
28790 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28792 }
28793 static void *_p_wxSashEventTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28795 }
28796 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) ((wxPrintPreview *) x));
28798 }
28799 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28801 }
28802 static void *_p_wxPanelTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28804 }
28805 static void *_p_wxDialogTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28807 }
28808 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28810 }
28811 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28813 }
28814 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28816 }
28817 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
28819 }
28820 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) ((wxPrintDialog *) x));
28822 }
28823 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) ((wxFileSystem *) x));
28825 }
28826 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28828 }
28829 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28831 }
28832 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28834 }
28835 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28837 }
28838 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28840 }
28841 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28843 }
28844 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28846 }
28847 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28849 }
28850 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28852 }
28853 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28855 }
28856 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28858 }
28859 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28861 }
28862 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28864 }
28865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28867 }
28868 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28870 }
28871 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28873 }
28874 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28876 }
28877 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28878 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28879 }
28880 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28881 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28882 }
28883 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28884 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28885 }
28886 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
28887 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28888 }
28889 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28890 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28891 }
28892 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
28893 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28894 }
28895 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28896 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28897 }
28898 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28899 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28900 }
28901 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28902 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28903 }
28904 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28905 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28906 }
28907 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28908 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28909 }
28910 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28911 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28912 }
28913 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28914 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28915 }
28916 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28918 }
28919 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28920 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28921 }
28922 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28923 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28924 }
28925 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28926 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28927 }
28928 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28930 }
28931 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28932 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28933 }
28934 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28936 }
28937 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28938 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28939 }
28940 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28941 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28942 }
28943 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28944 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28945 }
28946 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28947 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28948 }
28949 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28950 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28951 }
28952 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28953 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28954 }
28955 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28956 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28957 }
28958 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28959 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28960 }
28961 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28962 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28963 }
28964 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28965 return (void *)((wxWindow *) ((wxMenuBar *) x));
28966 }
28967 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28969 }
28970 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28972 }
28973 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28975 }
28976 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28978 }
28979 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28981 }
28982 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28984 }
28985 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28986 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28987 }
28988 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28990 }
28991 static void *_p_wxPanelTo_p_wxWindow(void *x) {
28992 return (void *)((wxWindow *) ((wxPanel *) x));
28993 }
28994 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28995 return (void *)((wxWindow *) ((wxStatusBar *) x));
28996 }
28997 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28998 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28999 }
29000 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29001 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29002 }
29003 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29004 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29005 }
29006 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29007 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29008 }
29009 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29010 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29011 }
29012 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29013 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29014 }
29015 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29016 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29017 }
29018 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29019 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29020 }
29021 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29022 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29023 }
29024 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29025 return (void *)((wxWindow *) ((wxSashWindow *) x));
29026 }
29027 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29028 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29029 }
29030 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29031 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29032 }
29033 static void *_p_wxControlTo_p_wxWindow(void *x) {
29034 return (void *)((wxWindow *) ((wxControl *) x));
29035 }
29036 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29037 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29038 }
29039 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29040 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29041 }
29042 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29043 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29044 }
29045 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29046 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29047 }
29048 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29049 return (void *)((wxWindow *) ((wxPyWindow *) x));
29050 }
29051 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29052 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29053 }
29054 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29055 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29056 }
29057 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29058 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29059 }
29060 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29061 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29062 }
29063 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29064 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29065 }
29066 static void *_p_wxFrameTo_p_wxWindow(void *x) {
29067 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29068 }
29069 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29071 }
29072 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29073 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29074 }
29075 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29076 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29077 }
29078 static void *_p_wxDialogTo_p_wxWindow(void *x) {
29079 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29080 }
29081 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29082 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29083 }
29084 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29085 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29086 }
29087 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29088 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29089 }
29090 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29091 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29092 }
29093 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29094 return (void *)((wxDialog *) ((wxColourDialog *) x));
29095 }
29096 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29097 return (void *)((wxDialog *) ((wxDirDialog *) x));
29098 }
29099 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29100 return (void *)((wxDialog *) ((wxFontDialog *) x));
29101 }
29102 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29103 return (void *)((wxDialog *) ((wxFileDialog *) x));
29104 }
29105 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29106 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29107 }
29108 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29109 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29110 }
29111 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29112 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29113 }
29114 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29115 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29116 }
29117 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29118 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29119 }
29120 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29121 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29122 }
29123 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29124 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29125 }
29126 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29127 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29128 }
29129 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29130 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29131 }
29132 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29133 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29134 }
29135 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29136 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29137 }
29138 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29139 return (void *)((wxPanel *) ((wxPyPanel *) x));
29140 }
29141 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29142 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29143 }
29144 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29145 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29146 }
29147 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29148 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29149 }
29150 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29151 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29152 }
29153 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29154 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29155 }
29156 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29157 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29158 }
29159 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29160 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29161 }
29162 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29163 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29164 }
29165 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29166 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29167 }
29168 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29169 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29170 }
29171 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29172 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29173 }
29174 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29175 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29176 }
29177 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29178 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29179 }
29180 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29181 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29182 }
29183 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29184 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29185 }
29186 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}};
29187 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}};
29188 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}};
29189 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}};
29190 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}};
29191 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}};
29192 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_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}};
29193 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}};
29194 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}};
29195 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}};
29196 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}};
29197 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}};
29198 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}};
29199 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}};
29200 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}};
29201 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}};
29202 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}};
29203 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}};
29204 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}};
29205 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}};
29206 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}};
29207 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}};
29208 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}};
29209 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}};
29210 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}};
29211 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}};
29212 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}};
29213 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}};
29214 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}};
29215 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}};
29216 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}};
29217 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}};
29218 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}};
29219 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}};
29220 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}};
29221 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}};
29222 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}};
29223 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}};
29224 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}};
29225 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}};
29226 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}};
29227 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}};
29228 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29229 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}};
29230 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}};
29231 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}};
29232 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}};
29233 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}};
29234 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}};
29235 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}};
29236 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29237 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}};
29238 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}};
29239 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}};
29240 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}};
29241 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}};
29242 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}};
29243 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}};
29244 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_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_wxIconizeEvent", _p_wxIconizeEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29245 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}};
29246 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}};
29247 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}};
29248 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}};
29249 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}};
29250 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}};
29251 static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29252 static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29253 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}};
29254 static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29255 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29256 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}};
29257 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}};
29258 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}};
29259 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}};
29260 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}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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_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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283
29284 static swig_type_info *swig_types_initial[] = {
29285 _swigt__p_wxQueryLayoutInfoEvent,
29286 _swigt__p_wxPreviewFrame,
29287 _swigt__p_wxPyPreviewFrame,
29288 _swigt__p_wxPyPanel,
29289 _swigt__p_wxMenu,
29290 _swigt__p_wxFontData,
29291 _swigt__p_wxEvent,
29292 _swigt__p_wxPrintData,
29293 _swigt__p_wxTaskBarIcon,
29294 _swigt__p_wxPyTaskBarIcon,
29295 _swigt__p_wxIconBundle,
29296 _swigt__p_wxLayoutAlgorithm,
29297 _swigt__p_wxFindDialogEvent,
29298 _swigt__p_wxPreviewCanvas,
29299 _swigt__p_wxFont,
29300 _swigt__p_wxSplitterEvent,
29301 _swigt__p_wxRegion,
29302 _swigt__ptrdiff_t,
29303 _swigt__std__ptrdiff_t,
29304 _swigt__p_wxFindReplaceData,
29305 _swigt__p_int,
29306 _swigt__p_wxSize,
29307 _swigt__p_wxDC,
29308 _swigt__p_wxIcon,
29309 _swigt__p_wxVisualAttributes,
29310 _swigt__p_wxMDIChildFrame,
29311 _swigt__p_wxColourData,
29312 _swigt__p_wxNotifyEvent,
29313 _swigt__p_wxPyWindow,
29314 _swigt__p_form_ops_t,
29315 _swigt__p_wxSplashScreen,
29316 _swigt__p_wxPasswordEntryDialog,
29317 _swigt__p_wxSingleChoiceDialog,
29318 _swigt__p_wxMultiChoiceDialog,
29319 _swigt__p_wxFileDialog,
29320 _swigt__p_wxTextEntryDialog,
29321 _swigt__p_wxMessageDialog,
29322 _swigt__p_wxProgressDialog,
29323 _swigt__p_wxFindReplaceDialog,
29324 _swigt__p_wxPrinter,
29325 _swigt__p_wxArrayInt,
29326 _swigt__p_wxDuplexMode,
29327 _swigt__p_wxEvtHandler,
29328 _swigt__p_wxCalculateLayoutEvent,
29329 _swigt__p_wxPyHtmlListBox,
29330 _swigt__p_wxPyVListBox,
29331 _swigt__p_wxRect,
29332 _swigt__p_wxStdDialogButtonSizer,
29333 _swigt__p_char,
29334 _swigt__p_wxMiniFrame,
29335 _swigt__p_wxFrame,
29336 _swigt__p_wxPyPrintout,
29337 _swigt__p_wxTaskBarIconEvent,
29338 _swigt__p_wxScrollWinEvent,
29339 _swigt__p_wxPaperSize,
29340 _swigt__p_wxStatusBar,
29341 _swigt__p_wxMDIParentFrame,
29342 _swigt__p_wxPoint,
29343 _swigt__p_wxObject,
29344 _swigt__p_unsigned_long,
29345 _swigt__p_wxTipWindow,
29346 _swigt__p_wxSashLayoutWindow,
29347 _swigt__p_wxSplitterWindow,
29348 _swigt__p_wxSplashScreenWindow,
29349 _swigt__p_wxPyVScrolledWindow,
29350 _swigt__p_wxPyPopupTransientWindow,
29351 _swigt__p_wxPopupWindow,
29352 _swigt__p_wxSashWindow,
29353 _swigt__p_wxTopLevelWindow,
29354 _swigt__p_wxWindow,
29355 _swigt__p_wxScrolledWindow,
29356 _swigt__p_wxMenuBar,
29357 _swigt__p_wxMDIClientWindow,
29358 _swigt__p_wxPyScrolledWindow,
29359 _swigt__p_wxPrintPreview,
29360 _swigt__p_wxSashEvent,
29361 _swigt__p_wxString,
29362 _swigt__p_wxPyPrintPreview,
29363 _swigt__p_wxDirDialog,
29364 _swigt__p_wxColourDialog,
29365 _swigt__p_wxDialog,
29366 _swigt__p_wxPanel,
29367 _swigt__p_wxFontDialog,
29368 _swigt__p_wxPageSetupDialog,
29369 _swigt__p_wxPrintDialog,
29370 _swigt__p_wxFileSystem,
29371 _swigt__p_wxBitmap,
29372 _swigt__unsigned_int,
29373 _swigt__p_unsigned_int,
29374 _swigt__p_unsigned_char,
29375 _swigt__p_wxCommandEvent,
29376 _swigt__p_wxPreviewControlBar,
29377 _swigt__p_wxPyPreviewControlBar,
29378 _swigt__p_wxColour,
29379 _swigt__p_wxToolBar,
29380 _swigt__p_wxPageSetupDialogData,
29381 _swigt__p_wxPrintDialogData,
29382 0
29383 };
29384
29385
29386 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29387
29388 static swig_const_info swig_const_table[] = {
29389 {0, 0, 0, 0.0, 0, 0}};
29390
29391 #ifdef __cplusplus
29392 }
29393 #endif
29394
29395
29396 #ifdef __cplusplus
29397 extern "C" {
29398 #endif
29399
29400 /* Python-specific SWIG API */
29401 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29402 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29403 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29404
29405 /* -----------------------------------------------------------------------------
29406 * global variable support code.
29407 * ----------------------------------------------------------------------------- */
29408
29409 typedef struct swig_globalvar {
29410 char *name; /* Name of global variable */
29411 PyObject *(*get_attr)(); /* Return the current value */
29412 int (*set_attr)(PyObject *); /* Set the value */
29413 struct swig_globalvar *next;
29414 } swig_globalvar;
29415
29416 typedef struct swig_varlinkobject {
29417 PyObject_HEAD
29418 swig_globalvar *vars;
29419 } swig_varlinkobject;
29420
29421 static PyObject *
29422 swig_varlink_repr(swig_varlinkobject *v) {
29423 v = v;
29424 return PyString_FromString("<Swig global variables>");
29425 }
29426
29427 static int
29428 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29429 swig_globalvar *var;
29430 flags = flags;
29431 fprintf(fp,"Swig global variables { ");
29432 for (var = v->vars; var; var=var->next) {
29433 fprintf(fp,"%s", var->name);
29434 if (var->next) fprintf(fp,", ");
29435 }
29436 fprintf(fp," }\n");
29437 return 0;
29438 }
29439
29440 static PyObject *
29441 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29442 swig_globalvar *var = v->vars;
29443 while (var) {
29444 if (strcmp(var->name,n) == 0) {
29445 return (*var->get_attr)();
29446 }
29447 var = var->next;
29448 }
29449 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29450 return NULL;
29451 }
29452
29453 static int
29454 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29455 swig_globalvar *var = v->vars;
29456 while (var) {
29457 if (strcmp(var->name,n) == 0) {
29458 return (*var->set_attr)(p);
29459 }
29460 var = var->next;
29461 }
29462 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29463 return 1;
29464 }
29465
29466 static PyTypeObject varlinktype = {
29467 PyObject_HEAD_INIT(0)
29468 0, /* Number of items in variable part (ob_size) */
29469 (char *)"swigvarlink", /* Type name (tp_name) */
29470 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29471 0, /* Itemsize (tp_itemsize) */
29472 0, /* Deallocator (tp_dealloc) */
29473 (printfunc) swig_varlink_print, /* Print (tp_print) */
29474 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29475 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29476 0, /* tp_compare */
29477 (reprfunc) swig_varlink_repr, /* tp_repr */
29478 0, /* tp_as_number */
29479 0, /* tp_as_sequence */
29480 0, /* tp_as_mapping */
29481 0, /* tp_hash */
29482 0, /* tp_call */
29483 0, /* tp_str */
29484 0, /* tp_getattro */
29485 0, /* tp_setattro */
29486 0, /* tp_as_buffer */
29487 0, /* tp_flags */
29488 0, /* tp_doc */
29489 #if PY_VERSION_HEX >= 0x02000000
29490 0, /* tp_traverse */
29491 0, /* tp_clear */
29492 #endif
29493 #if PY_VERSION_HEX >= 0x02010000
29494 0, /* tp_richcompare */
29495 0, /* tp_weaklistoffset */
29496 #endif
29497 #if PY_VERSION_HEX >= 0x02020000
29498 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29499 #endif
29500 #if PY_VERSION_HEX >= 0x02030000
29501 0, /* tp_del */
29502 #endif
29503 #ifdef COUNT_ALLOCS
29504 0,0,0,0 /* tp_alloc -> tp_next */
29505 #endif
29506 };
29507
29508 /* Create a variable linking object for use later */
29509 static PyObject *
29510 SWIG_Python_newvarlink(void) {
29511 swig_varlinkobject *result = 0;
29512 result = PyMem_NEW(swig_varlinkobject,1);
29513 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29514 result->ob_type = &varlinktype;
29515 result->vars = 0;
29516 result->ob_refcnt = 0;
29517 Py_XINCREF((PyObject *) result);
29518 return ((PyObject*) result);
29519 }
29520
29521 static void
29522 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29523 swig_varlinkobject *v;
29524 swig_globalvar *gv;
29525 v= (swig_varlinkobject *) p;
29526 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29527 gv->name = (char *) malloc(strlen(name)+1);
29528 strcpy(gv->name,name);
29529 gv->get_attr = get_attr;
29530 gv->set_attr = set_attr;
29531 gv->next = v->vars;
29532 v->vars = gv;
29533 }
29534
29535 /* -----------------------------------------------------------------------------
29536 * constants/methods manipulation
29537 * ----------------------------------------------------------------------------- */
29538
29539 /* Install Constants */
29540 static void
29541 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29542 PyObject *obj = 0;
29543 size_t i;
29544 for (i = 0; constants[i].type; i++) {
29545 switch(constants[i].type) {
29546 case SWIG_PY_INT:
29547 obj = PyInt_FromLong(constants[i].lvalue);
29548 break;
29549 case SWIG_PY_FLOAT:
29550 obj = PyFloat_FromDouble(constants[i].dvalue);
29551 break;
29552 case SWIG_PY_STRING:
29553 if (constants[i].pvalue) {
29554 obj = PyString_FromString((char *) constants[i].pvalue);
29555 } else {
29556 Py_INCREF(Py_None);
29557 obj = Py_None;
29558 }
29559 break;
29560 case SWIG_PY_POINTER:
29561 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29562 break;
29563 case SWIG_PY_BINARY:
29564 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29565 break;
29566 default:
29567 obj = 0;
29568 break;
29569 }
29570 if (obj) {
29571 PyDict_SetItemString(d,constants[i].name,obj);
29572 Py_DECREF(obj);
29573 }
29574 }
29575 }
29576
29577 /* -----------------------------------------------------------------------------*/
29578 /* Fix SwigMethods to carry the callback ptrs when needed */
29579 /* -----------------------------------------------------------------------------*/
29580
29581 static void
29582 SWIG_Python_FixMethods(PyMethodDef *methods,
29583 swig_const_info *const_table,
29584 swig_type_info **types,
29585 swig_type_info **types_initial) {
29586 size_t i;
29587 for (i = 0; methods[i].ml_name; ++i) {
29588 char *c = methods[i].ml_doc;
29589 if (c && (c = strstr(c, "swig_ptr: "))) {
29590 int j;
29591 swig_const_info *ci = 0;
29592 char *name = c + 10;
29593 for (j = 0; const_table[j].type; j++) {
29594 if (strncmp(const_table[j].name, name,
29595 strlen(const_table[j].name)) == 0) {
29596 ci = &(const_table[j]);
29597 break;
29598 }
29599 }
29600 if (ci) {
29601 size_t shift = (ci->ptype) - types;
29602 swig_type_info *ty = types_initial[shift];
29603 size_t ldoc = (c - methods[i].ml_doc);
29604 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29605 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29606 char *buff = ndoc;
29607 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29608 strncpy(buff, methods[i].ml_doc, ldoc);
29609 buff += ldoc;
29610 strncpy(buff, "swig_ptr: ", 10);
29611 buff += 10;
29612 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29613 methods[i].ml_doc = ndoc;
29614 }
29615 }
29616 }
29617 }
29618
29619 /* -----------------------------------------------------------------------------*
29620 * Initialize type list
29621 * -----------------------------------------------------------------------------*/
29622
29623 #if PY_MAJOR_VERSION < 2
29624 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29625 is copied out of Python/modsupport.c in python version 2.3.4 */
29626 static int
29627 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29628 {
29629 PyObject *dict;
29630 if (!PyModule_Check(m)) {
29631 PyErr_SetString(PyExc_TypeError,
29632 "PyModule_AddObject() needs module as first arg");
29633 return -1;
29634 }
29635 if (!o) {
29636 PyErr_SetString(PyExc_TypeError,
29637 "PyModule_AddObject() needs non-NULL value");
29638 return -1;
29639 }
29640
29641 dict = PyModule_GetDict(m);
29642 if (dict == NULL) {
29643 /* Internal error -- modules must have a dict! */
29644 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29645 PyModule_GetName(m));
29646 return -1;
29647 }
29648 if (PyDict_SetItemString(dict, name, o))
29649 return -1;
29650 Py_DECREF(o);
29651 return 0;
29652 }
29653 #endif
29654
29655 static swig_type_info **
29656 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29657 static PyMethodDef swig_empty_runtime_method_table[] = {
29658 {
29659 NULL, NULL, 0, NULL
29660 }
29661 };/* Sentinel */
29662
29663 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29664 swig_empty_runtime_method_table);
29665 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29666 if (pointer && module) {
29667 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29668 }
29669 return type_list_handle;
29670 }
29671
29672 static swig_type_info **
29673 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29674 swig_type_info **type_pointer;
29675
29676 /* first check if module already created */
29677 type_pointer = SWIG_Python_GetTypeListHandle();
29678 if (type_pointer) {
29679 return type_pointer;
29680 } else {
29681 /* create a new module and variable */
29682 return SWIG_Python_SetTypeListHandle(type_list_handle);
29683 }
29684 }
29685
29686 #ifdef __cplusplus
29687 }
29688 #endif
29689
29690 /* -----------------------------------------------------------------------------*
29691 * Partial Init method
29692 * -----------------------------------------------------------------------------*/
29693
29694 #ifdef SWIG_LINK_RUNTIME
29695 #ifdef __cplusplus
29696 extern "C"
29697 #endif
29698 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29699 #endif
29700
29701 #ifdef __cplusplus
29702 extern "C"
29703 #endif
29704 SWIGEXPORT(void) SWIG_init(void) {
29705 static PyObject *SWIG_globals = 0;
29706 static int typeinit = 0;
29707 PyObject *m, *d;
29708 int i;
29709 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29710
29711 /* Fix SwigMethods to carry the callback ptrs when needed */
29712 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29713
29714 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29715 d = PyModule_GetDict(m);
29716
29717 if (!typeinit) {
29718 #ifdef SWIG_LINK_RUNTIME
29719 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29720 #else
29721 # ifndef SWIG_STATIC_RUNTIME
29722 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29723 # endif
29724 #endif
29725 for (i = 0; swig_types_initial[i]; i++) {
29726 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29727 }
29728 typeinit = 1;
29729 }
29730 SWIG_InstallConstants(d,swig_const_table);
29731
29732 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29733 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29734 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29735 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29736 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29737 {
29738 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29739 }
29740 {
29741 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29742 }
29743 {
29744 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29745 }
29746 {
29747 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29748 }
29749 {
29750 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29751 }
29752 {
29753 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29754 }
29755 {
29756 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29757 }
29758 {
29759 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29760 }
29761 {
29762 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29763 }
29764 {
29765 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29766 }
29767 {
29768 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29769 }
29770 {
29771 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29772 }
29773 {
29774 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29775 }
29776 {
29777 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29778 }
29779 {
29780 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29781 }
29782 {
29783 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29784 }
29785 {
29786 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29787 }
29788 {
29789 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29790 }
29791 {
29792 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29793 }
29794 {
29795 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29796 }
29797 {
29798 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29799 }
29800 {
29801 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29802 }
29803 {
29804 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29805 }
29806 {
29807 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29808 }
29809 {
29810 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29811 }
29812 {
29813 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29814 }
29815 {
29816 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29817 }
29818 {
29819 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29820 }
29821 {
29822 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29823 }
29824 {
29825 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29826 }
29827 {
29828 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29829 }
29830 {
29831 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29832 }
29833 {
29834 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29835 }
29836 {
29837 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29838 }
29839 {
29840 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29841 }
29842 {
29843 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29844 }
29845 {
29846 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29847 }
29848 {
29849 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29850 }
29851 {
29852 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29853 }
29854 {
29855 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29856 }
29857 {
29858 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29859 }
29860 {
29861 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29862 }
29863 {
29864 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29865 }
29866 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
29867 {
29868 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29869 }
29870 {
29871 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29872 }
29873 {
29874 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29875 }
29876 {
29877 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29878 }
29879 {
29880 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29881 }
29882 {
29883 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29884 }
29885 {
29886 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29887 }
29888 {
29889 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
29890 }
29891 {
29892 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
29893 }
29894 {
29895 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
29896 }
29897 {
29898 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
29899 }
29900 {
29901 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
29902 }
29903 {
29904 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
29905 }
29906 {
29907 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
29908 }
29909 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
29910 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
29911 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
29912 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
29913 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
29914 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
29915 {
29916 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
29917 }
29918 {
29919 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
29920 }
29921 {
29922 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
29923 }
29924 {
29925 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
29926 }
29927 {
29928 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
29929 }
29930 {
29931 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
29932 }
29933 {
29934 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
29935 }
29936 {
29937 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
29938 }
29939 {
29940 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
29941 }
29942 {
29943 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
29944 }
29945 {
29946 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
29947 }
29948 {
29949 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
29950 }
29951 {
29952 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
29953 }
29954 {
29955 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
29956 }
29957 {
29958 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
29959 }
29960 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
29961 {
29962 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
29963 }
29964 {
29965 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
29966 }
29967 {
29968 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
29969 }
29970 {
29971 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
29972 }
29973 {
29974 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
29975 }
29976 {
29977 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
29978 }
29979 {
29980 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
29984 }
29985 {
29986 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
29987 }
29988 {
29989 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
29990 }
29991 {
29992 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
29993 }
29994 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
29995 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
29996 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
29997
29998 // Map renamed classes back to their common name for OOR
29999 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30000 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30001 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30002
30003 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30004 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30005 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30006 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30007 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30008 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30009 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30010 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30011 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30012 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30013 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30014 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30015 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
30016 {
30017 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30018 }
30019 {
30020 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30021 }
30022 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
30023 {
30024 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30025 }
30026 {
30027 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30028 }
30029 {
30030 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30031 }
30032 {
30033 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30034 }
30035 {
30036 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30037 }
30038 {
30039 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30040 }
30041 {
30042 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30043 }
30044 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30045 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30046 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30047 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30048 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
30049 {
30050 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30051 }
30052 {
30053 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30054 }
30055 {
30056 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30057 }
30058 {
30059 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30060 }
30061 {
30062 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30063 }
30064 {
30065 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30066 }
30067 {
30068 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30069 }
30070 {
30071 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30072 }
30073 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30074 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
30075 {
30076 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30077 }
30078 {
30079 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30080 }
30081 {
30082 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30083 }
30084 {
30085 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30086 }
30087 {
30088 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30089 }
30090 {
30091 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30092 }
30093 {
30094 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30095 }
30096 {
30097 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30098 }
30099 {
30100 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30101 }
30102 {
30103 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30104 }
30105 {
30106 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30107 }
30108 {
30109 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30110 }
30111 {
30112 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30113 }
30114 {
30115 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30116 }
30117 {
30118 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30119 }
30120 {
30121 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30122 }
30123 {
30124 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30125 }
30126 {
30127 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30128 }
30129 {
30130 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30131 }
30132 {
30133 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30134 }
30135 {
30136 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30137 }
30138 {
30139 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30140 }
30141 {
30142 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30143 }
30144 {
30145 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30146 }
30147 {
30148 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30149 }
30150 {
30151 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30152 }
30153 {
30154 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30155 }
30156 {
30157 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30158 }
30159 {
30160 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30161 }
30162 {
30163 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30164 }
30165 {
30166 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30167 }
30168 {
30169 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30170 }
30171 {
30172 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30173 }
30174 {
30175 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30176 }
30177 {
30178 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30179 }
30180 {
30181 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30182 }
30183 {
30184 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30185 }
30186 {
30187 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30188 }
30189 {
30190 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30191 }
30192
30193 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30194
30195 }
30196